Quantile-Based Sequential Learning and Optimization

Nele Bertling, Kevin Tierney, Michael RömerarXiv 2026

TL;DR

When optimizing decisions under uncertain constraints, recent wisdom suggests embedding the entire optimization solver inside a neural network’s training loop—a heavy, complex process. This paper shows you don't have to. By decoupling prediction and optimization and simply predicting a well-chosen quantile (instead of the mean) of the uncertain parameters, you can beat state-of-the-art integrated pipelines in decision quality while training up to nearly 1,000x faster.

What Problem Does This Paper Address?

Imagine packing delivery trucks when item weights are uncertain. You have to predict the weights from context (e.g., supplier data) and then run an optimization solver to pack the trucks.

If you predict the average weight, you’ll underestimate about half the time, overloading trucks and rendering your plan infeasible. Fixing broken plans on the fly incurs real-world penalties—measured here as post-hoc regret (suboptimality plus repair costs).

To prevent this, researchers developed Integrated Learning and Optimization (ILO), which embeds the solver directly into the ML training loop so the model learns from downstream decision errors.

Figure 1: The inner block (SLO) trains the predictive model mω on a standard prediction loss ℓ(e.g. MSE) and passes its prediction ˆy to the solver, which returns the decision z⋆(ˆy). ILO adds the outer loop, where the decision is evaluated by a decision loss Ldecision and the optimization problem is fed back into training, requiring z⋆(·) to be solved repeatedly and differentiated through (Sadana et al., 2025).

However, ILO has major headaches: combinatorial solvers aren't naturally differentiable, requiring custom math approximations, and running a solver inside every training epoch is painfully slow. Worse, requiring end-to-end gradients locks you out of top-tier tabular ML models like Random Forests or gradient-boosted trees. Can we keep the simple, fast "predict-first, optimize-second" setup without suffering catastrophic constraint violations?

Methods

The authors propose Quantile-based Sequential Learning and Optimization (QSLO). Instead of predicting the mean of an uncertain constraint parameter, QSLO predicts a specific conditional quantile $\tau \in (0, 1)$ and feeds that straight into a standard solver.

Think of $\tau$ as a single "caution dial." Need high safety against overloading? Dial $\tau$ up to 0.8 to predict conservative, heavier weights. Willing to risk minor repairs for better packing efficiency? Dial $\tau$ down. (In simple single-constraint cases, this mathematically mirrors classical chance-constrained programming).

The authors test two flavors of this decoupled pipeline:

  • QSLO-P (Pinball): Trains standard quantile regression models (Linear Regression, Random Forests, Gradient Boosting) using the asymmetric pinball loss for a fixed $\tau$.
Figure 2: High-level overview of the QSLO-P approach that minimizes the pinball loss ρτ for a fixed τ chosen before training. If a decision maker is not satisfied with the trade-off between infeasibility and (post-hoc) regret, the training as well as the testing has to be repeated for a new quantile τ.
  • QSLO-D (Distributional): Fits a model that outputs a full probability distribution—specifically NGBoost or the tabular foundation model TabPFN. Because you learn the whole curve once, you can extract any quantile $\tau$ at test time without ever retraining the model.

Datasets

No new datasets are introduced, though the authors fix a train/test split shuffling bug in an existing capacity-prediction benchmark. They evaluate on three problems from recent ILO literature (comparing against ODECE, a state-of-the-art feasibility-aware ILO method):

  • MDKP-W & MDKP-C: Two synthetic 0–1 Multi-Dimensional Knapsack Problems (50 items, 3 constraints, 1,500 instances) predicting either uncertain item weights or uncertain knapsack capacities from 10 features.
  • Brass Alloy Production Problem (BAPP): A real-data covering linear program (500 instances) where a manufacturer buys ore from 10 suppliers, predicting uncertain Copper and Zinc concentrations from 4,096 features to meet minimum metal requirements at minimal cost.

Key Insights and Ideas

  • It’s the statistic, not the fancy loss: Even when QSLO is restricted to a simple Linear Regression model—matching ODECE's exact model class on the knapsack benchmarks—it still beats ODECE. You don't necessarily need decision-focused gradients; you just need to stop feeding symmetric mean predictions into asymmetric constraints.
  • Distributional grounding prevents wild predictions: Because ILO methods only care about downstream decisions, their raw parameter predictions can drift into bizarre, unrealistic territory, causing degenerate failures at extreme settings. Standard ML models stay anchored to the actual training data distribution, keeping constraint estimates sensible.
  • Zero-retraining adaptability: If real-world repair penalties suddenly spike, an ILO model has to be retrained from scratch. With QSLO-D, you just turn the $\tau$ dial to a safer quantile on your already-trained model.

Key Results

  • Better Trade-offs: Measuring the hypervolume of the infeasibility vs. post-hoc regret Pareto frontier, QSLO beats ODECE across all five ML model families on both knapsack variants—improving post-hoc regret hypervolume by +7% to +16% on MDKP-W and +24% to +37% on MDKP-C. On BAPP, QSLO performs comparably to ODECE at optimal operating points while avoiding ODECE's extreme-setting breakdowns.
  • Massive Speedups: When the optimization problem is expensive to solve (MDKP), QSLO trains one to nearly three orders of magnitude faster. On MDKP-W, ODECE takes 5,303 seconds to train a single model; QSLO takes 35.6s with TabPFN and 9.6s with Linear Regression. On MDKP-C, ODECE takes 3,468s vs. 4.3s for Random Forest. (On BAPP, where the LP solver is tiny and fast but features number in the thousands, ODECE trains in 141s—faster than 500-tree ensembles at ~690s, though slower than LR at 10.6s and TabPFN at 85.1s).

Limitations and Future Work

  • Small, mostly synthetic benchmarks: Two of the three tasks use synthetic data, and all rely on artificial scaling rules to penalize infeasibility. Furthermore, BAPP has weak feature-to-target signal, meaning a context-free quantile nearly matches learned models. Larger, strongly context-dependent real-world benchmarks are needed.
  • Model constraints & unsolvable edge cases: No hyperparameter tuning was performed, TabPFN requires a GPU and has dataset size limits, and extreme predictions can occasionally yield empty feasible regions requiring domain-specific clipping or fallback heuristics.
  • Future directions: The authors suggest learning instance-specific quantiles based on context (rather than one global $\tau$) or tuning separate $\tau$ dials for different constraint groups—though doing so without a combinatorial explosion of parameters remains an open challenge.

Summary updated

BibTeX
@misc{bertling2026quantile,
  author = {Nele Bertling and Kevin Tierney and Michael Römer},
  title = {{Quantile-Based Sequential Learning and Optimization}},
  year = {2026},
  eprint = {2611.35987},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35987},
}
Figure