mlsanityData to 14 Oct 2026

Compressing Lengthy Context With UltraGist

arXiv 2405.16635 ↗First posted 26 May 2024cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Compressing lengthy context is a critical but technically challenging problem. In this paper, we propose a new method called UltraGist, which is distinguished for its high-quality compression of lengthy context due to the innovative design of the compression and learning algorithm. UltraGist brings forth the following important benefits. Firstly, it notably contributes to the flexibility of compression, as it can be effectively learned to support a broad range of context lengths and compression ratios. Secondly, it helps to produce fine-grained compression for the lengthy context, where each small segment of the context is progressively processed on top of a tailored cross-attention mechanism. Thirdly, it makes the training process sample-efficient and thus maximizes the use of training data. Finally, it facilitates the efficient running of compression for dynamic context, as the compression result can be progressively generated and hence incrementally updated. UltraGist is evaluated on a wide variety of tasks associated with lengthy context, such as document QA and summarization, few-shot learning, multi-session conversation, et al. Whilst the existing methods fail to handle these challenging scenarios, our approach is able to preserve a near-lossless compression performance throughout all the evaluations. Our data, model, and code have been released at urlhttps://github.com/namespace-Pt/UltraGist.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 27 of its 32 references that are in the map. First posted on arXiv 26 May 2024.

Builds on

27 of 32 references.

References · 27

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  7. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  9. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  10. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  11. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
  12. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
15 more
  1. 2017The NarrativeQA Reading Comprehension Challengecited by 597
  2. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
  3. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
  4. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
  5. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  6. 2023Learning to Compress Prompts with Gist Tokenscited by 390
  7. 2023Adapting Language Models to Compress Contextscited by 356
  8. 2021Efficient Attentions for Long Document Summarizationcited by 345
  9. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 287
  10. 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 244
  11. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
  12. 2023LongCoder: A Long-Range Pre-trained Language Model for Code Completioncited by 112
  13. 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 111
  14. 2023Scaling Transformer to 1M tokens and beyond with RMTcited by 98
  15. 2023Compressed Context Memory For Online Language Model Interactioncited by 43

Built on by

Cited by year

Citing papers per year: 2024: 3; 2025: 1.

4 papers.