Introduction
Continual Instruction Tuning (CIT) is a critical paradigm for developing Large Language Models (LLMs) that can adapt to new tasks over time. However, a significant hurdle in CIT is Catastrophic Forgetting (CF), where learning a new task degrades performance on previously acquired ones. Beyond simple forgetting, this paper identifies a more nuanced failure mode termed "half-listening."
As illustrated in Figure 1, "half-listening" occurs when a model overfits to general instruction templates while ignoring specific task constraints. For instance, if a model has learned "Item Classification" and is then trained on "Merchant Classification," it may default to the previous task's logic when prompted with a similar-looking instruction, even if the specific "key parts" (like the target category list) have changed. This leads to high instruction violation rates, particularly on unseen tasks.
The KPIG Framework
To address these challenges, the authors propose KPIG (Key-part Information Gain), a two-stage framework designed to enhance instruction following and mitigate forgetting.
Stage 1: Instruction Diversity
The first stage focuses on expanding the variety of instructions to prevent the model from overfitting to specific templates. Using GPT-4, a small set of seed instructions is evolved into a diverse pool. The process involves identifying "key parts"—spans of text that define the task's core constraints, such as content, length, and format. Strategies like Concretizing, Reasoning, and adding Constraints are employed to ensure the model encounters a wide array of instruction styles.
Stage 2: Information Gain Fine-tuning
The second stage introduces a novel training objective based on Information Gain (IG).
As shown in Figure 2, the IG metric quantifies how much the model relies on the "key parts" of an instruction. It is calculated by comparing the model's prediction probability when given the full instruction versus a version where the key parts are masked. A low IG indicates that the model is "half-listening" (it doesn't need the specific details to guess the answer).
KPIG utilizes this metric in two ways:
- Dynamic Replay: The system selectively replays historical data for tasks where the model's IG is lowest, targeting the areas most prone to forgetting or superficial learning.
- JSD Loss with Dynamic Temperature: A Jensen-Shannon Divergence (JSD) loss is applied between the current model and a frozen version of the previous model. The IG acts as a "dynamic temperature" to soften the probability distribution, forcing the model to distinguish more clearly between masked and unmasked instructions.
Evaluation and Benchmarks
The researchers evaluated KPIG on two primary benchmarks:
- Super-NaturalInstructions (SupNatInst): A massive collection of 1,600+ NLP tasks. The study used 128 tasks, with 88 for training and 40 held-out for testing generalization.
- Chinese Domain Dataset: A custom dataset with 20 tasks across 12 categories (e.g., text-to-SQL, merchant classification) to test real-world specialized performance.
Beyond standard metrics like ROUGE-L, which often fail to capture instruction adherence, the authors introduced the P-score (average of performance metrics like Accuracy and F1) and the V-score (a measure of "instruction violation" tracking incorrect formats, out-of-scope answers, and excessive wordiness).
Key Results
KPIG demonstrated superior performance across both benchmarks. On the SupNatInst-ST setting, KPIG achieved a P-score of 42.5, significantly outperforming standard Supervised Fine-Tuning (SFT) at 25.9 and other baselines like LoRA and EWC.
Crucially, KPIG drastically reduced instruction violations. On the Chinese Domain dataset, the V-score dropped from 10.5 (SFT) to 2.7 (KPIG), proving the model was much better at adhering to specific formatting and scope constraints. Saliency analysis further confirmed that KPIG-trained models pay significantly more attention to ground-truth tokens and key-part constraints in the final layers of the transformer compared to base models.
Conclusion and Future Work
The "half-listening" phenomenon highlights a critical weakness in how LLMs process instructions during continual learning. By quantifying task-awareness through Information Gain and diversifying instructions around "key parts," the KPIG framework provides a robust path toward models that truly follow complex, evolving instructions without forgetting their past training. Future work may explore applying mask information gain to other context-heavy reasoning tasks or long-document summarization.
Summary updated