Skip to content
Query Feedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  1. Home /
  2. AI Glossaries /
  3. LLMs /
  4. What is a Learning Rate Scheduler?
LLMs

What is a Learning Rate Scheduler?

Updated September 26, 2026 Read 3 min

A learning rate scheduler adjusts the learning rate over the course of training, typically warming it up from near zero and then decaying it, which improves stability early and precision later.

Contents 11
  1. 01Key takeaways
  2. 02A scheduler explained in simple terms
  3. 03Why warmup matters
  4. 04Common schedules
  5. 05A worked example
  6. 06Choosing a scheduler
  7. 07Interaction with other settings
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

A learning rate scheduler is a rule that changes the learning rate during training rather than keeping it fixed. Almost all modern LLM training uses one: the rate starts near zero, rises during a warmup phase, then decays towards the end. This gives stability at the start, fast progress in the middle and fine adjustment at the end.

Key takeaways

  • Schedulers usually combine warmup with a decay curve.
  • Warmup prevents early instability when weights are random and gradients are large.
  • Cosine decay is the most common shape in LLM training.
  • Decay allows the model to settle into a good solution rather than bouncing around.
  • Warmup is commonly a small fraction of total steps, often around 1–5%.

A scheduler explained in simple terms

Think of driving into an unfamiliar town. You start slowly while you get your bearings (warmup), drive at a good speed once the road is clear (peak learning rate), then slow down as you approach the address so you do not overshoot (decay). A fixed speed the whole way would be either dangerous at the start or wasteful in the middle.

Why warmup matters

At the beginning of training, weights are random, gradients can be large and erratic, and adaptive optimisers such as Adam have not yet built reliable statistics. Jumping straight to the full learning rate often causes loss spikes or divergence. Warmup raises the rate gradually, usually linearly, over the first steps.

Common schedules

ScheduleShapeNotes
ConstantFlatSimple; rarely optimal for large runs
Linear decayStraight decline to zeroCommon for fine-tuning
Cosine decaySmooth curve, slow at first, faster near the endStandard for LLM pretraining
Cosine with warm restartsRepeated cyclesHelps escape poor regions
Step decayDrops at fixed milestonesTraditional in vision models
Inverse square rootDecays with the square root of stepsUsed in the original transformer
Warmup-stable-decayLong stable phase, then a short decayUseful when total steps are not fixed in advance

A worked example

A fine-tuning run has 2,000 total steps, a peak learning rate of 2e-5 and 5% warmup.

  • Warmup: steps 1–100, the rate rises linearly from 0 to 2e-5.
  • Decay: steps 101–2,000, cosine decay from 2e-5 down towards 0.
  • At step 1,050, roughly halfway through decay, the rate is about 1e-5.

Ending near zero means the final updates are small, letting the model settle rather than jump.

Choosing a scheduler

  • Fine-tuning: linear or cosine decay with short warmup works well.
  • Pretraining: cosine decay with warmup is standard; some teams keep a small final rate rather than zero.
  • Unknown training length: warmup-stable-decay lets you stop at any point and apply a short decay.
  • LoRA: the same schedules apply, usually with a higher peak rate.

Interaction with other settings

Schedulers work with, not instead of, good choices of peak learning rate, batch size and optimiser. Changing total steps changes the whole curve, so restarting a run with different length requires care, especially when resuming from a checkpoint.

Limitations

  • Adds hyperparameters: warmup length, final rate, curve shape.
  • Cosine schedules assume a known total number of steps.
  • Wrong schedules waste compute on expensive runs.
  • Benefits vary; simple linear decay is often nearly as good for small jobs.

Common Use Cases

01

LLM pretraining

Stabilise early training and decay smoothly across long runs.

02

Fine-tuning

Use short warmup and linear decay for small datasets.

03

Resuming training

Match the schedule when continuing from a checkpoint.

04

Hyperparameter tuning

Test warmup length and decay shape for better results.

05

Open-ended training

Use warmup-stable-decay when total steps are unknown.

06

Avoiding loss spikes

Prevent early divergence in large-batch training.

Frequently Asked Questions

A rule that changes the learning rate during training, typically warming it up and then decaying it.

Early gradients are large and optimiser statistics are unreliable, so starting small prevents instability.

A schedule that reduces the learning rate along a cosine curve from its peak towards zero.

Often around 1–5% of total steps, though this varies by model and batch size.

It usually helps. A short warmup with linear or cosine decay is a common default.

Related Terms

  • Learning Rate
  • Gradient Descent
  • Batch Size
  • Pretraining
  • Fine-Tuning
  • Model Checkpoint

Related AI Terms

What is an Attention Head?An attention head is a single attention unit inside a transformer layer, with its own query, key and…What is Prefix Tuning?Prefix tuning is a parameter-efficient fine-tuning method that learns trainable vectors inserted into the attention keys and values…What is an Attention Mechanism?An attention mechanism is a technique that lets a neural network focus on the most relevant parts of…What is Self-Attention?Self-attention is a mechanism where each position in a sequence attends to every other position in the same…What is Multi-Head Attention?Multi-head attention runs several attention operations in parallel, each with its own learned projections, so a model can…What is RoPE (Rotary Positional Embedding)?RoPE (rotary positional embedding) encodes a token's position by rotating its query and key vectors by an angle…

Contents

  1. 01Key takeaways
  2. 02A scheduler explained in simple terms
  3. 03Why warmup matters
  4. 04Common schedules
  5. 05A worked example
  6. 06Choosing a scheduler
  7. 07Interaction with other settings
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

AI Topic

  • LLMs

Related Terms

  • What is an Attention Head?
  • What is Prefix Tuning?
  • What is an Attention Mechanism?
  • What is Self-Attention?
  • What is Multi-Head Attention?
  • What is RoPE (Rotary Positional Embedding)?

Quick Navigation

  • Common Use Cases
  • Frequently Asked Questions
  • Related Terms
  • Back to top

Details

Updated
September 26, 2026
Read
3 min
  • Forum
  • Submit a tool
  • Submit Guest Post
  • List Your Startup
  • Privacy Policy
  • Editorial Policy
  • Account
  • Contact
  • AI Productivity
  • AI Video
  • AI Coding
  • AI Chatbots
  • Sales
  • AI Business
  • View All Tools

Subscribe our Newsletter

Get weekly exclusive content - No spam.

Copyright © 2026 -  Query Feedz

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}