AI
New Pretraining Method Boosts Attention Accuracy in Multi-Label Text Classification
Researchers introduce PLANT, a strategy that initializes attention weights using learning-to-rank techniques, achieving better performance across medical coding, legal classification, and recommendation tasks.
Multi-label text classification systems often struggle to learn effective attention weights that help models zero in on the most relevant tokens. Researchers have proposed PLANT (Pretrained and Leveraged AtteNTion), a plug-and-play initialization technique designed to tackle this challenge by seeding attention mechanisms before full model fine-tuning.
How PLANT Works#
The approach trains a learning-to-rank model on mutual information gain to establish label-specific attention patterns, then uses these rankings to initialize an attention module layered on top of large language model representations. Rather than constraining the method to a particular architecture, PLANT functions as an adapter that works with various LLM backbones, including Mistral-7B, Llama-3.1-8B, DeepSeek-V3, and Phi-3-mini. Once initialization is complete, the entire system undergoes standard end-to-end fine-tuning.
Performance Gains Across Domains#
Testing demonstrated consistent improvements over existing state-of-the-art methods on several real-world tasks:
- ICD medical coding — translating clinical documentation into standardized diagnostic codes
- Legal topic classification — categorizing legal documents by subject matter
- Content recommendation — identifying relevant items for users
The strategy proved particularly effective for rare or infrequently seen labels, where data scarcity typically hampers model learning. Outside the medical domain, the approach also improved fine-tuned LLMs in controlled experiments, though a training-free baseline for extracting labels directly from LLMs remained competitive on uncommon categories.
Why It Matters#
Ablation studies confirmed that initializing attention properly accounts for much of the performance lift. By addressing a fundamental bottleneck—how models learn to weight which tokens matter most—the technique offers a practical way to enhance extreme multi-label classification systems without requiring architectural changes.

