Length-Aware Multi-Kernel Transformer for Long Document Classification
Not on the map. Why?
Abstract (arXiv)
Lengthy documents pose a unique challenge to neural language models due to substantial memory consumption. While existing state-of-the-art (SOTA) models segment long texts into equal-length snippets (e.g., 128 tokens per snippet) or deploy sparse attention networks, these methods have new challenges of context fragmentation and generalizability due to sentence boundaries and varying text lengths. For example, our empirical analysis has shown that SOTA models consistently overfit one set of lengthy documents (e.g., 2000 tokens) while performing worse on texts with other lengths (e.g., 1000 or 4000). In this study, we propose a Length-Aware Multi-Kernel Transformer (LAMKIT) to address the new challenges for the long document classification. LAMKIT encodes lengthy documents by diverse transformer-based kernels for bridging context boundaries and vectorizes text length by the kernels to promote model robustness over varying document lengths. Experiments on five standard benchmarks from health and law domains show LAMKIT outperforms SOTA models up to an absolute 10.9% improvement. We conduct extensive ablation analyses to examine model robustness and effectiveness over varying document lengths.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 30 of its 55 references that are in the map. First posted on arXiv 11 May 2024.
Builds on
30 of 55 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Rethinking Attention with Performerscited by 1,601
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,127
- 2019Publicly Available Clinical BERT Embeddingscited by 1,002
- 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 310
18 more
- 2018Explainable Prediction of Medical Codes from Clinical Textcited by 234
- 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
- 2019Neural Legal Judgment Prediction in Englishcited by 209
- 2021Paragraph-level Rationale Extraction through Regularization: A case study on European Court of Human Rights Casescited by 77
- 2023LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Developmentcited by 54
- 2023How Many Demonstrations Do You Need for In-context Learning?cited by 52
- 2022Revisiting Transformer-based Models for Long Document Classificationcited by 49
- 2023A Survey on Long Text Modeling with Transformerscited by 47
- 2021Hi-Transformer: Hierarchical Interactive Transformer for Efficient and Effective Long Document Modelingcited by 35
- 2023A Comparative Study of Pretrained Language Models for Long Clinical Textcited by 35
- 2023When do you need Chain-of-Thought Prompting for ChatGPT?cited by 35
- 2023ChatGPT may Pass the Bar Exam soon, but has a Long Way to Go for the LexGLUE benchmarkcited by 33
- 2022HiStruct+: Improving Extractive Text Summarization with Hierarchical Structure Informationcited by 26
- 2022The NLP Task Effectiveness of Long-Range Transformerscited by 22
- 2024Chain-of-Interaction: Enhancing Large Language Models for Psychiatric Behavior Understanding by Dyadic Contextscited by 19
- 2023Transformers in Healthcare: A Surveycited by 17
- 2021Contributions of Transformer Attention Heads in Multi- and Cross-lingual Taskscited by 16
- 2023Recurrent Attention Networks for Long-text Modelingcited by 12
Built on by
Citing papers per year: 2024: 2; 2025: 3.
5 papers.
- 2024Time Matters: Examine Temporal Effects on Biomedical Language Modelscited by 7
- 2024Examining Imbalance Effects on Performance and Demographic Fairness of Clinical Language Modelscited by 4
- 2025RAISE: Reinforced Adaptive Instruction Selection For Large Language Modelscited by 2
- 2025MELON: Multimodal Mixture-of-Experts with Spectral-Temporal Fusion for Long-Term Mobility Estimation in Critical Carecited by 0
- 2025SeaPO: Strategic Error Amplification for Robust Preference Optimization of Large Language Modelscited by 0
- 2025SeaPO: Strategic Error Amplification for Robust Preference Optimization of Large Language Models29 Sep 2025
- 2025RAISE: Reinforced Adaptive Instruction Selection For Large Language Models9 Apr 2025
- 2025MELON: Multimodal Mixture-of-Experts with Spectral-Temporal Fusion for Long-Term Mobility Estimation in Critical Care10 Mar 2025
- 2024Examining Imbalance Effects on Performance and Demographic Fairness of Clinical Language Models23 Dec 2024
- 2024Time Matters: Examine Temporal Effects on Biomedical Language Models24 Jul 2024