This paper proposes OT-FairBoost, a scalable in-processing fairness regularization framework for tabular data, which embeds a Wasserstein-2 distance penalty directly into the objective function of gradient boosting trees, enabling a tunable accuracy-fairness trade-off.
Optimal transport-based fairness mitigation strategies have previously been validated as capable of efficiently optimizing group fairness criteria such as demographic parity and equalized odds on the predictions of neural networks.
The core positioning of this study is precisely to fill this adaptation gap, proposing a brand-new in-processing framework named OT-FairBoost that embeds a Wasserstein-2 distance penalty directly into the objective function of gradient boosting trees.
The OT-FairBoost framework proposed in the paper contains three clearly defined core innovations, forming its key incremental differences from existing fair boosting schemes. First, the study derives exact sample-level partial derivatives of both the continuous and discrete Wasserstein-2 distances, covering the two types of necessary optimization terms—the gradient and the Hessian matrix—providing the mathematical foundation for subsequently embedding optimal transport fairness constraints into the gradient boosting tree training pipeline. Second, the study implements a highly scalable in-processing bias mitigation framework, OT-FairBoost, which is natively integrated into LightGBM and achieves fast sample-level derivative computation via cumulative distribution function (CDF) approximation, without requiring major changes to the original training logic of gradient boosting models. Finally, through large-scale empirical validation across multiple benchmark datasets, the study systematically demonstrates OT-FairBoost's bias mitigation capability, completing a full verification of the method's effectiveness.
OT-FairBoost embeds the fairness regularizer into the loss of every iteration of LightGBM, where the positive hyperparameter λ is user-defined and used to continuously tune the trade-off boundary between predictive accuracy and fairness. The functional structure of the regularizer is extensible and can accommodate multiple different fairness definitions—for example, equal opportunity can be enforced through constraints tied to the true label y. The study ultimately selects the discrete Wasserstein distance to match the distributional properties of predicted values across different protected groups.
Solving the discrete Wasserstein-2 distance relies on coupling matrices satisfying marginal distribution constraints. When predicted values repeat across different protected groups, the minimum of the distance still exists, but the corresponding optimal coupling matrix is no longer unique; only when all predicted values are distinct is the optimal coupling matrix unique, and it possesses invariance under the premise that within-group value orderings and corresponding probability masses remain unchanged. Tree-based gradient boosting models, however, naturally output identical predictions for samples falling into the same leaf node, and even after aggregating multiple decision trees over many boosting iterations, a scenario where all samples' predicted values are completely distinct is unlikely to occur.
The paper presents a local estimation scheme for the sample-level gradient and Hessian of the discrete Wasserstein-2 distance term. Through validation on simulated grouped scenarios with repeated samples, the analytically derived gradient and Hessian estimates align closely with empirical benchmark values, demonstrating the accuracy and effectiveness of the derivation. Readers are invited to consult the figure immediately following to compare the statistical properties of the two simulated distributions, as well as the degree of alignment between the analytical estimates and the empirical benchmarks for the gradient and Hessian results, in order to appreciate the reliability of the derivation.
The paper's empirical results show that OT-FairBoost maintains high predictive accuracy under strict fairness constraints, achieving an overall composite objective score of 81.4 and outperforming the other comparison baselines on the demographic parity metric. The researchers observed that OT-FairBoost's performance exhibits a highly smooth, monotonic behavior as the regularization strength λ varies: as λ increases, the demographic parity metric systematically decreases, while ROC AUC and PR AUC show only the expected mild performance degradation. This predictable tuning behavior greatly enhances the method's feasibility in real-world deployment. You can consult the figure immediately following to focus on the variation patterns of the four metric categories—DP, ROC AUC, DI, and PR AUC—as the regularization strength λ changes, along with the performance distribution characteristics of the different baseline methods.
On the large-scale real-world FairJob dataset, the researchers conducted 5-fold cross-validation evaluations of all compared methods, with all methods using default hyperparameter settings. To address the dataset's extreme class imbalance, all classifiers employed a sample weighting strategy to obtain reliable computations of demographic parity and disparate impact metrics. The experimental results show that OT-FairBoost achieved the highest composite objective score of 28.05 on this dataset, outperforming all comparison baselines, while its training runtime was at a level similar to that of W2Post, the strongest performing compared method.
The convergence experiments fixed the remaining hyperparameters of OT-FairBoost's demographic parity optimization task, varying only the regularization strength λ, and observed on the training set how the empirical Wasserstein-2 distance evolves over gradient boosting iterations. The researchers interpreted the variance term as the squared Wasserstein-2 distance from the corresponding distribution to the Dirac distribution at its mean, using this to perform normalization and ensure the homogeneity of the distance metric. The experiments observed that as the number of gradient boosting iterations increases, the normalized Wasserstein-2 distance continuously decreases, and the higher the value of λ, the more pronounced the decrease in this fairness distance, consistent with the expected behavior of the method's design.
OT-FairBoost is an in-processing algorithmic framework that introduces optimal transport to enforce fairness constraints in gradient-boosted decision trees. Its sample-level gradient and Hessian terms, derived from the discrete Wasserstein-2 distance between different groups' prediction distributions, have been experimentally validated against benchmark estimates. When embedded into the LightGBM training pipeline, the method consistently achieves a superior trade-off between predictive performance and fairness under the paper's experimental settings, providing a scalable, tunable solution for trustworthy machine learning in tabular data scenarios.
Regarding the applicability boundary of the non-diagonal Hessian term approximation, the paper points out that the approximation of setting the non-diagonal Hessian terms to zero has potential theoretical issues, but its impact in practical scenarios is very limited. This approximation only takes effect in scenarios where sample predictions repeat, and such repeated values constitute a very low proportion in most real-world business scenarios; moreover, in the formal derivation for continuous distributions, the repeated-value problem of discrete settings naturally disappears. The approximation essentially ignores scenarios where the non-diagonal Hessian terms are ill-defined, fully aligning with the sample-level derivative design philosophy of gradient boosting, and the accompanying numerical verification also confirms that this approximation does not significantly interfere with results in practical use.