Vocabulary Aligned Explanations for Computer Vision Models

Erfan Mirhaji, Nikhil Krishnaswamy, Jill Zarestky, Lisa Mason, Nathaniel Blanchard, Sarath SreedharanarXiv 2026

TL;DR

FLUENT is a new post-hoc framework that explains computer vision model predictions using human-understandable, domain-specific logical rules. Unlike standard heatmaps, it can explain why a classification was made based on both the presence and absence of specific features, providing visual evidence through query-image highlights and reference examples.

What Problem Does This Paper Address?

While deep learning models are incredibly accurate, they are often "black boxes." Existing explainable AI (XAI) methods like Grad-CAM show where a model looks, but they don't explain why. A highlighted region might contain multiple attributes, and heatmaps don't specify which one matters or how they interact.

Furthermore, human experts (like entomologists identifying bees) often reason using logical rules that include "negative evidence"—the absence of a feature. Most current XAI tools struggle to communicate why the lack of a certain trait led to a specific classification. There is a clear gap between the raw saliency maps used by AI researchers and the structured, vocabulary-aligned explanations required by domain experts and end-users.

Methods

The authors introduce FLUENT (Framework for Localized, Uncertainty-Aware Explanations in Normative Terminology). It works in three main stages:

  1. Rule Scoring: FLUENT takes a set of expert-authored logical rules (e.g., "If it has a green head AND pollen on its legs AND NOT a fuzzy body, it's a Green Metallic Sweat Bee"). It uses a Bayesian model to rank these rules based on the model's predicted label and predicted concept states, accounting for the known error rates of these predictors.
  2. Visual Grounding (Positive): For concepts mentioned as "present" in the winning rule, FLUENT uses occlusion-based highlights to show exactly where that concept appears in the original query image.
  3. Visual Grounding (Negative): For concepts mentioned as "absent," FLUENT retrieves a reference image from a database that does contain that concept and highlights it there. This "teaches" the user what the missing feature looks like.
This figure illustrates how a human expert explains a bee's identity using rules and visual cues, which FLUENT aims to replicate.

The core of the rule selection is a probabilistic model that separates the logical domain knowledge from the inherent noise and errors in the underlying vision model.

The Bayesian model used by FLUENT to select the best-supported rule based on observed predictions and estimated error likelihoods.

Datasets

The framework was evaluated on two distinct benchmarks:

  • Synthetic Benchmark: A purpose-built dataset with 3 classes, 16 abstract visual concepts, and 6 expert rules. This controlled environment allowed the researchers to test rule recovery against a known ground truth.
  • Real Bee Dataset: A challenging real-world dataset featuring field photographs of three bee groups. It uses four domain concepts: FuzzyBody, DenseHindLeg, PollenHindLeg, and GreenHeadAndThorax.

Key Insights and Ideas

  • Logic over Heatmaps: By using propositional logic (AND, OR, NOT), FLUENT provides a much richer explanation than a simple heatmap. It shows how different features combine to satisfy a domain-specific definition.
  • Correcting the Classifier: One of the most striking findings was that the rule-based system could sometimes "fix" a wrong classification. If the concept predictors are strong but the main label head is weak, the rule scorer can identify the correct class by looking at the evidence from the concepts.
  • The Power of Absence: Explaining what isn't there is just as important as explaining what is. By retrieving reference images for negative literals, FLUENT provides a complete educational experience for the user.
  • Confidence $\neq$ Calibration: The authors found that high confidence scores for a rule don't always mean the rule is correct. This highlights the danger of relying on "decisive" model outputs without proper validation.

Key Results

The researchers tested FLUENT across 12 different vision backbones (including ResNets, ViTs, and ConvNeXts).

Table 1. Four representative backbones in the reference configu- rations: T=5000, C=500, P=0.1 for the synthetic benchmark; fixed dataset splits and P=0.1 for bees. Accuracies are percent- ages; Avg Conf is unitless. ConceptAcc averages accuracy on the concept test sets; the other metrics use the Explanation Test splits (300 synthetic and 600 bee images). Bold marks column maxima among the displayed models within each dataset. Bee values have the overlap limitations in Appendix C.4. Full results appear in Ap- pendix Tables 8 and 24.
  • Rule Accuracy: On synthetic data, top-tier models like ViT-B/16 (DINO) achieved up to 96.7% rule accuracy.
  • Error Correction: For a weak ResNet-50 model on synthetic data, incorporating concept evidence raised the implied label accuracy from 39.0% to 85.3%.
  • Real-World Challenges: On the bee dataset, rule-implied labels were generally less accurate than the classifier's direct predictions. This suggests that in complex real-world scenes, errors in individual concept detection can compound and lead to incorrect rule selection.

Limitations and Future Work

  • Mutual Exclusivity: The current scorer assumes that rules are mutually exclusive (only one rule can be true at a time), which may not hold in all domains.
  • Localization Precision: The occlusion-based highlighting is sensitive to patch size and doesn't necessarily respect anatomical boundaries. Integrating more advanced segmentation models like SAM 3 is a suggested future direction.
  • Human-in-the-loop: While the system is designed for humans, this paper focuses on automated evaluation. Future work will involve user studies to see if these logical explanations actually improve human understanding and trust.
  • Data Overlap: The authors noted some overlap between training and test sets in the bee dataset, which might inflate some performance metrics. Independent, deduplicated evaluations remain an important next step.

Summary updated

Abstract

Optimizing vision models for accuracy does not force the model to learn and utilize human-understandable and domain-specific concepts and rules. We propose explaining image classifications through domain-specific concepts, visual evidence, and expert knowledge expressed as logical rules. We introduce FLUENT (Framework for Localized, Uncertainty-Aware Explanations in Normative Terminology), a post-hoc framework that ranks expert-authored rules combining jointly required, alternative, and absent concepts. To account for prediction errors, FLUENT combines predicted labels and concept states with empirically estimated likelihoods and concept priors. It scores each rule by calculating support over satisfying assignments to the concepts mentioned in that rule, then normalizes these scores to express relative confidence among candidate explanations. The selected rule is illustrated through occlusion-based highlights for positive concept mentions in the query image and localized examples in retrieved reference images for negative mentions. These illustrations are intended to show end users unfamiliar with the domain what the concepts named in an explanation look like. FLUENT combines domain knowledge and model accuracy, and delivers visual concept highlights and explicit rule confidence to explain an image in the vocabulary of an application domain.
BibTeX
@misc{mirhaji2026vocabulary,
  author = {Erfan Mirhaji and Nikhil Krishnaswamy and Jill Zarestky and Lisa Mason and Nathaniel Blanchard and Sarath Sreedharan},
  title = {{Vocabulary Aligned Explanations for Computer Vision Models}},
  year = {2026},
  eprint = {2611.01391},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.01391},
}
Figure