
MT
Magdalena Tr\k{e}dowicz, Piotr Borycki, Jacek Tabor, {\L}ukasz Struski, Pawe{\l} Batorski, Przemys{\l}aw Spurek
· 1 min read
ResearcharXiv cs.CV
TePIC: Text-Driven Prototypes for Image Classification
arXiv:2612.02791v1 Announce Type: new
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 https://github.com/gmum/TePIC
Original source
This story was published by arXiv cs.CV and written by Magdalena Tr\k{e}dowicz, Piotr Borycki, Jacek Tabor, {\L}ukasz Struski, Pawe{\l} Batorski, Przemys{\l}aw Spurek. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on arxiv.org


