potentialpaper

From Frequency to Function: Component-Specific RoPE Extrapolation for Long-Context Language Models

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:29 UTC · cd9a491f49ff ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "FOMaQia9iB"
- }
- ],
- "title": "From Frequency to Function: Component-Specific RoPE Extrapolation for Long-Context Language Models",
- "authors": [],
- "abstract": "Rotary Position Embedding (RoPE)-based language models form position-sensitive attention by superimposing contributions from dimension pairs associated with different rotation frequencies. Long-context extrapolation therefore requires rescaling rotation frequencies. However, common frequency-based methods partition dimensions by the relative ordering of their associated RoPE frequencies and scale attention logits with a single global factor. This design overlooks the distinct functional roles that dimension pairs acquire during pretraining. We group dimension pairs into three classes: positional pairs have concentrated pre-RoPE activation phases and produce stable relative-position periodicity, semantic pairs are dominated by input content variation, and sink pairs make exceptionally large positive contributions to sink-token attention logits. Based on this decomposition, we propose FARoPE (Function-Aware RoPE), a training-free RoPE extrapolation method that first identifies the three pair classes and then applies component-specific transformations. Specifically, FARoPE applies a shared frequency scale to positional pairs to prevent spurious shifts in position-sensitive attention patterns. Sink pairs receive the same frequency reduction to maintain sink alignment, while semantic pairs retain the YaRN ramp. FARoPE separately calibrates the additional attention-logit gain for sink pairs without masking sink tokens. Our evaluation covers two model families and three long-context benchmarks with context windows up to 128K.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "7f97242a-0fde-4b7c-9800-3d57755330ec"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "From Frequency to Function: Component-Specific RoPE Extrapolation for Long-Context Language Models",
+ "authors": [],
+ "abstract": "Rotary Position Embedding (RoPE)-based language models form position-sensitive attention by superimposing contributions from dimension pairs associated with different rotation frequencies. Long-context extrapolation therefore requires rescaling rotation frequencies. However, common frequency-based methods partition dimensions by the relative ordering of their associated RoPE frequencies and scale attention logits with a single global factor. This design overlooks the distinct functional roles that dimension pairs acquire during pretraining. We group dimension pairs into three classes: positional pairs have concentrated pre-RoPE activation phases and produce stable relative-position periodicity, semantic pairs are dominated by input content variation, and sink pairs make exceptionally large positive contributions to sink-token attention logits. Based on this decomposition, we propose FARoPE (Function-Aware RoPE), a training-free RoPE extrapolation method that first identifies the three pair classes and then applies component-specific transformations. Specifically, FARoPE applies a shared frequency scale to positional pairs to prevent spurious shifts in position-sensitive attention patterns. Sink pairs receive the same frequency reduction to maintain sink alignment, while semantic pairs retain the YaRN ramp. FARoPE separately calibrates the additional attention-logit gain for sink pairs without masking sink tokens. Our evaluation covers two model families and three long-context benchmarks with context windows up to 128K.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}