acceptodds
Published as a conference paper at NeurIPS 2026

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

Haozhan Tang, Zerui Wang, Yuxian Gu, Song Han, Han Cai

Abstract

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. Most existing zero-shot methods fix a single rescaling factor up front, so an aggressive factor sacrifices short-context fidelity while a conservative one breaks down at long contexts. 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, recovering the base model exactly at short inputs while extrapolating cleanly at long ones. An inclusion–exclusion attention merge and an on-the-fly RoPE correction rotation make the bifocal construction essentially free at inference; fused into a single CuTe kernel, long-context prefill reaches up to FA2 throughput on H100 (approaching the Hopper-only FA4), and single-batch generation incurs overhead at every length. On Qwen3-1.7B/4B/8B up to 128K context, Jet-Long leads RULER by // pp 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. Jet-Long also generalizes to hybrid attention architectures such as Jet-Nemotron for further long-context improvement without retraining, and remains hyperparameter-resilient for ease of deployment.

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_FReZOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
2
Quality
2
Significance
2
Read review
Summary

The paper studies zero-shot context extension for RoPE LLMs. Fixed scaling creates a tradeoff: too aggressive hurts short context, too mild fails at long context. Jet-Long keeps normal RoPE inside the native window, and only aliases remote positions with a group size that grows with sequence length. This makes it identical to the base model for short inputs, while supporting longer ones. It also uses RoPE correction and a fused prefill kernel to keep the cost low. On Qwen3 models up to 128K, Jet-Long improves RULER, PG-19, and HELMET-RAG, transfers to Jet-Nemotron, and gives fast long-context prefill with small decode overhead.

Strengths and weaknesses

Quality

  • Strengths: the method comes with kernel optimization for both prefill and decode and shows good tradeoff.
  • Weakness: The method relies on a fairly strong hand-crafted inductive bias: local tokens should preserve exact RoPE behavior, while all remote tokens can be safely compressed onto a discrete pretrained position grid using a global length-dependent grouping factor. Evaluation are quite narrow.

Clarity

  • Clear enough, easy to follow

Significance

  • Limited in zero-shot long-context extension, not sure whether training-based method will be better. Not enough evaluation.

Originality

  • Moderate. Small tweak on top of previous method. Good thing is that optimized kernel is written
Questions
  1. Why only base model evaluation is provided? Any results on long-context sft model with some more difficult tasks like MRCR, graphwalk. As I am not sure whether this will hurt instruction following in the long-context. It would be a good experiement to try extend common 128k model to 1M and see if it works.
  2. What do think the model performance will be if fine-tuned in this rope design?
  3. Why compare with fa2 and fa4? Isn't FA3 a baseline for hopper machine?
Limitations

I'd encourage the authors to say more about its limitation

Paper formatting concerns

NA

Final justification

The rebuttal substantially addressed my concerns about the system evaluation, including adding FA3 comparisons and more detailed long-context results. However, the comparison with training-based methods remains insufficient, as indirect comparisons across different models and evaluation settings are not conclusive. Overall, the additional results strengthen the paper, so I raise my recommendation to Weak Accept.

Reviewer_LbULOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
4
Significance
3
Read review
Summary

This paper proposes Jet-Long, a tuning-free zero-shot long-context extension method for RoPE-based LLMs. The method uses a bifocal attention construction: a local window preserves the original RoPE behavior, while a remote window applies a dynamic position-aliasing/grouping factor based on the current sequence length. Jet-Long is designed to recover the base model within the native context window while extrapolating better to long contexts. The paper also introduces KV-cache correction rotations and an inclusion-exclusion attention merge fused into a CuTe kernel. Experiments on Qwen3-1.7B/4B/8B up to 128K show improvements on RULER, HELMET-RAG, and PG-19, with strong H100 throughput results.

Strengths and weaknesses

Strengths

The problem is highly significant: zero-shot context extension is a practical deployment need for open-weight LLMs in RAG, repository-level coding, long-document QA, and agentic workflows. The method is technically complete. It addresses positional extrapolation, short-context fidelity, KV-cache compatibility, and inference efficiency, rather than only proposing a position-rescaling heuristic. The empirical results are strong. Jet-Long improves over the strongest zero-shot baselines on RULER by +4.79/+2.18/+2.03 points for Qwen3-1.7B/4B/8B, achieves best or near-best HELMET-RAG scores, and gives the lowest PG-19 perplexity among the tested methods. The ablations are useful. The local-window sweep shows that the method is not overly sensitive to the main hyperparameter, and the remote-mapping ablation supports position aliasing over frequency interpolation in the tested range. The systems contribution is substantial. The fused CuTe implementation makes the method practically credible, with long-context prefill reaching up to about 1.39x FA2 throughput and generation remaining close to FA2.

Weaknesses and Questions

  1. Model-family coverage remains limited. The main experiments are concentrated on Qwen3, with Jet-Nemotron as an additional hybrid-attention case. Results on another widely used RoPE model family, such as Llama, Mistral, Gemma, or a model with a different native context length/RoPE base, would make the deployment claim stronger.

  2. Comparison to adjacent methods could be expanded. The paper compares against DNTK, YaRN, DCA, and Self-Extend, but does not directly compare to some relevant newer or adjacent methods such as GALI, ReRoPE, or training-based long-context methods such as LongRoPE. I do not view this as a rejection-level issue, since some baselines may be very recent or not fully standardized, but a discussion or partial comparison would clarify Jet-Long's position.

  3. The mechanism could be better isolated. Which gains come from dynamic grouping, which from the protected local window, which from discrete position aliasing, and which from kernel fusion? In particular, Table 6 shows that frequency interpolation can outperform aliasing on some 128K sub-tasks. Can the authors analyze when aliasing is expected to fail and whether hybrid aliasing/interpolation would help beyond 128K?

