EMNLP Findings2022
Revisiting Transformer-based Models for Long Document Classification
Xiang Dai, Ilias Chalkidis, Sune Darkner, Desmond Elliott
摘要
The recent literature in text classification is biased towards short text sequences (e.g., sentences or paragraphs). In real-world applications, multi-page multi-paragraph documents are common and they cannot be efficiently encoded by vanilla Transformer-based models. We compare different Transformer-based Long Document Classification (TrLDC) approaches that aim to mitigate the computational overhead of vanilla transformers to encode much longer text, namely sparse attention and hierarchical encoding methods. We examine several aspects of sparse attention (e.g., size of local attention window, use of global attention) and hierarchical (e.g., document splitting strategy) transformers on four document classification datasets covering different domains. We observe a clear benefit from being able to process longer text, and, based on our results, we derive practical advice of applying Transformer-based models on long document classification tasks. 1
1 Code is available at https://github.com/ coastalcph/trldc 2 For example, many biomedical datasets use 'documents' from the PubMed collection of biomedical literature, but these documents actually consist of titles and abstracts.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Big Bird: Transformers for Longer Sequences 引用了 Blockwise Self-Attention for Long Document Understanding
- Big Bird: Transformers for Longer Sequences 引用了 Reformer: The Efficient Transformer
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Big Bird: Transformers for Longer Sequences
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Rethinking Attention with Performers
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Reformer: The Efficient Transformer
- Rethinking Attention with Performers 引用了 Reformer: The Efficient Transformer
- Blockwise Self-Attention for Long Document Understanding 引用了 Reformer: The Efficient Transformer
引用它的顶会 Paper9
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- Multi-Label Few-Shot ICD Coding as Autoregressive Generation with PromptZhichao Yang, Sunjae Kwon, Zonghai Yao, Hong YuAAAI 2023 · 29 次引用
- Deconfounding Legal Judgment Prediction for European Court of Human Rights Cases Towards Better Alignment with ExpertsTokala Yaswanth Sri Sai Santosh, Shanshan Xu, Oana Ichim, Matthias GrabmairEMNLP 2022 · 13 次引用
- Towards Semi-Structured Automatic ICD Coding via Tree-based Contrastive LearningChang Lu, Chandan K. Reddy, Ping Wang, Yue NingNeurIPS 2023 · 10 次引用
- Trigger Warning Assignment as a Multi-Label Document Classification ProblemMatti Wiegmann, Magdalena Wolska, Christopher Schröder, Ole Borchardt 等ACL 2023 · 10 次引用
它引用的 Paper12
- Big Bird: Transformers for Longer SequencesManzil Zaheer, Guru Guruganesh, Kumar Avinava Dubey, Joshua Ainslie 等NeurIPS 2020 · 3,159 次引用
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
- On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong BaselinesMarius Mosbach, Maksym Andriushchenko, Dietrich KlakowICLR 2021 · 448 次引用
- Blockwise Self-Attention for Long Document UnderstandingJiezhong Qiu, Hao Ma, Omer Levy, Wen-tau Yih 等EMNLP Findings 2020 · 165 次引用
- Rethinking Attention with PerformersKrzysztof Marcin Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song 等ICLR 2021 · 122 次引用
相关 Paper
- IRIS: Interpretable Retrieval-Augmented Classification for Long Interspersed Document SequencesFengnan Li, Elliot D. Hill, Jiang Shu, Jiaxin Gao 等ACL 2025
- Leveraging Locality in Abstractive Text SummarizationYixin Liu, Ansong Ni, Linyong Nan, Budhaditya Deb 等EMNLP 2022 · 19 次引用
- Long-Span Summarization via Local Attention and Content SelectionPotsawee Manakul, Mark J. F. GalesACL 2021
- Connecting the Dots: What Graph-Based Text Representations Work Best for Text Classification using Graph Neural Networks?Margarita Bugueño, Gerard de MeloEMNLP Findings 2023 · 8 次引用
- Graph-tree Fusion Model with Bidirectional Information Propagation for Long Document ClassificationSudipta Singha Roy, Xindi Wang, Robert E. Mercer, Frank RudziczEMNLP Findings 2024 · 1 次引用
