mlsanityData to 7 Oct 2026

Chunk, Align, Select: A Simple Long-sequence Processing Method for Transformers

arXiv 2308.13191 ↗First posted 25 Aug 2023cs.CL cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

Although dominant in natural language processing, transformer-based models remain challenged by the task of long-sequence processing, because the computational cost of self-attention operations in transformers swells quadratically with the input sequence length. To alleviate the complexity of long-sequence processing, we propose a simple framework to enable the offthe-shelf pre-trained transformers to process much longer sequences, while the computation and memory costs remain growing linearly with the input sequence lengths. More specifically, our method divides each long-sequence input into a batch of chunks, then aligns the interchunk information during the encoding steps, and finally selects the most representative hidden states from the encoder for the decoding process. To extract inter-chunk semantic information, we align the start and end token embeddings among chunks in each encoding transformer block. To learn an effective hidden selection policy, we design a dual updating scheme inspired by reinforcement learning, which regards the decoders of transformers as environments, and the downstream performance metrics as the rewards to evaluate the hidden selection actions. Our empirical results on real-world long-text summarization and reading comprehension tasks demonstrate effective improvements compared to prior longsequence processing baselines.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 71 of its 96 references that are in the map. First posted on arXiv 25 Aug 2023.

Builds on

71 of 96 references.

References · 71

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  6. 2022Training language models to follow instructions with human feedbackcited by 15,712
  7. 2017Proximal Policy Optimization Algorithmscited by 14,441
  8. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  9. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  10. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  11. 2020Longformer: The Long-Document Transformercited by 3,362
  12. 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 1,916
38 more
  1. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  2. 2020Reformer: The Efficient Transformercited by 1,658
  3. 2020Rethinking Attention with Performerscited by 1,584
  4. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  5. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
  6. 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,100
  7. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  8. 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 895
  9. 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 809
  10. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  11. 2021BARTScore: Evaluating Generated Text as Text Generationcited by 719
  12. 2019VideoBERT: A Joint Model for Video and Language Representation Learningcited by 702
  13. 2019Solving Rubik's Cube with a Robot Handcited by 699
  14. 2017The NarrativeQA Reading Comprehension Challengecited by 590
  15. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  16. 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 477
  17. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  18. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  19. 2015A Neural Attention Model for Abstractive Sentence Summarizationcited by 394
  20. 2021Random Feature Attentioncited by 350
  21. 2021Efficient Attentions for Long Document Summarizationcited by 342
  22. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
  23. 2017Toward Controlled Generation of Textcited by 271
  24. 2022Is Reinforcement Learning (Not) for Natural Language Processing: Benchmarks, Baselines, and Building Blocks for Natural Language Policy Optimizationcited by 244
  25. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  26. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
  27. 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 204
  28. 2022SCROLLS: Standardized CompaRison Over Long Language Sequencescited by 170
  29. 2019End-to-End Open-Domain Question Answering with BERTserinicited by 152
  30. 2023Unlimiformer: Long-Range Transformers with Unlimited Length Inputcited by 127
  31. 2016Sequence-to-Sequence Learning as Beam-Search Optimizationcited by 126
  32. 2022Training Language Models with Memory Augmentationcited by 112
  33. 2021Contrastive Learning for Many-to-many Multilingual Neural Machine Translationcited by 108
  34. 2022Scaling Laws vs Model Architectures: How does Inductive Bias Influence Scaling?cited by 103
  35. 2020CTRLsum: Towards Generic Controllable Text Summarizationcited by 98
  36. 2021Luna: Linear Unified Nested Attentioncited by 96
  37. 2023CoLT5: Faster Long-Range Transformers with Conditional Computationcited by 84
  38. 2020Improved Natural Language Generation via Loss Truncationcited by 75

50 most cited of 71 All 71 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 4; 2026: 1.

9 papers.