mlsanityData to 14 Oct 2026

Equipping Transformer with Random-Access Reading for Long-Context Understanding

arXiv 2405.13216 ↗First posted 21 May 2024cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Long-context modeling presents a significant challenge for transformer-based large language models (LLMs) due to the quadratic complexity of the self-attention mechanism and issues with length extrapolation caused by pretraining exclusively on short inputs. Existing methods address computational complexity through techniques such as text chunking, the kernel approach, and structured attention, and tackle length extrapolation problems through positional encoding, continued pretraining, and data engineering. These approaches typically require sequential access to the document, necessitating reading from the first to the last token. We contend that for goal-oriented reading of long documents, such sequential access is not necessary, and a proficiently trained model can learn to omit hundreds of less pertinent tokens. Inspired by human reading behaviors and existing empirical observations, we propose random access, a novel reading strategy that enables transformers to efficiently process long documents without examining every token. Experimental results from pretraining, fine-tuning, and inference phases validate the efficacy of our method.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 34 of its 47 references that are in the map. First posted on arXiv 21 May 2024.

Builds on

34 of 47 references.

References · 34

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2020Longformer: The Long-Document Transformercited by 3,413
  5. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  6. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  7. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  8. 2020Rethinking Attention with Performerscited by 1,601
  9. 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
  10. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
  11. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
  12. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
22 more
  1. 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 445
  2. 2021Random Feature Attentioncited by 354
  3. 2023Effective Long-Context Scaling of Foundation Modelscited by 303
  4. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
  5. 2020Sparse Sinkhorn Attentioncited by 251
  6. 2020Selective Question Answering under Domain Shiftcited by 238
  7. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  8. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 213
  9. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
  10. 2019Blockwise Self-Attention for Long Document Understandingcited by 159
  11. 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 133
  12. 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
  13. 2022Efficient Long-Text Understanding with Short-Text Modelscited by 71
  14. 2021Summ^N: A Multi-Stage Summarization Framework for Long Input Dialogues and Documentscited by 65
  15. 2023Simple Hardware-Efficient Long Convolutions for Sequence Modelingcited by 62
  16. 2023A Survey on Long Text Modeling with Transformerscited by 47
  17. 2018Confidence Modeling for Neural Semantic Parsingcited by 33
  18. 2021Narrative Question Answering with Cutting-Edge Open-Domain QA Techniques: A Comprehensive Studycited by 16
  19. 2022Leveraging Locality in Abstractive Text Summarizationcited by 9
  20. 2023Monotonic Location Attention for Length Generalizationcited by 9
  21. 2023Can You Follow Me? Testing Situational Understanding in ChatGPTcited by 4
  22. 2024Attendre: Wait To Attend By Retrieval With Evicted Queries in Memory-Based Transformers for Long Context Processingcited by 3

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.