RECAST: Model Reconstruction via Counterfactual-Aware Wasserstein Geometry under Limited Data
The paper proposes RECAST, a novel method for reconstructing black-box machine learning models with high fidelity and query efficiency under limited data and restricted access by leveraging counterfactual explanations within a Wasserstein barycentric optimization framework to enable robust fairness auditing.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Picture: The "Black Box" Problem
Imagine a bank uses a mysterious, high-tech computer system (a "black box") to decide who gets a loan. You apply, and the computer says "No." You ask, "Why?" and the computer gives you a Counterfactual Explanation (CF): "If your income had been $5,000 higher, you would have been approved."
This explanation is helpful to you, but it's also a clue to a third-party auditor (like a government regulator) who wants to check if the bank's computer is fair or biased. The auditor wants to build a surrogate model—a copycat system that mimics the bank's decisions so they can study it without needing to ask the bank for its secret code or unlimited access to its database.
The Problem: The "Overconfident" Copycat
The paper points out a major flaw in how people usually try to build these copycats using Counterfactuals.
The Analogy:
Imagine you are trying to learn where the border between "Safe Zone" (Class 0) and "Danger Zone" (Class 1) is on a map.
- You have a list of people who were safe (Class 0).
- You also have a list of "What-If" scenarios: "If this person from the Safe Zone had slightly more money, they would be in the Danger Zone."
The Mistake:
Old methods treated these "What-If" scenarios as if they were real people who actually lived in the Danger Zone.
- The Result: The copycat model gets confused. It thinks, "Oh, these 'What-If' people are definitely in the Danger Zone!" So, it draws the border line too far over, pushing the Safe Zone too small.
- The Consequence: The copycat becomes overconfident. It starts labeling safe people as dangerous just because they are close to the "What-If" scenarios. It also tends to overfit (memorize the noise) when there isn't much data to work with.
The Solution: RECAST (The "Smart Mapmaker")
The authors propose a new method called RECAST. Instead of treating "What-If" scenarios as hard facts, they treat them as soft hints that help shape the map without forcing the border into a specific spot.
Here is how RECAST works, broken down into three simple steps:
1. The "Cloud" vs. The "Point"
- Old Way: They tried to pin the "What-If" scenarios to a single point on the map.
- RECAST Way: They realize that a "What-If" scenario is fuzzy. It's not a single point; it's a cloud of possibilities. RECAST uses a mathematical tool called Wasserstein Geometry (think of it as a "distance calculator for clouds of data") to understand the shape of the "Safe" group and the "Danger" group as whole clouds, rather than just individual dots.
2. The "Barycenter" (The Perfect Average)
RECAST creates a prototype (a perfect average representative) for the Safe group and a prototype for the Danger group.
- It takes the real "Safe" people and the "What-If" scenarios and blends them together to find the center of the cloud.
- Crucially, it doesn't let the "What-If" scenarios drag the center too far. It treats them as less certain than the real people.
- Analogy: Imagine trying to find the center of a crowd. You have 100 real people standing there, and 10 people holding signs saying "We could be here if we moved." RECAST puts the real people at full weight and the sign-holders at half weight. This keeps the center of the crowd accurate, even if the sign-holders are a bit scattered.
3. The "Lens" of Uncertainty
Because the auditor has limited data (maybe they only got 100 "What-If" answers from the bank), RECAST admits, "We aren't 100% sure exactly where the border is."
- Instead of drawing one sharp line, RECAST draws a lens-shaped area where the border could be.
- It builds a model that works well no matter where the border actually falls inside that lens. This makes the model robust (stable) even if the data is noisy or incomplete.
Why This Matters (The Results)
The paper tested RECAST on real-world data (like loan applications and criminal risk scores) and found:
- Better Accuracy with Less Data: When the auditor only has a small number of queries (limited data), RECAST builds a much better copycat than previous methods. It doesn't get confused by the "What-If" scenarios.
- Fairness Auditing: Because RECAST understands the "shape" of the data clouds, it can tell if the bank is treating different groups (e.g., men vs. women) unfairly. It can see if one group's "cloud" is being pushed closer to the danger zone than another's, even without knowing the exact secret formula.
- Stability: Even if the data is a little bit messy or noisy, RECAST doesn't fall apart. It stays stable because it relies on the overall shape of the groups, not just individual points.
Summary
RECAST is a new way to reverse-engineer a black-box AI system when you only have a few clues (Counterfactuals). Instead of blindly trusting those clues as hard facts, it treats them as soft, fuzzy hints. By using a mathematical "cloud-shape" approach, it builds a copycat model that is accurate, fair, and doesn't get confused when data is scarce.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.