Adapt-$\infty$: Scalable Continual Multimodal Instruction Tuning via Dynamic Data Selection

Adyasha Maharana, Jaehong Yoon, Tianlong Chen, Mohit Bansal

TL;DR

Adapt-$\infty$ is a dynamic data selection framework designed for "Lifelong Instruction Tuning" (LiIT) of multimodal models. By clustering data based on learning gradients and using a "pool of experts" to select the most informative samples, it reduces catastrophic forgetting from 26% to less than 1% while using only a fraction of the available training data.

What Problem Does This Paper Address?

Multimodal Large Language Models (MLLMs), like LLaVA, are typically trained on massive, static datasets. However, in the real world, new datasets with new "skills" (e.g., specialized reasoning, new languages, or grounding) are released constantly.

Simply fine-tuning a model on a sequence of new datasets leads to catastrophic forgetting: the model learns the new task but loses its ability to perform old ones. While "experience replay" (keeping a bit of old data) helps, it is often inefficient because these datasets are riddled with semantic redundancy and task imbalances. Existing data selection methods usually rely on a single, static "importance score" (like loss), which fails to adapt as the model’s internal knowledge evolves over time.

Methods

The authors propose Adapt-$\infty$, which treats data selection as a dynamic process that responds to the model's current state.

Adapt-Infinity Framework

The pipeline consists of three main steps:

  1. Pseudo-Task Clustering via Gradients: Instead of clustering data by semantic meaning (hidden states), they use gradient vectors. Gradients represent how the model needs to change to learn a sample, making them a much better proxy for "skills." They found that gradients from the middle layers of the model are the most effective for this.
  2. Multi-way Data Selection: There is no "one size fits all" metric for data importance. Adapt-$\infty$ maintains a pool of "selector experts" (scoring functions like EL2N, Entropy, and Perplexity). For each skill cluster, it automatically picks the scoring function that shows the highest entropy (discriminative power) for those specific samples.
  3. Image Grounding (IG) Score: The authors introduced a novel metric to ensure the model actually uses the visual input. The IG score measures the ratio of perplexity when the image is absent vs. when it is present. A high IG score identifies samples where the image is essential to answering the prompt, filtering out "language-prior" shortcuts.
  4. Permanent Pruning (LITE-Adapt-$\infty$): To prevent the data pool from growing infinitely, they use a cluster-wise strategy to permanently delete the most semantically redundant samples based on cosine similarity in the hidden state space.

Datasets

The study uses a diverse stream of multimodal instruction-tuning datasets:

  • Training Stream: LLaVA-665K (base), M3IT (multilingual/multi-task), MiniGPT4 (high-quality captions), MANTIS (multi-image), LAMM (grounding/detection), and VisionFLAN (diverse tasks).
  • Evaluation: A comprehensive suite including GQA, ScienceQA, OK-VQA, RefCOCO, MMMU (reasoning), and MMLU (language-only).

Key Insights and Ideas

Empirical Analysis of Data Selection
  • Gradients > Features: Semantic features (hidden states) are great for identifying what an image is, but gradients are superior for identifying the skill required to process it. As shown in the t-SNE visualizations, this allows the model to group "reasoning" tasks together even if the subject matter is different.
  • The "Expert" Advantage: Different tasks require different selection logic. For example, Perplexity might be great for filtering low-quality VQA, while Entropy is better for balancing easy vs. hard reasoning tasks. Adapt-$\infty$’s ability to swap "experts" per cluster is its "secret sauce."
  • Skill Recovery: A fascinating finding is that models can "recover" a forgotten skill (like multilingual ability) even if the new training data doesn't explicitly contain it, provided the new data shares similar gradient patterns with the forgotten task.
  • Efficiency via LITE: By permanently pruning redundant data, the "LITE" version of the algorithm maintains high performance while keeping the computational footprint manageable as the "lifelong" stream continues.

Key Results

  • Minimal Forgetting: Compared to standard sequential training (26% forgetting rate), Adapt-$\infty$ reduced forgetting to just 0.9%.
  • Superior Accuracy: It achieved an average accuracy of 50.5% across all tasks, outperforming Multi-task training (46.1%) and Random Experience Replay (43.4%), despite using significantly less data.
  • Forward Transfer: The method achieved a Relative Gain of >100%, meaning that learning new tasks actually improved the model's performance on previously learned tasks more effectively than if it had learned them all at once.
  • Language Preservation: Even though the training was primarily multimodal, Adapt-$\infty$ helped preserve (and even improve) the underlying LLM's performance on language-only benchmarks like MMLU.

Limitations and Future Work

  • Computational Cost: Calculating gradients for every sample in a massive pool is computationally expensive. While the authors suggest using "zero-order gradients" or smaller "proxy models" (like TinyLLaVA) to mitigate this, it remains a hurdle for massive-scale deployment.
  • Cluster Hyperparameters: The number of clusters ($k$) currently requires a grid search. Future work could involve dynamic clustering that automatically adjusts to the complexity of the incoming data stream.
  • Architecture Specificity: Most experiments were conducted on the LLaVA architecture. Testing the generalizability across a wider variety of MLLM architectures (like Flamingo-style or Qwen-VL) would be a logical next step.

Summary updated

BibTeX
@inproceedings{maharana2025adapt,
  author = {Adyasha Maharana and Jaehong Yoon and Tianlong Chen and Mohit Bansal},
  title = {{Adapt-$\textbackslash\{\}infty$: Scalable Continual Multimodal Instruction Tuning via Dynamic Data Selection}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=EwFJaXVePU},
}
Figure