HDT: Hierarchical Document Transformer
Not on the map. Why?
Abstract (arXiv)
In this paper, we propose the Hierarchical Document Transformer (HDT), a novel sparse Transformer architecture tailored for structured hierarchical documents. Such documents are extremely important in numerous domains, including science, law or medicine. However, most existing solutions are inefficient and fail to make use of the structure inherent to documents. HDT exploits document structure by introducing auxiliary anchor tokens and redesigning the attention mechanism into a sparse multi-level hierarchy. This approach facilitates information exchange between tokens at different levels while maintaining sparsity, thereby enhancing computational and memory efficiency while exploiting the document structure as an inductive bias. We address the technical challenge of implementing HDT's sample-dependent hierarchical attention pattern by developing a novel sparse attention kernel that considers the hierarchical structure of documents. As demonstrated by our experiments, utilizing structural information present in documents leads to faster convergence, higher sample efficiency and better performance on downstream tasks.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 52 of its 68 references that are in the map. First posted on arXiv 11 Jul 2024.
Builds on
52 of 68 references.
References · 52
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
38 more
- 2020Reformer: The Efficient Transformercited by 1,658
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
- 2020Efficient Transformers: A Surveycited by 784
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
- 2021Efficient Attentions for Long Document Summarizationcited by 342
- 2022UL2: Unifying Language Learning Paradigmscited by 292
- 2019Neural Legal Judgment Prediction in Englishcited by 208
- 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 204
- 2022SCROLLS: Standardized CompaRison Over Long Language Sequencescited by 170
- 2018Online normalizer calculation for softmaxcited by 154
- 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 145
- 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 128
- 2022SciRepEval: A Multi-Format Benchmark for Scientific Document Representationscited by 124
- 2019Fine-tune BERT for Extractive Summarizationcited by 122
- 2023CoLT5: Faster Long-Range Transformers with Conditional Computationcited by 84
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2021Paragraph-level Rationale Extraction through Regularization: A case study on European Court of Human Rights Casescited by 77
- 2022Neighborhood Contrastive Learning for Scientific Document Representations with Citation Embeddingscited by 75
- 2019Tree Transformer: Integrating Tree Structures into Self-Attentioncited by 68
- 2021HTLM: Hyper-Text Pre-Training and Prompting of Language Modelscited by 58
- 2023Grokking of Hierarchical Structure in Vanilla Transformerscited by 53
- 2022Revisiting Transformer-based Models for Long Document Classificationcited by 48
- 2020Do Syntax Trees Help Pre-trained Transformers Extract Information?cited by 47
- 2022An Exploration of Hierarchical Attention Transformers for Efficient Long Document Classificationcited by 38
- 2021Hi-Transformer: Hierarchical Interactive Transformer for Efficient and Effective Long Document Modelingcited by 35
- 2022Mining Legal Arguments in Court Decisionscited by 35
- 2021Bringing Structure into Summaries: a Faceted Summarization Dataset for Long Scientific Documentscited by 33
- 2022The Harvard USPTO Patent Dataset: A Large-Scale, Well-Structured, and Multi-Purpose Corpus of Patent Applicationscited by 32
- 2020Code Summarization with Structure-induced Transformercited by 29
- 2022HEGEL: Hypergraph Transformer for Long Document Summarizationcited by 28
- 2022HiStruct+: Improving Extractive Text Summarization with Hierarchical Structure Informationcited by 26
- 2023unarXive 2022: All arXiv Publications Pre-Processed for NLP, Including Structured Full-Text and Citation Networkcited by 24
- 2023Faster Causal Attention Over Large Sequences Through Sparse Flash Attentioncited by 24
- 2022HIBRIDS: Attention with Hierarchical Biases for Structure-aware Long Document Summarizationcited by 22
- 2021HETFORMER: Heterogeneous Transformer with Sparse Attention for Long-Text Extractive Summarizationcited by 13
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2026Aligning Forest and Trees in Images & Long Captions for Visually Grounded Understandingcited by 1
- 2026Overlapping Schwarz Attention: Hierarchical Attention via Domain Decompositioncited by 1
- 2025From Coarse to Nuanced: Cross-Modal Alignment of Fine-Grained Linguistic Cues and Visual Salient Regions for Dynamic Emotion Recognitioncited by 0
- 2026NEST: Nested Event Stream Transformer for Sequences of Multisetscited by 0
- 2026Asymmetric Within-Document Predictive Learning for Scientific Document Representationcited by 0
- 2026Paragraph Boundaries Are Not White Space:Compression Depth as the Signature of Hierarchical Structurecited by 0
- 2026Paragraph Boundaries Are Not White Space:Compression Depth as the Signature of Hierarchical Structure20 Sep 2026
- 2026Asymmetric Within-Document Predictive Learning for Scientific Document Representation31 Jul 2026
- 2026Overlapping Schwarz Attention: Hierarchical Attention via Domain Decomposition16 Jun 2026
- 2026Aligning Forest and Trees in Images & Long Captions for Visually Grounded Understanding3 Feb 2026
- 2026NEST: Nested Event Stream Transformer for Sequences of Multisets31 Jan 2026
- 2025From Coarse to Nuanced: Cross-Modal Alignment of Fine-Grained Linguistic Cues and Visual Salient Regions for Dynamic Emotion Recognition16 Jul 2025