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

Exploring Interpretability for Visual Prompt Tuning with Cross-layer Concepts

Yubin Wang, Xinyang Jiang, De Cheng, Xiangqian Zhao, Zilong Wang, Dongsheng Li, Cairong Zhao

TL;DR

Interpretable Visual Prompt Tuning (IVPT) is a novel framework that transforms "black-box" visual prompts into human-understandable explanations. By linking prompts to category-agnostic "concept prototypes" grounded in specific image regions, IVPT allows researchers to see exactly which visual features—from fine-grained textures to high-level parts—the model is using to make its decisions across different network layers.

The Black-Box Problem of Visual Prompts

Visual Prompt Tuning (VPT) has become a go-to method for adapting massive, pre-trained foundation models (like Vision Transformers) to specific downstream tasks without the massive computational cost of full fine-tuning. However, VPT relies on "prompts"—abstract mathematical vectors added to the input—that are essentially uninterpretable. We know they help the model perform better, but we don't know why.

This lack of transparency is a dealbreaker for safety-critical fields like healthcare or autonomous driving. While some "interpretable" models exist, they usually only look at the final layer of a network and aren't designed for the unique architecture of prompt tuning. To bridge this gap, researchers have developed a way to ground these abstract prompts in actual visual concepts (like a bird’s wing or a car’s headlight) across the entire depth of the model.

Introducing IVPT: Methods and Architecture

The authors introduce Interpretable Visual Prompt Tuning (IVPT). Instead of learning random, abstract vectors, IVPT generates prompts through a structured, interpretable pipeline.

Overview of the Interpretable Visual Prompt Tuning (IVPT) framework.

The framework operates through several key mechanisms:

  1. Concept Region Discovery (CRD): The model maintains a set of "concept prototypes." These are category-agnostic, meaning a "wing" prototype is shared across all bird species. The CRD module compares these prototypes to the image's patch embeddings to find the most relevant regions.
  2. Intra-region Feature Aggregation (IFA): Once a region is identified (e.g., the area corresponding to a "beak" prototype), the model aggregates the features from that specific area to create the prompt for that layer.
  3. Cross-Layer Hierarchy: The framework uses a "fine-to-coarse" strategy. Shallow layers utilize many prototypes to capture fine details, while deeper layers use fewer prototypes to capture abstract, global concepts.
  4. Cross-Layer Prompt Fusion: To ensure consistency, the model uses a "consistency loss" that forces fine-grained prompts in early layers to align spatially with the coarser prompts in later layers. This emulates human reasoning, where observing a feather (fine) helps identify a wing (coarse).

Crucially, the backbone Transformer remains frozen during this process; only the prototypes and a lightweight fusion MLP are trained.

Datasets and Qualitative Results

The researchers evaluated IVPT on several challenging fine-grained classification benchmarks to test its versatility and robustness:

  • CUB-200-2011: The gold standard for bird species classification, used for its detailed part-level annotations.
  • Gleason-2019: A pathology dataset for prostate cancer grading, testing the model's utility in medical AI.
  • Stanford Cars & FGVC-Aircraft: For general fine-grained object recognition.
  • PartImageNet & PASCAL-Part: Used to test how well the model's discovered concepts generalize across different categories.
Visualizations of discovered concepts across Gleason-2019, Stanford Cars, and FGVCAircraft datasets.

As seen in the visualizations above, the model successfully isolates meaningful, human-understandable regions—such as specific car parts, aircraft components, and distinct tissue structures in pathology slides—without requiring dense part-level annotations during training.

Key Insights and Performance

  • Category-Agnosticism is Key: By learning shared prototypes rather than class-specific ones, the model discovers a universal visual "vocabulary." This makes the explanations more robust and allows the model to handle novel categories it hasn't seen during training.
  • Interpretability Doesn't Require a Performance Hit: Traditionally, making a model interpretable often reduces its accuracy. IVPT actually outperforms standard VPT in many cases. Grounding prompts in meaningful image regions provides better guidance for the frozen backbone. On the CUB-200-2011 dataset using a DinoV2-L backbone, IVPT achieved 91.1% accuracy, outperforming standard VPT-Deep (89.5%).
  • The "Fine-to-Coarse" Alignment: Forcing the model to maintain spatial logic across layers (e.g., the "eye" must be inside the "head") results in explanations that feel much more natural and trustworthy. IVPT scored significantly higher on "Consistency" and "Stability" compared to previous state-of-the-art methods like ProtoPNet.
  • Human Validation: A study with 20 participants found a 97.5% accuracy in matching the model's learned prototypes to human-understandable descriptions, confirming the real-world semantic value of the discovered concepts.

Limitations and Future Work

While highly effective, the framework does present a few hurdles:

  • Computational Overhead: The extra modules add about a 5% increase in training time and inference latency.
  • Domain Dependence: The model currently relies on "in-domain" prototypes. A model trained on birds might struggle to find meaningful concepts in a dataset of furniture without retraining the prototypes.
  • Visual Ambiguity: In highly cluttered scenes, prototypes can occasionally misalign, such as mistaking a textured branch for a bird's leg.

Future work may involve scaling this approach to larger multi-modal models or developing "universal" prototypes capable of generalizing across entirely different visual domains without the need for retraining.

Summary updated

BibTeX
@inproceedings{wang2026exploring,
  author = {Yubin Wang and XINYANG JIANG and De Cheng and Xiangqian Zhao and Zilong Wang and Dongsheng Li and Cairong Zhao},
  title = {{Exploring Interpretability for Visual Prompt Tuning with Cross-layer Concepts}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=NHP2Y8IVMU},
}
Figure