{
  "id": 1270,
  "kind": "paper",
  "title": "Length Generalization Needs Proper Regularization",
  "summary": "Argues transformers need no architectural changes for length generalization — proper dropout regularization suffices, making the problem architecture-agnostic rather than a positional-encoding or attention-mechanism question. Diagnoses training-procedure culprits for extrapolation failure: weight decay can hinder extrapolation, while dropout improves it only when its placement is reconsidered — standard dropout before layer normalization introduces a systematic distributional mismatch; applying dropout just before the linear projection resolves it. Proposes Variance-Preserving Affine Dropout (VPAD), which substantially reduces the resulting pre-activation variance mismatch and further improves extrapolation; VPAD is complementary to attention-scaling methods. Results: modified SmolLM3 with sliding-window attention, continually pre-trained with dropout, extrapolates perfectly to 64x on Needle-in-a-Haystack and far beyond pre-training context on RULER and HELMET; training SmolLM3 from scratch reaches RBA 100.0 at 32x training length; matches a 'perfect' baseline at 2-8x extrapolation and improves on ICL/NIAH/RULER at longer contexts. Mamba2 also benefits from dropout, supporting the architecture-agnostic claim. CC BY 4.0 license. Directly relevant to the user's long-context training work (3:1 SWA:full-attention hybrid stack) — the dropout-placement fix applies to their architecture too.",
  "body": "",
  "notes": "Discovery: @rosinality (ML Engineer, London) X post 2026-10-06 4:08 AM ET (https://x.com/rosinality/status/2107382390721278278), ~3.3K views — 'Dropout for length generalization. Interesting.' | Code: https://github.com/deep-spin/len-gen-regularization | Affiliations: Instituto Superior Tecnico, Universidade de Lisboa, Instituto de Telecomunicacoes, ELLIS Unit Lisbon, Gandara AI | Related: catalog 1538, 1539, 1565, 1571 (norm/sink cluster), 1553, 1561 (long-context attention)",
  "url": "https://arxiv.org/abs/2610.04518",
  "links": [],
  "authors": [
    "Pavlo Vasylenko",
    "Matthias Lindemann",
    "Andre F. T. Martins",
    "Marcos Treviso"
  ],
  "tags": [
    "length-generalization",
    "dropout",
    "vpad",
    "regularization",
    "smollm3",
    "mamba2",
    "long-context"
  ],
  "topics": "length generalization, dropout, regularization, variance-preserving dropout, positional encoding, long context",
  "venue": "arXiv 2610.04518 [cs.LG], submitted 3 Oct 2026, preprint",
  "publisher": "",
  "source": "x",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-06T00:00:00.000Z",
  "verified_at": "2026-10-06T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1578"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-06T13:04:27.047Z",
  "updated_at": "2026-10-06T13:04:27.047Z",
  "page": "https://papers.projxon.ai/entries/1270",
  "markdown": "https://papers.projxon.ai/entries/1270.md",
  "api": "https://papers.projxon.ai/api/entries/1270",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 612,
      "kind": "model",
      "title": "SmolLM3: smol, multilingual, long-context reasoner",
      "summary": "HuggingFaceTB 3B decoder (Llama-style, tied embeddings, GQA 4 groups, NoPE every 4th layer, intra-document masking) trained 11.2T tokens on 384 H100s over 24 days. Three-stage web/code/math mix, then 100B long-context (4k to 64k, YaRN to 128k) and 140B reasoning mid-train. SFT 1.8B tokens dual think/no_think, APO alignment, MergeKit soup. Outperforms Llama-3.2-3B and Qwen2.5-3B; competitive with 4B models. Think mode AIME 2025 36.7 percent vs 9.3 percent no-think. Apache-2.0. Languages EN/FR/ES/DE/IT/PT.",
      "url": "https://huggingface.co/blog/smollm3",
      "authors": [
        "Elie Bakouch",
        "Loubna Ben Allal",
        "Anton Lozhkov",
        "Nouamane Tazi",
        "Lewis Tunstall",
        "Carlos Miguel Patiño",
        "Edward Beeching",
        "Aymeric Roucher",
        "Aksel Joonas Reedi",
        "Quentin Gallouédec",
        "Kashif Rasul",
        "Nathan Habib",
        "Clémentine Fourrier",
        "Hynek Kydlicek",
        "Guilherme Penedo",
        "Hugo Larcher",
        "Mathieu Morlon",
        "Vaibhav Srivastav",
        "Joshua Lochner",
        "Xuan-Son Nguyen",
        "Colin Raffel",
        "Leandro von Werra",
        "Thomas Wolf"
      ],
      "tags": [
        "smollm3",
        "huggingfacetb",
        "small-lm",
        "reasoning",
        "long-context",
        "multilingual",
        "blog"
      ],
      "venue": "Hugging Face (HuggingFaceTB)",
      "source": "huggingface",
      "license": "Apache-2.0",
      "published_year": null,
      "added_at": "2026-08-14T18:56:35.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/612",
      "markdown": "https://papers.projxon.ai/entries/612.md",
      "api": "https://papers.projxon.ai/api/entries/612"
    },
    {
      "id": 533,
      "kind": "paper",
      "title": "Let's (not) just put things in Context: Test-Time Training for Long-Context LLMs",
      "summary": "Diagnoses score dilution in static self-attention: the target–distractor logit margin must scale as Ω(log T) or needle mass vanishes. Thinking tokens cannot recover buried evidence under that bound. qTTT does one prefill to cache K/V then a few gradient steps on W_Q only, raising the margin without invalidating the cache. FLOP-matched to 8k thinking tokens, Qwen3-4B gains +12.6 / +14.1 pp average on LongBench-v2 and ZeroScrolls subsets; thinking-token gains saturate as T grows.",
      "url": "https://arxiv.org/abs/2512.13898",
      "authors": [
        "Rachit Bansal",
        "Aston Zhang",
        "Rishabh Tiwari",
        "Lovish Madaan",
        "Sai Surya Duvvuri",
        "Devvrit Khatri",
        "David Brandfonbrener",
        "David Alvarez-Melis",
        "Prajjwal Bhargava",
        "Mihir Sanjay Kale",
        "Samy Jelassi"
      ],
      "tags": [
        "qttt",
        "test-time-training",
        "long-context",
        "score-dilution",
        "longbench",
        "zeroscrolls",
        "meta",
        "harvard"
      ],
      "venue": "arXiv / Meta / Harvard",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 20,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/533",
      "markdown": "https://papers.projxon.ai/entries/533.md",
      "api": "https://papers.projxon.ai/api/entries/533"
    },
    {
      "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"
    },
    {
      "id": 793,
      "kind": "paper",
      "title": "Context Language Models",
      "summary": "Introduces Context Language Models (CLMs): language models that natively manage their own context by treating the context as a file and allowing unrestricted updates to it, letting the model learn what is most important to maintain in context and naturally extending to multi-agent systems where multiple agent contexts coexist as files. Building CLMs zero-shot with existing models outperforms SOTA context-management strategies: 11.4% higher accuracy with 21.5% fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench, and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm task. Shifting context management from external harness control to intrinsic model behavior enables both in-context and parametric learning of context-management strategies: steering CLMs with natural-language instructions evolved through a skill-optimization loop improves held-out accuracy by up to 35.9 points while reducing compute. An online RL method for CLMs improves Qwen3.5-9B on BrowseComp-Plus by 47.6% while using 12% fewer FLOPs. Co-designed Suffix Cache Reuse for CLM serving further cuts server-side compute by 35% relative to standard SGLang at matched performance.",
      "url": "https://arxiv.org/abs/2609.37725",
      "authors": [
        "Rulin Shao",
        "Shannon Zejiang Shen",
        "Junjie Oscar Yin",
        "Yuetai Li",
        "Minheng Wang",
        "Hamish Ivison",
        "Radha Poovendran",
        "Nathan Lambert",
        "Teng Xiao",
        "Mike Lewis",
        "Wen-tau Yih",
        "Luke Zettlemoyer",
        "Pang Wei Koh"
      ],
      "tags": [
        "agents",
        "long-context",
        "context-management",
        "rl",
        "multi-agent",
        "inference",
        "caching"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "CC-BY-4.0",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/793",
      "markdown": "https://papers.projxon.ai/entries/793.md",
      "api": "https://papers.projxon.ai/api/entries/793"
    },
    {
      "id": 821,
      "kind": "paper",
      "title": "LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning",
      "summary": "A benchmark evaluating both the effectiveness and efficiency of long-context LM harnesses (RLMs, ReAct, mini-swe-agent-style coding agents). Existing long-context evaluations are saturated across harnesses, so the four hard tasks require strategic/efficient reasoning (multiple valid strategies with very different costs), hard retrieval (both GREP and semantic), and extensive multi-step reasoning. Example: Constraint Solving asks for every person satisfying 5 conditions scattered across documents; checking the most selective condition first narrows candidates far more cheaply than checking every condition. 5 frontier LMs x 4 agentic harnesses: best setup reaches only 68% macro-average accuracy and no single harness leads across all tasks. Clear accuracy gaps, plus >10x efficiency differences even with the same LM and similar accuracy: more compute does not always mean better accuracy. mini-swe-agent is especially strong, reaching the best performance at a cost close to direct inference. Establishes efficiency as an axis for long-context evaluation and provides a testbed for harnesses that process context strategically rather than exhaustively.",
      "url": "https://arxiv.org/abs/2609.38137",
      "authors": [
        "Quang Hieu Pham",
        "Thuy Duong Nguyen",
        "Jocelyn Qiaochu Chen",
        "Xi Ye"
      ],
      "tags": [
        "long-context",
        "harnesses",
        "agents",
        "benchmarks",
        "efficiency",
        "retrieval"
      ],
      "venue": "arXiv (2026-09-29), cs.CL; CC BY 4.0",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00: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/821",
      "markdown": "https://papers.projxon.ai/entries/821.md",
      "api": "https://papers.projxon.ai/api/entries/821"
    },
    {
      "id": 1117,
      "kind": "other",
      "title": "Fiction.liveBench: The First Real-World Long Context Benchmark for Writers",
      "summary": "Community long-context narrative benchmark from Fiction.live (introduced ~Feb–Mar 2025; Discord linked Mar-25-2025 story URL). Built from long complex user stories with verified quizzes; each item starts from a minimal relevant cut ('0'-token) then expands context so relevant info is buried in longer story text. Epoch AI describes 36 questions about 30 stories with length-varied summaries; primary site notes ~dozen stories and private user-derived dataset. Continuously updated leaderboard of frontier models. Measures theory of mind, chronology, secrets/reader vs character knowledge, and logical prediction from hints—harder than LongBench/RULER-style search.",
      "url": "https://fiction.live/stories/Fiction-liveBench-Mar-25-2025/oQdzQvKHw8JyXbN87",
      "authors": [
        "kas (Fiction.live)"
      ],
      "tags": [
        "fiction-livebench",
        "long-context",
        "narrative",
        "evaluation",
        "theory-of-mind",
        "epoch-ai",
        "writers"
      ],
      "venue": "Fiction.live",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-02T17:40:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1117",
      "markdown": "https://papers.projxon.ai/entries/1117.md",
      "api": "https://papers.projxon.ai/api/entries/1117"
    }
  ]
}
