Picking hyperparameters for fine-tuning a large pretrained language model usually means training many copies of the model, one per setting of learning rate, adapter rank and scaling factor. Each copy must hold the activations of every layer in memory so that gradients can flow back to the lowest trainable weights. We propose a cheaper way to screen settings. Early in the search, each candidate trains adapters only in the top few layers of the model, so gradients never travel below them and most activation memory is never stored. Candidates that do well are then "thawed downward": new adapters are added to lower layers, and training continues from where it left off rather than restarting. LoRA adapters start at zero, so adding a fresh one does not change what the model computes at the moment it is added. Each promotion therefore continues the same run, and the compute spent at low fidelity is kept rather than thrown away.
This matters because the tuning gap is real and expensive. Systematic search over LoRA settings beats default settings by up to 23.4% in PLoRA. The same pattern appears outside fine-tuning: lightly tuned comparisons have inverted architectural conclusions in Wiemerslage et al. and MolRep. The usual cheap proxies, fewer steps or less data, cut time but not peak GPU memory. On a single memory-limited GPU, memory is what decides how many candidates can run at once.
Core Claim
For LoRA fine-tuning of pretrained models, the number of adapted layers, counted from the top, can serve as a fidelity dimension, meaning a knob that trades evaluation accuracy for cost. Two properties would make this dimension valuable. First, hyperparameter rankings measured with only the top 25–40% of layers adapted should agree closely with rankings under full-depth adaptation. Second, a successive-halving search that thaws surviving candidates downward should find configurations as good as a full-depth search, at a fraction of the peak memory and wall-clock time. Successive halving is the bandit procedure that repeatedly keeps the best fraction of candidates and gives them more budget.
The closest work is Frozen Layers. It trains only a top suffix of layers during pretraining-style HPO, with the frozen prefix left at random initialization. It reports up to 3x memory savings on Pythia 1.4B and Spearman rank correlation of 0.852 when training 1 of 11 ResNet-18 layers, rising to 0.955 with 7 layers. Our proposal differs from it in three ways:
- Pretrained prefix. The frozen prefix holds pretrained features, which changes what the trained suffix has to do.
- Adapted hyperparameters. The hyperparameters being ranked, rank $r$, scaling $\alpha$ and learning rate $\eta$, are specific to adapters and are known to interact with depth and spectrum. Shuttleworth et al. show that $\alpha$ and $r$ govern the high-magnitude "intruder" singular directions that drive forgetting.
- Freeze-thaw schedule. Our fidelity transitions continue the same run. Frozen Layers left this schedule unformulated and restarts at each fidelity.
Research Program
Memory accounting. We first measure the memory cost exactly. For a model of $L$ layers with adapters in the top $z$, stored activations scale roughly as $z/L$ of the full-depth amount, because backpropagation stops at layer $L-z+1$. The weights themselves stay fixed in size. We will profile peak memory against $z$, sequence length and batch size on Qwen-2.5 and LLaMA-3 models of 1.5B–8B parameters. The aim is to find where activation savings dominate, which we expect to be long sequences such as GSM8K reasoning traces, and where they do not, such as short GLUE inputs.
Ranking fidelity. Second, we build a ground-truth grid on a small number of tasks. This is a 120-configuration sweep over $\eta$, $r$, $\alpha$ and dropout, mirroring PLoRA's sweep size, with every configuration trained at full depth. We then retrain the same grid at $z/L \in \{1/8, 1/4, 3/8, 1/2\}$ and measure Spearman correlation and top-5 overlap with the full-depth ranking. We also test whether the optimal learning rate shifts systematically with $z$. If it does, a simple depth correction fitted on one task, in the spirit of depth-aware parameterizations such as CompleteP, would be part of the method.
Thaw schedule. Third, we implement the schedule inside successive halving. Survivors of each rung receive zero-initialized adapters on the next block of lower layers plus a proportional increase in training steps. We compare three ways to handle the optimizer after a thaw: resetting the learning-rate schedule for new layers, a shared global schedule, and a short warmup for the new layers only.
Spectral diagnostic. Finally, we track how many intruder dimensions each thawed run accumulates, relative to a from-scratch full-depth run with the same configuration. This tells us whether late-thawed lower layers behave differently spectrally, not only in accuracy.
Baselines
Default settings. The do-nothing reference is standard LoRA with common defaults ($\eta = 10^{-4}$, $\alpha = 2r$) trained once at full depth. The file's evidence says tuning beats this substantially, and we will report our margin over it on every task.
Full-depth search as ground truth. Exhaustive full-depth search over the same 120-configuration grid gives the best achievable configuration. We measure every method's regret against it, meaning the gap between the full-depth score of the configuration the method picks and the grid's best full-depth score.
BOHB with step fidelity. BOHB combines Bayesian optimization with Hyperband early stopping. We run it with training steps and data fraction as the fidelity, on the same GPU and the same wall-clock budget. This is the mature off-the-shelf competitor. Beating it means lower regret at equal wall-clock time, or equal regret with more candidates fitting per GPU.
PLoRA. The strongest existing method for LoRA tuning specifically is PLoRA. It packs many adapter configurations onto one shared frozen base model and reports up to 7.52x makespan reduction over a 120-configuration sweep on Qwen-2.5 and LLaMA-3 (GSM8K, MRPC, CoLA, WNLI). The file gives no per-task accuracy for PLoRA's best configurations. For absolute LoRA accuracy anchors, Spectral Adapter reports LoRA at 44.81% on GSM8K with Mistral-7B and 86.47 GLUE average. We will run PLoRA's released planner on the same grid, models, tasks and hardware.
Depth truncation and packing are complementary, since freed activation memory lets more adapters be packed at once. We therefore compare three conditions: PLoRA alone, our method alone, and the two combined. The combined condition counts as a win over PLoRA only if it reaches the same regret with lower makespan.
Ablation: thaw versus restart. The key ablation isolates the thaw. It is identical successive halving over depth, but each promoted configuration restarts from scratch at the new depth, which is the Frozen Layers protocol transplanted to fine-tuning. If thawing does not beat restarting at equal compute, the continuation idea adds nothing. A second ablation adapts a random subset of $z$ layers rather than the top $z$. This tests whether the top-down direction matters or only the count.
Why not just…?
Why not just use default hyperparameters? Because the gap to tuned settings is large in exactly this setting. PLoRA reports up to 23.4% gains over defaults. The default $\alpha = 2r$ rule also interacts with rank in ways that Shuttleworth et al. tie to effective-rank collapse and forgetting. Our default baseline quantifies this gap on each benchmark rather than assuming it.
Why not just run BOHB with fewer steps or data subsets? This is the most serious threat. LoRA already removes optimizer-state memory, so on short-sequence tasks activation memory may be small, and step fidelity may simply win. YAHPO Gym also warns that low-correlation fidelities can let full-fidelity search catch up. We will report results stratified by sequence length. We expect our advantage to appear on long-sequence generative tasks such as GSM8K, and possibly vanish on MRPC or CoLA. We will also test the obvious combination of depth and step fidelity. If step fidelity alone matches us everywhere at equal wall-clock time, the claim fails.
Why not just tune on a smaller model from the same family and transfer the settings? μP justifies transfer across width for full-weight pretraining. It says nothing about adapter hyperparameters on fixed pretrained checkpoints. Understanding the Mechanisms of Fast Hyperparameter Transfer shows that μP alone is not sufficient for transfer. Still, small-model proxies are cheap, so we include one: tune on Qwen-2.5-1.5B, deploy at 7B, and compare regret against our method at 7B under equal GPU-hours.
Why not just rely on PLoRA's packing? Packing raises throughput but leaves every trial at full depth and fixed length. It cannot prune bad candidates mid-flight, which is Gap 4 in the file. The three-way comparison above directly tests whether depth truncation adds value on top of packing.
Proposed Experiments
The primary benchmarks are GSM8K, MRPC and CoLA, which let us align with PLoRA, plus the GLUE suite, using Qwen-2.5 and LLaMA-3 at 1.5B–8B parameters. Metrics are regret against the full-depth grid optimum, Spearman correlation of rankings at each depth fraction, peak GPU memory, GPU-hours to reach a given regret, and pretrained-knowledge forgetting measured through intruder-dimension counts.
The decisive checks are three:
- Ranking correlation. Spearman correlation at $z/L = 1/4$ should exceed 0.85 on long-sequence tasks. This mirrors the Frozen Layers ResNet figure, but with a pretrained prefix.
- Thaw versus restart. The thawed search should match the restart ablation's regret at clearly lower compute.
- Head-to-head comparisons. On GSM8K, our method should beat BOHB with step fidelity and the small-model proxy on regret per GPU-hour.
A null result, meaning depth rankings decorrelate on reasoning tasks because lower layers need adapting, would itself be informative. It would mark where pretrained features stop being "good enough" for fine-tuning, and which tasks demand that low layers be adapted.
References
- PLoRA: Efficient Concurrent LoRA Training for Large Language Models
- Quantifying the Hyperparameter Sensitivity of Neural Networks for Character-level Sequence-to-Sequence Tasks
- MolRep: A Deep Representation Learning Library for Molecular Property Prediction
- Frozen Layers: Memory-efficient Many-fidelity Hyperparameter Optimization
- LoRA vs Full Fine-tuning: An Illusion of Equivalence
- Don't be lazy: CompleteP enables compute-efficient deep transformers
- BOHB: Robust and Efficient Hyperparameter Optimization at Scale
- Spectral Adapter: Fine-Tuning in Spectral Space
- YAHPO Gym - An Efficient Multi-Objective Multi-Fidelity Benchmark for Hyperparameter Optimization
- Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer
- Understanding the Mechanisms of Fast Hyperparameter Transfer