Abstract Fine-tuning Large Vision-Language Models (LVLMs) often encounters a "rich get richer" scenario. Because real-world data is typically "long-tailed"—meaning a few categories (the head) contain the vast majority of examples while most categories (the tail) have very few—models quickly master common patterns but fail to learn rare ones. To address this, researchers from Beihang University and Tencent PCG have introduced Adaptive Token Refinement (ATR), a novel fine-tuning framework designed to rectify this imbalance without requiring prior knowledge of the data distribution.
The Long-Tailed Dilemma in LVLMs
When fine-tuning models like Qwen or LLaVA on imbalanced datasets, training quickly hits a wall. During the early stages, the model rapidly overfits on the "head" data. This early "head-bias" effectively drowns out the learning signals necessary to understand the "tail" data.
Historically, "long-tailed learning" solutions have relied on a "prior"—a statistical cheat sheet detailing exactly how many samples exist for every class. However, in complex generative tasks like Visual Question Answering (VQA), these statistics are rarely available. Furthermore, most existing long-tailed fixes were engineered for simple image classifiers, making them ill-suited for the next-token prediction paradigm utilized by modern LVLMs.
Methodology: Adaptive Token Refinement (ATR)
To overcome these limitations, the authors propose Adaptive Token Refinement (ATR). Unlike traditional methods that operate on whole images or sentences, ATR functions at the fine-grained level of individual tokens. It consists of two primary mechanisms:
1. Bounded Adaptive Loss (BAL) for Output Tokens
BAL manages the text generation side of the model by dynamically adjusting the loss calculated for output tokens:
- Dynamic Filtering: As the model becomes highly confident in predicting certain tokens (typically those from the head data), BAL stops calculating loss for them. Conceptually, it is like a teacher telling a student to stop practicing basic addition once mastered, freeing up cognitive capacity for advanced calculus.
- Adaptive Reweighting: For exceptionally difficult tokens, the loss is "bounded" or capped. This prevents the model from obsessing over spurious correlations or noise inherent in tail data, which can otherwise lead to unstable training.
2. Visual Token Mask Strategy (VTM) for Input Tokens
VTM handles the visual input side by forcing the model to look beyond obvious features:
- The framework calculates the "entropy" (informativeness) of individual visual tokens.
- It then randomly masks out low-entropy tokens—the easy or redundant parts of an image. By obscuring these obvious cues, the model is forced to identify and rely on more sophisticated, robust visual patterns. This significantly enhances its ability to generalize to rare tail scenarios.
Experimental Setup
The researchers rigorously tested ATR across multiple domains:
- Long-Tailed Classification: ImageNet-LT (115.8K images, 1,000 classes) and Places-LT (62.5K images, 365 classes).
- Visual Question Answering (VQA): IconQA (abstract diagrams) and ScienceQA (multimodal scientific questions).
- Generalization Benchmarks: Out-of-distribution sets like OKVQA, GQA, and TextVQA were used to verify that the model learned underlying concepts rather than merely memorizing dataset-specific patterns.
Key Findings and Results
ATR consistently outperformed standard Supervised Fine-Tuning (SFT) and specialized loss functions such as MinorSFT and FisherSFT.
- Overcoming the "Early Overfit" Trap: Standard fine-tuning typically sees head accuracy peak immediately and then plateau, while tail accuracy stagnates. ATR establishes a balanced learning dynamic where both head and tail performance climb steadily in tandem.
- Distribution-Agnostic Success: ATR successfully identifies head and tail data on the fly based on prediction confidence, proving that state-of-the-art long-tailed learning is possible without a prior.
- Significant Performance Gains:
- On ImageNet-LT, ATR boosted overall accuracy from 78.2% to 84.1%. Most notably, accuracy on the rare "tail" subset surged from 64.7% to 71.5%.
- On Places-LT, overall accuracy increased from 43.8% to 51.4%.
- In VQA Tasks, ATR improved the fine-tuning score on IconQA by over 4 percentage points compared to standard LoRA training.
- Enhanced Generalization: Models trained with ATR performed markedly better on completely unseen datasets, demonstrating that the visual masking strategy genuinely improves the model's fundamental image comprehension.
Limitations and Future Directions
While ATR is highly effective, the authors note that it currently operates without incorporating external data. Some competing CLIP-based methods achieve high scores by ingesting millions of additional web images or synthetic data points. Integrating ATR with these data-augmentation strategies represents a promising avenue for future research. Additionally, the baseline performance of certain LVLMs on specific datasets (such as Places-LT) acts as an inherent bottleneck that even advanced fine-tuning techniques can only partially mitigate.
Summary updated