Manuscript Offprint

arXiv:2608.29465

Deciding When to Decide: Testing Operational Suboptimality Under Distributional Shift

Minxing Zheng, Holly Wiberg, Shixiang Zhu

Abstract

Deployed decisions are often optimized once and retained because updates impose operational, regulatory, or switching costs. As operating conditions change, when should such decisions be re-optimized? We study this question for stochastic optimization when the objective's functional form is known but the decision maker's trade-offs are encoded by an unknown preference parameter. Standard distribution-shift tests are poorly aligned with this goal: they can flag detectable yet decision-irrelevant changes without determining whether the incumbent decision has become materially suboptimal. We propose RADAR (Regret-based Assessment of Decision Adequacy and Risk), a decision-focused framework that uses inverse optimization to infer latent preferences and tests the deployed decision's optimality gap under the current distribution. By targeting regret, RADAR ignores decision-irrelevant shifts while detecting changes that warrant re-optimization. We develop two-sample and sequential changepoint procedures and establish asymptotic guarantees for Type-I error and power. Across synthetic optimization problems, a semi-synthetic capacity allocation task, and police-zone planning, RADAR more reliably distinguishes harmful from harmless shifts than decision-agnostic alternatives.

1 Introduction

Data-driven optimization increasingly supports consequential decisions in operational and public-sector domains, such as resource allocation (Bertsimas and Kallus 2020; Chen et al. 2022; Bertsimas et al. 2021), districting and zone design (Camacho-Collados, Liberatore, and Angulo 2015; Liu, Cho, and Wang 2016; Zhu, Wang, and Xie 2022; Xing et al. 2025), and routing (Chu et al. 2023; Lai et al. 2022; Toth and Vigo 2002). Often, a decision is optimized using historical context data and then implemented over an extended horizon, during which the environment may drift away from the design conditions and render the decision suboptimal. Yet re-optimizing can be costly, risky, and slow: a revised decision may require model validation, regulatory review, operational coordination, or changes to downstream workflows (Basso et al. 2019; Brailsford 2006). Deployed decisions therefore exhibit “decision inertia”, remaining in use well after the data distribution has shifted (Akaishi et al. 2014; Alós-Ferrer, Hügelschäfer, and Li 2016). This creates a central deployment challenge: deciding when a deployed decision remains adequate and when environmental shift

Figure

District A

District B

Old boundary

Optimal boundary

Figure 1: Stylized two-zone redistricting, where dots denote demand locations and boundaries are chosen to balance demand. Left: The baseline-optimal boundary. Middle: Uniform demand growth shifts the distribution but leaves the boundary optimal. Right: Localized demand relocation makes the old boundary (red dashed) suboptimal and favors an L-shaped boundary (black solid).

warrants re-optimization. Addressing it involves two difficulties.

First, not all context distribution shifts warrant re-optimization. A natural approach to addressing distribution shift is to apply a two-sample test or a changepoint detector to the context distribution. However, this is misaligned with the operational goal. Some shifts are statistically detectable yet decision-irrelevant, whereas small context shifts may induce large suboptimality for the deployed decision. Thus, the relevant quantity is not the distributional discrepancy itself, but the optimality gap of the deployed decision under the current operating conditions. Second, the objective function that generated the deployed decision is often only partially observed. If the full objective were known, assessing decision adequacy would reduce to estimating the target-domain optimality gap of the deployed decision and testing whether it exceeds a tolerance. We consider the more realistic setting where the deployed decision arises from an underlying stochastic optimization problem whose functional form is known, yet the parameters that encode the decision maker's preferences and trade-offs are unobserved. One can observe the deployed decision and context data from historical and current operating environments, but the objective parameters must be inferred. This partial observation setting is common in practice: even when the broad decision model is known, trade-offs among cost, reliability, risk, service quality, and fairness may be implicit, proprietary, or shaped by legacy workflows and human judgment. Thus, assessing decision adequacy requires inferring the latent preference structure that rationalizes the deployed decision and then evaluating whether it remains suitable under the new environment.

