Now You See Me Now You Don't: A Framework To Detect and Reduce Proxy Capacity

Nirek SharmaarXiv 2026 · arXiv

In regulated industries like lending, machine learning models face a difficult balancing act. To avoid disparate treatment, they must not use protected attributes (like race or sex) or "proxies" for those attributes. However, identifying what counts as a proxy is often an ad-hoc process, and the standard solution—simply deleting the offending feature—frequently guts the model's predictive power.

In his paper, "Now You See Me Now You Don’t: A Framework To Detect and Reduce Proxy Capacity," Nirek Sharma (Upstart Network) proposes a more surgical approach: a quantitative framework to detect "local" proxy signals and a methodology to "scrub" that signal while keeping the feature's useful information.

TL;DR

The paper introduces a two-part framework for algorithmic fairness: a Distributional Proxy Test that identifies specific regions of a feature that leak demographic information, and a Feature Adjuster that uses non-proxy data to neutralize that leak. This allows practitioners to mitigate disparate treatment risk without the heavy accuracy penalties caused by outright feature removal.

What Problem Does This Paper Address?

The core challenge is the ambiguity of "proxy discrimination." While practitioners have established tools for measuring disparate impact (outcomes), measuring disparate treatment (inputs) is less standardized.

Current methods often rely on aggregate statistics like Pearson correlation or Mutual Information. The author argues these are insufficient because they miss "local" proxies—cases where a feature might look neutral on average but becomes highly revealing of a protected group within a specific range of values (e.g., a specific ZIP code or a rare occupation). When such a proxy is found, the typical response is "fairness through unawareness": deleting the feature entirely. This creates a binary choice between regulatory risk and model performance.

Methods

The proposed framework moves from a "detect and delete" workflow to a "detect and adjust" one.

Fig. 1. The proposed feature governance workflow: features that are identified as proxies by the distributional proxy test (Section 2) are sent to the Debiaser Search (Section 3) to find an adjuster model that yields a valid, non-proxy adjusted feature that still improves model accuracy.

1. The Distributional Proxy Test

Instead of looking at the whole feature, this test estimates the probability of group membership $P(Z=1 | X)$ across different regions of the feature $X$.

  • Local Capacity: It flags a feature if any region provides strong evidence of group membership.
  • Bayes Factor Thresholds: To ensure the test is fair across demographic groups of different sizes (base rates), the author uses Bayes' rule to set thresholds. This ensures that the "strength of evidence" required to flag a proxy is consistent, whether the group makes up 50% or 1% of the population.

2. The Feature Adjuster

If a feature fails the test, it is passed to an "adjuster" model.

  • The Goal: Find a correction $\delta$ (based on other, non-proxy features) to add to the proxy feature such that the resulting "adjusted feature" no longer reveals the protected attribute.
  • Differentiable Loss: To train this, the author developed a differentiable approximation of the proxy test, allowing standard optimizers (like those used for Neural Networks or XGBoost) to minimize "proxy capacity" directly.
Fig. 2. Feature adjuster training and application. The feature adjuster acts as a sample-dependent transformer on the feature ®𝑥𝑝: we find the adjuster 𝑔that optimizes the objective given by Equation (6) (A). At inference time (B), the trained adjuster takes a new record’s non-proxy features ®𝑥𝑜as input and yields ®𝑥adj; 𝑍is not used and the model never has direct access to ®𝑥𝑝.

Datasets

The author validates the framework using three types of data:

  1. Synthetic Archetypes: Custom-built features designed to simulate "smooth ramps" (linear correlation), "local pockets" (discontinuous jumps in bias), and "rare values."
  2. UCI Adult Dataset: A classic benchmark for fairness research.
  3. Folktables ACS Income: A modern, large-scale dataset based on US Census Bureau data, specifically looking at educational attainment as a proxy for race.

Key Insights and Ideas

  • Aggregate Metrics are Blind to Local Bias: Standard metrics like AUC or correlation often fail to detect "local pockets" of proxy capacity. A feature can have near-zero correlation with race but still contain a specific value that is 90% predictive of a specific racial group.
  • Base-Rate Awareness is Essential: Using a fixed probability threshold (e.g., 80%) to identify proxies is mathematically biased against minority groups. Using Bayes factors allows for a "fair" threshold that accounts for the prior probability of group membership.
  • The "Third Way": The feature adjuster demonstrates that "proxiness" is often redundant information. By using other features to "counter-program" the proxy signal, we can keep the task-relevant signal that was originally in the feature.

Key Results

  • Superior Detection: In synthetic tests, the Distributional Proxy Test successfully identified "local pockets" and "rare values" that Mutual Information and Pearson correlation completely missed.
  • Effective Mitigation: On the Folktables dataset, the framework identified educational attainment as a proxy for certain racial groups.
  • Accuracy Preservation: While removing the proxy feature dropped the model's AUC significantly, the Feature Adjuster was able to retain 51% to 89% of the predictive gain of the original feature while successfully reducing its proxy capacity below the regulatory threshold.

Limitations and Future Work

  • Legal Uncertainty: The author notes that while this method is technically robust, "regulatory compliance" is a legal determination. It remains to be seen if regulators will view "adjusted features" as truly distinct from the original proxies.
  • Simple vs. Complex Proxies: The current framework focuses on simple proxies (single features). It does not yet address complex proxies, where a combination of multiple features might jointly reveal protected information even if each feature passes the test individually.
  • Generative AI: The paper suggests this logic could be applied to Language Models (e.g., detecting and adjusting for dialect-based bias in prompts), which is a promising avenue for future research.

Summary updated

Abstract

In regulated domains such as lending, the two most salient fairness concepts are disparate impact and disparate treatment: disparate impact is generally defined by differential rates of adverse outcomes between demographic groups, while disparate treatment is generally defined by the use of demographic information or proxies to issue decisions. There already exist established methods to quantitatively detect and mitigate disparate impact; however, there has been less research on doing the same for disparate treatment. From a practitioner's perspective, the manner in which a conditional independence test is formulated and operationalized to identify proxies is nuanced and underexplored. As Machine Learning (ML) systems increase in scope and application in regulated domains, practitioners need a defensible framework to identify proxies at scale. Current disparate treatment frameworks typically rely upon some combination of quantitative and qualitative review of models' inputs to identify proxies. Features that are identified as proxies are then typically removed from the model in practice, and predictive performance degrades in favor of fairness through unawareness. Here, we propose a two-part framework that reduces the disparate treatment risk of a feature and keeps the predictive performance that removal of the feature loses. First, we propose a quantitative test for proxy capacity that identifies whether some of a feature's values reveal membership in a particular demographic group. Second, we propose a pre-processing methodology that adjusts those proxy features to reduce their proxy capacity. We show empirically on synthetic and public datasets that this framework identifies features that proxy for demographic information and reduces their proxy capacity while the adjusted feature retains task-relevant signal (i.e. improves predictive performance versus removal).
BibTeX
@misc{sharma2026now,
  author = {Nirek Sharma},
  title = {{Now You See Me Now You Don't: A Framework To Detect and Reduce Proxy Capacity}},
  year = {2026},
  eprint = {2611.25327},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.25327},
}
Figure