Computer Science > Computer Vision and Pattern Recognition
Title:TePIC: Text-Driven Prototypes for Image Classification
Abstract:Prototype-based post-hoc methods explain image classifiers by showing visual examples. Recent generative variants synthesize these prototypes by optimizing continuous embeddings that condition a text-to-image model. The resulting prototypes are images without textual description, so the viewer must infer which attribute the prototype represents. The optimized embeddings cannot be directly read. We introduce TePIC, a framework that replaces continuous latent vectors with short text prompts generated by a language model. A frozen text-to-image model renders prompt, and the classifier scores the rendered images. The prompt is rewarded only if its images activate the target channel strongly and the other selected channels weakly. Each prompt is therefore both the name of a concept and the exact condition that produces its prototype. Since token sampling is not differentiable, we train the language model with group-relative reinforcement learning. Across vision benchmarks, TePIC matches baseline accuracy and provides more informative explanations. Unlike prior methods, which attach text to a prototype post-hoc, TePIC produces prototypes in which the text directly generates the corresponding images. These findings demonstrate that discrete language policies can replace latent spaces that humans cannot interpret and deliver faithful, text-based visual explanations. Code is available at this https URL
| Subjects: | Computer Vision and Pattern Recognition (cs.CV) |
|---|---|
| Cite as: | arXiv:2612.02791 [cs.CV] |
| (or arXiv:2612.02791v1 [cs.CV] for this version) | |
| https://doi.org/10.48550/arXiv.2612.02791 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.