mlsanityData to 14 Oct 2026

Length-Aware Multi-Kernel Transformer for Long Document Classification

arXiv 2405.07052 ↗First posted 11 May 2024cs.CLcited by 5

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  6. 2020Longformer: The Long-Document Transformercited by 3,413
  7. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
  8. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  9. 2020Rethinking Attention with Performerscited by 1,601
  10. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,127
  11. 2019Publicly Available Clinical BERT Embeddingscited by 1,002
  12. 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 310
18 more
  1. 2018Explainable Prediction of Medical Codes from Clinical Textcited by 234
  2. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  3. 2019Neural Legal Judgment Prediction in Englishcited by 209
  4. 2021Paragraph-level Rationale Extraction through Regularization: A case study on European Court of Human Rights Casescited by 77
  5. 2023LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Developmentcited by 54
  6. 2023How Many Demonstrations Do You Need for In-context Learning?cited by 52
  7. 2022Revisiting Transformer-based Models for Long Document Classificationcited by 49
  8. 2023A Survey on Long Text Modeling with Transformerscited by 47
  9. 2021Hi-Transformer: Hierarchical Interactive Transformer for Efficient and Effective Long Document Modelingcited by 35
  10. 2023A Comparative Study of Pretrained Language Models for Long Clinical Textcited by 35
  11. 2023When do you need Chain-of-Thought Prompting for ChatGPT?cited by 35
  12. 2023ChatGPT may Pass the Bar Exam soon, but has a Long Way to Go for the LexGLUE benchmarkcited by 33
  13. 2022HiStruct+: Improving Extractive Text Summarization with Hierarchical Structure Informationcited by 26
  14. 2022The NLP Task Effectiveness of Long-Range Transformerscited by 22
  15. 2024Chain-of-Interaction: Enhancing Large Language Models for Psychiatric Behavior Understanding by Dyadic Contextscited by 19
  16. 2023Transformers in Healthcare: A Surveycited by 17
  17. 2021Contributions of Transformer Attention Heads in Multi- and Cross-lingual Taskscited by 16
  18. 2023Recurrent Attention Networks for Long-text Modelingcited by 12

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 3.

5 papers.