{
  "id": 967,
  "kind": "paper",
  "title": "Round and Round We Go! What makes Rotary Positional Encodings useful?",
  "summary": "Positional Encodings (PEs) are a critical component of Transformer-based Large Language Models (LLMs), providing the attention mechanism with important sequence-position information. One of the most popular types of encoding used today in LLMs are Rotary Positional Encodings (RoPE), that rotate the queries and keys bas…",
  "body": "",
  "notes": "From LinkedIn thread (Discord mid 1362796014683160646). Primary: https://www.linkedin.com/posts/pierre-carl-langlais-b0105b10_what-if-your-llm-is-a-graph-a-few-days-activity-7318210982483263488-CtH9?utm_source=share&utm_medium=member_desktop.",
  "url": "https://arxiv.org/abs/2410.06205",
  "links": [],
  "authors": [
    "Barbero",
    "Federico",
    "Vitvitskyi",
    "Alex",
    "Perivolaropoulos",
    "Christos",
    "Pascanu",
    "Razvan",
    "Veličković",
    "Petar"
  ],
  "tags": [
    "arxiv",
    "2410-06205",
    "long-context",
    "safety",
    "linkedin-thread"
  ],
  "topics": "long context; safety",
  "venue": "arXiv 2410.06205",
  "publisher": "arXiv 2410.06205",
  "source": "arxiv",
  "language": "",
  "access": "open arXiv PDF/abs",
  "license": "",
  "published_year": 2024,
  "added_at": "2026-09-15T00:46:23.000Z",
  "verified_at": "2026-09-15T00:46:23.000Z",
  "attrs": {
    "domain": "long context; safety",
    "purpose": "Round and Round We Go! What makes Rotary Positional Encodings useful?",
    "used_for": "LLM research reference",
    "author_type": "academic/industry (see abs)",
    "time_period": "arXiv 2024/10/08; Discord LinkedIn mid harvested 2026-09-15"
  },
  "enrichment": {
    "s2": {
      "venue": "International Conference on Learning Representations",
      "paper_id": "386160cdedd43da642128bfe8d829c1acd188f1c",
      "published": "2024-10-08",
      "fetched_at": "2026-10-03T14:59:35.852Z",
      "citation_count": 129,
      "reference_count": 40,
      "influential_citation_count": 15
    },
    "arxiv": {
      "id": "2410.06205",
      "title": "Round and Round We Go! What makes Rotary Positional Encodings useful?",
      "authors": [
        "Federico Barbero",
        "Alex Vitvitskyi",
        "Christos Perivolaropoulos",
        "Razvan Pascanu",
        "Petar Veličković"
      ],
      "updated": "2025-05-13",
      "abstract": "Positional Encodings (PEs) are a critical component of Transformer-based Large Language Models (LLMs), providing the attention mechanism with important sequence-position information. One of the most popular types of encoding used today in LLMs are Rotary Positional Encodings (RoPE), that rotate the queries and keys based on their relative distance. A common belief is that RoPE is useful because it helps to decay token dependency as relative distance increases. In this work, we argue that this is unlikely to be the core reason. We study the internals of a trained Gemma 7B model to understand how RoPE is being used at a mechanical level. We find that Gemma learns to use RoPE to construct robust \"positional\" attention patterns by exploiting the highest frequencies. We also find that, in general, Gemma greatly prefers to use the lowest frequencies of RoPE, which we suspect are used to carry semantic information. We mathematically prove interesting behaviours of RoPE and conduct experiments to verify our findings, proposing a modification of RoPE that fixes some highlighted issues and improves performance. We believe that this work represents an interesting step in better understanding PEs in LLMs, which we believe holds crucial value for scaling LLMs to large sizes and context lengths.",
      "published": "2024-10-08",
      "categories": [
        "cs.CL",
        "cs.LG"
      ],
      "fetched_at": "2026-10-03T14:59:35.852Z"
    }
  },
  "enriched_at": "2026-10-03T14:59:36.001Z",
  "license_class": "unknown",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1359",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/967",
  "markdown": "https://papers.projxon.ai/entries/967.md",
  "api": "https://papers.projxon.ai/api/entries/967",
  "relations": [
    {
      "relation": "cites",
      "direction": "in",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 478,
        "kind": "paper",
        "title": "Extending the Context of Pretrained LLMs by Dropping Their Positional Embeddings",
        "summary": "Argues explicit PEs speed pretraining (NoPE has slower positional-bias gradients) but RoPE-scaling (YaRN/NTK/PI) must compress low frequencies, shifting semantic heads so zero-shot long context matches a cropped-window baseline on NIAH. DroPE trains with RoPE, drops PEs, then recalibrates at the original context. From-scratch 0.5B on 16B FineWeb: last 2B tokens without PE matches full-RoPE perplexity and beats YaRN/NTK/ALiBi/NoPE on RULER NIAH at 2x. SmolLM-360M (600B pretrain): 30-120B recalibration recovers in-context benches; LongBench avg 30.52 vs YaRN 19.94, NIAH 74.92 vs 48.25. SmolLM-1.7B (20B rec, 2 percent of pretrain) and Llama-2-7B (20B, 0.5 percent) also beat YaRN/NTK. NIAH at 8x: DroPE 52.20 vs YaRN 12.18 / LongRoPE2 16.45.",
        "url": "https://arxiv.org/abs/2512.12167",
        "authors": [
          "Yoav Gelberg",
          "Koshi Eguchi",
          "Takuya Akiba",
          "Edoardo Cetin"
        ],
        "tags": [
          "long-context",
          "positional-embeddings",
          "sakana"
        ],
        "venue": "arXiv / Sakana AI",
        "source": "arxiv",
        "license": "CC BY 4.0",
        "published_year": 2025,
        "added_at": "2026-08-14T16:54:04.000Z",
        "has_dataset_profile": false,
        "license_class": "permissive",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 24,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/478",
        "markdown": "https://papers.projxon.ai/entries/478.md",
        "api": "https://papers.projxon.ai/api/entries/478"
      }
    },
    {
      "relation": "cites",
      "direction": "in",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 840,
        "kind": "paper",
        "title": "How Local Mixing Encodes Relative Position in Global NoPE Attention",
        "summary": "Explains how hybrid models with local mixing layers (sliding window attention, gated linear attention) and global NoPE attention implicitly encode relative position: local layers induce a recency bias in the residual stream that propagates to and is selected by the global attention logits. Supported by theory and experiments on randomly initialized and trained networks; recency bias persists across long sequences unlike causal-mask-only NoPE, suggesting indefinite length extrapolation.",
        "url": "https://arxiv.org/abs/2609.38109",
        "authors": [
          "Cutter Dawes",
          "Nick Alonso",
          "Tom Figliolia",
          "Beren Millidge"
        ],
        "tags": [
          "nope",
          "positional-encoding",
          "sliding-window-attention",
          "recency-bias",
          "hybrid-models",
          "length-extrapolation",
          "kimi-delta-attention"
        ],
        "venue": "arXiv:2609.38109 (cs.CL), submitted 29 Sep 2026",
        "source": "arxiv",
        "license": "",
        "published_year": 2026,
        "added_at": "2026-10-01T00:00:00.000Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 0,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/840",
        "markdown": "https://papers.projxon.ai/entries/840.md",
        "api": "https://papers.projxon.ai/api/entries/840"
      }
    },
    {
      "relation": "cites",
      "direction": "in",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 968,
        "kind": "paper",
        "title": "Transformers need glasses! Information over-squashing in language tasks",
        "summary": "We study how information propagates in decoder-only Transformers, which are the architectural backbone of most existing frontier large language models (LLMs). We rely on a theoretical signal propagation analysis -- specifically, we analyse the representations of the last token in the final layer of the Transformer, as …",
        "url": "https://arxiv.org/abs/2406.04267",
        "authors": [
          "Barbero",
          "Federico",
          "Banino",
          "Andrea",
          "Kapturowski",
          "Steven",
          "Kumaran",
          "Dharshan",
          "Araújo",
          "João G. M.",
          "Vitvitskyi",
          "Alex",
          "Pascanu",
          "Razvan",
          "Veličković",
          "Petar"
        ],
        "tags": [
          "arxiv",
          "2406-04267",
          "linkedin-thread"
        ],
        "venue": "arXiv 2406.04267",
        "source": "arxiv",
        "license": "",
        "published_year": 2024,
        "added_at": "2026-09-15T00:46:23.000Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 103,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/968",
        "markdown": "https://papers.projxon.ai/entries/968.md",
        "api": "https://papers.projxon.ai/api/entries/968"
      }
    },
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 968,
        "kind": "paper",
        "title": "Transformers need glasses! Information over-squashing in language tasks",
        "summary": "We study how information propagates in decoder-only Transformers, which are the architectural backbone of most existing frontier large language models (LLMs). We rely on a theoretical signal propagation analysis -- specifically, we analyse the representations of the last token in the final layer of the Transformer, as …",
        "url": "https://arxiv.org/abs/2406.04267",
        "authors": [
          "Barbero",
          "Federico",
          "Banino",
          "Andrea",
          "Kapturowski",
          "Steven",
          "Kumaran",
          "Dharshan",
          "Araújo",
          "João G. M.",
          "Vitvitskyi",
          "Alex",
          "Pascanu",
          "Razvan",
          "Veličković",
          "Petar"
        ],
        "tags": [
          "arxiv",
          "2406-04267",
          "linkedin-thread"
        ],
        "venue": "arXiv 2406.04267",
        "source": "arxiv",
        "license": "",
        "published_year": 2024,
        "added_at": "2026-09-15T00:46:23.000Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 103,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/968",
        "markdown": "https://papers.projxon.ai/entries/968.md",
        "api": "https://papers.projxon.ai/api/entries/968"
      }
    },
    {
      "relation": "about",
      "direction": "in",
      "note": "",
      "via": "manual",
      "entry": {
        "id": 1208,
        "kind": "note",
        "title": "Long context: three bets and a weak spot in evaluation (overview)",
        "summary": "An overview of the 33 entries on long-context modelling: cheaper attention, memory beside attention, and managing context from outside, plus what the benchmarks do and do not show. Written by Claude Opus 5.5.",
        "url": "",
        "authors": [
          "Claude Opus 5.5"
        ],
        "tags": [
          "synthesis",
          "ai-written",
          "long-context"
        ],
        "venue": "",
        "source": "",
        "license": "",
        "published_year": null,
        "added_at": "2026-10-03T15:08:53.361Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": null,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/1208",
        "markdown": "https://papers.projxon.ai/entries/1208.md",
        "api": "https://papers.projxon.ai/api/entries/1208"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 947,
      "kind": "paper",
      "title": "Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models",
      "summary": "Large language model (LLM) applications such as agents and domain-specific reasoning increasingly rely on context adaptation: modifying inputs with instructions, strategies, or evidence, rather than weight updates. Prior approaches improve usability but often suffer from brevity bias, which drops domain insights for co…",
      "url": "https://arxiv.org/abs/2510.04618",
      "authors": [
        "Zhang",
        "Qizheng",
        "Hu",
        "Changran",
        "Upasani",
        "Shubhangi",
        "Ma",
        "Boyuan",
        "Hong",
        "Fenglu",
        "Kamanuru",
        "Vamsidhar",
        "Rainton",
        "Jay",
        "Wu",
        "Chen",
        "et al. (13 authors)"
      ],
      "tags": [
        "arxiv",
        "2510-04618",
        "reasoning-rl",
        "long-context",
        "linkedin-thread"
      ],
      "venue": "arXiv 2510.04618",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 374,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/947",
      "markdown": "https://papers.projxon.ai/entries/947.md",
      "api": "https://papers.projxon.ai/api/entries/947"
    },
    {
      "id": 958,
      "kind": "paper",
      "title": "Scalable In-context Ranking with Generative Models",
      "summary": "In-context Ranking (ICR) is an emerging paradigm for Information Retrieval (IR), which leverages contextual understanding of LLMs by directly incorporating the task description, candidate documents, and the query into the model's input prompt and tasking the LLM to identify relevant document(s). While it is effective, …",
      "url": "https://arxiv.org/abs/2510.05396",
      "authors": [
        "Gupta",
        "Nilesh",
        "You",
        "Chong",
        "Bhojanapalli",
        "Srinadh",
        "Kumar",
        "Sanjiv",
        "Dhillon",
        "Inderjit",
        "Yu",
        "Felix"
      ],
      "tags": [
        "arxiv",
        "2510-05396",
        "ocr-vision-language",
        "long-context",
        "linkedin-thread"
      ],
      "venue": "arXiv 2510.05396",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 10,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/958",
      "markdown": "https://papers.projxon.ai/entries/958.md",
      "api": "https://papers.projxon.ai/api/entries/958"
    },
    {
      "id": 937,
      "kind": "paper",
      "title": "From $f(x)$ and $g(x)$ to $f(g(x))$: LLMs Learn New Skills in RL by Composing Old Ones",
      "summary": "Does RL teach LLMs genuinely new skills, or does it merely activate existing ones? This question lies at the core of ongoing debates about the role of RL in LLM post-training. On one side, strong empirical results can be achieved with RL even without preceding supervised finetuning; on the other, critics argue that RL …",
      "url": "https://arxiv.org/abs/2509.25123",
      "authors": [
        "Yuan",
        "Lifan",
        "Chen",
        "Weize",
        "Zhang",
        "Yuchen",
        "Cui",
        "Ganqu",
        "Wang",
        "Hanbin",
        "You",
        "Ziming",
        "Ding",
        "Ning",
        "Liu",
        "Zhiyuan",
        "et al. (10 authors)"
      ],
      "tags": [
        "arxiv",
        "2509-25123",
        "reasoning-rl",
        "long-context",
        "linkedin-thread"
      ],
      "venue": "arXiv 2509.25123",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 46,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/937",
      "markdown": "https://papers.projxon.ai/entries/937.md",
      "api": "https://papers.projxon.ai/api/entries/937"
    },
    {
      "id": 965,
      "kind": "paper",
      "title": "MEDIC: Comprehensive Evaluation of Leading Indicators for LLM Safety and Utility in Clinical Applications",
      "summary": "While Large Language Models (LLMs) achieve superhuman performance on standardized medical licensing exams, these static benchmarks have become saturated and increasingly disconnected from the functional requirements of clinical workflows. To bridge the gap between theoretical capability and verified utility, we introdu…",
      "url": "https://arxiv.org/abs/2409.07314",
      "authors": [
        "Kanithi",
        "Praveenkumar",
        "Christophe",
        "Clément",
        "Pimentel",
        "Marco AF",
        "Raha",
        "Tathagata",
        "Munjal",
        "Prateek",
        "Saadi",
        "Nada",
        "Javed",
        "Hamza A",
        "Maslenkova",
        "Svetlana",
        "et al. (11 authors)"
      ],
      "tags": [
        "arxiv",
        "2409-07314",
        "ocr-vision-language",
        "safety",
        "linkedin-thread"
      ],
      "venue": "arXiv 2409.07314",
      "source": "arxiv",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 29,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/965",
      "markdown": "https://papers.projxon.ai/entries/965.md",
      "api": "https://papers.projxon.ai/api/entries/965"
    },
    {
      "id": 950,
      "kind": "paper",
      "title": "ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Cases",
      "summary": "The tendency to find and exploit \"shortcuts\" to complete tasks poses significant risks for reliable assessment and deployment of large language models (LLMs). For example, an LLM agent with access to unit tests may delete failing tests rather than fix the underlying bug. Such behavior undermines both the validity of be…",
      "url": "https://arxiv.org/abs/2510.20270",
      "authors": [
        "Zhong",
        "Ziqian",
        "Raghunathan",
        "Aditi",
        "Carlini",
        "Nicholas"
      ],
      "tags": [
        "arxiv",
        "2510-20270",
        "agents-tools",
        "safety",
        "linkedin-thread"
      ],
      "venue": "arXiv 2510.20270",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 54,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/950",
      "markdown": "https://papers.projxon.ai/entries/950.md",
      "api": "https://papers.projxon.ai/api/entries/950"
    },
    {
      "id": 930,
      "kind": "paper",
      "title": "LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contexts",
      "summary": "Reasoning over long contexts is essential for large language models. While reinforcement learning (RL) enhances short-context reasoning by inducing \"Aha\" moments in chain-of-thought, the advanced thinking patterns required for long-context reasoning remain largely unexplored, and high-difficulty RL data are scarce. In …",
      "url": "https://arxiv.org/abs/2510.19363",
      "authors": [
        "Wang",
        "Siyuan",
        "Zhang",
        "Gaokai",
        "Li Lyna",
        "Shang",
        "Ning",
        "Yang",
        "Fan",
        "Chen",
        "Dongyao",
        "Mao"
      ],
      "tags": [
        "arxiv",
        "2510-19363",
        "reasoning-rl",
        "ocr-vision-language",
        "linkedin-thread"
      ],
      "venue": "arXiv 2510.19363",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 28,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/930",
      "markdown": "https://papers.projxon.ai/entries/930.md",
      "api": "https://papers.projxon.ai/api/entries/930"
    }
  ]
}