Figure 1 illustrates both challenges through a stylized police districting example. A planner locates police stations and partitions the service area while balancing response time against officer workload. Under the baseline demand pattern (left), the resulting plan uses a vertical district boundary; although the deployed stations and boundary are observable, the planner's weighting of the two objectives is not. Uniform demand growth (middle) changes the operating environment but preserves the spatial balance of demand, leaving the original boundary optimal. By contrast, localized demand relocation (right) makes the original boundary suboptimal and warrants a different partition. The figure therefore highlights why detecting demand shift alone is insufficient: assessing whether redistricting is warranted requires evaluating the operational consequences of the shift under the latent trade-off that rationalized the original plan.

We propose RADAR (Regret-based Assessment of Decision Adequacy and Risk), a decision-focused framework that combines inverse optimization with regret-based inference to assess whether a deployed decision remains adequate under distribution shift. We summarize our contributions as follows. First, we formulate monitoring under distribution shift as testing whether a deployed decision remains approximately optimal, in both two-sample and sequential settings. Second, we develop RADAR, which recovers the latent preference parameters that rationalize the deployed decision via inverse optimization and evaluates the resulting optimality gap through a sample-split regret test, requiring only that the recovered preferences be identified well enough to determine adequacy. Third, we establish asymptotic guarantees for Type-I error and power, and show on synthetic and real-world problems that RADAR detects decision-relevant shifts while ignoring changes that do not warrant re-optimization.

Related Work. Distribution shift is widely studied in statistical learning, including dataset (Gama et al. 2014; Quiñonero-Candela et al. 2008), covariate (Bickel, Brückner, and Scheffer 2009; Shimodaira 2000), selection-induced (Cortes et al. 2008; Huang et al. 2006) and label (Garg et al. 2020; Guo et al. 2020) shift, with diagnostics for deployed machine-learning systems (Guan, Bates, and Zhou 2025; Kulinski and Inouye 2023). Classical tools detect and evaluate such changes: two-sample tests (Anderson 1962; Anderson and Darling 1952; Smirnov 1948) for static comparisons and changepoint detection (Basseville and Nikiforov 1993; Harchaoui, Moulines, and Bach 2008; Killick, Fearnhead, and Eckley 2012; Matteson and James 2014; Page 1954) for sequential monitoring, together with learning-based variants such as classifier two-sample tests (Lopez-Paz and Oquab 2017; KIM et al. 2021) and learned changepoint detectors (Hushchyn and Ustyuzhanin 2021; Li et al. 2024). Closest to our setting, Podkopaev and Ramdas (2022) monitor the risk of a deployed model by testing whether its target-domain risk exceeds its source-domain risk. However, an increase in risk need not imply that the deployed model or decision has become inadequate: risk may increase while the optimizer remains unchanged, or remain stable while a better solution exists. We instead test the incumbent decision's optimality gap under the target distribution, directly targeting whether re-optimization is warranted.

Our framework also connects to inverse optimization (IO) (Ahuja and Orlin 2001; Chan, Mahmood, and Zhu 2025; Iyengar and Kang 2005; Birge, Hortaçsu, and Pavlin 2017), which infers objective or constraint parameters (Chan and Kaw 2020; Ghobadi and Mahmoudzadeh 2021) that make observed decisions optimal or approximately optimal for a proposed forward optimization model. Classical IO typically enforces exact inverse feasibility, requiring the observed decisions to be optimal under the recovered parameters (Heuberger 2004). Data-driven IO relaxes this requirement by fitting parameters through loss functions that measure deviations from optimality, allowing for noisy observations, imperfect information, or model misspecification (Aswani, Shen, and Siddiq 2018; Bertsimas, Gupta, and Paschalidis 2015; Mohajerin Esfahani et al. 2018). Beyond parameter recovery, recent work has leveraged inverse-optimization geometry for decision risk assessment, using conformal inference to provide distribution-free certificates on the suboptimality risk of candidate decisions (Zhou, Orfanoudaki, and Zhu 2026). Recent work also studies IO in stochastic settings (Birge, Li, and Sun 2022), as well as the recovery of risk preferences in risk-minimization problems (Li 2021).

