Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPR

Counterfactual explanations can show data subjects what would change an automated decision

  • Problem Opening a model to explain one decision is technically hard. The GDPR's explanation right covers only narrow cases and gives little a data subject can act on.
  • Method Counterfactual explanations name the smallest change to outside facts that would give a desired outcome, without opening the model. The search keeps the weights fixed and moves the input instead.
  • Results On the LSAT dataset, the generated counterfactuals gave the binary race variable fractional or negative values.

Why opening the black box stalls

Most attempts to explain an automated decision try to open the model and show how it reasons internally. The authors count four barriers to that route under the GDPR. No legally binding right to an explanation exists in the regulation, and any such right would reach only narrow cases, namely negative decisions that are fully automated and have serious effects.

Describing a complex system's behaviour for one case is technically hard, and controllers have good reasons to keep their algorithms and trade secrets private.

Even a technically complete account can leave a lay reader with little they can act on. The GDPR's own wording points the same way, because the logic requirement is read as general system functionality rather than as the reason for one decision. So the authors ask what a data subject needs from an explanation, instead of asking how the model works inside.

They set three aims: understanding why a decision was reached, contesting it, and learning what could change the result.

Counterfactuals as the explanation

The key idea is to explain a decision by naming the external facts whose change would lead to a desired outcome. A refused loan can be explained by saying what income would have led to approval, without saying how the model weighs income. The smallest such change to the world is the closest possible world, and it guides the search. Relevance also depends on factors such as how changeable a variable is and how likely the change is.

Existing explanations in machine learning convey the internal state of the algorithm, which can involve millions of interdependent variables. The authors draw on analytic philosophy, where a reason for believing something counts as a kind of explanation. Sensitivity is one such condition, built on a counterfactual: a belief is sensitive if the subject would not hold it were the proposition false.

The authors propose giving counterfactuals for every automated decision, positive or negative. This holds whether or not the decision is solely automated or has legal or similarly significant effects, so it sidesteps the GDPR's narrow definition of automated decision-making.

How one counterfactual is found

Training fixes the classifier weights w by minimising an objective over the training data, with a regulariser on the weights. At explanation time the weights stay fixed, and the search moves the input point instead. The search looks for a point x' close to the original x_i whose predicted output equals a new target y'.

The authors fold the closeness and the target into one objective with a distance term and a weighting parameter λ. λ is increased step by step, and at each step x' is solved for again, until the solution is close enough. The distance is the L1 norm, with each feature weighted by the inverse of its median absolute deviation.

The median absolute deviation measures how spread a feature is across the dataset, so a feature that varies widely can move further while the point stays close. Using the median absolute difference instead of the standard deviation also makes the metric more robust to outliers. The L1 norm favours solutions in which most entries are zero, so only a few variables change, which makes the counterfactual easier to understand.

Local minima are a concern, so each run starts from different random values for x'. The best minimiser is kept as the counterfactual, and the other minima serve as a diverse set of alternatives. The authors use ADAM for all experiments, and they say the choice of optimiser matters little.

What the LSAT run shows

The worked example uses the LSAT dataset, which predicts first-year average grade from race, grade-point average and entrance exam score. Classifiers trained on this data are known to show bias against black people, so the counterfactuals can expose that bias. That small model still has 941 weights and 40 neurons with complex interdependencies, which makes its internal state hard to convey.

The authors use the unweighted squared Euclidean distance here and ask what would have to change to give a predicted score of 0. Scores are normalised, so 0 corresponds to the average score.

The race variable is binary, with 0 for white and 1 for black, yet the generated counterfactuals assign it meaningless fractional or negative values. The adversarial literature often caps values to a range such as [0,1] to prevent this, but the LSAT run here shows the artefacts without applying that cap. So the run shows that a counterfactual must also be a valid data point, not merely a close one.

Where the GDPR leaves contesting open

The notification duties in Articles 13 and 14 give a broad overview of processing for a general audience. The Article 29 Working Party reads the logic requirement as a description of general system functionality, and it discourages a complex mathematical account of the algorithm. As a result, the overview is largely unsuitable for understanding the rationale of a specific decision.

Articles 13 to 15 don't require telling data subjects about the safeguards in Article 22(3), including the right to contest. Information about the right not to be subject to an automated decision is also left out, which weakens the basis for challenging a decision.

The right to contest is legally binding, so it doesn't depend on whether a right to explanation exists. Counterfactuals give the external facts behind a decision, which is the information a contest needs. For example, learning that low income led to a refusal could help a subject argue that the income data is inaccurate or incomplete.

Limitations

The worked computation is shown on one small three-layer network and one dataset, LSAT. For images, the authors warn that counterfactuals found by adversarial perturbation may lie outside the space of real images. Further research into characterising such spaces is needed before counterfactuals can be used reliably there.

The race artefacts show that value constraints and the valid-point requirement are still open problems for the distance.

Paper info

Authors
Sandra Wachter, Brent Mittelstadt, Chris Russell
Venue
arXiv · Preprint
First published
2017-11-1
Added
2026-11-12
Updated
2018-3-21
Version
v3
arXiv
1711.00399
Category
cs.AI
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Sandra Wachter, Brent Mittelstadt, Chris Russell (2017). Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPR. arXiv:1711.00399v3. https://arxiv.org/abs/1711.00399v3

BibTeX
@misc{wachter2017counterfactual,
  title = {{Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPR}},
  author = {Sandra Wachter and Brent Mittelstadt and Chris Russell},
  year = {2017},
  eprint = {1711.00399},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.00399v3}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up