Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMs
Wanhao Yu, Ziyan Wang, Zheng Wang, Abeer M Almalky, Yihang ZUO, Shuteng Niu, Sen Lin, Adnan Siraj Rakin, Deliang Fan, Li Yang
NeurIPS page · Open on the map
Category: Efficient LLM Inference & Training › Zeroth-Order Fine-Tuning · Type: new method · Keywords: zeroth-order optimization, layer-wise fine-tuning, activation outlier analysis, LLM adaptation, parameter-efficient fine-tuning
Areas: LLM Reasoning › Efficient Reasoning › Parameter-Efficient Fine-Tuning
Summary
Dominant-Layer ZO shows that fine-tuning a single decoding layer alone can match or exceed full-model zeroth-order fine-tuning of LLMs, with up to 4.52× speedup.
Explained to a 5-year-old
We want to make big computer programs (language models) learn new things without using a lot of memory. We find that only one special part of the program needs to be changed to make it learn well. By looking at which part of the program reacts a lot to small changes, we can pick that part. Then we change only that part, which helps the program learn. This makes the program learn faster and uses less memory.
Explained to a 5-year-old, longer
Big computer brain models, like those that understand language, can be changed to do new tasks. Changing them usually needs a lot of computer power and memory. Researchers noticed that when they use a special way of changing called zeroth-order, only one tiny part of the model seems to do most of the work. They looked at how the model reacts to tiny changes during normal use and found a layer that reacts a lot. This layer is the first one that shows unusual behavior, called an activation outlier. By focusing only on this layer, they can still get the model to learn new things as well as changing the whole model. The reason this works is that this layer is very sensitive to small changes and sits early in the model, so its effects spread to later parts. This makes the learning signals strong and stable even when only using forward passes. They tested this idea on two big models, LLaMA2 and Qwen3, using many different tasks. The new approach performed as well as or better than changing the whole model and was much faster. It also used less computer memory, which is helpful for people with limited resources. Overall, the discovery shows that you can fine-tune large models more efficiently by just adjusting one key layer.
For a technical reader
The paper investigates layer-wise contribution in zeroth-order (ZO) fine-tuning of large language models. It shows that a single decoding layer, identified via inference-only analysis of activation outliers, dominates the adaptation signal due to its high sensitivity and early residual placement. Fine-tuning only this layer yields performance comparable to or better than full-model ZO and LoRA-based ZO methods while providing up to 4.5× training speedup. The analysis explains why this layer’s perturbations propagate and accumulate through later layers, delivering stable optimization signals with forward-only updates.
Problem
It is unclear how useful adaptation is distributed across layers when using zeroth-order optimization for fine-tuning large language models, and whether fine-tuning only a subset of layers can achieve comparable performance.
Method
The approach identifies a dominant decoding layer by analyzing activation outliers during inference, then fine-tunes only that layer using zeroth-order updates, leveraging its high perturbation sensitivity and early placement in the residual stream to propagate effects through later layers.
Results
Fine-tuning only the dominant layer yields performance comparable to or better than full-model zeroth-order fine-tuning and LoRA-based zeroth-order fine-tuning, with up to 4.52× speedup.
Contributions
The paper discovers that a single decoding layer dominates ZO fine-tuning, provides a method to identify this layer via activation outlier analysis, and demonstrates its effectiveness across multiple models and tasks.
Practical relevance
The findings enable faster, more efficient fine-tuning of LLMs on limited hardware, reducing computational cost and memory usage.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction