mlsanityData to 7 Oct 2026

An Exploration of Hierarchical Attention Transformers for Efficient Long Document Classification

arXiv 2210.05529 ↗First posted 11 Oct 2022cs.CLcited by 38

Not on the map. Why?

Abstract (arXiv)

Non-hierarchical sparse attention Transformer-based models, such as Longformer and Big Bird, are popular approaches to working with long documents. There are clear benefits to these approaches compared to the original Transformer in terms of efficiency, but Hierarchical Attention Transformer (HAT) models are a vastly understudied alternative. We develop and release fully pre-trained HAT models that use segment-wise followed by cross-segment encoders and compare them with Longformer models and partially pre-trained HATs. In several long document downstream classification tasks, our best HAT model outperforms equally-sized Longformer models while using 10-20% less GPU memory and processing documents 40-45% faster. In a series of ablation studies, we find that HATs perform best with cross-segment contextualization throughout the model than alternative configurations that implement either early or late cross-segment contextualization. Our code is on GitHub: https://github.com/coastalcph/hierarchical-transformers.

Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). Builds on 36 of its 43 references that are in the map. First posted on arXiv 11 Oct 2022.

Builds on

36 of 43 references.

References · 36

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  6. 2020Scaling Laws for Neural Language Modelscited by 6,411
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  9. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  11. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  12. 2020Reformer: The Efficient Transformercited by 1,658
24 more
  1. 2020Rethinking Attention with Performerscited by 1,584
  2. 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,013
  3. 2020Efficient Transformers: A Surveycited by 784
  4. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  5. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
  6. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  7. 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
  8. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  9. 2019Neural Legal Judgment Prediction in Englishcited by 208
  10. 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 204
  11. 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 145
  12. 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 118
  13. 2021MultiEURLEX -- A multi-lingual and multi-label legal document classification dataset for zero-shot cross-lingual transfercited by 89
  14. 2021Paragraph-level Rationale Extraction through Regularization: A case study on European Court of Human Rights Casescited by 77
  15. 2019Pretrained Language Models for Sequential Sentence Classificationcited by 53
  16. 2022Revisiting Transformer-based Models for Long Document Classificationcited by 48
  17. 2022Multi-LexSum: Real-World Summaries of Civil Rights Lawsuits at Multiple Granularitiescited by 47
  18. 2022Long Document Summarization with Top-down and Bottom-up Inferencecited by 42
  19. 2020Beyond 512 Tokens: Siamese Multi-depth Transformer-based Hierarchical Encoder for Long-Form Document Matchingcited by 35
  20. 2021Hi-Transformer: Hierarchical Interactive Transformer for Efficient and Effective Long Document Modelingcited by 35
  21. 2022Mining Legal Arguments in Court Decisionscited by 35
  22. 2021Simple Local Attentions Remain Competitive for Long-Context Taskscited by 25
  23. 2021Regulatory Compliance through Doc2Doc Information Retrieval: A case study in EU/UK legislation where text similarity has limitationscited by 13
  24. 2022ERNIE-SPARSE: Learning Hierarchical Efficient Transformer Through Regularized Self-Attentioncited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 15; 2024: 8; 2025: 7; 2026: 8.

38 papers.

Sort:

By area:

  1. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
  2. 2023A Picture is Worth More Than 77 Text Tokens: Evaluating CLIP-Style Models on Dense Captionscited by 107
  3. 2023A Survey on Long Text Modeling with Transformerscited by 47
  4. 2024InterACT: Inter-dependency Aware Action Chunking with Hierarchical Attention Transformers for Bimanual Manipulationcited by 21
  5. 2023Zero-shot Transfer of Article-aware Legal Outcome Classification for European Court of Human Rights Casescited by 14
  6. 2024DAIC-WOZ: On the Validity of Using the Therapist's prompts in Automatic Depression Detection from Clinical Interviewscited by 14
  7. 2023Leveraging Task Dependency and Contrastive Learning for Case Outcome Classification on European Court of Human Rights Casescited by 12
  8. 2025The Strawberry Problem: Emergence of Character-level Understanding in Tokenized Language Modelscited by 11
  9. 2023LogPr'ecis: Unleashing Language Models for Automated Malicious Log Analysiscited by 8
  10. 2023Large Language Model Prompt Chaining for Long Legal Document Classificationcited by 7
  11. 2024Towards Explainability and Fairness in Swiss Judgement Prediction: Benchmarking on a Multilingual Datasetcited by 7
  12. 2025Towards Long Context Hallucination Detectioncited by 7
26 more
  1. 2024HDT: Hierarchical Document Transformercited by 6
  2. 2023Hallucination Reduction in Long Input Text Summarizationcited by 5
  3. 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalabilitycited by 5
  4. 2025HSGM: Hierarchical Segment-Graph Memory for Scalable Long-Text Semanticscited by 5
  5. 2024Exploring Large Language Models and Hierarchical Frameworks for Classification of Large Unstructured Legal Documentscited by 4
  6. 2023Efficient Document Embeddings via Self-Contrastive Bregman Divergence Learningcited by 3
  7. 2023Modular Multimodal Machine Learning for Extraction of Theorems and Proofs in Long Scientific Documents (Extended Version)cited by 2
  8. 2024Modeling the Quality of Dialogical Explanationscited by 2
  9. 2023A Hierarchical Neural Framework for Classification and its Explanation in Large Unstructured Legal Documentscited by 1
  10. 2024An alternative formulation of attention pooling function in translationcited by 1
  11. 2025Two Heads Are Better than One: Simulating Large Transformers with Small Onescited by 1
  12. 2025HATSolver: Learning Groebner Bases with Hierarchical Attention Transformerscited by 1
  13. 2026Aligning Forest and Trees in Images & Long Captions for Visually Grounded Understandingcited by 1
  14. 2026Overlapping Schwarz Attention: Hierarchical Attention via Domain Decompositioncited by 1
  15. 2023A General-Purpose Multilingual Document Encodercited by 0
  16. 2023An End-to-End System for Reproducibility Assessment of Source Code Repositories via Their Readmescited by 0
  17. 2023VECHR: A Dataset for Explainable and Robust Classification of Vulnerability Type in the European Court of Human Rightscited by 0
  18. 2024Graph-tree Fusion Model with Bidirectional Information Propagation for Long Document Classificationcited by 0
  19. 2025Lessons from Neuroscience for AI: How integrating Actions, Compositional Structure and Episodic Memory could enable Safe, Interpretable and Human-Like AIcited by 0
  20. 2025Skim-Aware Contrastive Learning for Efficient Document Representationcited by 0
  21. 2026Fusion-SSAT: Unleashing the Potential of Self-supervised Auxiliary Task by Feature Fusion for Generalized Deepfake Detectioncited by 0
  22. 2026Training Language Models with homotokens Leads to Delayed Overfittingcited by 0
  23. 2026NEST: Nested Event Stream Transformer for Sequences of Multisetscited by 0
  24. 2026Neutrino Oscillation Parameter Estimation Using Structured Hierarchical Transformerscited by 0
  25. 2026Semantic Compression Trees: Multi-Resolution Knowledge Retrieval via Hierarchical Semantic Residualscited by 0
  26. 2026Labeled Incidence Structures for Native Transformer Modeling of Text, Knowledge Graphs, and Hypergraphscited by 0