Where to Adapt Matters: Layer-Selective Fine-Tuning for Capability Retention
Zhiqiang Pang, Zihong Sun, Qi Xie, Jun Shu, Deyu Meng, Zongben Xu
Key points
From the paper's conclusion- We find that fine-tuning different Transformer layers produces different target-task gains and degrees of capability degradation, suggesting that not all layers are equally suitable for adaptation.
Abstract
Parameter-efficient fine-tuning (PEFT) enables large language models (LLMs) to adapt to specialized tasks, but often at the cost of degrading general capabilities acquired during pretraining. Existing approaches primarily mitigate this trade-off through data replay or regularization, relying on additional data or explicit optimization constraints. We instead focus on a different question: where should adaptation be applied? We find that fine-tuning different Transformer layers produces different target-task gains and degrees of capability degradation, suggesting that not all layers are equally suitable for adaptation. To characterize this difference, we use layer-wise empirical Fisher information to measure target-task sensitivity. However, computing Fisher scores requires backward computation and becomes increasingly expensive for large models. We therefore introduce input--output cosine similarity as a lightweight, forward-only proxy for ranking layer sensitivity. Across models and tasks, layers with lower input--output similarity consistently exhibit higher empirical Fisher scores. Building on this observation, we propose Layer-Selective LoRA (LS-LoRA), which places trainable LoRA adapters only in layers with low input--output similarity. Experiments on mathematical reasoning and code generation show that LS-LoRA improves average target-task performance while retaining substantially more commonsense reasoning capability than standard all-layer LoRA, demonstrating that carefully choosing where to adapt can provide a simple and effective way to balance target-task adaptation and general capability retention.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Mechanistic Insights into LoRA: Layer Sparsity for Adaptive Fine-Tuning via Path PatchingarXiv · 2026
- CurvDelta: Low-Curvature Delta Modeling For Surgical Learning and UnlearningarXiv · 2026
- GLA-LoRA: Parameter-efficient LLM fine-tuning with global-local knowledge alignment.Neural networks : the official journal of the International Neural Network Society · 2026
- Learn the Directions, Normalize the Gains: Post-Training Normalization for LoRAarXiv · 2026
- Overcoming Prior Barriers: Supervised Fine-Tuning under Long-Tail DistributionarXiv · 2026
- A Margin Perspective on LoRA: Robustness to Catastrophic Forgetting and Adapter Merging (MaLoRA)arXiv · 2026