Concepts / Step-Size Parameters

Step-Size Parameters

A suitable step-size sequence must satisfy two requirements: it must be large enough initially and small enough eventually.

  • Machine Learning

Why Step Size Matters

A step-size parameter controls how strongly new information influences an estimate. The central challenge is balance: the sequence must be large enough initially to support learning, yet small enough eventually to support convergence. These requirements describe two different phases of behavior rather than one fixed setting.

What do you think happens?

Suppose an algorithm keeps taking updates with a fixed step size. Should the estimate always settle permanently on the correct value?

  • Yes, because repeated updates eventually remove all variation

  • No, because a constant step size never becomes small enough

  • Yes, because the most recent reward becomes irrelevant

  • No, because fixed step sizes stop learning immediately

Reveal answer
Answer:

No, because a constant step size never becomes small enough

A constant step-size parameter does not satisfy the second convergence condition. The estimate can therefore continue to vary in response to the most recently received rewards.

The Two Convergence Requirements

A suitable step-size sequence must satisfy two requirements. First, it must be large enough initially. Early updates need enough influence for the method to keep learning from incoming information. Second, it must be small enough eventually. Later updates need to become sufficiently restrained for the estimate to settle toward convergence. A sequence that fails either requirement is unsuitable for complete convergence.

Initial stepslarge enoughLater stepsbecoming smallerEventual stepssmall enoughstep size decreasessupports settling
How does a step-size sequence remain large enough to keep learning while becoming small enough to settle toward convergence?

Tracing the 1/n Sequence

Worked example

Following αₙ(a) = 1/n

Examine how the sample-average step-size sequence changes over successive steps.

  1. 1
    First step

    When n = 1, αₙ(a) = 1/n gives a step size of 1. This is large enough to have a strong initial influence.

  2. 2
    Second step

    When n = 2, the step size is 1/2. It is smaller than the first step.

  3. 3
    Later steps

    As n increases, 1/n becomes smaller. The individual updates therefore shrink over time.

  4. 4
    Convergence conditions

    The source identifies αₙ(a) = 1/n as a sequence that satisfies both convergence conditions: it is large enough initially and small enough eventually.

Result

The sequence begins with a relatively large step and decreases as the number of steps grows, satisfying both stated convergence requirements.

n = 1α = 1n = 2α = 1/2n = 3α = 1/3Later nsmaller αn increasesn increasesn keeps increasing
How does the value of 1/n change over successive steps, and why does that pattern satisfy the two convergence requirements?

The important pattern is not merely that the numbers change. The sequence combines a relatively strong beginning with progressively smaller later steps. That is precisely why the source presents αₙ(a) = 1/n as satisfying both convergence conditions.

What Constant Steps Change

Before
Step sizes: 1, 1/2, 1/3, ...

The step size becomes smaller over time.

After
Step sizes: α, α, α, ...

The step size remains fixed and never becomes small enough.

Shrinking stepsearly: largerConvergencelater: smaller updatesConstant stepsearly: fixedVariationlatest rewards influenceestimatestep size decreasesstep size stays fixed
What happens to successive updates when the step size stays constant instead of shrinking?

A constant step size α does not provide complete convergence because it never becomes small enough. The estimate continues to vary in response to the most recently received rewards. Repeated updating alone is therefore not sufficient to guarantee that the estimate settles permanently on one value.

When Continued Adaptation Helps

Environment goalUseful step-size behaviorReason
Complete convergenceLarge enough initially and small enough eventuallyThe estimate needs to learn and then settle
Changing optimal solutionA constant step size can remain usefulThe estimate must continue adapting when the situation changes

The desired step-size behavior depends on whether the goal is settling or continued adaptation.

Complete convergenceeventually small stepsChanging optimumcontinued adaptationSettled estimatestops varyingAdaptive estimateresponds to changessettlekeep adapting
How does the desired step-size behavior differ between settling on a solution and continuing to track a changing environment?

A nonstationary environment is one in which the optimal solution changes over time. In such an environment, complete convergence is not always desirable: an estimate that stops changing cannot respond to a changed situation. This is why constant step-size parameters can be desirable even though they fail the second convergence condition. The source describes effectively nonstationary problems as the norm in reinforcement learning.

