Documentation

LeanPool.LongTails.Algorithms.DampedGeneralizedAccelerated

Adapted from k3nfalt/longtails, commit 269cbc764dd36851fd0b64f2f950f329ee127de4. Modified for Lean Pool: module visibility, namespace isolation, and current Mathlib.

The reported point, auxiliary center, accumulated weight and curvature guess.

  • A : ℝ

    Accumulated accelerated weight.

  • x : E

    Point reported after the step.

  • z : E

    Auxiliary center in the energy potential.

  • guess : ℝ

    Current estimate of the local curvature.

Instances For

    A first gradient query and the state needed to consume the second query.

    • previous : Iterate E

      Iterate before the current pair of queries.

    • weight : ℝ

      Tentative accelerated weight.

    • y : E

      Interpolation point used for the first query.

    • curvature : ℝ

      Curvature computed from the first gradient.

    • point : E

      Local step at which the second gradient is queried.

    Instances For

      The initialization, first-query and second-query phases of the accelerated algorithm.

      Instances For

        The positive root of the accelerated weight equation for a curvature guess.

        Equations
        Instances For

          The weighted interpolation of the reported point and auxiliary center.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            A gradient-dependent curvature bound used to choose a safe local step.

            Equations
            Instances For

              Form a local gradient step and retain its data for the second gradient query.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Consume the second gradient, damping the update when the curvature guess is too small.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  noncomputable def LongTails.OracleTemplate.GeneralizedAccelerated.step {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (L0 L1 : ℝ) (g : E → E) (s : Iterate E) :

                  One accelerated step, using gradients at the interpolation point and the local step.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    noncomputable def LongTails.OracleTemplate.GeneralizedAccelerated.initialIterate {E : Type u_1} [NormedAddCommGroup E] (L0 L1 R Δ : ℝ) (x0 : E) (g : E → E) :

                    Initialize the energy weight from the radius and objective-gap bounds.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      noncomputable def LongTails.OracleTemplate.GeneralizedAccelerated.run {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (L0 L1 : ℝ) (g : E → E) (s : Iterate E) :
                      ℕ → Iterate E

                      The accelerated iterate after a fixed number of two-gradient steps.

                      Equations
                      Instances For

                        The oracle state machine implementing damped acceleration without objective queries.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For