Predict-then-Calibrate: A New Perspective of Robust Contextual LP
Chunlin Sun, Linyu Liu, Xiaocheng Li
Abstract
Contextual optimization, also known as predict-then-optimize or prescriptive analytics, considers an optimization problem with the presence of covariates (context or side information). The goal is to learn a prediction model (from the training data) that predicts the objective function from the covariates, and then in the test phase, solve the optimization problem with the covariates but without the observation of the objective function. In this paper, we consider a risk-sensitive version of the problem and propose a generic algorithm design paradigm called predict-then-calibrate. The idea is to first develop a prediction model without concern for the downstream risk profile or robustness guarantee, and then utilize calibration (or recalibration) methods to quantify the uncertainty of the prediction. While the existing methods suffer from either a restricted choice of the prediction model or strong assumptions on the underlying data, we show the disentangling of the prediction model and the calibration/uncertainty quantification has several advantages. First, it imposes no restriction on the prediction model and thus fully unleashes the potential of off-the-shelf machine learning methods. Second, the derivation of the risk and robustness guarantee can be made independent of the choice of the prediction model through a data-splitting idea. Third, our paradigm of predict-then-calibrate applies to both (risk-sensitive) robust and (risk-neutral) distributionally robust optimization (DRO) formulations. Theoretically, it gives new generalization bounds for the contextual LP problem and sheds light on the existing results of DRO for contextual LP. Numerical experiments further reinforce the advantage of the predict-then-calibrate paradigm in that an improvement on either the prediction model or the calibration model will lead to a better final performance. * Equal contribution.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers7
- Conformalized Interval Arithmetic with Symmetric CalibrationRui Luo, Zhixin ZhouAAAI 2025 · 11 citations
- Conformal Prediction for Ensembles: Improving Efficiency via Score-Based AggregationYash Patel, Eduardo Ochoa Rivera, Ambuj TewariNeurIPS 2025 · 9 citations
- Differentiable Distributionally Robust Optimization LayersXutao Ma, Chao Ning, Wenli DuICML 2024 · 8 citations
- Conformal Inverse OptimizationBo Lin, Erick Delage, Timothy C. Y. ChanNeurIPS 2024 · 7 citations
- Smart Surrogate Losses for Contextual Stochastic Linear Optimization with Robust ConstraintsHyungki Im, Wyame Benslimane, Paul GrigasNeurIPS 2025 · 3 citations
Builds on7
- Beyond Pinball Loss: Quantile Methods for Calibrated Uncertainty QuantificationYoungseog Chung, Willie Neiswanger, Ian Char, Jeff SchneiderNeurIPS 2021 · 137 citations
- Calibrated Reliable Regression using Maximum Mean DiscrepancyPeng Cui, Wenbo Hu, Jun ZhuNeurIPS 2020 · 71 citations
- Individual Calibration with Randomized ForecastingShengjia Zhao, Tengyu Ma, Stefano ErmonICML 2020 · 69 citations
- Risk Bounds and Calibration for a Smart Predict-then-Optimize MethodHeyuan Liu, Paul GrigasNeurIPS 2021 · 37 citations
- Data-Driven Conditional Robust OptimizationAbhilash Reddy Chenreddy, Nymisha Bandi, Erick DelageNeurIPS 2022 · 34 citations
Related papers
- Maximum Optimality Margin: A Unified Approach for Contextual Linear Programming and Inverse Linear ProgrammingChunlin Sun, Shang Liu, Xiaocheng LiICML 2023 · 13 citations
- Robust Contextual Optimization with Missing CovariatesQingyuan Xu, Ruiwei JiangICML 2026
- Calibrating Decision Robustness via Inverse Conformal Risk ControlWenbin Zhou, Shixiang ZhuICML 2026
- Feasibility-Aware Decision-Focused Learning for Predicting Parameters in the ConstraintsJayanta Mandi, Marianne Defresne, Senne Berden, Tias GunsNeurIPS 2025 · 9 citations
- A Unified Framework for Bayesian Optimization under Contextual UncertaintySebastian Shenghong Tay, Chuan-Sheng Foo, Daisuke Urano, Richalynn Leong et al.ICLR 2024
