Imagine you have to pick the best bike route in a city full of obstacles, but you don’t know the traffic conditions yet. Scientists have devised a method called “optimize then predict” (OTP) that tackles similar problems on a much larger scale, like managing servers or planning production.
In the offline stage, the team runs many simulations using different “covariates,” i.e., variables that describe the context (weather, demand, resources). From these data they build a function that approximates the optimal solution for every possible scenario.
When it’s time to decide (online stage), you simply plug the observed covariate into the ready‑made function and instantly get the best decision, without re‑simulating.
The critical point is that simulations are not perfect: they produce “inexact” solutions with a certain bias (systematic error) and variance (noise). The authors created a theoretical framework that accounts for both, showing how they affect the gap to the true optimum.
Using Polyak‑Ruppert averaged SGD, they tested four smoothing techniques: k‑nearest neighbor, kernel smoothing, linear regression, and kernel ridge regression. They figured out the optimal way to split the computational budget Γ between the number of covariates to simulate and the number of replications per covariate, achieving a convergence speed close to Γ⁻¹.
A numerical study confirms the theory, proving that OTP is not only elegant but also practically valuable for ultra‑fast decisions.
