Learning Rate Decay Calculator

Explore decay schedules, warm-up phases, cycles, milestones, optimiser presets, charts, comparisons, and exports to design reliable learning-rate plans for efficient model training and tuning.

Calculated Results

Ready for calculation
Current learning rate
Final projected rate
Percentage reduction
Current multiplier
Average learning rate
Schedule minimum
Schedule maximum
Decay progress
Training position
Cycle and warm-up

Learning-rate chart

Training Configuration

Use zero for automatic calculation.
Zero derives the value from current epoch.

Decay Parameters

Cycles, Restarts, Plateaus, and Milestones

Each factor multiplies the previous learning rate.
Allowed variables: lr0, min, max, rate, factor, t, T, epoch, step, progress, Math.

Schedule Comparison

Select extra schedules to display beside the primary schedule.

Output Options

Schedule Table

PositionEpochUpdate stepLearning rateMultiplierInitial rate %Warm-upCycleRestart
Calculate a schedule to populate this table.

Formula Used

Select a schedule and calculate its values.

The calculator applies optional warm-up, offsets, minimum limits, freezes, milestones, and restart rules after evaluating the selected schedule.

How to Use

  1. Choose an optimiser and learning-rate schedule.
  2. Enter training size, epochs, steps, and learning-rate limits.
  3. Configure decay, warm-up, restart, or milestone parameters.
  4. Select comparison schedules and output preferences.
  5. Calculate, inspect the chart, and export the schedule.

Example Training Scenarios

ScenarioSuggested scheduleTypical configurationWhy it helps
Image classificationCosine annealing0.1 to 0.0001 over 100 epochsProvides smooth late-stage refinement.
Transformer trainingWarm-up plus cosine5,000 warm-up steps and long decayStabilises early optimisation.
Fine-tuningLinear decaySmall initial rate and short scheduleReduces destructive parameter updates.
SGD trainingStep decayMultiply by 0.1 at milestonesMatches common benchmark recipes.
Fast convergenceOne-cycleRapid rise and long annealing phaseExplores higher rates safely.

Frequently Asked Questions

What is learning-rate decay?

It gradually reduces the optimiser learning rate during training. Smaller updates can improve stability near a minimum. The schedule controls when and how reduction occurs.

Should decay use epochs or steps?

Epoch schedules are easier to interpret. Step schedules offer finer control for large datasets. Both approaches work when configured consistently.

Why use warm-up?

Warm-up begins with a smaller learning rate. It limits unstable early parameter updates. Transformers often benefit from this approach.

What is cosine annealing?

Cosine annealing reduces rates along a smooth cosine curve. It spends more time near both endpoints. This can improve final convergence.

When are warm restarts useful?

Restarts periodically raise the learning rate again. They may help leave narrow local regions. Later cycles can use smaller peaks.

How low should the final rate be?

The best minimum depends on model and optimiser. Very small values can stop meaningful learning. Validation behaviour should guide the choice.

What does reduce on plateau do?

It lowers the rate after progress stalls. Patience prevents reacting to temporary noise. A minimum rate prevents endless reduction.

Can schedules be compared directly?

Yes, this calculator overlays selected schedules. Shared settings make the curves comparable. Review averages, extremes, and current values.

Does optimiser choice change the formula?

The optimiser selector provides planning context. It does not silently alter schedule mathematics. You retain control over every rate.

Related Calculators

Gradient Descent CalculatorStochastic Gradient Descent CalculatorMomentum Optimiser CalculatorAdam Optimiser CalculatorK-Nearest Neighbours CalculatorKNN Majority Vote CalculatorQ-Learning Update CalculatorMulti-Armed Bandit CalculatorModel Calibration CalculatorBrier Score Calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.