Questions

See the weakness section above.

Limitations

See the weakness section above.

Paper formatting concerns

None

Reviewer_d9fJOpenReview ↗
Rating
3
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

Jet-Long is a training-free method for extending large language models to longer contexts. It keeps the local attention window unchanged, while compressing distant positions dynamically so that they stay within the model’s pretrained position range. The main contribution is an efficient inference design which avoids rewriting the KV cache during generation and uses an inclusion–exclusion trick to handle prefill efficiently. Experiments show strong long-context performance and near FlashAttention speed.

Strengths and weaknesses

Strengths:

A strength of the method is its simplicity and deployability. The dynamic group size is determined directly from the current sequence length, making the method tuning-free and easy to apply to existing RoPE-based checkpoints.

The paper also provides preliminary evidence that the method can transfer beyond pure softmax-attention Transformers, by applying it to the hybrid Jet-Nemotron architecture.

Weaknesses:

  • The novelty appears relatively incremental. The proposed bifocal decomposition builds directly on prior grouped-position methods such as Self-Extend and DCA. The main change is to make the group size dynamic, while much of the remaining contribution lies implementation.

  • The correction rotation fixes the RoPE phase of cached keys, but it does not update the cached values or the hidden states from which they were computed.

  • The dynamic group size is piecewise constant and changes abruptly at native-window multiples. Such discontinuities may introduce instability near length boundaries, but the paper does not analyze these transition points.

  • The baseline comparison may conflate Jet-Long’s dynamic adaptation advantage with the intrinsic superiority of the proposed method. Since baselines are evaluated with fixed hyperparameters across all lengths and model sizes.

  • The validation is limited to the Qwen3, with an additional hybrid-model demonstration against the bare base model.

  • The paper does not report error bars or statistical significance tests.

Questions

Is generation with the unchanged KV cache equivalent to full recomputation under the new dynamic group size?

How sensitive is Jet-Long near dynamic group-size transition points?

Limitations

see weaknesses.

Paper formatting concerns

NAN

Final justification

I have read the response of the authors. I appreciate the explanations and experiments, but my main concerns are not fully solved. Therefore I keep my socre.

Comments on the paper

1 comment
Meta-review

This submission proposes Jet-Long, a training-free context-extension method for RoPE-based language models. It preserves ordinary RoPE in a local window, applies floor-divided positions to distant keys with a group size determined by the current sequence length, and implements the resulting bifocal attention using correction rotations and an inclusion-exclusion prefill merge. The reported evaluation is substantial within its chosen setting: three Qwen3 base-model sizes, RULER, HELMET-RAG, PG-19, two hybrid Jet-Nemotron models, local-window and mapping ablations, and end-to-end H100 throughput measurements. The native-window identity property is clean, the reported long-context gains are often large, and an efficient fused implementation would be practically useful.

The following points are prioritized for the rebuttal.

  1. Cache semantics and transition behavior (R1). Eqs. (4)-(6) show how to rotate a cached key from its original RoPE phase to the phase required by the current group size. However, when the group size changes, full recomputation would also change earlier higher-layer hidden states and values because those tokens would have attended under a different remote-position map. Please clarify whether unchanged-cache decoding is claimed to be equivalent to full recomputation or is an approximation, and provide any existing logit, perplexity, or task comparison against full re-prefill immediately before and after the 32K, 64K, 96K, and 128K transitions. Agreement would validate the seamless-generation claim; a material discrepancy would require the claim to be narrowed and the approximation characterized.

  2. Baseline fairness and statistical support (R1). Table 9 holds one setting for every model size and length, including group_size=8 for Self-Extend, while Jet-Long adapts its group size to the current length. Dynamic NTK is itself length-adaptive, and DCA has its own chunk-selection conventions. Please explain how each setting was chosen and provide any existing length-appropriate fixed-group comparison, per-length DCA/Self-Extend results, and aggregates restricted to L>32K. Please also quantify uncertainty for the decision-relevant margins, for example through benchmark resampling or the repeated runs mentioned in the checklist. Robust rankings would validate the empirical lead; configuration-sensitive rankings would require a narrower comparison claim.

  3. H100 kernel provenance and method-neutral efficiency control (R3). The paper labels citation [49] as an H100/Hopper FA4 baseline, but the cited FlashAttention-4 paper develops and evaluates FA4 for Blackwell B200/GB200, whereas FlashAttention-3 is the H100/Hopper method. Please identify the exact repository, commit, kernel, precision, CUDA/CuTe version, and hardware used for the reported FA4 rows. A matched CuTe base-attention implementation with Jet-Long routing disabled is also needed to separate kernel modernization from the method's overhead. This evidence would validate the reported speedups and near-FA4 comparison; unresolved provenance would invalidate that systems conclusion.

  4. Mechanism delta, novelty, and scope (R1, R2, R3). Self-Extend already combines an exact neighbor window with floor-divided grouped positions, and Dynamic NTK already adapts the positional transform to the current sequence length. Please isolate the gain from Jet-Long's dynamic discrete group schedule against the best fixed group for each target length or a fixed group selected for 128K, and clarify how the local-to-remote positional boundary is handled. The generalization claim should also be scoped to the tested Qwen3 and Qwen2.5-derived hybrid base models unless broader existing evidence is available. A clear dynamic-vs-fixed advantage would support a mechanism contribution; otherwise the strongest contribution would be the inclusion-exclusion and fused-kernel system integration.

References

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.