Skip to main content
QUICK REVIEW

[Paper Review] Quantifying Program Bias

Aws Albarghouthi, Loris D’Antoni|arXiv (Cornell University)|Feb 17, 2017
Adversarial Robustness in Machine LearningComputer Science44 references10 citations
TL;DR

This paper introduces a sound and complete probabilistic program analysis technique to verify quantitative fairness properties in decision-making programs. By reducing bias verification to weighted volume computation over real arithmetic formulas using SMT solvers, the authors present FairSquare—a tool that automatically quantifies group fairness by computing conditional probabilities of hiring outcomes, achieving exact convergence in the limit and outperforming state-of-the-art methods on real-world ML classifiers.

ABSTRACT

With the range and sensitivity of algorithmic decisions expanding at a break-neck speed, it is imperative that we aggressively investigate whether programs are biased. We propose a novel probabilistic program analysis technique and apply it to quantifying bias in decision-making programs. Specifically, we (i) present a sound and complete automated verification technique for proving quantitative properties of probabilistic programs; (ii) show that certain notions of bias, recently proposed in the fairness literature, can be phrased as quantitative correctness properties; and (iii) present FairSquare, the first verification tool for quantifying program bias, and evaluate it on a range of decision-making programs.

Motivation & Objective

  • To develop a formal, automated verification technique for quantitative fairness properties in probabilistic decision-making programs.
  • To model program bias as a probabilistic correctness property, specifically conditional probabilities of outcomes across protected and non-protected groups.
  • To enable precise, sound, and complete verification of fairness by reducing the problem to weighted volume computation over real closed fields.
  • To implement and evaluate a tool, FairSquare, capable of analyzing real-world machine learning classifiers for bias under realistic population distributions.

Proposed method

  • The method reduces the verification of probabilistic fairness properties to computing the weighted volume of logical formulas over real arithmetic, representing program encodings and input distributions.
  • It employs a novel symbolic volume computation algorithm that uses SMT solvers as black boxes to integrate probability density functions over regions defined by program constraints.
  • The algorithm uses adaptive importance sampling guided by approximate distributions to prioritize high-volume hyperrectangles, improving convergence speed and accuracy.
  • It supports arbitrary probability distributions and formulas over real closed fields, including linear and polynomial inequalities, extending beyond prior work on bounded or discrete domains.
  • The approach provides theoretical convergence guarantees, ensuring the computed volumes converge to the exact values in the limit.
  • The implementation integrates with SMT solvers and leverages formula decomposition and quantifier elimination techniques to handle complex logical encodings of decision programs.

Experimental results

Research questions

  • RQ1Can we formally verify quantitative fairness properties in probabilistic programs using automated techniques with soundness and completeness guarantees?
  • RQ2How can we model and compute the conditional probabilities of program outcomes across protected and non-protected demographic groups in a way that reflects real-world population distributions?
  • RQ3What algorithmic techniques enable exact and scalable computation of weighted volumes over complex, continuous regions defined by program logic and probability densities?
  • RQ4How does the proposed method compare in accuracy and performance to existing sampling-based or model-counting approaches for probabilistic program analysis?
  • RQ5Can the technique be effectively applied to real-world machine learning classifiers trained on empirical data to detect and quantify bias?

Key findings

  • The proposed symbolic volume computation algorithm converges to the exact volume in the limit, providing sound and complete verification for probabilistic fairness properties.
  • FairSquare successfully quantified bias in a range of decision-making programs derived from real-world machine learning models, demonstrating practical applicability.
  • The method outperformed state-of-the-art probabilistic program analysis tools in both accuracy and scalability on benchmark classifiers.
  • The use of adaptive importance sampling with approximate distributions significantly improved convergence speed and precision compared to uniform sampling.
  • The technique handles arbitrary probability distributions and complex logical formulas over real closed fields, surpassing prior work restricted to bounded or discrete domains.
  • The integration of SMT solvers as black boxes enabled effective reasoning over continuous, nonlinear constraints, supporting general fairness verification beyond simple linear models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.