Concepts / Convergence in Optimization

Convergence in Optimization

Variable step size SGD changes the update scale during optimization.

  • Programming

Why Movement Changes

In stochastic gradient descent, the step size controls how far an update moves during optimization. Using one constant step size gives every update the same scale. A variable step size changes that scale according to the iteration number: optimization can take larger steps earlier and more careful steps later.

The central idea is a schedule for the step size. Instead of selecting one value and reusing it forever, SGD computes the step size for the current iteration. The schedule η_t = B / √t makes the step size decrease as t increases. This changes the character of the optimization process: early updates can be larger, while later updates are smaller and more careful near the minimum.

Reading the Schedule

Formula, step by step
  1. 1
    η_t is the step size used at iteration t.
  2. 2
    B is the schedule's scaling quantity.
  3. 3
    √t grows as the iteration number t grows.
  4. 4
    Because B is divided by a growing quantity, η_t decreases as t increases.

The iteration number appears in the denominator. At an early iteration, √t is relatively small, so the resulting step size is relatively large. At a later iteration, √t is larger, so the resulting step size is smaller. The schedule therefore encodes a deliberate change from larger movement to more careful movement.

t = 1η₁ = Bt = 4η₄ = B / 2t = 9η₉ = B / 3t = 16η₁₆ = B / 4t increasest increasest increases
How does η_t change as the iteration number becomes larger?

A Numerical Trace

Worked example

Evaluating η_t at Several Iterations

Suppose the schedule uses B = 4. Find the step size at iterations 1, 4, 9, and 16.

  1. 1
    Iteration 1

    η₁ = 4 / √1 = 4. The schedule gives a relatively large step size at this early iteration.

  2. 2
    Iteration 4

    η₄ = 4 / √4 = 4 / 2 = 2. The step size is smaller than it was at iteration 1.

  3. 3
    Iteration 9

    η₉ = 4 / √9 = 4 / 3. The step size has decreased again.

  4. 4
    Iteration 16

    η₁₆ = 4 / √16 = 4 / 4 = 1. The later step is smaller than all the earlier steps in this example.

Result

As t increases from 1 to 16, the step size decreases from 4 to 1. The schedule changes the update scale rather than keeping it constant.

Iteration t√tStep size η_t when B = 4Optimization phase
114Early
422Early
934 / 3Later
1641Later

A generated numerical illustration of how η_t = B / √t decreases as t grows.

Small tsmall √tLarge tlarge √tLarge η_tlarger movementSmall η_tcareful movementdivision by small √tdivision by large √t
How does changing t affect the value of η_t when B stays fixed?

Approaching the Minimum

A constant step size applies the same movement scale to every update. That can make later movement less careful because the update does not become smaller as the iteration number grows. With η_t = B / √t, the update scale decreases over time. The source describes this as supporting more careful movement near the minimum and helping avoid overshooting.

Constant ηsame update scaleη_t = B / √tsmaller later updatesMinimumovershooting riskMinimummore careful movementsame scale near minimumdecreasing scale near minimum
How does a decreasing step size change the optimizer's path when it approaches a minimum, compared with a constant step size?

Update Scale Over Time

Early updatelarge scaleLater updatesmaller scaleNear minimumcareful movementt increasesstep size decreases
How does the size of each SGD parameter update change from one iteration to the next?

The schedule must be evaluated using the current iteration. At each step, t identifies the current position in the optimization process, and η_t supplies the scale for that update. Recomputing the schedule is what makes the method variable-step SGD.

Common Scheduling Mistakes

  • Common mistake

    Describing η_t = B / √t as a constant step size.

    What it looks like

    Treating the step size computed at one iteration as the value for every later iteration.

    Why it fails

    The schedule explicitly depends on t, and it decreases as t increases.

    Do this instead

    Compute η_t from the current iteration number each time the update scale is needed.

  • Common mistake

    Saying that later iterations use larger steps.

    What it looks like

    Claiming that increasing t makes η_t larger.

    Why it fails

    Increasing t increases √t in the denominator, so the quotient becomes smaller.

    Do this instead

    Describe the schedule as larger earlier steps followed by smaller later steps.

  • Common mistake

    Explaining only that the numerical value changes.

    What it looks like

    Listing decreasing values without connecting them to optimization behavior.

    Why it fails

    The purpose of the schedule is to support more careful movement near the minimum and help avoid overshooting.

    Do this instead

    Connect the smaller later step size to more careful movement near the minimum.

Best practice

When explaining or applying this schedule, always identify the current iteration t, evaluate η_t = B / √t, and then interpret the result as the scale of the current SGD update. This keeps the mathematical schedule and its optimization meaning connected.

Check Your Understanding

EASY

Let B remain fixed. Compare the step sizes at t = 1 and t = 100 using η_t = B / √t. Which iteration uses the larger step size, and why does this behavior support more careful movement later in optimization?

Hints
  • Compare the denominators √1 and √100.
  • Remember that a larger denominator makes the quotient smaller.
  • Relate the smaller later value to movement near the minimum.

What do you think happens?

If B stays fixed, which step size is larger: η₄ or η₁₆?

  • η₄

  • η₁₆

  • They are equal

Reveal answer
Answer:

η₄

η₄ = B / 2, while η₁₆ = B / 4. The larger denominator at t = 16 produces the smaller step size.

Key Takeaways

  1. 1
    SGD uses its step size to control how far each update moves.
  2. 2
    The schedule η_t = B / √t decreases the step size as the iteration number increases.
  3. 3
    The schedule allows larger movement earlier and more careful movement later.
  4. 4
    Smaller later steps can help reduce overshooting near the minimum.
  5. 5
    The step size must be recomputed from the current iteration rather than reused as one constant value.

At a glance

  • Variable-step SGD changes the update scale during optimization.
  • For η_t = B / √t, increasing t makes η_t smaller.
  • The schedule gives larger steps early and more careful steps later.
  • Decreasing the step size can help avoid overshooting near a minimum.
  • The current iteration must be used to recompute the step size.

Related concepts

More concepts starting with C