atlas

Research map / Architectures and efficiency / Attention and transformers

Rope to Nope and Back Again: A New Hybrid Attention Strategy

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Sparse attention for long-context LLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Analyzes RoPE, NoPE and QK-Norm attention for long context, then proposes RNope-SWA, which interleaves full-attention NoPE layers with sliding-window RoPE layers (1:3 ratio) to get better long-context extrapolation, short-context accuracy and training/inference efficiency.

Problem

Long-context LLMs built on RoPE show performance limits at extended lengths, and attention mechanisms such as QK-Norm, NoPE and RoPE have unclear strengths and weaknesses for long-context modeling, while full attention is costly in training and serving.

Approach

Attention analysis reveals a division of labor when NoPE and RoPE layers are interleaved: NoPE layers handle long-range retrieval while RoPE layers capture local, recency-biased information. Restricting RoPE layers to sliding-window attention and keeping NoPE layers full-attention yields a hybrid that extrapolates well without RoPE scaling and cuts KV cache and compute.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Interleave NoPE full-attention layers with RoPE sliding-window layersBaseline · Needles-256kscore: 8.25 -> 9.97Helped
Interleave NoPE full-attention layers with RoPE sliding-window layersBaseline · Ruler Retrieval 256kscore: 57.1 -> 74.8Helped
Interleave NoPE full-attention layers with RoPE sliding-window layersBaseline · Ruler QA 256kscore: 30.0 -> 42.5Helped
Interleave NoPE full-attention layers with RoPE sliding-window layersBaseline · standard benchmarks (MMLU, HellaSwag, ARC-E, ARC-C, SATEn, SATMath, GSM8K, Winogrande, MBPP)score: +2.0% on MMLU; +1.8% on GSM8kMixed
Increase SFT RoPE θ from 10,000 to 4 million in interleaved NoPE/RoPE layers (ablation)RNoPE · Needles-128kscore: 8.036 -> 6.203Hurt
Add sliding-window attention to RoPE layers (window size 8,192) (ablation)RNoPE-10k · Needles-128kscore: 8.04 -> 9.56Helped
Add QK-Norm to RoPE attention (ablation)RoPE model · Needles 65kscore: 9.82 -> 7.93Hurt
Remove explicit positional embeddings (NoPE) instead of using RoPE (ablation)RoPE model · Needles 65kscore: 9.82 -> 9.03Hurt

Surprising findings

Limitations

Experimental setup

Datasets: diverse pretraining data (unspecified) RAG datasets multilingual translation datasets with extended passages long code instruction datasets long context retrieval datasets

Benchmarks: MMLU HellaSwag ARC-E ARC-C SAT GSM8K Winogrande MBPP Needle-in-a-haystack Ruler retrieval Ruler QA CommonsenseQA

Metrics: accuracy needles score Ruler retrieval score Ruler QA score training throughput KV cache latency

Baselines: RoPE baseline (Command R+ style) QK-Norm variant NoPE variant RNoPE-10k RNoPE-100k RNoPE-2M RNoPE-4M RNoPE-10k-swa

Builds on: RoPE NoPE QK-Norm Command R+ architecture Ruler

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy