mlsanityData to 14 Oct 2026

Zebra: Extending Context Window with Layerwise Grouped Local-Global Attention

arXiv 2312.08618 ↗First posted 14 Dec 2023cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

This paper introduces a novel approach to enhance the capabilities of Large Language Models (LLMs) in processing and understanding extensive text sequences, a critical aspect in applications requiring deep comprehension and synthesis of large volumes of information. Recognizing the inherent challenges in extending the context window for LLMs, primarily built on Transformer architecture, we propose a new model architecture, referred to as Zebra. This architecture efficiently manages the quadratic time and memory complexity issues associated with full attention in the Transformer by employing grouped local-global attention layers. Our model, akin to a zebra's alternating stripes, balances local and global attention layers, significantly reducing computational requirements and memory consumption. Comprehensive experiments, including pretraining from scratch, continuation of long context adaptation training, and long instruction tuning, are conducted to evaluate the Zebra's performance. The results show that Zebra achieves comparable or superior performance on both short and long sequence benchmarks, while also enhancing training and inference efficiency.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 66 of its 90 references that are in the map. First posted on arXiv 14 Dec 2023.

Builds on

66 of 90 references.

References · 66

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  9. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  10. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  11. 2020Longformer: The Long-Document Transformercited by 3,413
  12. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
38 more
  1. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  2. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  3. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  4. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  5. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  6. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  7. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  8. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  9. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  10. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
  11. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  12. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  13. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  14. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
  15. 2018Self-Attention with Relative Position Representationscited by 1,120
  16. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  17. 2023LIMA: Less Is More for Alignmentcited by 1,100
  18. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
  19. 2023StarCoder: may the source be with you!cited by 799
  20. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
  21. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  22. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
  23. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
  24. 2017The NarrativeQA Reading Comprehension Challengecited by 597
  25. 2019ELI5: Long Form Question Answeringcited by 575
  26. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
  27. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  28. 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 365
  29. 2021Random Feature Attentioncited by 354
  30. 2021Efficient Attentions for Long Document Summarizationcited by 345
  31. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  32. 2023Effective Long-Context Scaling of Foundation Modelscited by 303
  33. 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
  34. 2020Sparse Sinkhorn Attentioncited by 251
  35. 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 236
  36. 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 233
  37. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  38. 2021BookSum: A Collection of Datasets for Long-form Narrative Summarizationcited by 184

50 most cited of 66 All 66 (JSON)

Built on by

Cited by year

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

6 papers.