mlsanityData to 7 Oct 2026

Jet-Long: Efficient Long-Context Extension with Dynamic Bifocal RoPE

arXiv 2607.07740 ↗First posted 8 Jul 2026cs.LG cs.AIcited by 0

On the map: Retrieval-augmented generation → Generation and context integration

also in 1 more
Abstract (arXiv)

Modern LLMs are increasingly deployed in long-context applications such as retrieval-augmented generation, repository-level coding, and agentic workflows whose accumulated reasoning and tool traces routinely push the input an order of magnitude past the pretraining window, making zero-shot context extension the dominant deployment path for open-weight checkpoints. The dominant zero-shot methods (YaRN, Self-Extend, DCA) fix a single rescaling factor up front, so an aggressive factor sacrifices short-context fidelity while a conservative one breaks down at long contexts; recent length-aware variants adapt the mapping, but with a fitted or distance-dependent schedule. We propose Jet-Long, a tuning-free zero-shot method that pairs a local RoPE-faithful window with a long-range window whose rescaling factor adapts dynamically to the current sequence length via a parameter-free analytic schedule, recovering the base model exactly at short inputs while extrapolating cleanly at long ones. An inclusion-exclusion attention merge and on-the-fly RoPE correction enable a fused CuTe implementation. On H100 at 64K-128K, prefill retains 83-88% of FlashAttention-3 throughput across the evaluated Qwen3 sizes and 88-93% of a matched CuTe control; Qwen3-8B single-batch generation reaches 1.04-1.08 times FlashAttention-3 throughput. On Qwen3-1.7B/4B/8B up to 128K context, Jet-Long leads RULER by +4.79/+2.18/+2.03 percentage points over the strongest baseline at 1.7B/4B/8B, achieves the best overall accuracy on HELMET-RAG (a benchmark identified by HELMET as the most efficient predictor of downstream long-context performance) and attains the lowest PG-19 perplexity. Additional evaluations cover Meta-Llama-3-8B, post-trained Qwen3 checkpoints, and the hybrid Jet-Nemotron architecture, supporting broader applicability without retraining. The local-window hyperparameter remains robust across the tested settings.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 49 of its 60 references that are in the map. First posted on arXiv 8 Jul 2026.

Builds on

49 of 60 references.

References · 49

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  4. 2025Qwen3 Technical Reportcited by 8,195
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  7. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  9. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  10. 2020Longformer: The Long-Document Transformercited by 3,362
  11. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  12. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
37 more
  1. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  2. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
  3. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  4. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  5. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  6. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  7. 2020Rethinking Attention with Performerscited by 1,584
  8. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  9. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,258
  10. 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
  11. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  12. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
  13. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  14. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  15. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
  16. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  17. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  18. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
  19. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 302
  20. 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 206
  21. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 183
  22. 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 133
  23. 2023Scaling Laws of RoPE-based Extrapolationcited by 124
  24. 2023LM-Infinite: Zero-Shot Extreme Length Generalization for Large Language Modelscited by 120
  25. 2024HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughlycited by 119
  26. 2025A Comprehensive Survey on Long Context Language Modelingcited by 113
  27. 2025NVIDIA Nemotron Nano 2: An Accurate and Efficient Hybrid Mamba-Transformer Reasoning Modelcited by 94
  28. 2024Training-Free Long-Context Scaling of Large Language Modelscited by 61
  29. 2024Why Does the Effective Context Length of LLMs Fall Short?cited by 60
  30. 2026FlashAttention-4: Algorithm and Kernel Pipelining Co-Design for Asymmetric Hardware Scalingcited by 58
  31. 2024In Defense of RAG in the Era of Long-Context Language Modelscited by 52
  32. 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Searchcited by 39
  33. 2025Thus Spake Long-Context Large Language Modelcited by 12
  34. 2025A Training-Free Length Extrapolation Approach for LLMs: Greedy Attention Logit Interpolation (GALI)cited by 1
  35. 2025SELF: Self-Extend the Context Length With Logistic Growth Functioncited by 1
  36. 2025LaMPE: Length-aware Multi-grained Positional Encoding for Adaptive Long-context Scaling Without Trainingcited by 1
  37. 2026Why Attend to Everything? Focus is the Keycited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Overflow Prevention Enhances Long-Context Recurrent LLMs
  2. 2026LongAttnComp: Cross-Family Context Compression for Long-Context Reasoning
  3. 2025From 128K to 4M: Efficient Training of Ultra-Long Context Large Language Models
  4. 2025Scaling Instruction-Tuned LLMs to Million-Token Contexts via Hierarchical Synthetic Data Generation
  5. 2025Long Context In-Context Compression by Getting to the Gist of Gisting
  6. 2026Shuffle the Context: RoPE-Perturbed Self-Distillation for Long-Context Adaptation
  7. 2024PRISM: Efficient Long-Range Reasoning With Short-Context LLMs
  8. 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methods