Predict-then-optimize (Elmachtoub and Grigas 2021; Liu and Grigas 2021) and decision-focused learning (Mandi et al. 2022, 2025, 2024; Wang et al. 2026; Wilder, Dilkina, and Tambe 2019) methods align prediction with downstream optimization quality by training predictive models using decision-aware objectives, such as decision loss, regret, or task-specific optimization loss (Schutte, Postek, and Yorke-Smith 2024; Shah et al. 2022). Related work develops differentiable optimization layers and gradient estimators for propagating learning signals through downstream optimization problems (Agrawal et al. 2019; Amos and Kolter 2017; Pogančić et al. 2019). These methods ask how to learn predictions that induce high-quality decisions. Our work asks a complementary question: given a deployed decision and a known optimization structure, has the decision's optimality changed enough under distribution shift to warrant re-optimization? Thus, we bring a decision-focused criterion to hypothesis testing and deployment monitoring.

References (100)

  • Differentiable convex optimization layers
  • Inverse Optimization
  • Autonomous mechanism of internal choice estimate underlies decision inertia
  • Inertia and Decision Making
  • OptNet: Differentiable Optimization as a Layer in Neural Networks
  • On the distribution of the two-sample Cramer-von Mises criterion
  • goodness of fit
  • M.; and Siddiq, A. 2018
  • Detection of Abrupt Changes: Theory and Application
  • A survey on obstacles and difficulties of practical implementation of horizontal collaboration in logistics
  • From Predictions to Prescriptions: A Data-Driven Response to COVID-19
  • Data-driven estimation in equilibrium using inverse optimization
  • From predictive to prescriptive analytics
  • Discriminative learning under covariate shift
  • Learning from Stochastically Revealed Preference
  • Inverse Optimization for the Recovery of Market Structure from Market Outcomes: An Application to the MISO Electricity Market
  • Overcoming the barriers to implementation of operations research simulation models in healthcare
  • A multi-criteria police districting problem for the efficient and effective design of patrol sector
  • Inverse optimization for the recovery of constraint parameters
  • Inverse optimization: Theory and applications
  • Data-driven robust resource allocation with monotonic cost functions
  • Data-driven optimization for last-mile delivery
  • Sample selection bias correction theory
  • Predict, Then Optimize
  • A survey on concept drift adaptation
  • A unified view of label shift estimation
  • Inferring linear feasible regions using inverse optimization
  • Keeping medical AI healthy and trustworthy: A review of detection and correction methods for system degradation
  • Ltf: A label transformation framework for correcting label shift
  • Kernel change-point analysis
  • Inverse combinatorial optimization: A survey on problems, methods, and results
  • Correcting sample selection bias by unlabeled data
  • Generalization of change-point detection in time series data based on direct density ratio estimation
  • Inverse conic programming with applications
  • Optimal Detection of Changepoints With a Linear Computational Cost
  • CLASSIFICATION ACCURACY AS A PROXY FOR TWO-SAMPLE TESTING
  • Towards explaining distribution shifts
  • Data-driven flexible vehicle scheduling and route optimization
  • Automatic change-point detection in time series via deep learning
  • Risk Bounds and Calibration for a Smart Predict-then-Optimize Method
  • PEAR: a massively parallel evolutionary computation approach for political redistricting optimization and analysis
  • Revisiting Classifier Two-Sample Tests
  • Decision-Focused Learning: Through the Lens of Learning to Rank
  • Feasibility-Aware Decision-Focused Learning for Predicting Parameters in the Constraints (opens arXiv in a new tab)
  • Decision-focused learning: Foundations, state of the art, benchmark and future opportunities
  • A Nonparametric Approach for Multiple Change Point Analysis of Multivariate Data
  • Data-driven inverse optimization with imperfect information
  • Continuous inspection schemes
  • Tracking the risk of a deployed model and detecting harmful distribution shifts
  • Differentiation of blackbox combinatorial solvers
  • Dataset shift in machine learning
  • Robust losses for decision-focused learning
  • Decision-Focused Learning without Decision-Making: Learning Locally Optimized Decision Losses
  • Improving predictive inference under covariate shift by weighting the log-likelihood function
  • Table for estimating the goodness of fit of empirical distributions
  • The Vehicle Routing Problem
  • Gen-dfl: Decision-focused generative learning for robust decision making
  • Melding the data-decisions pipeline: decision-focused learning for combinatorial optimization
  • Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
  • Black-Box Optimization with Implicit Constraints for Public Policy
  • Conformalized decision risk assessment
  • Data-driven optimization for atlanta police-zone design
  • Equivalently, the one-sided $p$-value is
  • The bootstrap test is more computationally demanding but is often preferable for small samples, nonsmooth risk functionals, or general risk objectives for which closed-form variance estimation is inconvenient
  • Every statistic at monitoring time $t$ uses the $w = 200$ observations ending at $t$, so neither method can respond before $t = \gamma + w$
  • Figure 6 illustrates the distinction
  • Since $W_t$ is trailing, the statistic indexed by $t$ is available at time $t$ itself; the price is that an alarm lags the onset of inadequacy by at most $w$ observations
  • This is the relevant regime for a deployed monitor, where the horizon and the review schedule are set by the application and what grows is the data behind each review
  • Consider the linear program
  • Thus, the downstream question can be well identified even when the preference parameter itself is not
  • The incumbent is adequate if $\overline{\Delta}_{\mathrm{inv}} \leq \tau$, re-optimization is warranted if $\underline{\Delta}_{\mathrm{inv}} > \tau$, and the conclusion is indeterminate if $\underline{\Delta}_{\mathrm{inv}} \leq \tau < \overline{\Delta}_{\mathrm{inv}}$
  • If this empirical range lies entirely below or above $\tau$, the update conclusion is insensitive to the selected rationalizer; otherwise, the result should be reported as identification-sensitive
  • We establish consistency and convergence rates for each error component in (9), derive the resulting consistency and convergence rate of the test statistic, and then prove the stated hypothesis-testing guarantees
  • The exact decomposition is
  • The lemmas below use this general-risk interpretation of terms (i)–(iii)
  • First, we impose a structural assumption on the parameter and decision spaces
  • It holds, for example, when the feasible set is a bounded polyhedron or a compact convex set
  • It provides a convenient way to control the complexity of the induced function class and derive uniform convergence rates
  • It includes expectation as the special case obtained by taking $\ell(t) = t$ and $\mathcal{M} = \{0\}$, in which case
  • Equivalently, the gap grows at least as a polynomial of degree $\kappa$ as one moves away from $\Theta_{inv}$ within a local neighborhood
  • For example, $\kappa = 1$ corresponds to sharp minima, which frequently occur in linear programs (LPs) or objectives with $\ell_1$-geometry
  • Moreover, for almost every $x$, the map
  • Since $\ell$ is Lipschitz with constant $L_\ell$, for any $t \in \mathbb{R}$
  • By the standard parametric Glivenko–Cantelli theorem, $\mathcal{G}$ is $\mathbb{P}$-Glivenko–Cantelli
  • For any $(z, \theta, m), (z', \theta', m') \in \mathcal{Z} \times \Theta \times \mathcal{M}$
  • Standard maximal inequalities for such parametric empirical process classes yield
  • Combining the two inequalities gives
  • Combining this with (25) yields uniform convergence of
  • The stated consistency follows from $\mathrm{dist}(\hat{\theta}, \Theta_{\mathrm{inv}}) = o_p(1)$ in Lemma D.11
  • If $\delta_{\text{inv}} = 0$, the gap strictly converges at the rate $O_p(n^{-1/(2\kappa)})$
  • Therefore, the inverse objective converges uniformly at the same rate:
  • Let $\theta^* \in \Theta_{\text{inv}}$ be a true minimizer of the population objective, which implies $\Psi(\theta^*) = 0$
  • Bounding the remaining terms by the uniform supremum yields:
  • Applying the $\kappa$-degree inverse stability bound yields:
  • Suppose the assumptions of Lemma D.12 hold, specifically that the envelope $F(X)$ and the Lipschitz modulus $L(X)$ are square-integrable under the target distribution $P_1$
  • By adding and subtracting $\widehat{R}_1'$
  • Suppose the assumptions of Lemma D.12 hold, specifically the square-integrability of the envelope and Lipschitz modulus under $\mathbb{P}_1$
  • On a fixed-margin null, consistency alone makes $T_{\text{Wald}} \to -\infty$, which proves the separated-null assertion
  • Finally, replacing $\tau$ by $\tau + \bar{\delta}_{\mathrm{inv}}$ offsets the largest admissible positive identification error, yielding the sensitivity-adjusted level statement under the same relative-rate and CLT conditions
  • Unless otherwise specified, we train for 300 epochs with learning rate $5 \times 10^{-3}$ and 10 random initializations, using 3000 contexts for preference estimation, 2000 contexts for challenger construction, and 2000 contexts for evaluation

Couldn't load all references. Reload the page to try again.