Robust Contextual Optimization with Missing Covariates
Qingyuan Xu (PhD Student · University of Michigan), Ruiwei Jiang
Overview
Contextual stochastic optimization sits at the intersection of predictive modeling and decision-making, where a decision maker utilizes covariate information $X$ to predict an uncertain outcome $Y$ and minimize an expected conditional loss. In practice, however, these covariates are rarely pristine. Modern datasets frequently suffer from missing values due to high-dimensional feature spaces, costly data collection processes, or multi-source integration—for example, over half of breast cancer patients in the National Cancer Database exhibit missing clinical variables, and income data in social surveys is notoriously incomplete. This talk explores the fundamental limitations of handling missing data through standard preprocessing pipelines and introduces a principled, missingness-aware robust optimization framework.

Key moments
- 0:00 Introduction and contextual optimization with missing covariates
- 2:00 Limitations of naive pre-processing and standard DRO methods
- 4:00 Discrete and categorical data formulation with KL divergence
- 6:00 Continuous data handling, numerical experiments, and inventory ordering results
- 7:21 Audience Q&A on missingness assumptions and future extensions
Robust Contextual Optimization with Missing Covariates
Speakers: Qingyuan Xu (PhD Student, University of Michigan); Ruiwei Jiang
Conference: ICML
YouTube: https://slideslive.com/39083710
Overview
Contextual stochastic optimization sits at the intersection of predictive modeling and decision-making, where a decision maker utilizes covariate information $X$ to predict an uncertain outcome $Y$ and minimize an expected conditional loss. In practice, however, these covariates are rarely pristine. Modern datasets frequently suffer from missing values due to high-dimensional feature spaces, costly data collection processes, or multi-source integration—for example, over half of breast cancer patients in the National Cancer Database exhibit missing clinical variables, and income data in social surveys is notoriously incomplete. This talk explores the fundamental limitations of handling missing data through standard preprocessing pipelines and introduces a principled, missingness-aware robust optimization framework.
The core thesis presented by Qingyuan Xu is that decoupling data imputation or feature-dropping from downstream optimization introduces compounding errors that severely degrade decision quality. Traditional methods either discard incomplete samples or rely on machine learning oracles to fill in blanks before running downstream solvers like Sample Average Approximation (SAA) or standard Distributionally Robust Optimization (DRO). These decoupled pipelines ignore the uncertainty introduced by the missingness mechanism itself, falling prey to the optimizer's curse and breaking robustness guarantees. By reformulating the problem to account for missingness directly within the optimization loop, the authors achieve both theoretical guarantees and superior empirical performance.
Background
▶ Watch: Introduction and contextual optimization with missing covariates (0:00)
The standard paradigm in contextual stochastic optimization assumes full observability of historical samples $(X, Y)$. When missingness occurs in the covariate space $X$, practitioners typically resort to heuristic or separation-based strategies. These naive approaches fall into two categories: feature-dropping (discarding dimensions with high missingness or retaining only complete cases) and imputation (using a machine learning oracle to fill missing entries). Once preprocessed, the data is fed directly into downstream optimization tasks as if it were exact.
This separation of concerns is mathematically and statistically hazardous. SAA optimizes a data-driven objective as if it were the ground truth, leaving it vulnerable to sampling noise (the optimizer's curse). When data pre-processing adds an extra layer of imputation imprecision, this curse is heavily amplified. While standard DRO mitigates sampling error by building an ambiguity set around a reference empirical distribution, its guarantees rely on the assumption that the reference distribution is well-defined over the full space. When applied to preprocessed data, standard DRO ambiguity sets protect only against sampling errors around the preprocessed distribution, completely ignoring the missingness mechanism. Consequently, its robustness guarantees break down, yielding sub-optimal or unreliable operational decisions.
Key Findings
▶ Watch: Limitations of naive pre-processing and standard DRO methods (2:00)
The primary contribution of this work is a unified, missingness-aware robust contextual optimization framework that models missingness directly via an ambiguity set over latent full-data distributions. Operating under the Missing at Random (MAR) assumption—where missingness depends on observed data rather than unobserved values—the framework bounds the worst-case expected cost across all plausible underlying distributions.
Key theoretical and empirical findings include:
- Tractable Reformulation via KL Divergence: For discrete and categorical data, using Kullback-Leibler (KL) divergence allows conditional independence structures to become summable after taking logarithms, making missing patterns decomposable.
- Convexity Recovery: By combining perspective transformations with strong duality on the inner supremum, the authors transform the original non-convex fractional ambiguity problem into an exponential conic program, guaranteeing tractability when the cost function is convex in the decision variable $Z$.
- Finite-Sample Guarantees: The tuning parameter $\epsilon_N$ is calibrated as $\frac{1}{N} \log\left(\frac{N}{\eta}\right)$ for a target failure probability $\eta$, yielding rigorous finite-sample reliability bounds, value consistency, and optimizer consistency as sample size $N \to \infty$.
- Continuous Data Extensions: For continuous domains where standard KL divergence fails due to weak convergence properties, the framework adopts an LP projected KL divergence paired with a sieve estimator that scales complexity with sample size.
- Scalability via Constraint Generation: Because the primary bottleneck lies in the size of the support or constraints in discrete settings, a constraint generation algorithm successfully accelerates convergence by iteratively identifying and adding only the most violated constraints.
Technical Deep Dive
▶ Watch: Discrete and categorical data formulation with KL divergence (4:00)
The technical formulation begins by partitioning the covariate space $X$ into always-observable dimensions $X_O$ and potentially missing dimensions $X_M$. We observe a masked version $\tilde{X}_M$ alongside a binary missingness indicator $M$ governed by a missing mechanism belonging to an MAR class.
Instead of pre-imputing data, the framework defines an ambiguity set containing all latent full-data distributions $P$ and missing mechanisms $Q$ whose induced observable distribution $H(P, Q)$ (integrating out unobserved $X_M$) remains close to the observable empirical distribution. The decision maker then minimizes the worst-case conditional expected cost:
$$\min_{Z} \sup_{(P,Q) \in \mathcal{U}} \mathbb{E}_{P} [\text{Cost}(Z, X, Y)]$$
For discrete data, the ambiguity set $\mathcal{U}$ uses KL divergence as a discrepancy measure. The non-convexity stemming from the fractional term in the conditional expectation is resolved in two steps:
- Data Matrix Encoding: An indicator matrix $T$ is constructed to encode valid imputation patterns based on observed missingness.
- Perspective Transformation: Applying perspective functions to the objective and invoking strong duality for the inner supremum converts the worst-case evaluation into a tractable exponential conic program.
For continuous data, direct KL divergence lacks continuity with respect to weak convergence, breaking finite-sample guarantees. To resolve this, the authors introduce an LP projected KL divergence layer combined with a sieve estimator. The KL layer preserves analytical tractability, while the linear programming (LP) layer maps the distribution to a smooth neighborhood, enabling concentration inequalities. Under the condition that the cost function is separately convex in the decision variable $Z$ and the outcome $Y$, this yields a tractable convex surrogate.
Experimental Setup & Results
▶ Watch: Continuous data handling, numerical experiments, and inventory ordering results (6:00)
The empirical evaluation tests the framework on an inventory ordering problem, comparing the proposed missingness-aware robust contextual optimization method against standard baselines, including consistent imputation paired with SAA and KL divergence-based DRO (KL-DRO) methods.
- Baseline Comparisons: The proposed method consistently outperforms all preprocessing-plus-optimization baselines across varying problem configurations.
- Regimes of Superiority: Performance gains are most pronounced in high missingness regimes and small sample size scenarios, where naive imputation methods suffer heavily from the amplifier effect of the optimizer's curse.
- Computational Bottlenecks: Empirical profiling reveals that the primary computational bottleneck is constraint/support size in discrete settings rather than sample size $N$. The implementation of constraint generation successfully mitigates this bottleneck, making large-scale instances computationally viable.
- Robustness to Violations: Additional experiments testing violations of the MAR assumption (specifically moving toward Missing Not at Random, or MNAR regimes) indicate that the formulation maintains stable and reliable performance even when the strict MAR assumption is moderately perturbed.
Practical Implications
▶ Watch: Audience Q&A on missingness assumptions and future extensions (7:21)
For infrastructure teams, operations researchers, and machine learning practitioners deploying decision systems in domains like healthcare, economics, and supply chain management, this work issues a clear warning against treating data preprocessing as an isolated pipeline step. Imputing missing features before optimization introduces hidden variance that standard optimizers amplify.
Deployers facing high rates of missing data should adopt integrated robust optimization formulations rather than relying on heuristic imputation or standard DRO. While the computational overhead requires solving exponential conic programs or employing constraint generation algorithms, the resulting out-of-sample reliability and prevention of catastrophic optimization failures justify the added complexity. Furthermore, practitioners must be mindful of data dimensionality: while sample size $N$ poses little computational strain, support size in discrete settings requires careful constraint management.
Key Takeaways
- Decoupling data preprocessing (imputation or feature dropping) from downstream optimization amplifies sampling noise and triggers the optimizer's curse.
- Standard distributionally robust optimization (DRO) guarantees break down under missing data because ambiguity sets fail to model the missingness mechanism.
- The proposed missingness-aware contextual optimization framework models latent full-data distributions directly through an ambiguity set constrained by an MAR missing mechanism.
- For discrete domains, structural properties of KL divergence combined with perspective transformations convert non-convex objectives into tractable exponential conic programs.
- For continuous domains, an LP-projected KL divergence paired with a sieve estimator preserves mathematical guarantees where standard weak convergence fails.
- Constraint generation algorithms effectively resolve scalability bottlenecks tied to support size, enabling superior out-of-sample performance and reliability—especially under high missingness and small sample sizes.
About the Speaker(s)
- Qingyuan Xu (PhD Student, University of Michigan): Second-year PhD student at University of Michigan working on robust contextual optimization with missing covariates under the supervision of Ruiwei Jiang.
- Ruiwei Jiang: Advisor to Qingyuan Xu on research in robust contextual optimization with missing covariates.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026