mlsanityData to 7 Oct 2026

Taking a Deep Breath: Enhancing Language Modeling of Large Language Models with Sentinel Tokens

arXiv 2406.10985 ↗First posted 16 Jun 2024cs.CLcited by 2

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2020Scaling Laws for Neural Language Modelscited by 6,411
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2016Pointer Sentinel Mixture Modelscited by 2,992
  9. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  10. 2017Decoupled Weight Decay Regularizationcited by 1,722
  11. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  12. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
8 more
  1. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  2. 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
  3. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  4. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  5. 2023Adapting Language Models to Compress Contextscited by 350
  6. 2019MLQA: Evaluating Cross-lingual Extractive Question Answeringcited by 339
  7. 2023CoLT5: Faster Long-Range Transformers with Conditional Computationcited by 84
  8. 2023Context Compression for Auto-regressive Transformers with Sentinel Tokenscited by 8

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.