HomeComputer ScienceProxy Discrimination: Algorithmic Redlining Lab

Proxy Discrimination: Algorithmic Redlining Lab (2D)

Interactive 2D lending-model simulator: train a real logistic-regression model on a proxy feature and a legitimate feature only — the protected attribute is never an input — and watch real disparate impact emerge and scale with the proxy's tunable correlation to group membership.

Computer Science2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-ai-topic-73 ↗ Open standalone

A lending model that never sees a protected attribute can still discriminate against it — through a "neutral" proxy feature, like a zip code, that quietly re-encodes group membership. This 2D simulator generates a synthetic population of loan applicants, trains a real logistic-regression classifier by gradient descent on only a proxy feature and a legitimate feature (the protected attribute is excluded from training entirely), and evaluates the trained model on a held-out test set. A live audit panel reports each group's measured approval rate, the legal four-fifths disparate-impact ratio, true test accuracy against a hidden ground-truth outcome, and the model's own learned weight on the proxy feature — showing concretely why deleting the protected attribute alone ("fairness through unawareness") does not make a model fair.

⚙ Under the hood

Watch a 'neutral' zip-code proxy feature in a synthetic lending model quietly re-encode protected-group membership, drive the four-fifths disparate-impact ratio below the legal threshold, and see why deleting the protected attribute alone does not fix it.

AI ethicsalgorithmic biasfairnessredlininglogistic regressiondisparate impact

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)