SepSeq: A Training-Free Framework for Long Numerical Sequence Processing in LLMs

Jie Sun, Yu Liu, Lu Han, Qiwen Deng, Xiang Shu +7 more
4/9/2026
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sun2026sepseq,
  title  = {SepSeq: A Training-Free Framework for Long Numerical Sequence Processing in LLMs},
  author = {Jie Sun and Yu Liu and Lu Han and Qiwen Deng and Xiang Shu and Yang Xiao and Xingyu Lu and Jun Zhou and Pengfei Liu and Lintao Ma and Jiancan Wu and Xiang Wang},
  year   = {2026},
  eprint = {2604.07737},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.07737v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.07737.svg)](https://codeofpaper.com/paper/2604.07737)

Discussion