SepSeq: A Training-Free Framework for Long Numerical Sequence Processing in LLMs
Not on the map. Why?
Abstract (arXiv)
While transformer-based Large Language Models (LLMs) theoretically support massive context windows, they suffer from severe performance degradation when processing long numerical sequences. We attribute this failure to the attention dispersion in the Softmax mechanism, which prevents the model from concentrating attention. To overcome this, we propose Separate Sequence (SepSeq), a training-free, plug-and-play framework to mitigate dispersion by strategically inserting separator tokens. Mechanistically, we demonstrate that separator tokens act as an attention sink, recalibrating attention to focus on local segments while preserving global context. Extensive evaluations on 9 widely-adopted LLMs confirm the effectiveness of our approach: SepSeq yields an average relative accuracy improvement of 35.6% across diverse domains while reducing total inference token consumption by 16.4% on average.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 24 of its 56 references that are in the map. First posted on arXiv 9 Apr 2026.
Builds on
24 of 56 references.
References · 24
- 2017Attention Is All You Needcited by 60,361
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2019Neural Text Generation with Unlikelihood Trainingcited by 503
- 2025GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Modelscited by 467
12 more
- 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMscited by 392
- 2025ToolRL: Reward is All Tool Learning Needscited by 362
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
- 2023Scaling Laws of RoPE-based Extrapolationcited by 125
- 2024Transformers need glasses! Information over-squashing in language taskscited by 91
- 2024Softmax is not Enough (for Sharp Size Generalisation)cited by 46
- 2025Scalable-Softmax Is Superior for Attentioncited by 45
- 2024SepLLM: Accelerate Large Language Models by Compressing One Segment into One Separatorcited by 41
- 2025Repetitions are not all alike: distinct mechanisms sustain repetition in language modelscited by 10
- 2025Rethinking Repetition Problems of LLMs in Code Generationcited by 6
- 2022Learning from One and Only One Shotcited by 4
- 2025MateICL: Mitigating Attention Dispersion in Large-Scale In-Context Learningcited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.