TL;DR
MuPACE is a meta-learned learning rate scheduler designed to eliminate the "dark art" of hyperparameter tuning for LoRA fine-tuning. By using a small recurrent neural network to observe training dynamics in real-time, it automatically adjusts the step size to match the performance of expensive, manually-tuned sweeps in just a single training run.
What Problem Does This Paper Address?
Fine-tuning Large Language Models (LLMs) using Low-Rank Adaptation (LoRA) is the industry standard, but it comes with a major headache: the optimal learning rate (LR) is a moving target. It changes based on the model size, the specific task, the adapter rank, and even the batch size.
Currently, practitioners either use "safe" default schedules (like cosine decay) that underperform, or they run expensive "sweeps"—training the model multiple times with different learning rates to find the best one. Furthermore, standard schedules are "blind"; they follow a fixed path regardless of whether the model is converging quickly or diverging wildly. MuPACE addresses this by amortizing the cost of LR selection: you train a policy once to learn how to "pace" training, and then apply it one-shot to any new fine-tuning task.
Methods
The authors introduce MuPACE (Muon Policy for Adaptive Control across LoRA Fine-tuning Episodes). It works in tandem with Muon, a recent matrix-aware optimizer that fixes the update direction by orthogonalizing gradients. MuPACE’s job is solely to determine the magnitude (the step size).
Key components include:
- The Controller: A tiny LSTM (only ~20k parameters) that acts as a policy. Every few steps, it looks at "features" of the training run—such as current loss, gradient signal-to-noise ratio, and parameter growth.
- The Analytic Schedule: Instead of letting the LSTM output any random number, the authors constrain it to modify a 5-parameter analytic schedule family. This family covers warmup, decay rates, and "tail floors" (see Figure 1).
- Shape Normalization: To ensure the LSTM doesn't just use the "shape" parameters to cheat and change the overall scale, the curves are normalized to a constant Root Mean Square (RMS).
- Depth Scaling: It incorporates Depth-$\mu$P principles to automatically downscale the learning rate for deeper models, ensuring stability when moving from small research models to massive production ones.
Datasets
- Meta-Training: The policy was trained on a "deck" of 37 nanochat models (ranging from 8 to 16 layers) across 100 diverse sub-tasks from the Lots-of-LoRAs collection (covering reasoning, QA, and summarization).
- Evaluation: The system was tested on 64 in-distribution configurations and then transferred "one-shot" to massive, unseen models: Qwen3-32B and Qwen3.8-27B (both 64 layers deep).
- OOD Benchmarks: Evaluation included standard benchmarks like GSM8K (math), MBPP (code), and CNN/DailyMail (summarization).
Key Insights and Ideas
- Separation of Concerns: By leaving the update direction to Muon and only meta-learning the pace, the optimization problem becomes much simpler and more transferable.
- The "Physics" of Optimization is Scale-Invariant: Perhaps the most surprising finding is that a policy trained on tiny 8-layer models can successfully navigate the training dynamics of a 32-billion parameter model with 64 layers. This suggests that the indicators of "good" or "bad" training progress look similar regardless of model scale.
- Robustness via Constraints: By forcing the LSTM to operate through an analytic schedule rather than predicting raw LR values, the authors prevent the "jitter" often seen in previous learned optimizers, making MuPACE stable enough for production use.
Key Results
MuPACE effectively replaces the need for hyperparameter sweeps:
- Vs. Defaults: On 64 different fine-tuning problems, MuPACE outperformed strong fixed-schedule defaults on 64–78% of tasks (see Figure 2).
- Vs. Tuned Experts: MuPACE performed on par with schedules where the peak learning rate was manually tuned for each specific task.
- Recovery Rate: The authors found that MuPACE recovers 78–83% of the performance gain that one would normally get from a full hyperparameter sweep, but it does so in a single run (see Figure 5).
- Zero-Shot Transfer: On the 32B Qwen models, MuPACE remained competitive with swept schedules, significantly outperforming other "tuning-free" methods like Hypergradient Descent.
Limitations and Future Work
- Optimizer Dependency: Currently, MuPACE is specifically tuned to work with the Muon optimizer. While the principles likely apply to AdamW, it hasn't been tested there yet.
- Validation Requirement: The policy relies on a stream of validation loss data to make its decisions. In scenarios where a validation set is unavailable or extremely small, the policy might struggle.
- Meta-Training Cost: While the policy is "one-shot" for the user, meta-training it initially required significant compute (72 hours on 4 H100 GPUs).
- Future Directions: The authors suggest extending this to full-parameter pre-training and exploring whether the policy can also learn to adapt other hyperparameters like momentum or weight decay.
Summary updated