Abstract
Explainable object recognition using vision-language models such as CLIP involves predicting accurate category labels supported by rationales that justify the decision-making process. Existing methods typically rely on prompt-based conditioning, which suffers from limitations in CLIP's text encoder and provides weak conditioning on explanatory structures. Additionally, prior datasets are often restricted to single, and frequently noisy, rationales that fail to capture the full diversity of discriminative image features. In this work, we introduce a multi-rationale explainable object recognition benchmark comprising datasets in which each image is annotated with multiple ground-truth rationales, along with evaluation metrics designed to offer a more comprehensive representation of the task. To overcome the limitations of previous approaches, we propose a contrastive conditional inference (CCI) framework that explicitly models the probabilistic relationships among image embeddings, category labels, and rationales. Without requiring any training, our framework enables more effective conditioning on rationales to predict accurate object categories. Our approach achieves state-of-the-art results on the multi-rationale explainable object recognition benchmark, including strong zero-shot performance, and sets a new standard for both classification accuracy and rationale quality. Together with the benchmark, this work provides a more complete framework for evaluating future models in explainable object recognition.
Introduction
Explainable object recognition aims to build models that don't just provide a category label, but also explain why (e.g., identifying a "cat" because it has "pointy ears and whiskers"). Current approaches using Vision-Language Models (VLMs) like CLIP face significant hurdles. Most existing datasets provide only a single rationale per image, which is often insufficient to capture the full set of discriminative features. Furthermore, standard "prompt-based conditioning"—such as inserting the word "because" into a text prompt—fails to create a mathematically sound probabilistic relationship between the image, category, and rationale because CLIP's text encoder was not trained to understand such complex logical structures.
The Multi-Rationale Benchmark
To address the limitations of single-rationale datasets, the authors introduced a new Multi-Rationale Benchmark by augmenting six popular datasets: CIFAR-10†, CIFAR-100†, Food-101†, Caltech-101†, SUN†, and ImageNet†. While previous benchmarks typically provided one rationale per image, this new benchmark averages approximately three rationales per image, offering a much richer ground truth for evaluating explainability.
Contrastive Conditional Inference (CCI)
The core contribution of this work is the Contrastive Conditional Inference (CCI) framework. Instead of relying on linguistic prompts, CCI treats rationales as geometric components within the CLIP embedding space.
As illustrated in Figure 1, CCI constructs a mathematical hyperplane (subspace) that represents the conditioning information. To classify an object, the model projects potential category embeddings onto this hyperplane and measures their alignment with a "desirable direction" vector—the average of the image and its rationales. This training-free approach bypasses the text encoder's linguistic limitations. The authors validated this method using an "RT ratio test," demonstrating that CCI models conditional probability much more accurately than standard prompting.
Experimental Results
The primary evaluation metric is RR (Right category and Right rationale). CCI achieves state-of-the-art performance across the benchmark in both zero-shot and fine-tuned settings.
In zero-shot settings, CCI significantly outperforms existing baselines such as DROR and ECOR. For example, on ImageNet†, CCI achieved an RR of 8.35% compared to DROR’s 2.92%. Remarkably, CCI's zero-shot performance on several datasets even surpassed baseline models that had been specifically fine-tuned on those datasets. When fine-tuned, CCI's performance improved further (e.g., reaching 58.92% RR on CIFAR-10†), while some baselines struggled to handle the increased complexity of multiple rationales.
Conclusion
CCI offers a powerful, training-free framework for explainable object recognition by leveraging the geometric properties of VLM embedding spaces. By moving beyond simple text prompts and single rationales, it sets a new standard for both classification accuracy and explanation quality. Future work may explore extending these geometric principles to generative vision-language models and implementing dynamic weighting for rationales based on their discriminative importance.
Summary updated