Practical Schedule Trade-Offs

Valid sequencemeets both conditionsTuned schedulechosen for rateSlow convergencemay need patienceSatisfactory raterequires tuningcan still bemay obtain
How can theoretically valid step-size schedules differ in learning speed and practical usefulness?

Satisfying the two convergence conditions does not automatically make a step-size sequence attractive for every application. The source notes that such sequences can converge very slowly or require considerable tuning to obtain a satisfactory convergence rate. They are therefore often used in theoretical work but are seldom used in applications and empirical research.

Too small earlyweak initial learningToo large lateinsufficient settlingBalanced sequencelarge initially, smalleventuallyincrease early influencedecrease later influence
What changes in update behavior when a schedule is too small early, too large late, or appropriately scaled across both phases?
  • Common mistake

    Assuming that satisfying the convergence conditions guarantees a fast or practical method.

    What it looks like

    A sequence can meet both requirements and still converge very slowly.

    Why it fails

    The convergence conditions describe suitability for convergence, not an automatic guarantee of a satisfactory convergence rate.

    Do this instead

    Treat theoretical validity and practical performance as separate questions; practical use may require considerable tuning.

  • Common mistake

    Treating a constant step size as suitable for complete convergence simply because updates continue.

    What it looks like

    The estimate keeps receiving updates with the same α forever.

    Why it fails

    A constant step size never becomes small enough and does not satisfy the second convergence condition.

    Do this instead

    Use a shrinking sequence when complete convergence is the objective, or recognize that a constant step size serves a different purpose in a changing environment.

  • Common mistake

    Assuming that all continued variation is undesirable.

    What it looks like

    An estimate changes after the optimal solution in the environment changes.

    Why it fails

    In a nonstationary environment, an estimate that stops changing cannot respond to changed conditions.

    Do this instead

    Judge the step-size behavior against the environment: settling may be desirable for convergence, while continued adaptation may be desirable when the optimum changes.

Check Your Understanding

MEDIUM

Explain in your own words why αₙ(a) = 1/n is suitable for complete convergence, while a constant step size α is not. Then explain one situation in which the constant step size may nevertheless be desirable.

Hints
  • Use both parts of the convergence requirement: initial size and eventual size.
  • For the constant step size, focus on what never changes.
  • For the final part, consider what happens when the optimal solution changes over time.
Worked example

Classifying Two Schedules

Classify the sample-average sequence αₙ(a) = 1/n and a constant step size α according to the source's convergence requirements.

  1. 1
    Sample-average sequence

    The sequence starts relatively large and becomes smaller as n increases.

  2. 2
    Convergence classification

    The source states that αₙ(a) = 1/n satisfies both convergence conditions.

  3. 3
    Constant step size

    A constant α never becomes small enough.

  4. 4
    Behavioral consequence

    The estimate continues to vary in response to the most recently received rewards, so complete convergence is not provided.

  5. 5
    Environmental qualification

    If the optimal solution changes over time, this continued adaptation can be desirable.

Result

The 1/n sequence supports the stated convergence requirements, while a constant step size does not provide complete convergence but can remain useful in nonstationary environments.

Key Takeaways

  1. 1
    A convergence-supporting step-size sequence must be large enough initially and small enough eventually.
  2. 2
    The sample-average sequence αₙ(a) = 1/n satisfies both convergence conditions.
  3. 3
    A constant step size never becomes small enough, so it does not provide complete convergence.
  4. 4
    Constant step sizes can be desirable in nonstationary environments because continued adaptation helps track a changing optimal solution.
  5. 5
    Theoretical validity does not guarantee practical speed; valid sequences may converge slowly or require considerable tuning.

At a glance

  • Step-size schedules must balance strong initial learning with sufficiently small eventual updates.
  • The sequence αₙ(a) = 1/n decreases over time and satisfies both convergence requirements.
  • A constant step size causes continued variation rather than complete convergence.
  • That continued variation can be useful when the environment is nonstationary and its optimal solution changes.
  • Convergence conditions are theoretical guarantees about behavior, not guarantees of fast or easily tuned practical performance.

Related concepts

More concepts starting with S