Shuffle the Context: RoPE-Perturbed Self-Distillation for Long-Context Adaptation
arXiv cs.CL / 4/17/2026
📰 NewsIdeas & Deep AnalysisModels & Research
Key Points
- The paper argues that fine-tuning short-context pretrained LLMs for long-context use can be brittle because accuracy is highly sensitive to the absolute position of relevant evidence.
- It introduces RoPE-Perturbed Self-Distillation, which creates multiple “views” of the same input by perturbing RoPE indices and uses self-distillation to enforce consistent predictions across those views.
- The regularizer is designed to reduce dependence on brittle positional cues and instead encourage reliance on semantic signals.
- Experiments on long-context adaptation of Llama-3-8B and Qwen-3-4B show measurable improvements on long-context benchmarks, including up to a 12.04% gain on RULER-64K for Llama-3-8B.
- The approach also improves length extrapolation performance beyond the original training context window.


![[2026] OpenTelemetry for LLM Observability — Self-Hosted Setup](/_next/image?url=https%3A%2F%2Fmedia2.dev.to%2Fdynamic%2Fimage%2Fwidth%3D1200%2Cheight%3D627%2Cfit%3Dcover%2Cgravity%3Dauto%2Cformat%3Dauto%2Fhttps%253A%252F%252Fdev-to-uploads.s3.amazonaws.com%252Fuploads%252Farticles%252Flu4b6ttuhur71z5gemm0.png&w=3840&q=75)
