Research

Explainability of Visual Models

Opening the black box: using visual latent spaces and large language models to explain what a vision model sees and why it decides.

Deep vision models are accurate but opaque: they give an answer without the reasoning behind it, and the larger foundation models become, the harder that reasoning is to follow. In medicine, autonomous driving or legal settings, an unexplained answer is hard to trust and hard to adopt. Explainable AI (XAI) aims to change that. We distinguish two goals: interpretability, a model whose structure makes its decisions clear, and explainability, a model that can justify a specific prediction, the way a physician explains a diagnosis from the findings.

An image, the regions a model attends to, and a textual explanation
The goal: from an image to the regions and concepts that drove the decision, and to an explanation a person can read and question.

Our approach

In a modern model the encoder holds most of the knowledge (up to 80% of the parameters) and builds a hierarchy of features, from edges to parts to concepts. Current XAI methods fuse a single level of those features with a large language model that writes the rationale. Our Fondecyt Regular 2026 project goes further along five objectives:

  1. Multiscale representations. Select the scales of the visual encoder that carry the evidence, using prototype- and concept-based models.
  2. Rationales without labelled rationales. Generate explanations with state-of-the-art LLMs under self-supervision, aligned with those multiscale features (extending chain-of-thought approaches such as DDCoT).
  3. A hybrid explainable model that combines concepts, prototypes and chain-of-thought reasoning.
  4. Visual explanations. Sometimes a picture explains better than a sentence: we will use conditional diffusion models to generate explanations as images, showing the evidence instead of describing it.
  5. Evaluation in real settings, especially high-risk ones such as medicine, from simple to complex tasks.

Explainability in medical imaging

A clinical model has to adapt its explanations to the case and to the person asking. Our ANID Exploración 2025 project builds medical foundation models for CT, PET-CT and pathology slides with an adaptable explainability module and clinical-context prompting, so that a radiologist or a pathologist can query the model and receive justifications in their own terms (see Medical foundational models).

What we build on

Our encoders already expose part of their reasoning: skDINO matches each part of a sketch to the same part of a photo, and sketch-guided segmentation shows exactly which region a drawing refers to (see Visual encoders). Explainability turns these signals into explanations that people can check.

Sketch-photo keypoint correspondences
Correspondences between a sketch and a photo: a first, visual answer to the question of what the model is matching.

Associated projects

  • Leveraging visual latent spaces and large language models to facilitate interpretability and explainability of vision models (Fondecyt Regular 2026, abstract)
  • Dynamic AI foundation models for interpreting medical images through self-supervision, multimodality, clinical-context prompting and adaptable explainability (ANID Exploración 2025, summary)
← All research