Introduction
The standard "pre-train then fine-tune" paradigm has revolutionized Natural Language Processing, yet it faces significant challenges when applied to small datasets. Large-scale pre-trained language models (PLMs) like BERT often suffer from representation collapse during fine-tuning, where the model over-optimizes for a specific task and loses the general contextual features learned during pre-training. This leads to two primary issues: high instability (wildly different results across training runs) and poor generalizability to out-of-domain data.
Previous solutions, such as Mixout or CHILD-TUNING, attempt to mitigate this by limiting parameter updates. However, these methods are often too random or rely on a static set of parameters chosen before training begins. This paper introduces Dynamic Parameter Selection (DPS), an algorithm that adaptively identifies and updates only the most task-relevant subnetworks in a cyclic fashion throughout the training process.
Methodology: Dynamic Parameter Selection (DPS)
DPS operates through a cyclic, two-stage updating strategy designed to keep the model's optimization focused on the most promising parameters for the current task state.
The Two-Stage Cycle
- Stage I (Accumulation): The model undergoes standard fine-tuning for a predefined number of steps. During this phase, the algorithm monitors gradients to identify which parameters are most responsive to the task. It calculates a Gradient Accumulation Matrix (GAM) to track the importance of each weight.
- Stage II (Selective Update): Based on the information gathered in Stage I, DPS selects a specific subnetwork of "important" parameters to update. The remaining weights are either frozen or reverted to their pre-trained values, acting as a powerful regularizer.
DPS Variants
The authors propose two versions of the algorithm:
- DPS Dense: This variant ranks parameters based on their Fisher Information (approximated by the square of the accumulated gradients) and updates the top-ranked subnetwork. It is designed for full network optimization.
- DPS Mix: This version incorporates a frequency-penalized selection strategy. By applying an exponential penalty to frequently updated parameters, DPS Mix forces the model to explore "under-utilized" weights, preventing it from getting stuck in local optima and ensuring a more robust representation.
Experimental Results
The researchers evaluated DPS across the GLUE benchmark, various Natural Language Inference (NLI) datasets for generalization tests, and specifically designed low-resource scenarios (0.5K and 1K samples).
Performance and Stability
As shown in the table below, DPS consistently outperforms vanilla fine-tuning and other state-of-the-art regularizers like Mixout and R3F across multiple GLUE tasks.
Beyond raw performance gains, a key highlight is the reduction in standard deviation. DPS significantly stabilizes the training process, with standard deviations dropping by 0.29 to 0.80 points compared to baselines. This makes the model's performance far more predictable across different random seeds.
Low-Resource and Out-of-Domain Success
In extreme low-resource settings (0.5K samples), DPS showed dramatic improvements. For instance, on the CoLA task, performance jumped from a vanilla score of 26.01 to 40.58. Furthermore, when tested on out-of-domain data (e.g., training on MNLI and testing on SICK), DPS models maintained higher accuracy, proving they learn genuine semantic features rather than dataset-specific shortcuts.
Key Insights
- Dynamic Importance: DPS recognizes that parameter relevance shifts as the model learns. By re-evaluating the subnetwork every few hundred steps, the model remains agile.
- Efficiency: Unlike CHILD-TUNING, which requires an expensive pre-training pass over the dataset, DPS calculates importance on-the-fly. This makes it approximately 240% faster in practical applications.
- Versatility: The method is architecture-agnostic, showing consistent gains across BERT, RoBERTa, BART, ELECTRA, and DeBERTa.
Conclusion and Future Work
Dynamic Parameter Selection provides a robust and efficient framework for fine-tuning large PLMs, particularly when data is scarce. By adaptively optimizing subnetworks, it prevents representation collapse and ensures stable, generalizable performance. Future work may explore extending this adaptive subnetwork approach to other domains, such as Computer Vision and Reinforcement Learning, where fine-tuning large pre-trained models is increasingly common.
Summary updated