← Latest papers
🤖 AI

From Neural Network Decisions to Training Cases: An Exact Account via Case-Based Decision Theory

This paper demonstrates that an Ordinary Least Squares (OLS) readout fitted on a fixed neural network representation enables an exact decomposition of decision scores into weighted sums of training case outcomes, thereby providing a rigorous, audit-ready case-based explanation grounded in Case-Based Decision Theory without requiring model retraining.

Original authors: Manli Yan, Yuebin Lin, Yaowen Yu, Yong Zhao

Published 2026-07-14
📖 6 min read🧠 Deep dive

Original authors: Manli Yan, Yuebin Lin, Yaowen Yu, Yong Zhao

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've built a super-smart robot chef. This chef can look at a pile of ingredients and decide whether to make a salad, a pizza, or a smoothie. But here's the problem: the chef doesn't keep a diary. It just has a giant, invisible brain full of weights and connections. When it chooses a pizza, you can't ask, "Why?" and get a clear answer like, "Because I saw a recipe for pizza in my memory."

That's the problem this paper tackles. It asks: Can we peek inside the robot's brain and find the specific past examples (training cases) that made it choose that pizza?

The Big Discovery: The "Recipe Card" Breakdown

The authors found a clever way to do this, but with a very specific condition. They showed that if you take a trained robot and freeze its "brain" (the part that turns ingredients into features) and then attach a simple, standard math tool (called an OLS readout) on top, you can exactly break down its decision.

Think of the robot's final score for "Pizza" not as a magic number, but as a weighted sum of past recipes.

  • Every time the robot saw a tomato in the past, that memory gets a little score.
  • Every time it saw basil, that gets a score.
  • The final "Pizza Score" is just the robot adding up all those past memories, multiplied by how much that memory matters right now.

The paper proves mathematically that for this specific setup, the robot's decision is exactly a weighted average of the outcomes of the training cases it learned from. It's like saying, "I'm choosing pizza because 10 past pizza recipes said 'yum' and 2 past salad recipes said 'yuck'."

The Twist: It's Not Always "Similarity"

Here is where the paper gets very careful and rules out a common misunderstanding.

In human thinking, we usually say, "I chose pizza because this situation looks similar to a time I ate pizza." We expect the "weights" (the importance of past memories) to be positive numbers. If a memory is similar, it helps; if it's not, it does nothing.

The paper argues against this simple view.
They show that the math behind the robot's decision doesn't always work like "similarity." Sometimes, the "weights" can be negative.

  • Positive weight: "This past memory supports the pizza!"
  • Negative weight: "This past memory actually argues against the pizza, so I'm subtracting its influence!"

The authors explain that you can only treat these weights as "similarity" if the robot's brain has been "whitened" (a specific mathematical cleaning process) and the weights stay positive. If not, you have to think of them as signed geometric influences. It's a fancy way of saying: "Don't assume the robot is just looking for similar things; it's doing a complex balancing act where some memories push the decision up and others pull it down."

The "Audit" Tool: Checking the Chef's Work

The paper introduces a new tool called a "post-training audit." This is great news because you don't need to retrain the robot or see its original training diary. You just need to fit that simple math tool on top of the frozen brain.

This tool gives you three superpowers:

  1. Trace the Evidence: You can see exactly which past cases raised the score and which ones lowered it.
  2. Check for Confusion: The tool calculates an "entropy" score. If the top memories are all saying "Pizza!" the score is low (good, clear decision). If half say "Pizza" and half say "Salad," the score is high (the robot is confused).
  3. Spot Weak Decisions: If the robot is making a decision based on memories that are far away or conflicting, the tool flags it as "weakly supported."

Did It Work? (The Proof)

The authors didn't just guess; they tested this in several ways:

  • Synthetic Test: They built a fake world where they knew the exact rules. The robot's decision matched the "true" case-based rules 96% of the time. The reconstructed scores correlated with the truth with numbers like 0.994 and 0.996.
  • Real-World Tests: They tried it on:
    • Energy Bidding (PJM): A real electricity market. The robot agreed with the case-based logic 3,221 out of 3,358 times.
    • Income Approval (Adult Income): A credit decision task. The robot and the case-based logic agreed 94.08% of the time.
    • Credit Default: Another risk task. Agreement was 87.5%.

When they compared their method to other popular ways of explaining AI (like "Influence Functions" or "Representer Points"), their method was the best at finding the top 30 most important training cases, with a consistency score of 0.941 (compared to 0.667 for the next best).

The Catch (What It's Not)

The paper is very clear about what this doesn't do:

  • It does not work for every single type of neural network. It works specifically for networks where you freeze the representation and use a simple linear readout (OLS). It doesn't claim to explain the messy, end-to-end nonlinear training of a giant model without this "freezing" step.
  • It doesn't claim to be a magic bullet for all AI explanations. It's a specific, exact accounting method for a specific setup.
  • The "similarity" interpretation is only valid under specific geometric conditions (whitening). Outside of that, the authors insist you must treat the weights as signed influences, not just "similarity."

The Bottom Line

This paper gives us a way to turn a black-box robot decision into a transparent list of past examples. It says, "Here is exactly which past memories pushed the robot to choose this, and which ones pulled it back." It's not a perfect mirror of human "similarity" thinking (because sometimes the robot subtracts memories), but it is an exact, mathematical accounting of the robot's evidence.

For a curious teenager, think of it like this: The robot isn't just guessing. It's holding a ledger. This paper gives us the key to read that ledger, showing us the exact list of past experiences that added up to the final decision, complete with a "plus" or "minus" sign for every single entry. And the best part? We can read this ledger without having to rebuild the robot from scratch.

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 →