Cheap Thrills: Effective Amortized Optimization Using Inexpensive Labels
Organizations: Massachusetts Institute of Technology, Cambridge, MA, USA · Technical University of Denmark, Kongens Lyngby, Denmark
Abstract
To scale optimization and simulation, prior work has explored training machine-learning surrogates that map problem parameters to solutions inexpensively at inference time. Unfortunately, commonly used approaches, including supervised and self-supervised learning with either soft or hard feasibility enforcement, face inherent challenges such as reliance on expensive high-quality labels or difficult optimization landscapes. To address their trade-offs, we propose a novel framework that collects "cheap" imperfect labels, performs supervised model pretraining with a merit loss-based termination scheme, and finally refines the model through self-supervised learning to improve final performance. Empirical validation across challenging domains -- including nonconvex constrained optimization, power-grid operation, and stiff dynamical systems -- shows that this three-stage strategy yields faster convergence; improved accuracy, feasibility, and optimality; and up to 59x reductions in total offline computational cost. We further analyze why and when our framework improves surrogate model training, finding that (i) merit loss is an informative signal and (ii) only small numbers of cheap, inexact labels are needed to place the model in a favorable regime for self-supervised learning.
Figures & tables
| Method | Mean Objective | Equality Violation | Inequality Violation | ||
| Mean | Max | Mean | Max | ||
| Solver | -2.40 0.00 | 0.00 0.00 | 0.00 0.00 | 3.40e-09 0.00 | 5.90e-08 0.00 |
| Supervised w/ high-quality labels | -6.16 0.06 | 1.07e+01 3.92e-02 | 1.85e+01 6.12e-01 | 7.16e+01 8.22e-01 | 1.99e+02 4.76e+00 |
| Supervised w/ cheap labels | 22.49 1.24 | 1.90e+00 4.44e-02 | 2.72e+00 8.38e-02 | 1.23e-01 9.51e-02 | 2.41e+00 1.54e+00 |
| Penalty | -0.06 1.26 | 9.63e-01 5.65e-02 | 1.54e+00 2.06e-01 | 2.72e-02 9.68e-03 | 6.11e-01 1.02e-01 |
| Our Penalty | -3.29 0.06 | 9.56e-01 3.69e-02 | 1.52e+00 5.25e-02 | 2.28e-02 6.06e-03 | 5.89e-01 6.59e-02 |
| Gen (s) | SL (s) | SSL (s) | Total (s) | |
| Synthetic optimization | ||||
| Supervised w/ 7,000 10.0 labels | 28118 | 190 | 0 | 28308 |
| Penalty | 0 | 0 | 180 | 180 |
| Penalty w/ warm-start via 800 0.5 labels (Ours) | 400 | 40 | 40 | 480 |
| FSNet | 0 | 0 | 990 | 990 |
| FSNet w/ warm-start via 800 0.5 labels (Ours) | 400 | 40 | 495 | 935 |
| Method | Mean Obj. | Mean Eq. Vio. | Mean Ineq. Vio. |
| Vanilla Penalty | -0.06 1.26 | 9.63e-01 5.65e-02 | 2.72e-02 9.68e-03 |
| Penalty w/ random labels | 3.89 0.03 | 1.03e+00 3.81e-02 | 3.26e-02 9.31e-03 |
| Penalty w/ cheap labels (Ours) | -3.29 0.06 | 9.56e-01 3.69e-02 | 2.28e-02 6.06e-03 |
| Vanilla FSNet | -0.73 1.42 | 5.85e-05 2.42e-05 | 7.89e-07 5.03e-07 |
| FSNet w/ random labels | 1.46 0.68 | 5.15e-05 2.39e-05 | 3.78e-06 5.51e-06 |
| FSNet w/ cheap labels (Ours) | -3.28 0.14 | 4.06e-05 8.54e-06 | 5.01e-07 5.91e-08 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Mean Objective | Equality Violation | Inequality Violation |
| Mean (Max) | Mean (Max) | ||
| FSNet | -0.73 1.42 | 5.85e-05 2.42e-05 (1.93e-03 1.16e-03) | 7.89e-07 5.03e-07 (1.31e-04 1.62e-04) |
| Hybrid FSNet w/ cheap labels | 2.68 4.55 | 7.17e-05 9.49e-06 (1.11e-03 1.85e-04) | 4.12e-07 1.00e-07 (3.35e-05 1.42e-05) |
| Semi-Supervised FSNet w/ cheap labels | -0.33 0.50 | 8.84e-05 2.36e-05 (1.00e-03 2.94e-04) | 5.43e-07 1.23e-07 (3.48e-05 1.17e-05) |
| FSNet w/ no-label warm-start (feas.) | -2.99 0.01 | 9.97e-05 2.87e-06 (8.39e-04 7.14e-05) | 5.05e-07 4.04e-08 (2.14e-05 1.06e-06) |
| FSNet w/ no-label warm-start (both) | 0.30 0.03 | 8.35e-05 6.81e-06 (1.13e-03 1.16e-04) | 4.86e-07 6.31e-08 (3.62e-05 4.31e-06) |
| Method | Solution Time (s) | |
| Batched GPU | Sequential CPU | |
| Solver | – | 8033.60 0.00 |
| Supervised w/ high-quality data | 0.0003 0.0000 | 0.9479 0.0351 |
| Supervised w/ cheap data | 0.0003 0.0000 | 0.9479 0.0351 |
| Penalty | 0.0003 0.0000 | 0.9479 0.0351 |
| Our Penalty | 0.0003 0.0000 | 0.9479 0.0351 |
| Method | Mean Objective | Equality Violation | Inequality Violation | ||
| Mean | Max | Mean | Max | ||
| Vanilla SSL | -0.73 1.42 | 5.85e-05 2.42e-05 | 1.93e-03 1.16e-03 | 7.89e-07 5.03e-07 | 1.31e-04 1.62e-04 |
| SSL from SL step 50 | -1.32 0.04 | 6.69e-05 1.39e-05 | 1.35e-03 1.43e-04 | 4.60e-07 1.47e-07 | 4.89e-05 1.54e-05 |
| SSL from SL step 100 | -1.28 1.12 | 2.17e-05 6.56e-06 | 2.32e-03 6.21e-04 | 4.79e-07 2.70e-07 | 9.71e-05 6.03e-05 |
| SSL from SL step 250* | -2.60 0.16 | 2.16e-05 4.51e-06 | 1.89e-03 1.77e-04 | 3.32e-07 3.16e-08 | 6.30e-05 1.41e-05 |
| SSL from SL step 500 | -0.05 0.19 | 4.70e-05 3.59e-05 | 7.85e-03 8.98e-03 | 6.35e-06 9.02e-06 | 1.55e-03 2.28e-03 |
| Max CPU Time | Obj. | Eq. Vio. | Ineq. Vio. | Success Rate | Total Time (s) | # Iters | Merit |
| 0.5 | 1.06 | 3.77 | 122.23 | 0.00 | 4957 | 14 | |
| 1.5 | 11.54 | 1.31 | 39.53 | 0.00 | 14712 | 46 | |
| 2.0 | 19.33 | 0.37 | 11.68 | 0.00 | 20265 | 64 | |
| 3.0 | 10.32 | 0.01 | 1.05 | 0.03 | 30229 | 95 | |
| 4.0 | -1.67 | 0.00 | 0.21 | 0.56 | 37845 | 122 | |
| 10.0* | -2.44 | 0.00 | 0.00 | 1.00 | 40168 | 128 |
| Method | Normalized Obj. | Eq. Violation | Ineq. Violation | Total Time (s) | Merit |
| ACOPF ( ) | 1.000 | 827 | |||
| DCOPF | 0.957 | 34 |
Learning to Optimize
Learning to Optimize uses data to adapt algorithms, solver decisions, and solution maps for faster or better optimization.
See all 138 papers