← Latest papers
🤖 machine learning

SurrogateSHAP: Training-Free Contributor Attribution for Text-to-Image (T2I) Models

SurrogateSHAP is a training-free framework that efficiently approximates Shapley values for attributing data contributions in Text-to-Image models by leveraging a pretrained model and a gradient-boosted tree to overcome the computational bottlenecks of traditional retraining-based methods, thereby enabling fair compensation, scalable auditing, and the identification of spurious correlations.

Original authors: Mingyu Lu, Soham Gadgil, Chris Lin, Chanwoo Kim, Su-In Lee

Published 2026-06-02
📖 5 min read🧠 Deep dive

Original authors: Mingyu Lu, Soham Gadgil, Chris Lin, Chanwoo Kim, Su-In Lee

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

Imagine you and a group of friends decide to build a massive, incredibly detailed LEGO castle together. You all bring different boxes of bricks: some bring red bricks, some bring blue, some bring tiny windows, and others bring rare gold pieces. Once the castle is built, it looks amazing. But now, someone asks: "Who deserves the most credit? Who brought the most valuable bricks?"

In the world of Artificial Intelligence, specifically Text-to-Image (T2I) models (like Stable Diffusion or FLUX), the "bricks" are the millions of images and text descriptions used to train the AI. The "castle" is the final AI that can draw pictures from your words.

The problem is that figuring out who brought the best bricks is incredibly hard. Here is why, and how the authors of this paper, SurrogateSHAP, solved it.

The Problem: The "Retraining" Nightmare

To know exactly how much a specific group of people (a "contributor") helped, the traditional way is to play a game of "What if?"

  • What if we built the castle without the red bricks?
  • What if we built it without the blue bricks?
  • What if we built it without the windows?

To get a perfect answer, you would have to rebuild the entire castle from scratch for every single combination of missing bricks. Since there are millions of combinations, this would take longer than the age of the universe. It's too expensive and slow.

The Solution: SurrogateSHAP

The authors created a clever shortcut called SurrogateSHAP. Think of it as a "Magic Simulator" that lets you see the result of removing bricks without actually having to rebuild the castle.

They did this in two main steps:

1. The "Magic Mix" (Training-Free Proxy)

Instead of rebuilding the castle, they realized they could just mix the instructions for the bricks they already have.

  • Imagine the AI is a chef who knows how to cook a perfect meal using a specific recipe.
  • Instead of cooking a new meal for every possible combination of ingredients, the authors realized they could just tell the chef: "Imagine you are cooking a meal that is a 50/50 mix of the 'Red Brick' recipe and the 'Blue Brick' recipe."
  • The chef can instantly simulate what that mixed meal would taste like without actually cooking it.
  • In the paper's terms: They use the AI's existing knowledge to simulate what the model would look like if it were trained only on a specific subset of data, skipping the expensive training process entirely.

2. The "Smart Guessing Tree" (TreeSHAP)

Even with the "Magic Mix," there are still too many combinations to check one by one. So, they used a second trick.

  • They asked the Magic Simulator a few hundred questions (e.g., "What if we remove the red bricks?" "What if we remove the blue ones?").
  • They then taught a smart decision tree (a type of computer program that looks like a flowchart) to learn the pattern of those answers.
  • Once the tree learned the pattern, it could instantly calculate the exact value of every single contributor without asking the simulator any more questions. It's like learning the rules of a game after playing a few rounds, then being able to predict the outcome of any future game instantly.

Why This Matters (The Results)

The authors tested this method on three different "construction projects":

  1. CIFAR-20: A standard image dataset (like sorting toy cars and animals).
  2. ArtBench: A collection of Post-Impressionist paintings (like Van Gogh and Monet).
  3. Fashion-Product: Images of clothes from different brands.

The findings were clear:

  • Speed: Their method was 2 to 23 times faster than previous methods that tried to approximate the answer by doing partial retraining.
  • Accuracy: It was much better at identifying who actually contributed to the quality of the final image. For example, in the art dataset, it correctly identified which artists' styles were most influential, whereas other methods got confused or gave negative scores.
  • Fairness: It successfully identified "bad actors." In a clinical case study involving skin cancer images from different hospitals, the method pinpointed exactly which hospital's data was causing the AI to make a weird, false connection between a patient's gender and their disease. By removing just that one hospital's data, the AI became fairer.

The Bottom Line

SurrogateSHAP is a tool that lets us fairly pay and credit the people who provide data for AI art generators. It does this by using a simulation trick (to avoid rebuilding the AI) and a smart pattern-finding tree (to calculate the scores instantly).

It turns a task that used to take years of computing power into something that can be done in minutes, ensuring that the right people get the credit (or the blame) for the AI's behavior.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →