TL;DR
Supervised learning is a powerful tool for accelerating hard constrained optimization problems, but standard training datasets are often highly volatile due to problem symmetries and solver randomness. This paper introduces an "optimal dataset design" strategy that sequentially generates smooth, low-variance solution trajectories. This approach drastically improves the learnability, prediction accuracy, and constraint satisfaction of neural network surrogates while significantly reducing data generation time.
What Problem Does This Paper Address?
Constrained optimization (CO) problems—such as Job Shop Scheduling in logistics or Optimal Power Flow in electrical grids—are typically NP-hard and computationally expensive. In real-time operations, waiting for a traditional solver to find an exact solution is often impractical.
To solve this, researchers frequently train deep learning models as fast "surrogate" approximations. However, the authors identify a critical, overlooked bottleneck: training data volatility. Because hard optimization problems often feature multiple global optima (symmetries) or rely on randomized heuristics, independent solver runs on nearly identical inputs can yield wildly different solutions.
Standard neural networks naturally favor smooth, low-variance functions. When forced to fit highly volatile, jumpy target labels, they produce low-variance approximations that fail to capture the true optimization patterns, leading to severe constraint violations and poor solution quality at inference time.
Methods
To resolve this data-induced noise, the authors propose casting data generation as a bilevel optimization problem called Optimal Dataset Design. Instead of generating training labels independently for each input instance, they introduce a sequential generation algorithm:
- Sequential Tracking: The algorithm starts by solving a baseline instance. For each subsequent, closely related instance, it solves an optimization problem that minimizes the distance (e.g., $L_1$-norm) to the previous instance's solution, while strictly preserving optimality.
- Mathematical Smoothness: This process minimizes the dataset's Total Variation (TV) and bounds its local Lipschitz constant, creating a smooth trajectory of solutions that aligns with the inductive biases of ReLU neural networks.
- Hot-Starting: Crucially, because consecutive instances have highly similar solutions, the solver can be "hot-started" using the previous step's solution, drastically accelerating the data collection phase.
During training, the neural network optimizes a Lagrangian dual-based loss function to penalize constraint violations. At inference time, a specialized projection operator maps the network's raw predictions back into the feasible region to guarantee valid solutions.
Datasets
The methodology was validated on two distinct classes of hard optimization problems:
- Job Shop Scheduling (JSS) [Discrete/Combinatorial]: Evaluated using standard benchmarks from the JSPLIB library (
ta25,yn02,swv03,swv07,swv11). The authors generated 5,000 perturbed instances per benchmark by incrementally simulating machine slowdowns (increasing task durations). - AC Optimal Power Flow (AC-OPF) [Continuous/Non-convex]: Evaluated on power network benchmarks from the NESTA library (
Pegase-89,IEEE-118,IEEE-300,IEEE-30,IEEE-57). Instances were generated by scaling input load demands from 0.8 to 1.0 times their nominal values.
Key Insights and Ideas
- Symmetries are a Curse for ML: Equal validity in optimization does not mean equal learnability. Two perfectly optimal solutions can look like pure noise to a neural network if the solver switches between them arbitrarily across similar inputs.
- Aligning Data to Network Capacity: Theoretical analysis (Theorems 1 & 2) proves that ReLU networks require significantly more capacity (neurons and layers) to represent highly volatile piecewise linear functions. Smoothing the data trajectory directly lowers the model capacity required for accurate learning.
- The Hot-Start Synergy: Usually, improving data quality requires more compute. Here, enforcing solution smoothness allows solvers to utilize hot-starts, making data generation over 20x faster while simultaneously making the machine learning task easier.
Key Results
The proposed Optimal Design (OD) method yielded massive improvements across all metrics compared to standard independent data generation:
- Total Variation Reduction: The total variation of the training labels was reduced by multiple orders of magnitude across all benchmarks.
- JSS Performance: On the challenging
ta25scheduling benchmark, the model's prediction error dropped from 193.9% to 23.4%, and the final optimality gap shrank from 10.3% to 4.0%. - AC-OPF Performance: For the
Pegase-89grid network, prediction error plummeted from 89.17 MW to 2.78 MW, and the optimality gap dropped from 20.1% to 0.83%. - Computational Speedup: Generating the JSS training dataset using the OD method took only 13.2 hours, compared to 280 hours for the standard independent approach.
Limitations and Future Work
- Restriction on Solution Diversity: By design, this method forces solutions to be as similar as possible across similar inputs. This is highly undesirable for applications that require diversity, such as workforce timetabling or shift scheduling, where employees expect varied schedules.
- Sequential Bottleneck: Because the data generation process is sequential, it cannot be trivially parallelized across all instances simultaneously, though individual solver steps are faster.
- Future Directions: To reintroduce controlled diversity without sacrificing learnability, the authors suggest generating multiple independent smooth solution trajectories, training separate models on each, and randomizing model selection at inference time.
Summary updated