AlignedHPO: Efficient Surrogate-Guided Loss Hyperparameter Optimization
Ivan Karpukhin, Andrey Savchenko
Key points
From the paper's conclusion- We propose AlignedHPO, an efficient framework for tuning differentiable loss hyperparameters using gradient alignment and surrogate validation objectives.
Abstract
Modern deep learning losses involve multiple hyperparameters, such as weights, scales, and margins, typically tuned manually or through expensive black-box optimization despite their differentiability. We propose AlignedHPO, an efficient framework for tuning differentiable loss hyperparameters using gradient alignment and surrogate validation objectives. Our method employs Jacobian-vector products to reduce hypergradient computation time and memory, while differentiable metric surrogates guide optimization toward task-specific evaluation criteria. We address gradient magnitude ambiguity and stochastic instability through normalized alignment and gradient smoothing. Experiments with generalized Focal Loss and ArcFace demonstrate effective adaptation across long-tailed classification and open-set face recognition. AlignedHPO achieves competitive or improved performance compared to implicit differentiation, with nearly 12x faster hypergradient computation. These results highlight the potential of efficient surrogate-guided loss hyperparameter optimization.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Boosting Adversarial Transferability With Low-Cost Optimization via Maximin Expected FlatnessIEEE Transactions on Information Forensics and Security · 2026
- Layerwise Learning-Rate Scaling in Vision Networks: Effective-Rate Identification, Power-Mean Aggregation, and Budget DependencearXiv · 2026
- Gradient Mirage: Trainable yet Label-Unidentifiable Gradients in Large Language Model Split LearningarXiv · 2026
- Calibration in One Go: Jointly Learning Accurate and Calibrated Neural NetworksarXiv · 2026
- From What Is Used to What Is Missing: Rethinking Dynamic Rank in LoRAarXiv · 2026
- Steepest Guidance: A Practical and Principled Approach to Inference-Time Alignment of Flow and Diffusion-based ModelsarXiv · 2026