Lune

ICLR2020Top-tier venue

You Only Train Once: Loss-Conditional Training of Deep Networks

Alexey Dosovitskiy, Josip Djolonga

Abstract

In many machine learning problems, loss functions are weighted sums of several terms. A typical approach to dealing with these is to train multiple separate models with different selections of weights and then either choose the best one according to some criterion or keep multiple models if it is desirable to maintain a diverse set of solutions. This is inefficient both at training and at inference time. We propose a method that allows replacing multiple models trained on one loss function each by a single model trained on a distribution of losses. At test time a model trained this way can be conditioned to generate outputs corresponding to any loss from the training distribution of losses. We demonstrate this approach on three tasks with parametrized losses: beta-VAE, learned image compression, and fast style transfer.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

29 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Hyperparameter Ensembles for Robustness and Uncertainty Quantification cites Adjustable Real-time Style Transfer
  • Pareto Set Learning for Expensive Multi-Objective Optimization cites Learning the Pareto Front with Hypernetworks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers29

  1. Hyperparameter Ensembles for Robustness and Uncertainty QuantificationFlorian Wenzel, Jasper Snoek, Dustin Tran, Rodolphe JenattonNeurIPS 2020 · 263 citations
  2. Learning the Pareto Front with HypernetworksAviv Navon, Aviv Shamsian, Ethan Fetaya, Gal ChechikICLR 2021 · 189 citations
  3. Pareto Set Learning for Expensive Multi-Objective OptimizationXi Lin, Zhiyuan Yang, Xiaoyuan Zhang, Qingfu ZhangNeurIPS 2022 · 119 citations
  4. Multi-Instance Pose Networks: Rethinking Top-Down Pose EstimationRawal Khirodkar, Visesh Chari, Amit Agrawal, Ambrish TyagiICCV 2021 · 80 citations
  5. Efficient Split-Mix Federated Learning for On-Demand and In-Situ CustomizationJunyuan Hong, Haotao Wang, Zhangyang Wang, Jiayu ZhouICLR 2022 · 77 citations

Builds on1

  1. Adjustable Real-time Style TransferMohammad Babaeizadeh, Golnaz GhiasiICLR 2020 · 22 citations

Related papers

  1. Tunable Convolutions with Parametric Multi-Loss OptimizationMatteo Maggioni, Thomas Tanay, Francesca Babiloni, Steven McDonagh et al.CVPR 2023
  2. Learning useful representations for shifting tasks and distributionsJianyu Zhang, Léon BottouICML 2023 · 21 citations
  3. Multi-Rate VAE: Train Once, Get the Full Rate-Distortion CurveJuhan Bae, Michael R. Zhang, Michael Ruan, Eric Wang et al.ICLR 2023 · 3 citations
  4. Soup-of-Experts: Pretraining Specialist Models via Parameters AveragingPierre Ablin, Angelos Katharopoulos, Skyler Seto, David GrangierICML 2025
  5. Sym-Parameterized Dynamic Inference for Mixed-Domain Image TranslationSimyung Chang, Seonguk Park, John Yang, Nojun KwakICCV 2019 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines