← Latest papers
💻 computer science

Metonymy in vision models undermines attention-based interpretability

This paper reveals that modern pretrained vision transformers violate the locality assumption by exhibiting "intra-object leakage" (visual metonymy), which undermines the faithfulness of attention-based interpretability methods for part-based reasoning, and demonstrates that a two-stage approach can effectively mitigate this issue to improve attribute-driven part discovery.

Original authors: Ananthu Aniraj, Cassio F. Dantas, Dino Ienco, Massimiliano Mancini, Diego Marcos

Published 2026-05-08
📖 5 min read🧠 Deep dive

Original authors: Ananthu Aniraj, Cassio F. Dantas, Dino Ienco, Massimiliano Mancini, Diego Marcos

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 Problem: The "Cheating" Detective

Imagine you are trying to teach a computer to recognize a bird by looking at its parts. You want the computer to say, "I know this is a blue jay because I see a blue wing," or "This is a robin because I see a red breast."

To make this work, researchers use a special tool called an attention mechanism. Think of this like a detective's magnifying glass. When the computer looks at a bird, the magnifying glass highlights the specific part it's looking at (like the wing) and ignores the rest of the bird. The idea is: If the computer focuses on the wing, it should only use information from the wing to make its decision.

The Paper's Discovery:
The authors found that modern AI models are "cheating." Even when the magnifying glass is focused strictly on the wing, the computer is actually "smelling" the rest of the bird through the walls.

In linguistics, this is called Metonymy. It's like saying "The White House issued a statement" when you really mean "The President issued a statement." The part (the building) stands in for the whole (the administration).

In these AI models, the "wing" part doesn't just contain information about feathers; it secretly contains information about the "head," the "legs," and the "beak."

  • The Analogy: Imagine you are trying to guess a person's favorite food by looking only at their left hand. In a normal world, your hand tells you nothing about their stomach. But in these AI models, the hand is magically connected to the stomach. If the person likes pizza, their left hand glows with "pizza energy," even though you aren't looking at their mouth.

Why This Matters: The "Faithful" Lie

The paper argues that this makes current "interpretable" AI untrustworthy.

Many researchers believe their models are "interpretable" because they can show you a heatmap (a glowing map) that says, "Look, I'm looking at the beak!"

  • The Reality: The model is looking at the beak, but it's making its decision based on the legs because the "beak" representation is contaminated with "leg" information.
  • The Result: The explanation looks honest, but the reasoning is a lie. The model isn't actually reasoning about the part it's pointing to; it's using a shortcut.

The Solution: The "Soundproof Room"

The authors propose a new way to build these models to stop the cheating. They call it a Two-Stage Approach.

Stage 1: The Detective Finds the Rooms.
First, the model looks at the whole bird and draws outlines around the different parts (head, wing, leg). It's like a real estate agent identifying the rooms in a house.

Stage 2: The Soundproof Rooms.
Instead of looking at the whole house at once, the model puts each room into a separate, soundproof box.

  • It takes the "Wing" box and puts it in a room where no sound from the "Head" or "Leg" can get in.
  • It forces the computer to make a guess about the wing using only the information inside that soundproof box.

The Analogy:
Think of a group project where everyone is in the same room. If you ask the "Wing" student for their opinion, they might just repeat what the "Head" student said because they can hear them.
The authors' solution is to put every student in a separate, soundproof booth. Now, if you ask the "Wing" student, they have to come up with an answer based only on what they know about wings. They can't cheat by listening to the others.

The Results: Does It Work?

The authors tested this on three different types of "objects":

  1. Birds (CUB dataset): Checking if the model could identify wing colors or beak shapes.
  2. Faces (CelebA dataset): Checking if the model could identify eye color or if someone was wearing a hat.
  3. Chest X-rays (CheXpert dataset): Checking if the model could spot lung issues.

What they found:

  • Old Way (Late Masking): The "Wing" student could easily guess the "Leg" color. The model was confused and unfaithful.
  • New Way (Two-Stage/Soundproof): The "Wing" student could only guess wing things. The model became much better at actually understanding the specific parts.
  • The Trade-off: Building these soundproof rooms takes more computer power (about twice as much), but it makes the model's reasoning honest and accurate.

The Takeaway

The paper concludes that if you want an AI to explain why it made a decision based on a specific part of an image, you cannot just use standard models. They are too "noisy" and leak information from other parts. You need to build them with architectural isolation (the soundproof rooms) to ensure that when the AI points to a part, it is actually thinking about that part, and not just guessing based on the whole object.

In short: The paper proves that current AI models are lying about what they are looking at, and offers a "soundproof" construction method to force them to tell the truth.

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 →