TL;DR
FARO automates the "black art" of designing optimizer recipes for large language models by learning which update rules work best for specific parameter blocks and reallocating learning rate budgets using financial risk-parity principles. It successfully recovers—and then improves upon—the best hand-tuned human recipes without requiring any manual per-layer configuration.
What Problem Does This Paper Address?
Training state-of-the-art Large Language Models (LLMs) currently relies on complex, hand-designed "recipes." For instance, a common practice is to use Muon (an orthogonalized momentum rule) for attention and MLP matrices, while using Adam for embeddings and normalization layers.
This approach has two major flaws:
- Human Bias: It relies on human intuition about which layer types "deserve" which mathematical geometry (e.g., spectral vs. coordinate-wise).
- Rigid Budgets: It typically applies a single global learning rate, assuming every part of the network should receive the same "update budget" regardless of its specific needs or stability.
The authors argue that these decisions should be made by the model during training, not guessed by practitioners beforehand.
Methods
The authors introduce FARO (Function-Space Adaptive Return-to-Risk Optimization), which treats optimizer selection as a two-stage decision process:
- Routing (The "Return" Side): During an initial exploration phase, FARO applies different candidate geometries (like spectral, row-column, or coordinate-wise updates) to a "counterfactual probe"—a small slice of data used to measure which rule actually decreases loss the most for each specific parameter block. Once the best "route" is found for a block, it is frozen to save compute.
- Allocation (The "Risk" Side): Inspired by portfolio theory, FARO reallocates the total update budget across blocks using Equal Risk Contribution (ERC). It treats each parameter block as an asset and its "update-to-weight ratio" as its volatility (risk). If a block is becoming too "risky" (changing too fast relative to its size), FARO trims its budget and shifts that capacity to safer, more productive blocks.
Crucially, this reallocation is budget-neutral. It doesn't change the total amount of update the model receives; it just moves it to where it is most effective.
Datasets
The framework was evaluated using a GPT-style transformer model (11 layers, 768 width) trained on:
- FineWeb: A high-quality web-scale dataset.
- Corrupted FineWeb ("Scatter" regime): A stress-test version where 60% of tokens are replaced with noise to test the controller's robustness under high-variance conditions.
Key Insights and Ideas
- Recovering the Human Prior: One of the most striking findings is that FARO's automated routing naturally rediscovers the "Muon for matrices, Adam for vectors" rule that researchers spent months of manual ablation to find.
- Trimming the Risky Tail: The performance gains in FARO-ERC come primarily from dampening the updates of high-risk blocks rather than simply boosting the "safe" ones. This suggests that "risky" parameter updates are a significant bottleneck in standard training.
- Financial Analogies Work: Mapping neural network optimization to portfolio management (where blocks are assets and updates are investments) provides a mathematically rigorous way to handle the "learning rate per layer" problem that has long plagued deep learning.
Key Results
- Matches Best Human Recipes: The FARO-Adaptive arm (routing only) achieved a validation loss of 3.2780 nats, effectively matching NorMuonAndAdam (3.2794 nats), the strongest hand-designed baseline.
- Systematic Improvement: The full FARO-ERC further lowered the loss by an average of 0.0136 nats across all test seeds. While this margin seems small, it is statistically robust, exceeding the measured run-to-run noise floor (0.004–0.01 nats).
- Zero-Cost Gain: After the initial exploration phase, FARO adds no measurable overhead in terms of training time or memory usage compared to standard optimizers.
- Robustness: Even under the "corrupted stream" stress test, FARO-ERC maintained its lead, winning in 5 out of 6 seeds.
Limitations and Future Work
- Scale: The study was conducted on a relatively small model (11 layers). The authors hypothesize that the benefits of FARO will grow with model size, as larger models offer a finer block structure to optimize over, but this remains to be proven at the multi-billion parameter scale.
- Fixed Schedule: The experiments were run for a fixed 800 steps. It is unclear if the "faster descent" signature of FARO leads to better final converged values or simply reaches a target loss sooner.
- Candidate Set: While the framework is "open" to new update rules, the current study only tested three specific geometries. Integrating more exotic second-order or curvature-aware optimizers is a promising next step.
Summary updated