NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Interpretable Queries for Explainable Image Classification with Information Pursuit

Stefan Kolek, Aditya Chattopadhyay, Kwan Ho Ryan Chan, Héctor Andrade-Loarca, Gitta Kutyniok, René Vidal · DOI

Abstract

Information Pursuit (IP) offers an "interpretable-by-design" framework for image classification by sequentially querying human-readable visual concepts. However, the reliance on handcrafted or LLM-generated query dictionaries often limits performance. This paper introduces a method to learn task-specific query dictionaries directly within the CLIP latent space. By optimizing these dictionaries alongside the classifier and querier, the proposed approach significantly narrows the gap between transparent models and black-box predictors, achieving competitive accuracy on benchmarks like CIFAR-100 and RIVAL-10 while maintaining human-auditable decision paths.

Introduction

Most modern explainable AI (XAI) methods are post-hoc, attempting to interpret the decisions of a "black-box" model after they have been made. In contrast, Information Pursuit (IP) is interpretable by design. It operates like a game of "20 Questions," where a model sequentially selects the most informative queries from a dictionary to identify an object in an image.

Overview of the Information Pursuit (IP) framework, where a model sequentially selects queries to identify an object.

The primary bottleneck for IP has historically been the query dictionary. Previous implementations relied on handcrafted lists or queries generated by Large Language Models (LLMs), which are often suboptimal, redundant, or insufficient for complex tasks. This research addresses the challenge of learning a task-specific query dictionary that is both highly accurate and human-understandable.

Methodology

The authors propose K-Learned Queries, a framework that treats the query dictionary as a learnable parameter within the latent space of a vision-language model (CLIP).

CLIP-Based Answering and Learnable Dictionaries

The system leverages CLIP’s shared embedding space. A query (text) and an image are both embedded; the "answer" to the query is determined by the dot product of these two embeddings. Instead of a fixed list, the model initializes $K$ learnable vectors ($Q_\theta$) in CLIP space. To maintain interpretability, each vector is mapped to its nearest neighbor in a "query universe" of approximately 300,000 human-readable concepts extracted from COCO image captions using LLaMA-3B.

Alternating Optimization

Training is conducted via an alternating algorithm to prevent the "querier" (the component selecting the next question) from losing its frame of reference as the dictionary evolves:

  1. V-IP Update: The dictionary is frozen while the querier and classifier networks are trained.
  2. Dictionary Update: The networks are frozen, and the dictionary parameters are updated using a single gradient step.

To handle the non-differentiable operations of discrete text selection and binary thresholding (Yes/No answers), the authors employ a Straight-Through Estimator (STE), allowing gradients to flow back through the model.

Key Insights: The Sparse Coding Connection

A significant theoretical contribution of this work is the formal mathematical link established between learning an IP dictionary and Sparse Dictionary Learning. In this analogy, the sequence of query-answer pairs acts as a "semantic code" for the image, while the KL-divergence of the prediction serves as the reconstruction loss. This perspective suggests that the "accuracy tax" typically associated with interpretability can be minimized if the model is allowed to optimize its own vocabulary of concepts.

Experimental Results

The model was evaluated on six diverse benchmarks, including RIVAL-10, CIFAR-10/100, ImageNet-100, CUB-200-2011, and Stanford-Cars.

Performance and Efficiency

Across all datasets, the K-Learned approach outperformed baseline IP models using handcrafted or LLM-prompted dictionaries. On RIVAL-10, the model achieved 98.73% accuracy, nearly matching black-box baselines. Furthermore, the model proved highly efficient, reaching high confidence with very few queries.

Accuracy vs. number of queries on CIFAR-10, demonstrating that the model achieves high accuracy with a small number of interpretable questions.

Comparison with Concept Bottleneck Models (CBMs)

The K-Learned IP model proved competitive with or superior to state-of-the-art CBMs. For instance, on CIFAR-100, it achieved 68.02% accuracy, significantly higher than the 56.00% achieved by PCBM.

Limitations and Future Work

While the system narrows the performance gap, it remains limited by the "answering mechanism" of the underlying foundation model (CLIP). Noisy answers from CLIP regarding similar concepts (e.g., "anemone" vs. "jellyfish") can lead to incorrect predictions. Additionally, while binary answers (Yes/No) maximize interpretability, they impose a quantization penalty on accuracy compared to soft scores. Future research may explore more robust answering mechanisms or open-ended query generation to further expand the query universe.

Summary updated

BibTeX
@misc{kolek2023learning,
  author = {Stefan Kolek and Aditya Chattopadhyay and Kwan Ho Ryan Chan and Héctor Andrade-Loarca and Gitta Kutyniok and René Vidal},
  title = {{Learning Interpretable Queries for Explainable Image Classification with Information Pursuit}},
  year = {2023},
  eprint = {2312.11548},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.11548},
}
Figure