Reduced Cost Influence Functions for Predict-then-Optimize under Noisy Data
William Zhang, Saurabh Amin, Georgia Perakis
William Zhang
Operations Research Center
Massachusetts Institute of Technology
Cambridge, MA 02139
wzhang64@mit.edu
Saurabh Amin
Operations Research Center
Massachusetts Institute of Technology
Cambridge, MA 02139
amins@mit.edu
Georgia Perakis
Operations Research Center
Massachusetts Institute of Technology
Cambridge, MA 02139
georgiap@mit.edu
Abstract
Machine learning models deployed in decision-making pipelines, from vehicle routing to dynamic pricing to clinical decision support, must remain reliable in the face of low-quality training data. We study a predict-then-optimize setting in which an upstream model predicts the cost vector of a downstream linear program, with a large pool of noisy training data supplemented by a small curated set of clean data. We introduce Reduced Cost Influence Functions (RCIFs), which combine influence functions from robust statistics with the geometry of linear optimization to estimate how each training point shifts downstream decisions. Building on this, we propose a reweighting algorithm that uses RCIFs to downweight harmful training points and reduce downstream regret. Experiments on random linear programs and shortest-path problems show that our approach reduces regret, and accompanying theory characterizes properties of RCIFs and identifies regimes favorable to our method relative to baselines.
1 Introduction
Machine learning models are increasingly used as components of larger decision-making pipelines: pricing engines, routing systems, clinical decision support tools. In these pipelines, predictions are not the end of the line: they are passed to a downstream optimization procedure whose solution carries the real consequences. This shift makes the training of predictive models a more delicate problem, since small errors under standard prediction loss can produce suboptimal downstream decisions. Compounding this, machine learning models are well known to be vulnerable to low-quality training data [Biggio and Roli, 2018], and a decision pipeline that is brittle to training-time corruption can produce costly errors downstream. Thus, how can we improve robustness of the downstream decision against corrupted training data via the upstream training process?
We propose a downstream-aware reweighting of the training data that leaves both the predictor architecture and the downstream optimization method unchanged. Our method assumes access to a small clean validation set, a standard assumption in robust learning literature [Ren et al., 2018, Hendrycks et al., 2018], in addition to a larger, potentially corrupted training set. We introduce the core technical object, the reduced cost influence function (RCIF), a decision-aware signal that propagates the effect of upweighting each training point through the upstream predictor onto the reduced costs
40th Conference on Neural Information Processing Systems (NeurIPS 2026).
of the downstream LP, directly connecting each training point to the outcome decision. The RCIF measures how each training point destabilizes or stabilizes the downstream decision boundary; we use it to reweight the training data using the validation set, so that the refit predictor produces decisions that are robust to training corruption.
Our method is best suited to predict-then-optimize problems in which (i) prediction errors frequently cause decision flips, (ii) training data is corrupted, and (iii) a small clean validation set exists but is too small to fit the predictor on its own. We demonstrate gains on random linear programs and on shortest-path routing, a standard benchmark for decision-making pipelines [Elmachtoub and Grigas, 2022], and provide theoretical guarantees identifying validation-size regimes favorable to RCIF reweighting relative to both the standard, unweighted estimator and validation-only estimator.
2 Related Work
Decision-aware learning. A large body of work studies training predictive models for downstream tasks. End-to-end approaches train the upstream predictor with respect to downstream decision quality, most notably via surrogate losses such as SPO+ [Elmachtoub and Grigas, 2022] and the broader decision-aware learning literature [Hu et al., 2022, Shah et al., 2022, Qi et al., 2025, Donti et al., 2017, Bertsimas and Kallus, 2020]. Our approach is complementary: rather than modifying the training loss, we reweight the training data using a downstream-aware signal, leaving both the predictor and the LP unchanged. This is similar to Lawless and Zhou [2022], which directly reweights data via regret but does not consider corrupted data.
Robustness in decision-aware learning. A parallel line of work addresses robustness in decision-aware learning. Work such as Sun et al. [2023], Yeh et al. [2024], Patel et al. [2024] consider robustness via sharper uncertainty sets using conformal prediction, while Schutte et al. [2023], Im et al. [2025] propose surrogate losses for robust decision-focused learning. Instead, we directly reweight the training data, which preserves the original pipeline and focuses on robustness to the training phase rather than at deployment via robust downstreams.
Reweighting under noisy data. Mitigating label corruption given access to a small clean set (and reweighting data) is prevalent in robust learning [Hendrycks et al., 2018, Zhang et al., 2020, Liu et al., 2021]. Other work considers corruption detection such as [Northcutt et al., 2021, Diakonikolas et al., 2019, Sheikholeslami et al., 2021]. Notably, Ren et al. [2018] derive weights from influence functions (popularized in [Koh and Liang, 2017, Broderick et al., 2020]) for robustness. We adopt the influence-function machinery but propagate effects onto reduced costs of the downstream LP rather than onto prediction loss, which differentiates our approach from a direct adaptation of validation-loss influence.
3 Setting
We consider a predict-then-optimize pipeline in which an upstream predictive model produces an estimate of an unknown cost vector, which is then passed to a downstream linear program whose solution is the final decision.
Downstream optimization. The downstream component solves a linear program of the form
x∗(c)=argx∈Xminc⊤x,
where c∈Rd is the cost vector and X={x∈Rd:Ax=b,x≥0} is a closed, bounded polyhedron with diameter L defined by a constraint matrix A∈Ra×d and a right-hand side b∈Ra. We assume throughout that the LP is nondegenerate, so that each optimal vertex corresponds to a unique basis.
Upstream predictor and data. The upstream component is a regression model fθ:Z→Rd mapping features z∈Z⊆Rq to predicted cost vectors, parameterized by θ∈Θ with true parameter θ∗∈Θ. We have access to two datasets: training data S={(zi,c~i)}i=1n with possibly corrupted labels, and clean validation data V={(zv,cv)}v=1m with uncorrupted labels, where typically m≪n.
The label model is
ci=fθ∗(zi)+εi,
with εi zero-mean σε-subgaussian and mutually independent. A subset C⊆{1,…,n} of size ∣C∣=βn,β∈(0,1/2), indexes the corrupted training points:
c~i=ci+ηi(i∈C),c~i=ci(i∈/C),
where ηi is an additional perturbation. The validation set V contains the clean costs cj by assumption. Throughout the paper, c~i denotes the observed training label at index i, which equals the clean label ci when i∈/C. Equivalently, ηi=0 for i∈/C, so the decomposition c~i=ci+ηi holds for all i.
Fitting algorithm. Given a loss function ℓ:Rd×Rd→R, the standard empirical risk minimizer (ERM) on the training data is
θ^=argθ∈Θmini=1∑nℓ(fθ(zi),c~i).
For a given set of weights p1,…,pn, one can instead obtain the weighted ERM
θ^p=argθ∈Θmini=1∑npiℓ(fθ(zi),c~i),
with larger weights placing greater emphasis on the i-th training point. We assume throughout that the empirical risk is strictly convex in θ and twice differentiable [Koh and Liang, 2017], so that influence-function approximations are well defined.
4 Preliminaries
Bases, reduced costs, and optimality cones. A basis B⊆{1,…,d} is a set of indices such that the submatrix AB is invertible and AB−1b≥0 is feasible, and N(B)={1,…,d}∖B denotes the corresponding nonbasic set. For each nonbasic index k∈N(B), the edge direction is a d-dimensional vector
δ(B,k)=[−AB−1Akek],
where ek is the elementary unit vector in nonbasic coordinates corresponding to nonbasic index k. The edge direction represents the direction along which the nonbasic variable xk can increase from zero while maintaining feasibility [Bennouna et al., 2026, Ye et al., 2026]. The reduced cost of nonbasic variable k under cost vector c and basis B is
sk(c,B)=c⊤δ(B,k),
and B is optimal for c if and only if sk(c,B)≥0 for all k∈N(B). The set of cost vectors for which B is optimal forms the optimality cone
Λ(B)={c∈Rd:sk(c,B)≥0 for all k∈N(B)},
and the cones {Λ(B)}B cover Rd with overlaps only on measure-zero boundaries. Two cost vectors in the same cone induce the same optimal decision.
Regret. The quality of a predicted cost vector c^ relative to the true cost c is measured by the downstream regret:
Regret(c^,c)=c⊤x∗(c^)−c⊤x∗(c),
the excess true cost incurred by acting optimally under c^ rather than c. Regret is zero whenever c^ and c lie in the same optimality cone, regardless of error ∥c^−c∥.
Influence functions. Influence functions [Koh and Liang, 2017] provide a first-order approximation to the effect of perturbing the training distribution on the learned parameters. Consider the estimator obtained by upweighting training point wj=(zj,c~j) by ϵ:
where Hθ^=n1∑i=1n∇θ^2ℓ(fθ^(zi),c~i) is the empirical Hessian of the training loss at θ^. We refer to Iθ^(wj) as the influence of training point wj on θ^.
5 Reduced cost influence function
Recall that downstream regret is zero whenever the predicted cost c^ and the true cost c lie in the same optimality cone. Thus the prediction need not be accurate in norm; it need only lie in the correct cone. Conversely, predictions near the boundary of Λ(B) are unstable: small perturbations of c^ can push the prediction into an adjacent cone and induce a discontinuous jump in downstream cost.
The reduced cost sk(c,B) measures the slack in the k-th constraint defining Λ(B). Geometrically, the distance from c to the k-th cone boundary equals sk(c,B)/∥δ(B,k)∥, and the overall margin is given by the minimum such distance over k∈N(B) (this margin coincides with distance to degeneracy [El Balghiti et al., 2019, Liu et al., 2023] under nondegeneracy). Our goal is to quantify the influence of each training point on this margin, identify harmful points (particularly in C), and downweight them. To this end we introduce reduced cost influence functions (RCIFs).
Fix a validation input zv∈V and let c^v=fθ^(zv) be the predicted cost at zv. Let B be the optimal basis for c^v, and let k∈N(B) be a nonbasic index of interest. We wish to quantify how upweighting training point wj changes the reduced cost sk(c^v,B) at the validation point zv.
Viewing sk as a function of θ through the predictor, we have sk(fθ(zv),B)=δ(B,k)⊤fθ(zv). Applying the chain rule and evaluating at θ=θ^ in the influence direction Iθ^(wj) yields the following definition.
Definition 1 (Reduced Cost Influence Function). Let θ^ be the ERM hypothesis, let zv be a validation input, let c^v=fθ^(zv), and let B be the optimal basis for c^v. For a nonbasic index k∈N(B) and a training point wj, the reduced cost influence function is
RCIFk,θ^(zv,wj):=δ(B,k)⊤∇θfθ^(zv)Iθ^(wj).
The RCIF admits a direct interpretation: it is the first-order approximation of the change in the reduced cost sk(c^v,B) at validation point zv when training point wj is upweighted by a unit of ϵ. A positive RCIF means upweighting wj increases the reduced cost in direction k, pushing c^v deeper into Λ(B) along that facet. This signed, direction-aware signal is the basis for the reweighting schemes introduced in the next section.
5.1 RCIF score
We use the RCIF to construct aggregate scores for reweighting and refitting the predictor. We present two score variants: a natural two-sided score and a second, more refined directed score.
5.1.1 Two-sided weighting scheme
For each validation point wv∈V, let c^v=fθ^(zv) be the predicted cost, Bv the optimal basis for c^v, and define the most fragile nonbasic direction as
kv∗=argk∈N(Bv)min∥δ(Bv,k)∥sk(c^v,Bv),
i.e., the nonbasic index with the smallest reduced cost margin under c^v. This is the direction along which c^v is closest to the boundary of Λ(Bv), and thus the direction most vulnerable to a basis flip.
We say validation point wv is correct if Bv is also the optimal basis under the true cost cv, i.e., if c^v and cv lie in the same optimality cone, and incorrect otherwise. Let σv=2⋅1correct(wv)−1∈{−1,+1} encode this status.
The two-sided aggregate score for training point wj is
ΨjTS=m1wv∈V∑σv⋅RCIFkv∗,θ^(zv,wj).
The sign σv aligns two cases: at correct validation points we want to push c^v deeper into Λ(Bv), and at incorrect points, we wish to destabilize the current basis so that c^v may exit the wrong cone.
5.1.2 Directed weighting scheme
The two-sided score destabilizes incorrect validation points along the direction of smallest current margin, but this direction is not necessarily the one that would move c^v toward the correct cone. We have access to the true cost cv and can identify the directions along which the true cv indicates a basis change is warranted: specifically, those nonbasic indices k∈N(Bv) for which sk(cv,Bv)<0. These are the directions in which the true cost violates the optimality condition of the current basis Bv, and hence the directions whose nonbasic variables should enter the basis under cv.
We refine the choice of kv∗ accordingly. For correct validation points, we keep the most fragile direction as before. For incorrect validation points, we restrict the argmin to the set of true-cost-violating directions:
The directed aggregate score uses the same outer formula as the two-sided score but with this refined choice of kv∗:
ΨjD=m1wv∈V∑σv⋅RCIFkv∗,θ^(zv,wj).
The sign convention is unchanged. The refinement only changes which direction is destabilized. These scores can be used as additive weight adjustments directly, but an exponential refinement can improve performance in practice.
5.2 Exponential reweighting
Given an aggregate score Ψj (either ΨjTS or ΨjD) for each training point, we convert scores to training weights via an exponential family with temperature parameter λ>0:
pj=∑i=1nexp(λΨi)exp(λΨj).
We then refit the predictor by solving the weighted ERM problem with weights {pj}. The temperature hyperparameter λ controls the aggressiveness of the reweighting: λ=0 recovers uniform weighting, while large λ concentrates mass on the highest-scoring training points. For experiments, we set λ=0.05.
5.3 Iterative reweighting
A single round of RCIF reweighting evaluates the influence of each training point at the original ERM estimator θ^. After the refit, however, the predictor has changed, and so have the optimal bases at validation points and the most fragile (or directed) nonbasic directions. We can sharpen the signal by recomputing the scores at the refitted estimator and accumulating them across iterations.
For τ iterations, let Ψj(t) denote the aggregate score of training point wj at the t-th iteration, computed using θ^(t), the predictor fitted at the start of iteration t (with θ^(1) as unweighted ERM estimator). The iterative weight for wj at iteration τ is
Each iteration refits the predictor with weights pj(τ). We treat τ as a hyperparameter; in our experiments we set τ=5.
6 Theoretical results
We derive two properties of RCIF reweighting after one iteration of exponential weights: a signed score decrease for corrupted points, and validation-size regimes in which RCIF reweighting admits tighter regret upper bounds than the unweighted ERM and validation-only ERM baselines.
6.1 Setting and assumptions
We consider the same predict-then-optimize setting as defined in Section 3, but with a linear upstream model such that for parameter θ∈Rd×q, z∈Rq, fθ(z)=θz, and the loss function is square loss ℓ(c,c^)=∥c−c^∥2. Let θ^ denote standard ERM on training set S, θ^p denote the one-step RCIF-reweighted ERM, and θ^val denote the validation-only ERM fit on V. Unless stated otherwise, throughout this section, we make the following assumptions.
(D1) Bounded Features. Training and validation points (z,c) are drawn iid from distribution D, with ∥z∥≤R. Also let empirical design covariance Σ^:=n1∑i=1nzizi⊤∈Rq×q be invertible and satisfy λmincig(Σ^)≥μ>0.
(D2) Labels and noise. For both training and validation, for any i, for true parameter θ∗, ci=θ∗zi+εi with each entry of εi 0-mean σε-sub-Gaussian, independent of each other and features.
(D3) Corruption set. A set C⊂{1,…,n} of size ∣C∣=βn is drawn uniformly at random, independently of features and noise, with β∈(0,1/2).
(D4) Bounded directional corruption. For j∈C, the corruption is of the form c~j=cj+ηj where ηj=−αδ^j, and where δ^j:=δ(Bj∗,kj)/∥δ(Bj∗,kj)∥ is the unit-norm direction at the optimal basis Bj∗ at cj for non-basic direction kj∈N(Bj∗) chosen independently of validation sample or learned estimator.
(D5) Bounded LP geometry. ∥δ(B,k)∥≤D for every basis B and nonbasic k.
6.2 RCIF score decomposition
We present a factorization of the RCIF, which leads to a score decomposition that isolates a “clean” RCIF score and a “corrupted” RCIF score from corruption ηj.
Lemma 1 (RCIF Score Factorization). We can factor the RCIF of training point wj on a single validation input zv on non-basic direction k into two different terms, a downstream residual interaction term, and an input alignment term. Then we have that
where κ(zv,zj) denotes Mahalanobis inner product zvTΣ^−1zj and rj denotes the residual of training point j, rj:=θ^zj−c~j.
Now we may show that the RCIF score can be decomposed into a clean and corrupted term.
Lemma 2 (RCIF Score Decomposition). For fixed θ^ and training point wj=(zj,c~j)=(zj,cj+ηj), we can decompose the RCIF score Ψj into a clean score and noise term: Ψj=Ψjclean+uj⊤ηj where uj=m1∑wv∈Vσvκ(zj,zv)δ(Bv,kv∗), where k∗ is the appropriate direction depending on the weighting scheme, and Ψjclean is the score if the score were calculated using wj=(zj,cj).
These lemmas hold without Assumptions (D1)-(D5) (handling any ηj, not just the one in D4). Via this decomposition, we can obtain results that show how scoring on corrupted points differs between clean and corrupted points, with differences in magnitude under zero-mean corruption (see Appendix A.3) as well as signed score decrease for directional corruption as in D4.
6.3 Decreased corruption score
We show that under certain settings, our scoring method will give a lower score to corrupted points. First we define an alignment parameter.
Definition 2 (Validation alignment). For a fresh sample (zj,cj), and fixed θ^, conditional on (θ^,zj,cj), define the alignment parameter
Theorem 1 (Signed score decrease under alignment; informal). Adopt Assumptions (D1)–(D5). Let (zj,cj) be a fresh sample drawn from D independently of θ^ and V, and let c~j=cj+ηj be its directional corruption (D4). Suppose γ:=γ(θ^,zj,cj)>0. Then, in expectation over V conditional on (θ^,zj,cj), the score on the corrupted point is shifted by −αγ relative to its clean counterpart, and with probability at least 1−exp(−mγ2/(8Mγ2)) over the same randomness, for constant Mγ,
Ψj(c~j)−Ψj(cj)≤−2αγ.
The full statement, constants, and proof appear as Theorem 4 in Appendix A.4.
Remark 1. The assumption that γ>0 is a natural one. Note that σv>0 holds if θ^ is similar to θ∗, i.e. the upstream model makes predictions in the same cone. Furthermore, κ(zv,zj)>0 is likely positive if the distribution is tight around zˉ=E[z]=0, with large n. A tight distribution also makes δ(Bv,kv∗)⊤δ^j>0 likely, as it holds when a large proportion of the cost-vector validation distribution falls into a single optimality cone with the same fragile direction.
Thus, if a freshly sampled point is corrupted via Assumption D4, w.h.p. its RCIF score is decreased compared to its clean counterpart. This requires the point to be out-of-sample, but we show an in-sample counterpart with an additional O(1/n) slack in Appendix A.5.
6.4 Expected regret upper-bound comparison
Under further assumptions, we can obtain regimes on validation set size m in which the RCIF reweighted solution θ^p, has tighter upper-bounds on the expected regret than those of the standard ERM solution θ^, and the validation-only solution θ^val. For intuition, we include two relevant assumptions below.
Assumption 1 (High probability alignment). There exist constants γ0>0 and δγ∈(0,1/n) such that
Pr[γ(θ^,zj,cj)≥γ0]≥1−δγ,
where the probability is over (θ^,zj,cj) with θ^ fit on iid samples drawn from D (D1) and (zj,cj) independently drawn from D.
The assumption says the conditional alignment is bounded away from zero with high probability. To obtain a result on regret, we require the following condition. Furthermore, let M be an RCIF score upper-bound ∣Ψj∣≤M, which holds under (D1)-(D5) with bounded residuals.
Assumption 2 (Margin). There exists a constant ω>0 such that
πv(θ⋆z)≥1/ωalmost surely under w=(z,c)∼D,
where πv(c):=mink∈N(B⋆(c))sk(c,B⋆(c))/∥δ(B⋆(c),k)∥ is the reduced-cost margin at c.
Theorem 2 (Validation-size regret regimes; informal). Adopt Assumptions (D1)–(D5), Assumption 1, and Assumption 2, and additional regularity assumptions listed in Appendix A.6. There exist thresholds m∗(λ),m∗(λ)∈[1,∞], depending on the problem constants (e.g., σε,α,β,R,μ,D,γ0,ω), such that in the asymptotic regime n→∞:
(Lower threshold m∗.) For all m>m∗(λ), the RCIF reweighted estimator θ^p admits a tighter expected regret upper bound than the unweighted ERM θ^. The threshold is finite whenever the contraction factor Φ(λ,m,n) from Lemma 6 eventually drops below β⋅A (for some constant A) in m.
(Upper threshold m∗.) For all m<m∗(λ), θ^p admits a tighter expected regret upper bound than the validation-only ERM θ^val. The threshold is finite, since the irreducible corruption bias of θ^p eventually exceeds val-only's 1/m variance.
(Sweet spot.) When m∗(λ)<m∗(λ), every m in this interval admits a tighter expected regret upper bound for θ^p than for both baselines simultaneously.
The thresholds and the sweet-spot condition are characterized explicitly in terms of Φ(λ,m,n) in Theorem 7 (Appendix A.6), where the full statement, constants, and proof appear.
Remark 2. Theorem 2 compares upper bounds on expected regret, not the regrets themselves. However, the thresholds indicate a transition region in validation size: small m favors training-data methods (unweighted ERM), large m favors validation-only ERM, and RCIF reduces the bias enough to compete with both in the intermediate regime as observed in Section 7.
7 Experimental results
We evaluate our reweighting scheme across several settings, measuring out-of-sample regret on a clean test set when the training data is corrupted but a small clean validation set is available. To simulate label corruption, we uniformly sample a fraction β (default 0.3) of the training points and add isotropic Gaussian noise to their cost labels; the validation and test sets remain clean.
Methods. We compare ten methods. Iterative Exp. Directed (ours): iterative exponential reweighting with directed score ΨD. Exp. Two-Sided (ours): single-round exponential reweighting with ΨTS. Directed (ours): additive reweighting pi=1/n+ϕΨiD with ϕ=0.05. Unweighted: ERM on the corrupted training set. RC Weight: single-round exponential reweighting using the raw reduced-cost margin ΨRC=mink∈N(Bj)sk(c^j,B^j) as score. Validation Only: ERM on the clean validation set alone. SPO Influence Weight: reweighting via influence functions on the SPO+ surrogate loss rather than reduced costs; the closest analog to our method, isolating the contribution of reduced costs over a surrogate loss (Appendix B.7.4). SPO+ Validation Only: an end-to-end predictor trained by subgradient descent on the SPO+ loss on the validation set alone, initialized at the validation-only least-squares fit. SPO+ Finetune: unweighted ERM on the noisy train-plus-validation pool, fine-tuned by SPO+ subgradient descent on the validation set. Clean ERM (oracle): ERM on the full uncorrupted dataset, a reference lower bound on achievable regret. For all methods except the validation-only ones, we fold the clean validation set into the second-stage fit, assigning each validation point the maximum weight given to any training point, so every method using training data sees the same total data. Additional experiments and details appear in Appendix B.
7.1 Random linear program
We sample a random constraint matrix A and right-hand side b defining the downstream LP, and a random linear map θ∗ from features to costs. Training, validation, and test inputs are drawn i.i.d., with cost labels c=θ∗z+ε. The upstream predictor is a linear model fit by squared loss. Table 1 reports results with upstream dimension 20, LP dimension 10, 20 constraints, 200 training points, 50 validation points, 150 test points, and corruption rate β=0.3. Iterative Exp. Directed achieves the lowest regret, the gap to unweighted is modest in this setting but significant under a two-sided paired Wilcoxon signed-rank test over seeds (p=0.007).
Method
Random LP
Shortest Path
NN Upstream
Iterative Exp. Directed
0.3451 ± 0.0133
0.9437 ± 0.0172
1.4511 ± 0.0187
Exp. Two-Sided
0.3535 ± 0.0129
1.0009 ± 0.0175
1.4211 ± 0.0196
Directed
0.3531 ± 0.0129
0.9825 ± 0.0171
1.3958 ± 0.0217
Unweighted
0.3564 ± 0.0130
1.0029 ± 0.0169
1.4317 ± 0.0198
RC Weight
0.3549 ± 0.0131
1.0035 ± 0.0169
1.4255 ± 0.0227
Validation Only
0.4184 ± 0.0191
0.9989 ± 0.0181
1.4208 ± 0.0228
SPO Influence Weight
0.3509 ± 0.0124
0.9560 ± 0.0158
1.4626 ± 0.0183
Clean ERM (oracle)
0.2785 ± 0.0109
0.8513 ± 0.0171
1.3452 ± 0.0190
SPO+ Val Only
0.4854 ± 0.0216
1.0914 ± 0.0182
-
SPO+ Finetune
0.3666 ± 0.0140
1.0042 ± 0.0176
-
Table 1: Mean test regret over 100 seeds under random LP setting, shortest path setting with a linear upstream, and shortest path setting with a neural-network upstream. Best per column in bold.
7.2 Shortest path setting
For a more structured downstream LP, we consider the shortest-path problem on a grid network, following Elmachtoub and Grigas [2022]: traverse from the northwest to the southeast corner of the grid. We use the PyEPO library [Tang and Khalil, 2022] to generate the dataset with an upstream linear model fit via squared loss. Table 1 reports results on a 4 × 4 grid with upstream input dimension 30, 400 training points, 100 validation points, 200 test points, and β=0.2. On this more structured problem, RCIF reweighting yields substantially larger gains: Iterative Exp. Directed again performs best, by a much wider margin than in the random LP setting (paired p<0.048 for all methods). Furthermore, though the raw magnitude difference between methods is small, the recovery relative to Clean ERM is large: our method recovers 39% of the error induced by noise (0.152 between Clean ERM and Unweighted) whereas the next best method SPO Influence Weight only recovers 30%.
7.3 Neural network upstream
To demonstrate that the method retains value when the upstream predictor is nonlinear, we replace the linear model with a two-layer fully-connected network with hidden dimension 8 and Tanh activation as seen in the last column of Table 1. We use the shortest path setting again, with a 5×4 grid, upstream input dimension 30, 200 training points, 100 validation points, 200 test points, and β=0.3. We compare methods that leave the training procedure unchanged (reweighting and the clean-label reference); the SPO+ Finetune and SPO+ Validation Only baselines are defined for the linear upstream and require a specialized pipeline, so we omit them. Here the additive Directed variant performs best. We conjecture that nonlinearity makes the iterations of Iterative Exp. Directed harmful, since influence-function approximation error compounds across iterations, consistent with the known fragility of influence functions in nonlinear settings [Basu et al., 2020]. Correspondingly, the non-iterative Exp. Two-Sided performs relatively better here than in the linear settings, and the Directed variant yields strong improvements through more targeted scoring without added error.
7.4 Validation size study
Now we connect back to our theoretical result in Theorem 2, which provides conditions on the validation set size for which our method has an improved regret upper bound by providing a study on validation set size on shortest path problems (4×4 grid, upstream input dimension 20, 500 training points, 200 test points, corruption rate β=0.3, 100 seeds with validation set varied over {5,10,20,50,100,150}) and observing that it translates to real regret improvements. As the size of the validation set increases, at first, the unweighted method θ^ outperforms our method, but then for sufficient validation data, our method θ^p wins, but then finally at large validation, θ^val wins. We can visually see this sweet spot where our method wins in Figure 1 on moderate validation set sizes, demonstrating its value in these regimes. See Appendix B.2 for details.
Figure 1: Test regret vs. validation size for shortest path on 4×4 grid (setup in text).
Method
deg = 1
deg = 2
deg = 4
Iterative Exp. Directed
0.9437±0.0172
0.4856±0.0135
0.2899±0.0115
Exp. Two-Sided
1.0009±0.0175
0.5682±0.0152
0.3393±0.0127
Directed
0.9825±0.0171
0.5347±0.0132
0.3208±0.0122
Unweighted
1.0029±0.0169
0.5715±0.0145
0.3483±0.0135
RC Weight
1.0035±0.0169
0.5713±0.0145
0.3496±0.0138
Validation Only
0.9989±0.0181
0.5284±0.0146
0.3782±0.0147
SPO Influence Weight
0.9560±0.0158
0.4999±0.0119
0.2975±0.0117
Clean ERM (oracle)
0.8513±0.0171
0.3972±0.0118
0.2340±0.0113
SPO+ Val Only
1.0914±0.0182
0.6857±0.0165
0.4410±0.0160
SPO+ Finetune
1.0042±0.0176
0.5406±0.0151
0.3200±0.0123
Table 2: Mean test regret, 50 seeds, shortest path across polynomial degree for feature-cost mapping.
7.5 Misspecification
Similarly to the neural network setting, we test what happens when the upstream model is misspecified. We keep the shortest-path setting (4×4 grid, input dimension 30, 400/100/200 train/validation/test points, β=0.2, 50 seeds) and raise the polynomial degree of PyEPO's feature-to-cost map from 1 to 2 and 4, so that the true costs are increasingly nonlinear in the features while the predictor remains linear and is fit by squared loss. We report results in Table 2. Raw regret values are not comparable across degrees, since PyEPO rescales the costs with the degree, so each column should be read on its own (degree 1 coincides with Table 1). The gains of RCIF reweighting are preserved and, relative to the corruption damage, grow proportionally with degree: Iterative Exp. Directed attains a test regret of 0.4856±0.0135 at degree 2 and 0.2899±0.0115 at degree 4, against 0.5715±0.0145 and 0.3483±0.0135 for unweighted ERM, and it has lower regret than every other competing method. RCIF scores only require the LP geometry at the predicted cost and the first-order response of the predictor, neither of which directly depends on the model being correctly specified, so the mechanism continues to identify harmful training points when the linear fit is only an approximation.
8 Conclusion
We introduced reduced cost influence functions, a downstream-aware signal that propagates training-point influence through the upstream predictor onto the reduced costs of the LP. Building on a score decomposition that isolates clean from corruption-induced contributions, we showed that RCIF scoring decreases the score of directionally corrupted points with high probability, and that there exist validation-size regimes in which RCIF reweighting admits tighter expected-regret upper bounds than unweighted and validation-only ERM. Experiments on random LPs, shortest-path routing, and a neural-network upstream are consistent with these regimes empirically and show consistent gains, particularly for shortest path. The neural-network setting also reveals a limitation: iterating exponential reweighting compounds the approximation error when the upstream is nonlinear, but the non-iterative variant still maintains strong performance. Furthermore, the downstream problem is currently limited to LPs, with assumed nondegeneracy for theoretical results. Promising directions include relaxing the nondegeneracy and connecting with the distance to degeneracy concept, extending the framework to MILPs and convex programs, and combining RCIF scoring with robust regression and active learning techniques for data selection.
References
Samyadeep Basu, Philip Pope, and Soheil Feizi. Influence functions in deep learning are fragile. arXiv preprint arXiv:2006.14651, 2020.
Omar Bennouna, Amine Bennouna, Saurabh Amin, and Asuman Ozdaglar. What data enables optimal decisions? an exact characterization for linear optimization. Advances in Neural Information Processing Systems, 38:166020–166049, 2026.
Dimitris Bertsimas and Nathan Kallus. From predictive to prescriptive analytics. Management Science, 66(3):1025–1044, 2020.
Battista Biggio and Fabio Roli. Wild patterns: Ten years after the rise of adversarial machine learning. In Proceedings of the 2018 ACM SIGSAC conference on computer and communications security, pages 2154–2156, 2018.
Tamara Broderick, Ryan Giordano, and Rachael Meager. An automatic finite-sample robustness metric: when can dropping a little data make a big difference? arXiv preprint arXiv:2011.14999, 2020.
Ilias Diakonikolas, Gautam Kamath, Daniel Kane, Jerry Li, Jacob Steinhardt, and Alistair Stewart. Sever: A robust meta-algorithm for stochastic optimization. In International Conference on Machine Learning, pages 1596–1606. PMLR, 2019.
Priya Donti, Brandon Amos, and J Zico Kolter. Task-based end-to-end model learning in stochastic optimization. Advances in neural information processing systems, 30, 2017.
Othman El Balghiti, Adam N Elmachtoub, Paul Grigas, and Ambuj Tewari. Generalization bounds in the predict-then-optimize framework. Advances in neural information processing systems, 32, 2019.
Adam N Elmachtoub and Paul Grigas. Smart “predict, then optimize”. Management Science, 68(1): 9–26, 2022.
Dan Hendrycks, Mantas Mazeika, Duncan Wilson, and Kevin Gimpel. Using trusted data to train deep networks on labels corrupted by severe noise. Advances in neural information processing systems, 31, 2018.
Yichun Hu, Nathan Kallus, and Xiaojie Mao. Fast rates for contextual linear optimization. Management Science, 68(6):4236–4245, 2022.
Hyungki Im, Wyame Benslimane, and Paul Grigas. Smart surrogate losses for contextual stochastic linear optimization with robust constraints. arXiv preprint arXiv:2505.22881, 2025.
Pang Wei Koh and Percy Liang. Understanding black-box predictions via influence functions. In International conference on machine learning, pages 1885–1894. PMLR, 2017.
Connor Lawless and Angela Zhou. A note on task-aware loss via reweighting prediction loss by decision-regret. arXiv preprint arXiv:2211.05116, 2022.
Feng Liu, Bo Han, Tongliang Liu, Chen Gong, Gang Niu, Mingyuan Zhou, Masashi Sugiyama, et al. Probabilistic margins for instance reweighting in adversarial training. Advances in neural information processing systems, 34:23258–23269, 2021.
Mo Liu, Paul Grigas, Heyuan Liu, and Zuo-Jun Max Shen. Active learning in the predict-then-optimize framework: A margin-based approach. arXiv preprint arXiv:2305.06584, page 2, 2023.
Curtis Northcutt, Lu Jiang, and Isaac Chuang. Confident learning: Estimating uncertainty in dataset labels. Journal of Artificial Intelligence Research, 70:1373–1411, 2021.
Yash P Patel, Sahana Rayan, and Ambuj Tewari. Conformal contextual robust optimization. In International Conference on Artificial Intelligence and Statistics, pages 2485–2493. PMLR, 2024.
Meng Qi, Paul Grigas, and Zuo-Jun Shen. Integrated conditional estimation-optimization. Operations Research, 2025.
Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. In International conference on machine learning, pages 4334–4343. PMLR, 2018.
Noah Schutte, Krzysztof Postek, and Neil Yorke-Smith. Robust losses for decision-focused learning. arXiv preprint arXiv:2310.04328, 2023.
Sanket Shah, Kai Wang, Bryan Wilder, Andrew Perrault, and Milind Tambe. Decision-focused learning without decision-making: Learning locally optimized decision losses. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems, volume 35, pages 1320–1332. Curran Associates, Inc., 2022.
Fatemeh Sheikholeslami, Ali Lotfi, and J Zico Kolter. Provably robust classification of adversarial examples with detection. In International Conference on Learning Representations, 2021.
Chunlin Sun, Linyu Liu, and Xiaocheng Li. Predict-then-calibrate: A new perspective of robust contextual lp. Advances in neural information processing systems, 36:17713–17741, 2023.
Bo Tang and Elias B Khalil. Pyepo: A pytorch-based end-to-end predict-then-optimize library for linear and integer programming. arXiv preprint arXiv:2206.14234, 2022.
Yuhan Ye, Saurabh Amin, and Asuman Ozdaglar. Learning decision-sufficient representations for linear optimization. arXiv preprint arXiv:2603.18551, 2026.
Christopher Yeh, Nicolas Christianson, Alan Wu, Adam Wierman, and Yisong Yue. End-to-end conformal calibration for optimization under uncertainty. arXiv preprint arXiv:2409.20534, 2024.
Jingfeng Zhang, Jianing Zhu, Gang Niu, Bo Han, Masashi Sugiyama, and Mohan Kankanhalli. Geometry-aware instance-reweighted adversarial training. arXiv preprint arXiv:2010.01736, 2020.
A Technical appendices and supplementary material
A.1 Proof of Lemma 1
RCIF score factorization
Proof. By definition of the influence function for linear models, the Hessian of the average training loss, viewed as an operator on Rd×q (vectorized in row-major order), is
Hθ^=n1i=1∑n∇θ^2∥θzi−c~i∥2=2Id⊗Σ^,
since the (l1,m1;l2,m2) entry of the Hessian is 21[l1=l2](zi)m1(zi)m2, and summing gives 21[l1=l2]Σ^m1m2. The inverse is Hθ^−1=21Id⊗Σ^−1. Let vec denote row-major vectorization so vec(rjzj⊤)=rj⊗zj. The influence function is
where the second equality follows by the directional derivative of a linear function, and the third equality follows by plugging in the derived influence function.
A.2 Proof of Lemma 2
RCIF score decomposition
Proof. By Lemma 1, we can write the RCIF score on corrupted point wj:
so we see that the score on a corrupted point decomposes into an uncorrupted score and an additional noise term.
A.3 Score difference in magnitude for corrupted points
Instead of the directed corruption paradigm in Assumption D4, we use the following:
For j∈C, c~j=cj+ηj where ηj is an additional bounded perturbation such that ηj is zero-mean and independent from S, V and across indices.
We show that the RCIF score magnitude for a fresh sample (independent of S,V) that has been corrupted (zj,c~j)=(zj,cj+ηj) is larger than the magnitude for uncorrupted version on (zj,cj).
Theorem 3 (Magnitude separation in expectation). Let (zj,cj) be a fresh sample with cj=θ∗zj+εj, independent of S used to fit θ^. Assume the corruption ηj satisfies
E[ηj∣G]=0,Cov(ηj∣G)⪰ση2I,
where σ-algebra G=σ(θ^,V,zj,cj). Let Ψjclean be the score evaluated at the clean label (zj,cj) and let Ψj be the score evaluated at (zj,c~j)=(zj,cj+ηj). Then
E[Ψj2−(Ψjclean)2]≥ση2E∥uj∥2≥0.
where under most distributions the last inequality is strict positivity.
Proof. By the score decomposition (Lemma 2), Ψj=Ψjclean+uj⊤ηj. Let Δj=uj⊤ηj, so
Ψj2−(Ψjclean)2=2ΨjcleanΔj+Δj2.
Since Ψjclean and uj are G-measurable and E[ηj∣G]=0,
E[ΨjcleanΔj∣G]=Ψjcleanuj⊤E[ηj∣G]=0,
and by the covariance hypothesis,
E[Δj2∣G]=uj⊤Cov(ηj∣G)uj≥ση2∥uj∥2.
Taking outer expectation and applying the tower rule gives E[Ψj2−(Ψjclean)2]≥ση2E∥uj∥2≥0. However, we note that E∥uj∥2=0 only if it is a.s. 0, which is a measure-0 event under reasonable data distributions.
A.4 Statement and proof of Theorem 1
Theorem 4 (Decreased corruption score under alignment). Adopt Assumptions (D1)–(D5). Let (zj,cj) be a fresh sample drawn from D independently of θ^ (fit on S) and of V, and let c~j=cj+ηj be its directional corruption (D4). Suppose γ:=γ(θ^,zj,cj)>0 from Definition 2. Then conditioned on F=σ(θ^,zj,cj):
E[Ψj−Ψjclean∣F]=−αγ<0.
where Ψjclean is as defined in Lemma 2. For every t∈(0,γ),
P(Ψj−Ψjclean≥−α(γ−t)∣F)≤exp(−2Mγ2mt2),
where Mγ=DR2/μ≥∣σvκ(zj,zv)δ(Bv,kv∗)⊤δ^j∣. In particular, with probability ≥1−exp(−mγ2/(8Mγ2)) (taking t=γ/2):
Ψj−Ψjclean≤−2αγ<0.
Proof. The wv are iid, and conditional on F=σ(θ^,zj,cj), so are the bounded scalars Wv=σvκ(zj,zv)δ(Bv,kv∗)⊤δ^j∈[−Mγ,Mγ] with mean E[Wv]=γ. By Assumption D4 and Lemma 2,
(2) Concentration. By Hoeffding's inequality for iid bounded random variables (range 2Mγ), for any t > 0:
P(m1v∑Wv≤γ−tF)≤exp(−2Mγ2mt2).
Multiplying by −α (flips the inequality): {m1∑Wv≤γ−t}={Ψj−Ψjclean≥−α(γ−t)}, which gives the stated bound. Taking t=γ/2 yields Ψj−Ψjclean≤−αγ/2 with probability ≥1−exp(−mγ2/(8Mγ2)).
A.5 In-sample signed decreased corruption scoring
Theorem 4 assumes that the corrupted point (zj,c~j)=(zj,cj+ηj) (where ηj is a bounded directional corruption as in Assumption D4) is independent of the fitted estimator θ^. However, we would like to see that if wj is one of the training points used to fit θ^, that Theorem 4 still holds. We show that under additional mild regularity assumptions, the conclusion of Theorem 4 continues to hold for in-sample j, with an additive O(1/n) slack.
We replace θ^ everywhere in the score by the leave-one-out estimator θ^−j, which is independent of wj by construction, and control the resulting approximation error.
where Bv−,kv∗−,σv− are the basis, fragile direction, and correctness sign computed at c~v−:=θ^−jzv. Thus Ψjloo is the score one would compute by substituting θ^−j for θ^ throughout the score formula.
We make an additional assumption
Assumption 3. Assume that residuals are bounded by a constant, i.e. ∥rj∥≤Rr (and for rj−).
Note that by D1, the leverage satisfies hj≤R2/(nμ), so hj→0 at rate 1/n and 1−hj≥1/2 for n≥2R2/μ.
Lemma 3 (Exact LOO identities for linear ERM). Suppose hj<1. Then
Proof. Set A:=nΣ^ and aj:=A−1zj=Σ^−1zj/n, so zj⊤aj=hj. By the Sherman–Morrison identity,
(A−zjzj⊤)−1=A−1+1−hjajaj⊤.
Multiplying by (n−1) gives (3) after simplification.
By the closed form of least squares, θ^=(∑ic~izi⊤)A−1 and θ^−j=(∑i=jc~izi⊤)(A−zjzj⊤)−1, expansion using the identity above yields
θ^−j=θ^+1−hj(θ^zj−c~j)aj⊤=θ^+1−hjrjaj⊤,
which is (1). Right-multiplying by zj and subtracting c~j gives rj−=rj+1−hjrjhj=1−hjrj, which is (2).
We now make an assumption that the optimal bases of predictions by θ^ and θ^−j are similar.
Assumption 4 (Validation basis stability under LOO). For every v∈V, the optimal basis Bv, the fragile direction kv∗, and the correctness sign σv are unchanged when c^v is replaced by c^v−, i.e. Bv−=Bv, kv∗=kv∗, and σv−=σv.
This is a reasonable assumption which we briefly justify: it holds as n increases.
Remark 3 (One sufficient condition for Assumption 4 with two-sided scoring). Given (D1)-(D5), and that for every v∈V the second-smallest normalized reduced cost at c^v (by normalized reduced cost we mean ∥δ(Bv,k)∥sk(c^v,Bv)) exceeds the smallest by at least 2ρ, with the smallest value at least ≥ρ, where
ρ>nμ(1−hj)R2Rr.
Then Assumption 4 holds, assuming two-sided score.
Proof. By Lemma 3, ∥θ^−j−θ^∥op≤n(1−hj)∥rj∥∥Σ^−1zj∥≤nμ(1−hj)RRr, so ∥c^v−c^v−∥≤R2Rr/(nμ(1−hj)). For any unit direction δ(B,k)/∥δ(B,k)∥, by Cauchy-Schwarz
Hence each normalized reduced cost shifts by less than ρ. Since the smallest is at least ρ and the gap to the second-smallest exceeds 2ρ, signs of all reduced costs are preserved (so Bv−=Bv) and the argmin is preserved (so kv∗−=kv∗). The sign σv is also preserved since Bv−=Bv. □
Assumption 4 is imposed for the chosen scoring rule. Remark 3 gives one sufficient condition for Assumption 4 in the two-sided scoring case.
Lemma 4 (LOO stability of the RCIF score). Under Assumptions (D1)-(D5) and 4,
∣Ψj−Ψjloo∣≤nC(∥rj∥),
for a constant C=C(R,μ,D) depending only on the regularity parameters. In particular, given Assumption 3, we have ∣Ψj−Ψjloo∣≤C′/n for C′=C′(R,μ,D,Rr).
Proof. Recall the score can be written as Ψj=−uj⊤rj with
uj=m1v∈V∑σvκ(zv,zj)δ(Bv,kv∗),
and analogously Ψjloo=−(uj−)⊤rj−, where uj− uses σv−,Bv−,kv∗−,κ−. Under Assumption 4, σv−=σv,Bv−=Bv,kv∗−=kv∗, so
since ∥uj∥≤R2D/μ is bounded under Assumptions D1 and D5 and ∥rj−∥≤c3∥rj∥ by Lemma 3 (2) for some threshold of n, (for example, c3=2 for n≥2R2/μ). Then Assumption 3 directly upperbounds ∥rj∥ and ∥rj−∥ to provide the stated C′/n form. □
Now we can show the in-sample result.
In-sample setup. For the in-sample variant, the σ-algebra of interest is F−:=σ(θ^−j,zj,cj), under which corruption ηj=−αθ^j is independent of θ^−j. The score decomposition of Lemma 2 applies directly to Ψjloo:
Theorem 5 (Signed score decrease, in-sample variant). Adopt Assumptions (D1)-(D5) and Assumptions 3, 4. Let γ−:=γ(θ^−j,zj,cj)>0 be the validation alignment evaluated at the LOO estimator, and let C,C′ be the coefficients from Lemma 4. Then for a point wj that has been directionally corrupted (D4):
(Expectation)
E[Δj∣F−]=−αγ−+O(1/n),
where Δj:=Ψj−Ψjclean and the O(1/n) term is bounded by (2C′+Cα)/n.
(High probability) For every t∈(0,γ−), on the event of probability ≥1−exp(−mt2/(2Mγ2)) guaranteed by Theorem 4,
Δj≤−α(γ−−t)+n2C′+Cα.
In particular, taking t=γ−/2 and assuming n≥(8C′+4Cα)/(αγ−),
Δj≤−4αγ−
on an event of probability ≥1−exp(−m(γ−)2/(8Mγ2)).
Proof. Let Δjloo:=(uj−)⊤ηj. Since θ^−j is independent of wj, the proof of Theorem 4 applies verbatim to Δjloo, yielding
Substituting into each statement of Theorem 4 gives parts (1) and (2).
Remark 4. For n large enough the in-sample guarantee of Theorem 5 is qualitatively the same as the cross-fit version. The replacement of γ by γ− is harmless for our purposes since γ−→γ as n→∞ (because θ^−j→θ^ at rate 1/n, and the alignment parameter is continuous in the estimator under Assumption 4).
A.6 Statement and proof of Theorem 2
In Appendix Subsection A.5 we showed that a single corrupted point receives a lower score with high probability. We now aggregate this across the corruption set to obtain an unconditional expected reduction of the worst-case corrupted bias of the weighted ERM, relative to θ^ and θ^val. Under constant-rate, constant-magnitude corruption, no estimator using only the corrupted training data can drive corruption bias to zero, but RCIF reweighting reduces the constant.
Then we may translate the reduction in bias to regret (under the simplifying assumption 2).
A.6.1 Bounding weight ratio between clean and corrupted points
Remark 5. Under (D1)−(D5) and Assumption 3 let M=RrDR2/μ, and observe that ∣Ψj∣<M, a.s. ∀j.
We work with the leave-one-out objects of Appendix A.5: θ^−j,κ−(z,z′):=z⊤Σ^−j−1z′, and the LOO score aggregator
uj(−1):=m1v∈V∑σv−κ−(zj,zv)δ(Bv−,kv∗−).
Quantities of interest
For linear/squared-loss ERM, the parameter error decomposes as
which directly drive the corruption bias of the corresponding estimators.
We note that we can reduce the problem from the corruption set to one corrupt index, due to Assumptions D1 and D3.
Lemma 5 (Exchangeability of corruption). For any sequence (Fj) such that the joint law of (Fj,1j∈C)j=1n is permutation-invariant,
Ej∈C∑Fj=nβE[F1∣1∈C].
Proof. By (D3), (11∈C,…,1n∈C) is exchangeable with marginal mean β. By (D1)–(D2), (zi,εi) are iid, so the joint law of (wi,1i∈C)i=1n is permutation-invariant. Hence E[1j∈CFj]=E[11∈CF1] for every j, and summing n identical terms with Pr(1∈C)=β gives the claim. □
Remark 6 (Deterministic bound on the score sum). Under (D1)−(D5) and Assumption 3, since ∣Ψi∣≤M a.s., the sum of scores
Q:=i=1∑neλΨi
admits the deterministic lower bound Q≥ne−λM a.s., and hence 1/Q≤eλM/n a.s.
Lemma 6 (Weight-ratio contraction for a clean vs corrupted point). Focusing on the first training index, and under Assumption 4, let
ΦC(λ):=E[eλΨ1∣1∈C],ΦCˉ(λ):=E[eλΨ1∣1∈/C].
Under (D1)−(D5), Assumptions 1 and 3, for every λ>0,
where Ψ1cf:=−u1(−1)⊤(θ^−1z1−c1) (which represents the counterfactual score) depends only on θ^−1,V,z1,c1, using the clean cost c1.
Step 1: pointwise bound on the corruption shift. Define the high-probability event
F:={γ(θ^−1,z1,c1)≥γ0}∩{u1(−1)⊤δ^1≥γ0/2}.
By Assumption 1, Pr[γ(θ^−1,z1,c1)<γ0]≤δγ. Conditional on γ(θ^−1,z1,c1)≥γ0, Hoeffding's inequality applied to the iid bounded summands Wv defining u1(−1)⊤δ^1=m1∑vWv (cf. Theorem 5) gives
Pr[u1(−1)⊤δ^1<γ0/2∣γ≥γ0]≤e−mγ02/(8Mγ2).
By a union bound, Pr[Fc]≤δγ+e−mγ02/(8Mγ2).
Step 2: bound on ΦC. Conditional on {1∈C}, decompose
E[eλΨ1]=E[eλΨ11F]+E[eλΨ11Fc].
On F,Ψ1≤Ψ1cf−αγ0/2+O(1/n), so
E[eλΨ11F∣1∈C]≤e−λαγ0/2+O(λ/n)E[eλΨ1cf∣1∈C].
Off F,∣Ψ1∣≤M gives
E[eλΨ11Fc∣1∈C]≤eλM(δγ+e−mγ02/(8Mγ2)).
Step 3: counterfactual-MGF identification. We show that
E[eλΨ1cf∣1∈C]=ΦC(λ)+O(1/n).(4)
The counterfactual score Ψ1cf depends on the clean data (z1,c1) and the LOO estimator θ^−1. Its conditional distribution given {1∈C} differs from its distribution given {1∈/C} only through θ^−1: in the first case θ^−1 is fit on a sample with ∣C∣−1 corrupted points among {2,…,n}, in the second on a sample with ∣C∣ corrupted points. The marginal of (z1,c1) is identical in both cases since corruption assignment is independent of the clean data.
Coupling. We bound the difference between the two conditional expectations via a coupling. Sample uniformly from the clean data (zi,ci)i=2n, a subset S of size ∣C∣−1, and an additional index j⋆∈{2,…,n}∖S. Define two parallel LOO estimators on the same probability space:
• θ^−1A, fit with corruption set CS inside {2,…,n} (corresponding to 1∈C).
• θ^−1B, fit with corruption set CS∪{j∗} inside {2,…,n} (corresponding to 1∈/C).
By construction, the marginals of θ^−1A and θ^−1B coincide with the conditional distributions of θ^−1 given {1∈C} and {1∈/C} respectively, and θ^−1A,θ^−1B differ only in the corruption status of one training index, j∗. Lemma 3 then gives
θ^−1A−θ^−1B=O(1/n)a.s.,
and by Lemma 4 yields
Ψ1cf,A−Ψ1cf,B=O(1/n)a.s.
Bound on the expected corruption difference. On the coupling space, using ∣ea−eb∣≤emax(a,b)∣a−b∣ and ∣Ψ1cf∣≤M:
The marginal-matching property of the coupling identifies the two expectations on the left with the conditional expectations of interest:
E[eλΨ1cf∣1∈C]−E[eλΨ1cf∣1∈/C]=O(1/n).
See that on the event {1∈/C} the counterfactual coincides with the actual score, Ψ1cf=Ψ1, and therefore E[eλΨ1cf∣1∈/C]=ΦCˉ(λ). Substituting yields (4).
Step 4: combine and divide. Substituting (4) into the first conclusion of Step 2 gives
where the second line uses e−λαγ0/2+O(λ/n)=e−λαγ0/2(1+O(λ/n)) via first order Taylor expansion together with the boundedness ΦCˉ(λ)≤eλM and e−λαγ0/2+O(λ/n)=O(1) to absorb the cross-term e−λαγ0/2+O(λ/n)⋅O(1/n) into the O(1/n) term.
To divide both sides by ΦCˉ(λ), we use the deterministic lower bound
ΦCˉ(λ)=E[eλΨ1∣1∈/C]≥e−λM,(6)
which follows from Ψ1≥−M a.s. In particular 1/ΦCˉ(λ)≤eλM.
Theorem 6 (Expected corruption-bias contraction). Under Assumptions 1, 3, 4, and (D1)–(D5), the expected corruption-bias matrix of the reweighted estimator satisfies
E∥Tw∥F≤αβRe2λMΦ(λ,m,n),(7)
where Φ(λ,m,n) is the weight ratio bound in Lemma 6. The unweighted estimator's corruption bias satisfies the deterministic bound
E∥T0∥F≤αβR.(8)
The reweighted bound improves on the unweighted bound by the multiplicative factor e2λMΦ(λ,m,n), which is strictly less than 1 whenever Φ(λ,m,n)<e−2λM.
The reweighted second-moment bound improves on the unweighted one by the multiplicative factor e2λMΦ(λ,m,n)/β, which is strictly less than 1 whenever Φ(λ,m,n)<βe−2λM.
Proof. First moment. By the triangle inequality and ∥δ^jzj⊤∥F≤R a.s.,
∥Tw∥F≤j∈C∑pj∥αδ^jzj⊤∥F≤αRj∈C∑pja.s.
Taking expectation and applying exchangeability of (pj,1{j∈C}) across j (Lemma 5),
E∥Tw∥F≤αRE[j=1∑npj1{j∈C}]=αRnβE[p1∣1∈C].
By Remark 6, p1=eλΨ1/Q≤eλΨ1eλM/n a.s., so
E[p1∣1∈C]≤neλME[eλΨ1∣1∈C]=neλMΦC(λ).
By Lemma 6 ΦC(λ)≤Φcˉ(λ)Φ(λ,m,n) together with the deterministic bound Φcˉ(λ)≤eλM (from Ψ1≤M a.s.),
E[p1∣1∈C]≤ne2λMΦ(λ,m,n),
and (7) follows.
For T0: pi=1/n deterministically, so ∥T0∥F≤αR∑j∈C1/n=αRβ a.s., yielding E∥T0∥F≤αβR.
Second moment. From ∑ipi=1, ∥Tw∥F≤αR a.s., so ∥Tw∥F2≤αR∥Tw∥F pointwise. Taking expectation and substituting (7):
E∥Tw∥F2≤αRE∥Tw∥F≤α2βR2e2λMΦ(λ,m,n).
For T0, ∥T0∥F≤αβR a.s. as above, so E∥T0∥F2≤α2β2R2.
Now we can obtain a comparison in worst-case expected bias from each of θ^,θ^p,θ^val under additional assumptions.
Assumption 5. We assume the equivalent of D1 for the empirical covariance of the validation set, i.e. that the minimum eigenvalue is similarly bounded by μ>0.
Assumption 6. Assume the regularity condition that for each output dimension a∈[d], the row εa∈Rn of the noise matrix ε satisfies
E[εaεa⊤∣P,Z]⪯σε2In,
i.e., conditioning on the weights does not inflate the noise's second moment. This holds at leading order when the weight-noise interaction is benign (for example under sample splitting, i.e. fitting on one subset of training data, then weighting and refitting on the complement).
A.6.3 Bounding MSE error
Lemma 7 (Parameter MSE rates). Under (D1)–(D5) and Assumption 1, 3, 4, 5, 6 with γ0>0, there exist absolute constants A1unw,A1rcif,A1val,A2unw,A2rcif depending only on R and λM (with M=RrDR2/μ from Remark 5) such that
Proof. Write Y=θ∗Z+E+C, where Z=[z1,…,zn]∈Rq×n is the design, E=[ε1,…,εn]∈Rd×n collects the noise, and C:=−αUdiag(1j∈C)∈Rd×n collects the corruption shifts with U:=[δ^1,…,δ^n]. Throughout we use the elementary inequalities ∥AB∥F≤∥A∥F∥B∥op and (a+b)2≤2a2+2b2.
Bound (11) (unweighted). The OLS estimator θ^=YZ⊤(ZZ⊤)−1 satisfies
Multiplying by 2e4λM/μ2 contributes 2R2e6λMσε2d/(nμ2) to the bound.
Bias. By Theorem 6 (second-moment bound (9)), E∥Tw∥F2≤α2βR2e2λMΦ(λ,m,n). Multiplying by 2e4λM/μ2 contributes
μ22e6λMα2βR2Φ(λ,m,n).
Combining yields (12) with A1rcif=2R2e6λM and A2rcif=2e6λM, giving the standing relationships A1rcif=e6λMA1unw and A2rcif=e6λMA2unw.
Bound (13) (validation-only). The validation-only estimator θ^val is OLS on the clean validation sample of size m≥q. The unweighted argument applies verbatim with no corruption term and on the validation design, giving
E∥θ^val−θ⋆∥F2≤μ22E∥εˉval∥F2≤mμ22R2σε2d,
which is (13) with A1val=2R2=A1unw.
Now we must translate the above result on parameter MSE into one about regret.
Lemma 8 (Regret–MSE bridge). Suppose Assumption 2 holds, the LP diameter L:=supx,x′∈X∥x−x′∥ is finite, and the irreducible noise ε is σε-sub-Gaussian (so E∥ε∥2≤dσε2). For any estimator θ independent of the test sample w=(z,c),
E[Regret(θ)]≤C1E∥θ−θ⋆∥F2+C2.
where C1=2LωR2 and C2=8Lωdσε2.
Proof. Write c^:=θz, x^:=x⋆(c^), x⋆:=x⋆(c), so that c−c^=ε−(θ−θ⋆)z and ∥c−c^∥≤∥(θ−θ⋆)z∥+∥ε∥.
From ⟨c^,x^⟩≤⟨c^,x⋆⟩ (optimality of x^ at cost c^),
The event {x^=x⋆} implies c^ and c lie in different optimality cones, hence ∥c−c^∥≥πv(c). Since πv is the distance to a fixed closed union of hyperplanes, it is 1-Lipschitz, so
πv(c)=πv(θ⋆z+ε)≥πv(θ⋆z)−∥ε∥≥1/ω−∥ε∥.
Combining with ∥c−c^∥≤∥(θ−θ⋆)z∥+∥ε∥,
{x^=x⋆}⊆{∥(θ−θ⋆)z∥+2∥ε∥≥1/ω}.
Let X:=∥(θ−θ⋆)z∥+2∥ε∥. Then by the above calculations
Regret≤L∥c−c^∥1{X≥1/ω}≤LX1{X≥1/ω}≤LωX2,
using x1{x≥1/ω}≤ωx2 for x≥0. By (a+b)2≤2a2+2b2, X2≤2∥(θ−θ⋆)z∥2+8∥ε∥2.
Taking expectation and using ∥(θ−θ⋆)z∥≤R∥θ−θ⋆∥F together with E∥ε∥2≤dσε2:
Theorem 7 (Validation-size regret regimes). Adopt Assumptions (D1)–(D5) and Assumptions 1-6. Let C1:=2LωR2 and C2:=8Lωdσε2 be the constants from Lemma 8, and let
A1unw,A1rcif,A1val,A2unw,A2rcif be the constants from Lemma 7. Define the unconditional expected regret upper bounds
Then in the asymptotic regime n→∞ with m,β,α,λ held fixed, the following hold:
(1) (Lower bound on validation size: tighter expected regret bound for RCIF vs. unweighted ERM.) For all m>m⋆(λ) and n sufficiently large,
Rw(λ,m,n)<Runw(n)+o(1).
The threshold m⋆(λ) is finite whenever e−λαγ0/4<βA2unw/A2rcif, where γ0 is the minimum-margin constant from Assumption 1. With the relationship A2rcif=e46λMA2unw from Lemma 7, this reads λ(αγ0/4−6M)>ln(1/β), which holds for sufficiently large λ provided αγ0>24M.
(2) (Upper bound on validation size: tighter expected regret bound for RCIF vs. validation-only ERM.) For all m<m⋆(λ) and n sufficiently large,
Rw(λ,m,n)<Rval(m)+o(1).
The threshold m⋆(λ) is finite, since the bias term in Rw stabilizes to a positive constant as m→∞ while Rval(m)→C2.
By Lemma 6, Φ(λ,m,n)→e−λαγ0/4+o(1) as m→∞, so the set {m:Φ(λ,m,n)<βA2unw/A2rcif} is nonempty whenever e−λαγ0/4<βA2unw/A2rcif, and m⋆(λ) is well-defined. For all m>m⋆(λ) and n sufficiently large, the comparison holds strictly, giving conclusion (1) up to o(1).
Part (2): comparison with θ^val. Using A1val=A1unw from (C1),
By definition this holds for all m<m⋆(λ). To verify m⋆(λ) is finite: by Lemma 6, Φ stabilizes to the positive limit e−λαγ0/4 as m→∞, so f(m):=m⋅Φ(λ,m,n) grows at least linearly in m for large m and eventually exceeds the constant CA2unw/A2rcif.
Part (3): sweet spot. Direct from Parts (1) and (2).
B Additional experiments
B.1 Corruption rate study shortest path
We vary the corruption rate β across [0.1,0.5], observing that there is a similar tradeoff in corruption rate for θ^p vs θ^val as seen in Figure 2. As corruption rate increases, both unweighted and iterative exp. directed suffer in performance, while validation only remains constant. In particular, β=0.3 appears to be the crossover point. This is to be expected, as once the dataset becomes sufficiently noisy, it is difficult to fit on, regardless of reweighting or not, but we do observe that our method consistently retains lower regret compared to the unweighted ERM. These experiments were run on shortest path problems with fixed parameters over 50 seeds: 4×4 grid, upstream input dimension 30, 400 training points, 100 validation points, 200 test points. The full table is given below in Table 3
B.2 Validation study shortest path full details
We provide the performance of all methods across varying validation set sizes, not just the unweighted and validation only baselines. We see that RC Weight very slightly outperforms the unweighted
Method
β=0.1
β=0.2
β=0.3
β=0.5
Iterative Exp. Directed
0.9089±0.0172
0.9437±0.0172
0.9992±0.0211
1.0275±0.0160
Exp. Two-Sided
0.9528±0.0172
1.0009±0.0175
1.0580±0.0191
1.0817±0.0208
Directed
0.9357±0.0170
0.9825±0.0171
1.0433±0.0189
1.0568±0.0187
Unweighted
0.9573±0.0170
1.0029±0.0169
1.0610±0.0194
1.0784±0.0208
RC Weight
0.9575±0.0171
1.0035±0.0169
1.0604±0.0192
1.0780±0.0210
Validation Only
0.9989±0.0181
0.9989±0.0181
0.9989±0.0181
0.9989±0.0181
SPO Influence Weight
0.9212±0.0172
0.9560±0.0158
0.9998±0.0191
1.0307±0.0209
Clean ERM (oracle)
0.8513±0.0171
0.8513±0.0171
0.8513±0.0171
0.8513±0.0171
SPO+ Val Only
1.0914±0.0182
1.0914±0.0182
1.0914±0.0182
1.0914±0.0182
SPO+ Finetune
1.0015±0.0184
1.0042±0.0176
1.0160±0.0178
1.0233±0.0190
Table 3: Mean test regret as a function of corruption rate β. Best per column in bold.
baseline in performance particularly at smaller validation sizes, whereas our method excels starting in the medium validation set size range, with a larger margin. Results were obtained on the shortest path setting with 100 seeds on a 4×4 grid with upstream input dimension 20, 500 training points, 200 test points, and β=0.2, using the base setting from Table 1. We also provide the same setting
Method
∣V∣=5
∣V∣=10
∣V∣=20
∣V∣=50
∣V∣=100
∣V∣=150
∣V∣=200
Iterative Exp. Directed
1.0595±0.0140
1.0051±0.0127
0.9707±0.0123
0.9354±0.0120
0.9088±0.0107
0.8751±0.0107
0.8688±0.0111
Exp. Two-Sided
1.0050±0.0109
0.9935±0.0116
0.9789±0.0125
0.9586±0.0135
0.9458±0.0118
0.9228±0.0117
0.9127±0.0124
Directed
1.0015±0.0129
0.9756±0.0111
0.9659±0.0115
0.9520±0.0124
0.9389±0.0117
0.9071±0.0116
0.8964±0.0121
Unweighted
0.9857±0.0119
0.9736±0.0113
0.9714±0.0119
0.9627±0.0125
0.9516±0.0122
0.9282±0.0121
0.9184±0.0124
RC Weight
0.9855±0.0120
0.9732±0.0112
0.9713±0.0117
0.9634±0.0126
0.9515±0.0122
0.9280±0.0120
0.9179±0.0124
Validation Only
1.1854±0.0137
1.1710±0.0145
1.2471±0.0155
1.0366±0.0142
0.9563±0.0105
0.8940±0.0115
0.8871±0.0107
SPO Influence Weight
1.0009±0.0111
0.9771±0.0124
0.9506±0.0113
0.9257±0.0123
0.9185±0.0108
0.8864±0.0113
0.8813±0.0115
Clean ERM (oracle)
0.8256±0.0094
0.8265±0.0088
0.8279±0.0108
0.8255±0.0104
0.8129±0.0094
0.8068±0.0107
0.8178±0.0108
SPO+ Val Only
1.1854±0.0137
1.1710±0.0145
1.2471±0.0155
1.1180±0.0133
1.0386±0.0133
0.9778±0.0133
0.9567±0.0117
SPO+ Finetune
0.9982±0.0121
1.0064±0.0124
1.0234±0.0130
0.9997±0.0119
0.9657±0.0111
0.9356±0.0116
0.9248±0.0106
Table 4: Mean test regret as a function of validation set size ∣V∣. Best per column in bold.
with β=0.3 for Figure 1, where we demonstrate the crossing over point of Validation Only which is readily apparent at the higher corruption rate.
Method
∣V∣=5
∣V∣=10
∣V∣=20
∣V∣=50
∣V∣=100
∣V∣=150
Iterative Exp. Directed
1.0964±0.0146
1.0600±0.0132
1.0254±0.0126
0.9745±0.0117
0.9334±0.0107
0.9120±0.0121
Unweighted
1.0234±0.0133
1.0159±0.0113
1.0137±0.0116
0.9995±0.0122
0.9873±0.0114
0.9719±0.0120
Validation Only
1.1854±0.0137
1.1710±0.0145
1.2471±0.0155
1.0366±0.0142
0.9563±0.0105
0.8940±0.0115
Table 5: Mean test regret values across ∣V∣ for Fig. 1
B.3 Corruption rate study for random LP
We provide a similar study on corruption rate, now with the random LP downstream. The gaps between the reweighting methods are small: Iterative Exp. Directed and SPO Influence Weight (paired p≥0.18), and both improve on unweighted ERM by a modest margin that is significant at β=0.3 (p=0.016). Validation Only is constant across β and attains the lowest mean regret at β=0.5 as much of the data has been corrupted, but the difference to our method is within noise (p=0.42); the clean-ERM ceiling shows that the total damage from corruption is small in this setting (0.025 to 0.08 regret), which bounds what any reweighting can recover. The SPO+ baselines do not help here: fine-tuning on the validation set is worse than unweighted ERM at every β, and training on the validation set alone is far worse. Results were obtained with upstream input dimension 10, LP dimension 10, 20 constraints, train set size 200, validation set size 50, test set size 100, and 100 seeds.
B.4 Validation size study for random LP
We provide a similar study on validation set size, but for random LP downstream. Like we have previously observed, the impact of RCIF reweighting is less apparent in this setting (although still present). In particular, it appears that the range of validation set sizes for which the RCIF scoring
Method
β=0.1
β=0.2
β=0.3
β=0.5
Iterative Exp. Directed
0.3746±0.0176
0.3865±0.0180
0.3978±0.0195
0.4230±0.0181
Exp. Two-Sided
0.3774±0.0181
0.3893±0.0182
0.4037±0.0185
0.4331±0.0180
Directed
0.3771±0.0182
0.3896±0.0180
0.4010±0.0187
0.4341±0.0184
Unweighted
0.3764±0.0181
0.3896±0.0186
0.4053±0.0183
0.4333±0.0179
RC Weight
0.3772±0.0186
0.3906±0.0190
0.4046±0.0184
0.4333±0.0178
Validation Only
0.4173±0.0197
0.4173±0.0197
0.4173±0.0197
0.4173±0.0197
SPO Influence Weight
0.3709±0.0176
0.3863±0.0181
0.3957±0.0193
0.4251±0.0192
Clean ERM (oracle)
0.3513±0.0157
0.3513±0.0157
0.3513±0.0157
0.3513±0.0157
SPO+ Val Only
0.6970±0.0337
0.6970±0.0337
0.6970±0.0337
0.6970±0.0337
SPO+ Finetune
0.4357±0.0184
0.4455±0.0201
0.4407±0.0188
0.4694±0.0210
Table 6: Mean test regret as a function of corruption rate β on the random LP setting. Best per column in bold.
performs better than unweighted is smaller, which is likely due to the lack of structure in the downstream problem. Results were obtained with upstream input dimension 10, LP dimension 10, 20 constraints, train set size 200, test set size 100, and corruption rate β=0.5.
Method
∣V∣=5
∣V∣=10
∣V∣=20
∣V∣=50
∣V∣=100
∣V∣=150
Iterative Exp. Directed
0.6033±0.0331
0.5311±0.0258
0.4640±0.0221
0.4230±0.0181
0.3693±0.0185
0.3632±0.0160
Exp. Two-Sided
0.4774±0.0255
0.4704±0.0225
0.4491±0.0209
0.4331±0.0180
0.3848±0.0183
0.3758±0.0164
Directed
0.4766±0.0251
0.4667±0.0227
0.4498±0.0207
0.4341±0.0184
0.3835±0.0183
0.3737±0.0165
Unweighted
0.4576±0.0232
0.4618±0.0219
0.4503±0.0203
0.4333±0.0179
0.3830±0.0183
0.3752±0.0165
RC Weight
0.4596±0.0236
0.4609±0.0218
0.4501±0.0208
0.4333±0.0178
0.3838±0.0184
0.3750±0.0168
Validation Only
9.8179±0.4086
7.9994±1.3074
0.6616±0.0284
0.4173±0.0197
0.3570±0.0190
0.3602±0.0159
SPO Influence Weight
0.4712±0.0243
0.4722±0.0223
0.4593±0.0204
0.4251±0.0192
0.3757±0.0185
0.3690±0.0161
Clean ERM (oracle)
0.3447±0.0165
0.3511±0.0152
0.3451±0.0163
0.3513±0.0157
0.3357±0.0175
0.3437±0.0151
SPO+ Val Only
9.8179±0.4086
7.9994±1.3074
0.7749±0.0360
0.6970±0.0337
0.6588±0.0296
0.5773±0.0266
SPO+ Finetune
0.4747±0.0233
0.4775±0.0219
0.4878±0.0219
0.4694±0.0210
0.4141±0.0188
0.4053±0.0185
Table 7: Mean test regret as a function of validation set size ∣V∣ on the random LP setting. Best per column in bold.
B.5 Adversarial noise
Beyond the isotropic Gaussian corruption considered in the main experiments, we also evaluate our method against a more targeted adversary that uses minimum-norm perturbations to flip the optimality cone of corrupted training points. This corruption model is particularly challenging for influence-based methods because it is designed to induce wrong downstream decisions while remaining as close as possible to the clean label.
Construction. For a corrupted index j∈C with clean cost cj, let Bj be the optimal basis for cj and let N(Bj) denote the corresponding nonbasic set. The minimum ℓ2-norm perturbation that pushes cj across the boundary of Λ(Bj) along nonbasic direction k has magnitude sk(cj,Bj)/∥δ(Bj,k)∥. The cheapest direction to flip is
with a small slack ε>0 to ensure the perturbation strictly crosses the boundary when budget allows, which is similar to the directional attack in Assumption D4, but with a variable magnitude. If ρ is insufficient to flip any direction, we use the full budget along the cheapest flip direction without crossing.
Note that the perturbation magnitude is minimal rather than fixed: the adversary uses just enough perturbation to cross a cone boundary, producing small residuals at the clean ERM estimator and weak first-order influence signals.
Empirical observations. Under cone-flipping corruption, all methods including ours perform comparably to unweighted ERM, with no method showing a significant improvement over unweighted (Table 8), perhaps due to the magnitude of the corruption being small so they perform similarly to unweighted. Diagnostic analysis confirms that the RCIF score does carry information distinguishing corrupted from clean points: the mean score over corrupted indices is consistently more negative than over clean indices but the separation is insufficient for reliable detection. We attribute this to a fundamental property of first-order influence methods: the influence of a training point scales with its perturbation magnitude, and minimum-norm adversarial corruption is designed precisely to minimize this signal. Methods based on residual magnitude or influence function approximations are therefore inherently limited against such adversaries, and we expect that defenses against cone-flipping corruption require either second-order influence information or outlier-detection such as Diakonikolas et al. [2019]. Results were obtained with both random LP and shortest path problems. For random LP, settings were upstream input dimension 10, LP dimension 10, 20 constraints, train set size 200, test set size 100, validation set size 50, β=0.3, ρ=0.3. For shortest path settings: grid 5×5, upstream input dimension 30, train set size 300, test set size 200, validation set size 100, β=0.3, ρ=0.05. ρ is much smaller for shortest path because the optimality cones appear to be narrower, and thus require less perturbation to flip.
Method
Random LP
Shortest Path
Iterative Exp. Directed
0.3527±0.0158
1.2412±0.0204
Exp. Two-Sided
0.3514±0.0155
1.2430±0.0196
Directed
0.3514±0.0155
1.2424±0.0195
Unweighted
0.3522±0.0156
1.2412±0.0194
RC Weight
0.3519±0.0155
1.2410±0.0194
Validation Only
0.4173±0.0197
1.4459±0.0177
SPO Influence Weight
0.3524±0.0157
1.2410±0.0199
Clean ERM (oracle)
0.3513±0.0157
1.2422±0.0196
SPO+ Val Only
0.6970±0.0337
1.5713±0.0207
SPO+ Finetune
0.4264±0.0179
1.3983±0.0203
Table 8: Mean test regret under adversarial corruption (minimal magnitude). Best per column in bold.
B.5.1 Adversarial noise with fixed magnitude and robust regression
Residual-based robust regression is the natural alternative to reweighting when training labels are corrupted, so we compare against two standard instances: Huber regression (threshold 1.35, fit per output coordinate) and iteratively trimmed least squares (three rounds, each refitting after discarding the training points with the largest residual norms). Both are fit on the same train-plus-validation pool as unweighted ERM. For trimmed ERM we set the trim fraction equal to the true corruption rate β, which is an oracle choice that favors the baseline. We evaluate under two corruption models of the same magnitude scale: the isotropic Gaussian corruption of the main experiments and the directional corruption of Assumption (D4), in which each corrupted label is shifted by a fixed amount α along the most fragile direction of its own optimality cone. This is the same adversarial noise direction as Section B.5 but with a fixed magnitude, not minimal. Both are run on the shortest-path problem (4×4 grid, input dimension 20, 400/100/200 train/validation/test points, 50 seeds), with β=0.2 for the Gaussian setting and β=0.4, α=1.5 for the directional setting. Table 9 reports the results under various types of noise.
Under isotropic Gaussian corruption the robust methods are strong, and trimmed ERM is the best method in every column: it attains 0.8544±0.0141 against 0.9085±0.0164 for Iterative Exp. Directed and 0.9600±0.0158 for unweighted ERM, and it also improves on our method similarly for random LP (paired Wilcoxon p<0.001 in each case) while Huber loss is consistent but shows the greatest gains under random LPs. We note that this is the regime these methods are designed for, and furthermore these methods have been given the corruption rate, an advantage our method nor any other method receives. Gaussian corruption of scale 2 produces residuals that are large relative to the
Method
LP, Gauss. β=0.3
Shortest, Gauss. β=0.2
Shortest, Directional β=0.4
Iterative Exp. Directed
0.3451±0.0133
0.9085±0.0164
0.8509±0.0164
Directed
0.3531±0.0129
0.9459±0.0168
0.8547±0.0161
Unweighted
0.3564±0.0130
0.9600±0.0158
0.8591±0.0164
Clean ERM (oracle)
0.2785±0.0109
0.8257±0.0152
0.8257±0.0152
Huber
0.2952±0.0108
0.9266±0.0163
0.8730±0.0156
Trimmed ERM
0.2865±0.0118
0.8544±0.0141
0.8977±0.0158
Table 9: Comparison against robust regression methods; under standard Gaussian isotropic noise they outperform every method, but under directional shifts greatly underperform the unweighted approach, requiring specific noise structure.
label noise, so a corrupted point is visible in residual norm at the unweighted fit, and trimming at the true rate removes most of them; Huber regression down-weights the same points more gently and lands between unweighted ERM and our method on the shortest-path settings (0.9266±0.0163).
Under directional corruption the ordering reverses. The shift α=1.5 is small relative to the label noise and does not stand out in residual norm, but it is aimed at the fragile direction of the cone and flips the optimal decision of every corrupted point. Trimmed ERM now discards clean points as often as corrupted ones and reaches 0.8977±0.0158, worse than unweighted ERM (0.8591±0.0164) on 84% of seeds (p<0.001); Huber reaches 0.8730±0.0156, also worse than unweighted ERM (p<0.001). Iterative Exp. Directed is better at 0.8509±0.0164, improving on unweighted ERM (p=0.036) and on both robust baselines (p<0.001 for each). The total damage is small in this setting (clean ERM attains 0.8257±0.0152), which compresses all gaps, but the sign of the effect is what matters: the robust losses lose ground precisely when the corruption is decision-targeted rather than magnitude-visible.
The two experiments isolate different notions of robustness. Residual-based methods are robust to corruption magnitude and require that corrupted labels be outliers in the regression sense, together with a well-specified model and, for trimming, knowledge of the corruption rate and noise type. RCIF reweighting is robust to decision-targeted corruption: it scores a training point by its first-order effect on the reduced-cost margins at the clean validation points, which responds to where a label pushes the downstream decision rather than to how far it moves the label, and it requires neither the corruption rate nor magnitude-visible residuals. We regard the two approaches as complementary, and combining RCIF scores with a robust training loss is a natural direction for future work.
B.6 Degeneracy
Note that shortest-path and combinatorial problems generally violate primal nondegeneracy. For LPs with generic continuous b and full-row-rank A (such as our random-LP setting, or pricing/portfolio-style problems with continuous coefficients), degeneracy is a measure-zero event, so the assumption holds almost surely. More importantly, the assumption serves the theory rather than the algorithm: the method still functions and applies to degenerate problems, at the cost of some conservatism.
The algorithm itself never uses nondegeneracy: it solves one LP per validation point under the predicted cost, takes whichever optimal basis the solver returns, and determines correctness via the cone test sk(cv,Bv)≥0∀k∈N(Bv), which is well defined under degeneracy. The cost of degeneracy is conservatism: the containment Λ(Bv)⊆N(x∗(c^v)) becomes strict, so the algorithm may mark a correct decision as incorrect when cv certifies the same vertex through a different basis, and the computed margin is a lower bound on the true decision margin. We note that (i) the correctness certificate never certifies a truly suboptimal point; and (ii) for the directed variant, such a misclassification is harmless at the point in question, because the violated directions there are all degenerate pivots. Its cost is signal efficiency, since part of the validation signal is spent on basis bookkeeping rather than on actual decisions. Empirically, our gains are largest on shortest path, which we take as evidence that the conservative signal remains strong where the assumption fails
B.7 Experimental details
B.7.1 Hardware and software
All experiments were conducted on a personal laptop equipped with an Intel i7 CPU, 16GB RAM, and no dedicated GPU. Implementation required standard Python packages such as PyTorch, scikit-learn, as well as Gurobi and Gurobi software for the optimization aspects. Each seed (which involves all baselines and optimization calls) runs in approximately 4 minutes. Code for reproducing our experiments is available at: https://github.com/william-zhang64/Reduced-Cost-Influence-Functions.
B.7.2 Parameter and baseline settings
Throughout the experiments, we kept λ fixed at 0.05. The values λ=0.05 and τ=5 were selected during preliminary experimentation across a grid of values {0.01,0.05,0.1,0.5} and {3,5,10} respectively, with a plateau in performance for λ∈{0.05,0.1}. Qualitatively, larger λ produced overly extreme weights and degraded test regret, consistent with overfitting the small clean validation set, while smaller λ left the weights too close to uniform to counteract the corruption. The number of iterations behaves similarly: beyond roughly τ=5 we observed a plateau in performance. Given that the pair (λ,τ)=(0.05,5) was used across the settings in the paper for strong performance, this suggests these values serve as reasonable defaults. Note that the weights were normalized such that unweighted had each weight = 1.0, so the total weights sum to n rather than 1, which does not substantively affect any properties of the algorithm. Similarly, the ϕ parameter for the Directed method was also fixed to 0.05, for similar reasons. We used τ=5 iterations across the experiments for the Iterative Exp. Directed method. For SPO influence, we set the number of iterations to 5 as well, with learning rate of 0.01. For SPO+ Val Only we run full-batch subgradient descent on the SPO+ loss over the validation set for 100 epochs with normalized subgradients and diminishing step size 0.5/t+1, initialized at the validation-only least-squares fit, and keep the iterate with the lowest SPO+ objective. SPO+ Finetune uses the same procedure initialized at the unweighted least-squares fit on the train-plus-validation pool, with 30 epochs and step size 0.1/t+1. Huber regression uses threshold 1.35 and is fit per output coordinate on the train-plus-validation pool, and trimmed ERM runs three rounds, each refitting after discarding the fraction β of training points with the largest residual norms. For the random LP data-generating process, we used standard normal distribution for features. For the isotropic noise, we used a covariance matrix of 4Id and for the directional noise with fixed magnitude we used α=1.5. For the neural network, we used hidden layer of size 8, with learning rate 1e−3.
B.7.3 Computational cost
Each iteration of RCIF reweighting solves the downstream LP once at each of the m validation points, computes the influence functions of the n training points, and refits the predictor by weighted least squares. The LP is never differentiated through and is not solved at training points. For the linear predictor with squared loss the influence has the closed form of Lemma 1: the Hessian is 2Id⊗Σ^, so one q×q factorization is shared by all training and validation points. Forming Σ^, its inverse, and the residuals rj=θ^zj−c~j costs O(nq(q+d)+q3) per iteration. At a validation point v with direction δk, the scores of all n training points are the elementwise product of δk⊤rj, an n×d matrix-vector product, and κ(zv,zj)=zj⊤Σ^−1zv, an n×q one, so scoring over the validation set costs O(mn(q+d)); the weighted least-squares refit on the n+m points is absorbed into the same terms. The LP solves and basis information cost O(mTLP) per iteration, where TLP is the cost of one simplex solve, and the iterative variant repeats all of this τ times. In practice the τm LP solves dominate: on a laptop CPU with Gurobi, in the shortest-path setting of Table 1 (n=400,m=100), one scoring round takes about 0.5 s and the complete Iterative Exp. Directed fit with τ=5 about 2 s.
B.7.4 SPO Influence
We adapt the influence-based reweighting framework of Ren et al. [2018] to the predict-then-optimize setting by substituting the SPO+ surrogate loss [Elmachtoub and Grigas, 2022] for validation MSE. This isolates the contribution of LP cone geometry in our scoring from the general benefit of influence-based reweighting on a downstream-aware loss.
For predicted cost c^v=fθ^(zv) and true cost cv, SPO+ is a convex upper bound on regret with subgradient
g(c^v,cv)=2(x∗(cv)−x∗(2c^v−cv)),
where x∗(c)=argminx∈Xc⊤x. Composing with the influence function Iθ^(wj) gives the per-training-point sensitivity of validation loss:
Starting from uniform weights pj(0)=1, we iteratively update
pj(t+1)←max(0,pj(t)−ξj∑SPO+θ^(t)),
normalize so that ∑jpj(t+1)=n, and refit θ^(t+1) via weighted ERM. We use ξ=0.01 and run for τ=5 iterations.
This baseline matches RCIF in data usage and influence machinery; the methods differ only in the projection direction for the prediction shift: g(c^v,cv) for SPO+ versus the simplex direction δ(Bv,k) for RCIF.