Length-Aware Multi-Kernel Transformer for Long Document Classification
Guangzeng Han, Jack Tsao, Xiaolei Huang

TL;DR
This paper introduces LAMKIT, a length-aware multi-kernel transformer that improves long document classification by addressing context fragmentation and length variability, outperforming existing models significantly.
Contribution
The paper proposes a novel length-aware multi-kernel transformer that encodes long documents with diverse kernels to enhance robustness and accuracy across varying text lengths.
Findings
LAMKIT outperforms SOTA models by up to 10.9% on benchmark datasets.
Extensive ablation shows improved robustness to document length variations.
Model effectively bridges context boundaries in long texts.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsText and Document Classification Technologies
MethodsAttention Is All You Need · Sparse Evolutionary Training · Linear Layer · Multi-Head Attention · Dense Connections · Position-Wise Feed-Forward Layer · Dropout · Label Smoothing · Residual Connection · Absolute Position Encodings
