Abstract: In prescriptive analytics, the decision-maker observes historical samples of $(X, Y)$, where $Y$ is the uncertain problem parameter and $X$ is the concurrent covariate, without knowing the joint distribution. Given an additional covariate observation $x$, the goal is to choose a decision $z$ conditional on this observation to minimize the cost $\mathbb{E}[c(z,Y)|X=x]$. This paper proposes a new distributionally robust approach under Wasserstein ambiguity sets, in which the nominal distribution of $Y|X=x$ is constructed based on the Nadaraya-Watson kernel estimator concerning the historical data. We show that the nominal distribution converges to the actual conditional distribution under the Wasserstein distance. We establish the out-of-sample guarantees and the computational tractability of the framework. Through synthetic and empirical experiments about the newsvendor problem and portfolio optimization, we demonstrate the strong performance and practical value of the proposed framework.
Introduction: The Prescriptive Analytics Challenge
In modern data-driven decision-making, prescriptive analytics aims to determine an optimal action $z$ based on observed contextual information $X$ to minimize an expected cost associated with an uncertain parameter $Y$. For instance, a retailer might decide on an order quantity (decision $z$) based on weather forecasts (covariate $X$) to minimize costs related to uncertain demand (parameter $Y$).
The primary difficulty lies in the fact that the true joint distribution of $(X, Y)$ is unknown. While practitioners often use historical data to estimate the conditional distribution $Y|X=x$, these estimates—typically derived from kernel methods—can be highly sensitive to noise, especially when data is sparse.
The NW-DRO Framework
To address these challenges, this paper introduces Nadaraya-Watson Distributionally Robust Optimization (NW-DRO). This framework combines non-parametric kernel estimation with Wasserstein-based Distributionally Robust Optimization (DRO).
1. Kernel-Weighted Nominal Distribution
Instead of assuming all historical data points are equally relevant, NW-DRO employs the Nadaraya-Watson estimator. This assigns higher weights to historical samples $(x_i, y_i)$ where the covariate $x_i$ is "closer" to the current observation $x$. This creates a context-aware nominal distribution that prioritizes relevant historical experience.
2. Wasserstein Ambiguity Sets
Recognizing that the nominal distribution is just an estimate, the authors construct an ambiguity set—a "ball" of possible distributions centered at the nominal distribution. The size of this ball is defined by the Wasserstein distance, which accounts for the underlying geometry of the outcome space. The decision-maker then optimizes for the worst-case distribution within this set, providing a safety margin against estimation errors.
3. Computational Tractability
A significant contribution of this work is the proof that this min-max optimization problem can be reformulated into a standard convex optimization problem. For common cost functions, such as the piece-wise linear costs found in newsvendor problems, the model reduces to a linear program, ensuring it can be solved efficiently using commercial solvers like Gurobi.
Experimental Results
The framework was rigorously tested using both synthetic simulations (Newsvendor problem) and empirical financial data (Portfolio optimization).
Out-of-Sample Reliability
A key metric used to evaluate the models is "out-of-sample disappointment," defined as the probability that the realized cost exceeds the predicted worst-case cost. As shown in the experimental results, NW-DRO consistently maintains lower disappointment levels compared to non-robust kernel methods (NW-SO) and standard sample average approximations (Naive-SO).
Key Findings
- Superior Performance: In the newsvendor simulation, NW-DRO significantly outperformed benchmarks, demonstrating the value of combining context-weighting with robustness.
- Financial Utility: In portfolio allocation tasks using Fama-French factor data, NW-DRO achieved higher Sharpe Ratios and Certainty-Equivalent Returns (CEQ) than equally weighted or standard robust benchmarks.
- Regularization Effect: The DRO approach effectively acts as a regularizer, protecting the model from overfitting to noisy historical samples that happen to be close to the current context.
Conclusion and Future Directions
The NW-DRO framework provides a mathematically rigorous and computationally practical approach to contextual decision-making under uncertainty. By bridging non-parametric estimation and distributionally robust optimization, it offers strong out-of-sample guarantees. Future research may explore extending these results to kernels with infinite support (like Gaussian kernels) and integrating automated feature selection to handle high-dimensional covariate spaces.
Summary updated