Not All Parameters Are Created Equal: Smart Isolation Boosts Fine-Tuning Performance

Yao Wang, Di Liang, Minlong Peng

TL;DR

Standard multi-task fine-tuning often triggers a "seesaw effect," where boosting an LLM's performance on one task inadvertently degrades it on another. To fix this, the authors introduce Core Parameter Isolation Fine-Tuning (CPI-FT), a framework that identifies and protects task-specific "core parameters" while smoothly blending the rest. This approach achieves state-of-the-art multi-task performance and reduces catastrophic forgetting by over 65% across multiple open-source LLM architectures.

What Problem Does This Paper Address?

When adapting Large Language Models (LLMs) to diverse downstream tasks via Supervised Fine-Tuning (SFT), practitioners typically update all model parameters uniformly. However, when training on heterogeneous data mixtures (e.g., combining math reasoning, coding, and creative writing), this indiscriminate approach leads to gradient conflicts. The result is the notorious "seesaw phenomenon"—progress in one domain happens at the expense of others.

While sequential multi-stage training can temporarily bypass direct gradient conflicts, it introduces catastrophic forgetting, where the model rapidly loses capabilities learned in earlier stages. The authors hypothesize that the root cause is a failure to respect parameter heterogeneity: different tasks naturally rely on distinct, localized subsets of parameters. Uniformly updating the entire parameter space ignores these specialized roles and causes destructive interference.

Methods

The proposed CPI-FT framework addresses parameter heterogeneity through a four-stage pipeline:

  1. Identifying Task-Specific Core Regions: The model is independently fine-tuned on each task for a brief "probing" phase (typically 1 epoch). The authors calculate the absolute difference between the pre-trained and probe-tuned weights. The top $p\%$ (e.g., 1%) of parameters with the largest update magnitudes are designated as that task's core parameter region.
  2. Task Grouping via Similarity: To determine which tasks might conflict or synergize, the authors calculate the Jaccard Index (overlap) between the core regions of different tasks. Tasks with high overlap (exceeding a threshold $\tau$) are clustered together for joint training.
  3. Parameter Fusion: The core parameters from each task's individually fine-tuned model are directly transplanted (overwritten) into a unified backbone. For the remaining non-core parameters, the framework uses Spherical Linear Interpolation (SLERP) to smoothly blend the weights geometrically, avoiding abrupt transitions and conflicts.
  4. Consolidated Fine-Tuning with Dynamic Freezing: Finally, the fused model undergoes a lightweight multi-stage training phase on sampled mixed-task data. Crucially, during this phase, the core parameter regions of all previously processed task groups are dynamically frozen to lock in task-specific knowledge while allowing the remaining parameters to calibrate.
Figure 1: The figure illustrates task-specific core parameter isolation (a) and consolidated fine-tuning (b) approaches for sequential training. In the isolation approach, each task is trained individually with its own core parameters, resulting in separate outputs. The models are then merged into a single model. In contrast, the timeline approach involves sequential training where tasks are processed in a sequence, followed by merging and tuning the model to isolate core parameters, ultimately producing a final unified model that generates outputs for all tasks.

Datasets

The framework was evaluated using five public benchmarks spanning diverse capabilities:

  • GSM8K: Multi-step mathematical reasoning.
  • CodeAlpaca: Code generation.
  • LogiQA: Logical reasoning and reading comprehension.
  • Alpaca: General instruction following.
  • UltraChat: Interactive dialogue.

For robustness testing in resource-imbalanced scenarios, the authors also simulated data scarcity using text classification, natural language inference (NLI), named entity recognition (NER), and code generation datasets sampled down to 50%, 20%, and 10% of their original sizes.

Key Insights and Ideas

  • Update Magnitude is an Effective Proxy for Importance: Instead of relying on computationally prohibitive second-order methods like the Fisher Information Matrix (used in EWC), a simple absolute weight delta from a short probing run successfully isolates functionally specialized parameters.
  • Temporal Scheduling Alone is Insufficient: The experiments show that simply ordering tasks sequentially (as in standard curriculum learning) cannot prevent catastrophic forgetting if the underlying parameters are updated indiscriminately. True isolation requires structural parameter-level freezing.
  • Geometry-Aware Fusion Prevents Friction: Overwriting or naively averaging non-core parameters introduces friction. Utilizing SLERP for non-critical regions preserves overall model coherence by respecting the high-dimensional spherical geometry of LLM weight spaces.

Key Results

The authors evaluated CPI-FT against vanilla multi-task SFT and multi-stage baselines across four base models: LLaMA-2-7B, Mistral-8B, Qwen1.5-7B, and Gemma-9B.

  • Consistent Performance Gains: CPI-FT consistently achieved the highest task-specific and average normalized scores across all model configurations, particularly excelling in complex reasoning tasks like GSM8K and LogiQA.
Main Performance Comparison
  • Mitigating Catastrophic Forgetting: In sequential two-task transfer setups (e.g., GSM8K $\rightarrow$ Alpaca), standard SFT saw performance drops of 16–24 points on the initial task. CPI-FT reduced this forgetting by over 65%, keeping post-tuning losses under 6 points without sacrificing the model's ability to learn the new task.
Catastrophic Forgetting Analysis
  • Robustness to Data Imbalance: In data-scarce environments (10% data level), CPI-FT improved the average low-resource task score by 3.7 points compared to standard SFT, proving that protecting core regions prevents low-resource tasks from being overwhelmed by data-rich tasks.

Limitations and Future Work

Despite its strong performance, the authors note several limitations:

  • Compute Overhead: CPI-FT requires running multiple independent, task-specific probing runs upfront, which increases initial training and storage costs as the number of tasks scales.
  • Coarse Importance Metric: Relying strictly on update magnitudes might overlook complex parameter interdependencies. Future work could explore more sophisticated attribution or mechanistic interpretability methods.
  • Hyperparameter Tuning: The framework introduces extra hyperparameters, such as the core parameter percentage ($p$) and the similarity threshold ($\tau$), which require careful calibration to optimize performance across different architectures.

Summary updated

BibTeX
@inproceedings{wang2025not,
  author = {Yao Wang and Di Liang and Minlong Peng},
  title = {{Not All Parameters Are Created Equal: Smart Isolation Boosts Fine-Tuning Performance}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure