NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Constrained Reweighting of Distributions: an Optimal Transport Approach

Abhisek Chakraborty, Anirban Bhattacharya, Debdeep Pati · DOI

Abstract

This paper introduces a novel framework for reweighting empirical data to satisfy complex distributional constraints. By integrating the Maximum Entropy principle with the Wasserstein metric from Optimal Transport, the proposed method provides a robust non-parametric approach for statistical inference. We demonstrate the framework's efficacy in correcting survey biases, ensuring algorithmic fairness, and optimizing financial portfolios.

Introduction

Statistical tasks often require adjusting data weights to align with known population characteristics or desired properties. Traditional methods rely on moment constraints (e.g., matching means or variances), which frequently fail to capture the full distributional shape, such as skewness or heavy tails. Conversely, fully parametric models can be overly rigid. This work proposes a "middle ground" that imposes distributional constraints—ensuring the weighted empirical distribution resembles a target distribution—while maintaining maximal flexibility through entropy maximization.

Methodology

The core of the proposed approach is a constrained optimization problem. We seek weights that maximize the Shannon entropy of the discrete distribution, thereby promoting diversity and preventing over-reliance on a few data points. This maximization is subject to a constraint on the 2-Wasserstein distance ($W_2$) between the weighted empirical distribution and a continuous target distribution.

The Wasserstein metric is uniquely suited for this task as it provides a meaningful distance measure between discrete and continuous distributions, unlike KL-divergence. In practice, a dual formulation is employed where a penalty parameter $\lambda$ regulates the trade-off between weight uniformity (entropy) and adherence to the target distribution (Wasserstein distance).

Experimental Results

The framework was evaluated across diverse domains, including public health (NHANES), mental health monitoring (DAIC), criminal justice (COMPAS), and finance (Yahoo! Finance).

Simulation Study

A simulation study compared the proposed Bootstrapped Distributionally Constrained Model (BDCM) against standard Maximum Likelihood Estimation (MLE) and other variants. As shown in the table below, the BDCM consistently outperforms MLE in terms of both bias reduction and coverage probability, particularly as the correlation ($\rho$) within the data increases.

Comparison of bias and coverage probabilities for different estimators across sample sizes (n) and correlation levels (ρ).

Algorithmic Fairness

On the COMPAS recidivism dataset, the method successfully reduced the $W_2$ distance between prediction distributions for different racial groups from 19.32 to 0.79 (and as low as 0.02 in the in-model approach) without significant loss in predictive accuracy. This demonstrates the framework's ability to enforce demographic parity as a distributional constraint.

Discussion and Conclusion

The proposed framework offers a powerful tool for distribution-sensitive reweighting. By leveraging optimal transport, it overcomes the limitations of moment-based constraints. Future work will address the computational challenges of scaling to high-dimensional data and developing automated methods for hyperparameter selection.

Summary updated

BibTeX
@article{chakraborty2024constrained,
  author = {Abhisek Chakraborty and Anirban Bhattacharya and Debdeep Pati},
  title = {{Constrained Reweighting of Distributions: an Optimal Transport Approach}},
  journal = {Entropy},
  year = {2024},
  doi = {10.3390/e26030249},
}
Figure