arXiv:2609.01544stat.MLSep 2026

Manuscript Offprint

arXiv:2609.01544

Variable Selection for Feature-Based Newsvendor

Zhaoliang Yuan, Jie Wang

Zhaoliang Yuan

School of Artificial Intelligence, The Chinese University of Hong Kong, Shenzhen, 225080014@link.cuhk.edu.cn

Jie Wang

School of Artificial Intelligence and School of Data Science, The Chinese University of Hong Kong, Shenzhen, jwang@cuhk.edu.cn

Feature-based newsvendor models use observable covariates to tailor inventory decisions, aiming to balance holding and shortage costs under demand uncertainty. However, high-dimensional feature sets often hinder interpretability and inflate data collection and implementation costs. This paper studies variable selection for the feature-based newsvendor problem under a hard cardinality constraint on the number of selected features. We formulate the resulting ℓ0\ell_{0}-constrained empirical newsvendor problem with ℓ2\ell_{2}-regularization, establish its computational hardness, and develop a mixed-integer second-order cone programming reformulation that strengthens the standard Big-M formulation. To enable scalability beyond exact optimization, we develop a randomized-rounding algorithm with a bi-criteria guarantee and a greedy heuristic. Statistically, we provide theoretical analysis of the resulting sparse policy estimator, including finite-sample estimation error, out-of-sample risk bounds, and support recovery guarantees. Extensive experiments on both synthetic and real data illustrate the computational and statistical trade-offs among various baselines. Our results demonstrate that the proposed variable selection framework achieves competitive out-of-sample operational costs while using substantially fewer covariates.

Key Words: Contextual Stochastic Optimization, Variable Selection, Statistical Analysis, Newsvendor

1. Introduction

The newsvendor problem is a classic inventory model that seeks to determine the optimal order quantity by balancing the cost of overstocking and understocking in the face of random demand. It is crucial to obtain an accurate estimate of customer demand, which is influenced by a multitude of features, including weather, time, location, and economic conditions. In the big data era, leveraging available data that pairs these influential features (covariates) with corresponding demand observations enables us to make data-driven predictions of future customer demand and more reliable decisions, while ignoring the presence of covariates can lead to inconsistent decisions [3].

A natural paradigm for incorporating features into decision-making is contextual stochastic optimization (CSO) [31]. Broadly speaking, CSO can be divided into three classes: decision-rule optimization [27, 3], estimate-then-optimize [5], and integrated estimation and optimization [14, 21, 30]. In this paper, we focus on the decision-rule optimization approach, aiming to learn an end-to-end mapping from features to decisions. Linear decision rules are attractive because of their simplicity and tractability [3], but they may not capture complex feature-to-decision relationships. To improve out-of-sample performance, nonlinear decision rules based on kernel methods [6, 28] and deep learning [29, 40, 20] have also been studied.

Despite this progress, the interpretability of learned decision rules has received comparatively less attention. In many applications, only a small subset of features is truly decision-relevant. Identifying such features can improve interpretability, reduce data collection and monitoring costs, simplify downstream implementation, and improve robustness when irrelevant features are noisy or unstable. This motivates us to consider variable selection for feature-based newsvendor models.

Variable selection has been extensively studied in statistics and machine learning through sparsity-inducing formulations, including Lasso [33], bridge-type penalties [19], the smoothly clipped absolute deviation (SCAD) penalty [37, 16], and the minimax concave penalty (MCP) [39]. These methods can be viewed as tractable surrogates for the ideal but computationally challenging ℓ0\ell_{0}-constrained formulation. Convex penalties are typically easier to optimize, whereas nonconvex penalties may achieve sharper statistical properties but are harder to solve globally. In this paper, we study the following question:

How can we efficiently solve variable selection for feature-based newsvendor and what statistical guarantees can be established?

Our contributions are summarized as follows.

(I) Exact and approximation algorithms. For the variable selection problem, we add an ℓ2\ell_{2}-norm regularization and reformulate it as a mixed-integer second-order cone program (MISOCP). Compared with the standard Big-M approach for variable selection, our MISOCP formulation yields a tighter continuous relaxation and enables a more efficient algorithm design. Based on the reformulation, we further develop two efficient approximation algorithms and show that the randomized-rounding method admits a bi-criteria guarantee.

(II) Statistical guarantees. Under the assumption that demand has sparse and linear dependence on features, we establish the concentration error bound between our estimated policy and the ground truth optimal policy, as well as the out-of-sample performance and support recovery guarantees. These performance bounds break the curse of dimensionality because they crucially depend on the sparsity level instead of the data dimension.

(III) Numerical validation. We compare the exact optimization methods, randomized-rounding, greedy, and Lasso-based approaches using synthetic and retail data, illustrating their computational and statistical trade-offs.

References (33)