mlsanityData to 14 Oct 2026

You Only Train Once

arXiv 2506.04349 ↗First posted 4 Jun 2025cs.LG cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

The title of this paper is perhaps an overclaim. Of course, the process of creating and optimizing a learned model inevitably involves multiple training runs which potentially feature different architectural designs, input and output encodings, and losses. However, our method, You Only Train Once (YOTO), indeed contributes to limiting training to one shot for the latter aspect of losses selection and weighting. We achieve this by automatically optimizing loss weight hyperparameters of learned models in one shot via standard gradient-based optimization, treating these hyperparameters as regular parameters of the networks and learning them. To this end, we leverage the differentiability of the composite loss formulation which is widely used for optimizing multiple empirical losses simultaneously and model it as a novel layer which is parameterized with a softmax operation that satisfies the inherent positivity constraints on loss hyperparameters while avoiding degenerate empirical gradients. We complete our joint end-to-end optimization scheme by defining a novel regularization loss on the learned hyperparameters, which models a uniformity prior among the employed losses while ensuring boundedness of the identified optima. We evidence the efficacy of YOTO in jointly optimizing loss hyperparameters and regular model parameters in one shot by comparing it to the commonly used brute-force grid search across state-of-the-art networks solving two key problems in computer vision, i.e. 3D estimation and semantic segmentation, and showing that it consistently outperforms the best grid-search model on unseen test data. Code will be made publicly available.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 51 of its 77 references that are in the map. First posted on arXiv 4 Jun 2025.

Builds on

51 of 77 references.

References · 51

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
  3. 2020End-to-End Object Detection with Transformerscited by 7,414
  4. 2017Mask R-CNNcited by 7,277
  5. 20233D Gaussian Splatting for Real-Time Radiance Field Renderingcited by 6,226
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  7. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,859
  8. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,527
  9. 2019nuScenes: A multimodal dataset for autonomous drivingcited by 4,523
  10. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,444
  11. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  12. 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,241
38 more
  1. 2017ScanNet: Richly-annotated 3D Reconstructions of Indoor Scenescited by 3,117
  2. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  3. 2015Fast R-CNNcited by 2,933
  4. 2019Scalability in Perception for Autonomous Driving: Waymo Open Datasetcited by 2,451
  5. 2018DARTS: Differentiable Architecture Searchcited by 1,798
  6. 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
  7. 2014Depth Map Prediction from a Single Image using a Multi-Scale Deep Networkcited by 1,274
  8. 2023Argoverse 2: Next Generation Datasets for Self-Driving Perception and Forecastingcited by 707
  9. 2016Hyperband: A Novel Bandit-Based Approach to Hyperparameter Optimizationcited by 699
  10. 2019Meta-Learning with Implicit Gradientscited by 525
  11. 2018BOHB: Robust and Efficient Hyperparameter Optimization at Scalecited by 470
  12. 2018Bilevel Programming for Hyperparameter Optimization and Meta-Learningcited by 405
  13. 2024UniDepth: Universal Monocular Metric Depth Estimationcited by 382
  14. 2017Population Based Training of Neural Networkscited by 367
  15. 2015Gradient-based Hyperparameter Optimization through Reversible Learningcited by 360
  16. 2019Searching for A Robust Neural Architecture in Four GPU Hourscited by 260
  17. 2020A Comprehensive Survey of Neural Architecture Search: Challenges and Solutionscited by 254
  18. 2017Forward and Reverse Gradient-Based Hyperparameter Optimizationcited by 234
  19. 2016Hyperparameter optimization with approximate gradientcited by 233
  20. 2015Non-stochastic Best Arm Identification and Hyperparameter Optimizationcited by 221
  21. 2018A System for Massively Parallel Hyperparameter Tuningcited by 202
  22. 2019Understanding and Robustifying Differentiable Architecture Searchcited by 178
  23. 2020On the Iteration Complexity of Hypergradient Computationcited by 155
  24. 2016Fast Bayesian Optimization of Machine Learning Hyperparameters on Large Datasetscited by 132
  25. 2014Bayesian Optimization with Unknown Constraintscited by 109
  26. 2017Constrained Bayesian Optimization with Noisy Experimentscited by 104
  27. 2014Freeze-Thaw Bayesian Optimizationcited by 90
  28. 2015Predictive Entropy Search for Multi-objective Bayesian Optimizationcited by 88
  29. 2020Max-value Entropy Search for Multi-Objective Bayesian Optimization with Constraintscited by 81
  30. 2019NAS evaluation is frustratingly hardcited by 70
  31. 2018Reviving and Improving Recurrent Back-Propagationcited by 69
  32. 2020EcoNAS: Finding Proxies for Economical Neural Architecture Searchcited by 61
  33. 2020Random Hypervolume Scalarizations for Provable Multi-Objective Black Box Optimizationcited by 60
  34. 2016CMA-ES for Hyperparameter Optimization of Deep Neural Networkscited by 48
  35. 2018Towards Automated Deep Learning: Efficient Joint Neural Architecture and Hyperparameter Searchcited by 38
  36. 2020Small Data, Big Decisions: Model Selection in the Small-Data Regimecited by 23
  37. 2019Constrained Bayesian Optimization with Max-Value Entropy Searchcited by 20
  38. 2021Bag of Baselines for Multi-objective Joint Neural Architecture Search and Hyperparameter Optimizationcited by 19

50 most cited of 51 All 51 (JSON)

Built on by

Not cited yet.