AlignedHPO: Efficient Surrogate-Guided Loss Hyperparameter Optimization

Ivan Karpukhin, Andrey Savchenko
11/17/2026
cs.LGcs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{karpukhin2026alignedhpo,
  title  = {AlignedHPO: Efficient Surrogate-Guided Loss Hyperparameter Optimization},
  author = {Ivan Karpukhin and Andrey Savchenko},
  year   = {2026},
  eprint = {2611.22658},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.22658v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.22658.svg)](https://codeofpaper.com/paper/2611.22658)

Discussion