Larger base stretches all rotation frequencies, especially the slowest band. Distant positions keep producing distinguishable phases past the original training horizon, which extends effective context.
Picture a clock with one super-slow hand that takes a year to complete a full revolution. If you only watch for a month, every day looks distinct (the hand has barely moved). Now imagine slowing that hand down to take ten years per revolution. Now you can watch for years and every day still looks distinct. RoPE has a similar slow hand (the lowest-frequency rotation), and raising the base is how Llama 3 slows it down enough that 128k tokens still produce distinguishable positions instead of looking the same as positions inside the original 4k training range.
Detailed answer & concept explanation~7 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Write the angle formula, identify the aliasing limit set by the slowest band, explain how raising base stretches the spectrum, note the short-context trade-off, mention YaRN as the per-band refinement.
Real products, models, and research that use this idea.
- Llama 3 raised base from 10000 to 500000 to support 8k pretraining with 128k inference targets.
- Llama 4 Maverick uses base values around 500000 or higher, paired with continued fine-tuning at native long context.
- Qwen 3.5 uses base tuning combined with YaRN's per-band scaling for clean 1M-token context.
- DeepSeek V4 uses high-base RoPE inside its MLA architecture for long-context inference.
- Early RoFormer experiments used base = 10000, which became the default until long-context demands forced the convention to evolve.
What an interviewer would ask next. Try answering before peeking at the approach.
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Thinking larger base makes positions 'closer together' or 'more like training'. It is the opposite: larger base spreads positions further apart in phase space, which is exactly what enables long-context extrapolation.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.