arXiv:2610.18593cs.LGOct 2026

Manuscript Offprint

arXiv:2610.18593

Fairness under Prediction Error in Predict-then-Optimize Pipelines

Hilda Adwubi Osei

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Fairness constraints in predict-then-optimize pipelines are necessarily enforced on predicted outcomes y^\hat{y}, since true outcomes yy are unobserved at decision time. We study whether a demographic parity constraint enforced this way continues to hold against yy, and how the resulting violation scales with prediction error. Using a budget-constrained allocation problem solved as a linear program, we show empirically that the true-outcome fairness gap grows with prediction error σ\sigma and saturates, well fit by c(1−e−σ/τ)c(1 - e^{-\sigma/\tau}) with c=0.1545±0.0103c = 0.1545 \pm 0.0103 and τ=3.9045±0.3745\tau = 3.9045 \pm 0.3745; its mean is invariant to sample size while its variance decays at the standard O(1/n)O(1/\sqrt{n}) rate. We derive a two-part theoretical bound: a closed-form local sensitivity result showing the gap’s first-order response to prediction error depends on only two individuals per group, validated against the solver to within three significant figures; and a universal, error-independent ceiling following from the boundedness of the decision variable, confirmed consistent with but looser than the empirical saturation level. On US Census income data, enforcing demographic parity on a trained predictor’s output reduces an unconstrained disparity in true income to roughly one-third of its original size, leaving 34.4%±3.3%34.4\% \pm 3.3\% (California) and 35.7%±1.8%35.7\% \pm 1.8\% (Texas) of the disparity intact and undetectable from the predictions alone – consistent not only in mechanism but in approximate magnitude across two states with different demographics and income distributions, and stable across ten independent train/test splits in each. A fairness constraint that appears fully satisfied at decision time can mask a substantial, systematic violation of the outcome it was meant to protect.

Keywords fairness · demographic parity · predict-then-optimize · optimization · prediction error

1 Introduction

A prediction y^\hat{y} that feeds a downstream decision is not evaluated on its own terms. In predict-then-optimize pipelines – allocating a budget across loan applicants, prioritizing recipients of a limited intervention, and distributing aid across a population – a model’s output is consumed by an optimizer that chooses an action before the true outcome y is observed. Any fairness constraint placed on that optimizer is therefore necessarily a constraint on y^\hat{y}, not on y: the quantity a practitioner can certify as fair at decision time is not the quantity the fairness guarantee is meant to protect.

This study asks whether a demographic parity constraint enforced on y^\hat{y} continues to hold when evaluated against y and characterizes the gap between the two as a function of the prediction error. We study this in a budget-constrained resource-allocation problem solved as a linear program with demographic parity imposed on per-capita benefit at decision time.

Our contributions are as follows.

(1) Empirical characterization. Using synthetic data with controllable prediction error σ\sigma, we show that the true-outcome fairness gap grows with σ\sigma and saturates toward a fixed ceiling rather than increasing without bound, well fit by c⋅(1−e−σ/τ)c \cdot (1 - e^{-\sigma/\tau}) across more than an order of magnitude of σ\sigma (Section 4). We further show that the gap’s mean is

PREPRINT

approximately invariant to the sample size n, while its variance across draws shrinks at the standard O(1/n)O(1/\sqrt{n}) rate – indicating a systematic bias that additional data does not correct, distinct from ordinary estimation noise.

(2) A two-part theoretical bound. We derive a structural result (Section 5): at any optimum of this allocation problem, at most two individuals per group have a fractional allocation, and the gap's first-order sensitivity to prediction error depends only on these two “marginal” individuals – every other individual's prediction error has zero local effect. This reduces the local sensitivity to a closed-form expression, which we validate numerically against the solver to within three significant figures. We pair this local result with a universal, σ\sigma-independent ceiling that follows directly from the boundedness of the decision variable and holds for arbitrarily large prediction error, and we show that it is consistent with, though looser than, the empirically observed saturation level.

(3) Validation on real data. We confirm the mechanism using a trained income predictor on US Census data (ACSIncome; Ding et al. [2021]) (Section 7). Enforcing demographic parity on the predictor's output reduces the unconstrained disparity in true income by approximately two-thirds but leaves the remainder intact and undetectable from the predictions alone, a result stable across ten independent train/test splits and consistent in both mechanism and approximate magnitude across two states with different demographics (California and Texas).

Scope. We isolate the estimation error – predictions drawn from the same distribution as the true outcome, corrupted by noise – as the source of prediction imperfection. We do not study distribution shift, in which the feature-outcome relationship itself changes between training and deployment (Section 8). We restrict our attention to demographic parity on continuous per-capita benefit; other fairness definitions, such as equal opportunity, are not addressed here and may exhibit different behavior under the same mechanism.

Section 2 positions this work relative to existing literature on fairness in predict-then-optimize pipelines. Section 3 formalizes the decision problem and fairness gap. Sections 4–6 present the empirical study, theoretical bound, and their comparison. Section 7 presents the real-data experiment. Section 8 discusses limitations and future work, and Section 9 concludes.