Use Privacy in Data-Driven Systems: Theory and Experiments with Machine Learnt Programs

Anupam Datta, Matthew Fredrikson, Gihyuk Ko, Piotr Mardziel, Shayak Sen

Introduction

In the era of big data, privacy concerns typically center on what information is collected or shared. However, a more subtle and pervasive issue is use privacy: how information is actually employed in decision-making processes. Even when sensitive attributes like race, gender, or medical status are explicitly removed from a dataset, machine learning (ML) models often learn to use proxies—other variables that strongly correlate with the protected information—to make predictions.

A classic real-world example is the "Target pregnancy" case, where shopping habits served as a highly accurate proxy for pregnancy status. Simply deleting the "is pregnant" column is often insufficient; if a model is retrained, it frequently discovers new, more complex combinations of features to act as a proxy for the same sensitive information. This paper introduces a formal framework to define, detect, and repair such proxy use in machine-learnt programs.

Different types of information use in decision models, illustrating how proxies and masked proxies can bypass simple feature removal.

The Challenge of Proxies

The authors identify a phenomenon called the "Retraining Trap." When a sensitive feature is removed, learning algorithms often find "masked proxies." For instance, in the UCI Adult dataset, removing "marital status" led models to synthesize a complex proxy using age, sex, and capital loss.

To address this, the paper argues that black-box (semantic) testing is inadequate. Proxies can be "canceled out" or hidden in final outputs, making them invisible to external observation. Instead, a white-box (syntactic) approach is required to inspect the intermediate computations—the "witnesses"—within the model's code.

Formal Framework and Methods

The authors define a syntactic model as a program $p$ operating on random variables $\mathbf{X}$ within a population $\mathcal{P}$. This formalization allows for the precise auditing of internal program logic.

Formal notation used to define syntactic models, programs, and substitutions within the use privacy framework.

The core of their framework is the definition of $(\epsilon, \delta)$-proxy use, which requires two conditions:

  1. Proxy ($\epsilon$): An intermediate computation in the program must be strongly associated with the protected attribute, measured via normalized mutual information.
  2. Use ($\delta$): That computation must have a significant causal influence on the final output, measured using Quantitative Input Influence (QII).

Detection and Repair

The researchers developed a toolkit consisting of two primary algorithms:

  • ProxyDetect: A program analysis tool that decomposes a model (such as a decision tree or linear model) into sub-expressions. It audits each one against the $\epsilon$ and $\delta$ thresholds to find privacy violations.
  • Witness-driven Repair: Once a violation is detected, this algorithm performs a surgical "repair" by replacing the offending sub-expression with a constant. It searches for a simplification that breaks the proxy link while minimizing the impact on the model's overall predictive accuracy.

A key theoretical result, Theorem 1, proves that a purely black-box definition of proxy use cannot satisfy basic intuitive properties, reinforcing the necessity of this syntactic approach.

Experimental Evaluation

The framework was tested on four diverse social datasets: UCI Adult (income/marital status), 1987 Indonesia Contraceptive Survey (contraceptive use/religion), UCI Student Alcohol Consumption (grades/alcohol use), and the Panel Study of Income Dynamics (credit interest/health status).

Key Findings

  • Effective Auditing: ProxyDetect successfully identified complex, multi-variable proxies that standard correlation checks would miss.
  • Graceful Degradation: The repair algorithm demonstrated that models can often be fixed with minimal loss in accuracy. For minor violations, the accuracy drop was near zero.
  • Scalability: The detection process for decision trees and random forests scales linearly with dataset size, proving its feasibility for real-world applications.

Conclusion and Future Directions

This work provides a rigorous foundation for use privacy, moving beyond simple data exclusion. By focusing on the internal logic of ML models, the authors offer a path toward more accountable and private automated decision-making.

While currently optimized for interpretable models like decision trees and rule lists, extending this framework to Deep Neural Networks remains a significant challenge due to the astronomical number of potential sub-expressions (neurons and layers). Future work will also need to address "distributed" proxies that are spread across multiple parts of a program rather than localized in a single sub-expression.

Summary updated

BibTeX
@inproceedings{datta2017use,
  author = {Anupam Datta and Matthew Fredrikson and Gihyuk Ko and Piotr Mardziel and Shayak Sen},
  title = {{Use Privacy in Data-Driven Systems: Theory and Experiments with Machine Learnt Programs}},
  booktitle = {CCS},
  year = {2017},
  doi = {10.1145/3133956.3134097},
}
Figure