Taking a Deep Breath: Enhancing Language Modeling of Large Language Models with Sentinel Tokens
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have shown promising efficacy across various tasks, becoming powerful tools in numerous aspects of human life. However, Transformer-based LLMs suffer a performance degradation when modeling long-term contexts due to they discard some information to reduce computational overhead. In this work, we propose a simple yet effective method to enable LLMs to take a deep breath, encouraging them to summarize information contained within discrete text chunks. Specifically, we segment the text into multiple chunks and insert special token <SR> at the end of each chunk. We then modify the attention mask to integrate the chunk's information into the corresponding <SR> token. This facilitates LLMs to interpret information not only from historical individual tokens but also from the <SR> token, aggregating the chunk's semantic information. Experiments on language modeling and out-of-domain downstream tasks validate the superiority of our approach.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 20 of its 29 references that are in the map. First posted on arXiv 16 Jun 2024.
Builds on
20 of 29 references.
References · 20
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2017Decoupled Weight Decay Regularizationcited by 1,722
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
8 more
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
- 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2023Adapting Language Models to Compress Contextscited by 350
- 2019MLQA: Evaluating Cross-lingual Extractive Question Answeringcited by 339
- 2023CoLT5: Faster Long-Range Transformers with Conditional Computationcited by 84
- 2023Context Compression for Auto-regressive Transformers with Sentinel Tokenscited by 8
Built on by
Citing papers per year: 2025: 2.
2 papers.
- 2025Cognitive Memory in Large Language Modelscited by 28
- 2025Which Words Matter Most in Zero-Shot Prompts?cited by 2
- 2025Cognitive Memory in Large Language Models3 Apr 2025
- 2025Which Words Matter Most in Zero-Shot Prompts?5 Feb 2025