Mean demographic parity requires that average predictions be equal across values of a sensitive attribute, but directly optimizing this in regression is difficult because the conditional mean is unknown and shifts as the model changes. Existing approaches often rely on dependence penalties or adversarial training, which push predictions toward full statistical independence—a stricter condition than needed. That extra constraint can degrade accuracy even when average predictions are already balanced.

The authors propose DPVar, a fairness measure defined as the variance of the conditional mean prediction. Optimizing DPVar leads to a functional bilevel problem, since the conditional mean must be estimated while the predictor is being updated. To solve it, they introduce two methods: FBO, which uses a closed-form hypergradient, and an iterative-differentiation (ITD) solver that differentiates through the estimator's updates.

Unlike prior conditional-mean approaches, the new methods work with nonlinear predictors and high-dimensional continuous sensitive attributes. In experiments on a semi-synthetic benchmark built from 21 tabular regression datasets plus Communities & Crime data, both FBO and ITD achieved competitive or better accuracy–DPVar trade-offs than existing methods. The paper is a single arXiv preprint, so the results have not yet undergone peer review.