ProDG: Prototypes for Data-Free Generative Post-Hoc Explainability

Piotr Borycki, Magdalena Trędowicz, Jacek Tabor, Łukasz Struski, Przemysław Spurek · 2026

Read ProDG: Prototypes for Data-Free Generative Post-Hoc Explainability by Piotr Borycki, Magdalena Trędowicz, Jacek Tabor, Łukasz Struski, Przemysław Spurek (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-08858.txt.

Introduction

Piotr Borycki and four coauthors explain image classifier decisions with prototypes, the this looks like that style of explanation, without needing any of the original data. Prototype methods normally mine example patches from a held out dataset, blocking use where data is private or gone, while post hoc explainers avoid retraining but still needed that data access. ProDG instead synthesizes clean, high fidelity prototypes directly from the frozen model's own weights using generative models.

No external data enters at any point. The authors frame the result as a new frontier in data free explainability, aimed at privacy sensitive domains like medicine where original images are restricted or fundamentally unavailable. Model auditing gains explanations that respect the same privacy walls as deployment.

Catalog record

CREATORPiotr Borycki, Magdalena Trędowicz, Jacek Tabor, Łukasz Struski, Przemysław Spurek
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE41 KB
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.08858

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

ProDG: Prototypes for Data-Free Generative Post-Hoc Explainability Piotr Borycki, Magdalena Trędowicz, Jacek Tabor, Łukasz Struski, Przemysław Spurek Abstract Ante-hoc interpretability methods based on prototypes provide highly accurate explanations by utilizing the intuitive "this looks like that" reasoning paradigm. On the other hand, post-hoc models can explain predictions for a single image without relying on an underlying dataset or requiring costly neural network retraining. Recent approaches successfully solve the retraining problem for prototype-based networks. However, they still face a fundamental limitation: they require access to a subset of data (e.g., a test or validation set) to search for and extract the visual prototypes. In this paper, we address this issue and introduce ProDG: Generative Prototypes for Data-Free Post-Hoc Explainability, a novel framework that leverages generative models to synthesize pure, high-fidelity prototypes directly from the frozen model’s weights, completely eliminating the dependency on any external data. By establishing this new frontier in Data-Free XAI, ProDG unlocks robust visual interpretability for privacy-sensitive domains, where original data is strictly restricted or fundamentally inaccessible. Project page: https://github.com/piotr310100/ProDG Figure 1 : Overview of the ProDG prototype retrieval pipeline and explanation generation. Given an input image, ProDG first applies a classification model to predict the target class. It then identifies the top- k most influential channels with respect to the predicted class. From an optimized prompt bank, ProDG samples prompts to generate corresponding images, which are subsequently used to compute activation heatmaps and derive bounding boxes for visual explanations. 1 Introduction Deep neural networks have achieved remarkable performance in computer vision, but their black-box nature raises critical trust and safety issues. To address this, post-hoc explainability methods, such as SHAP lundberg2017unified , LIME ribeiro2016should , LRP bach2015pixel , and Grad-CAM selvaraju2020grad , were developed. These models can explain predictions for a single image without relying on an underlying dataset or requiring costly neural network retraining. While highly efficient, these standard post-hoc methods typically produce pixel-level attribution maps or feature importance scores. Unfortunately, these heatmaps often lack a clear semantic meaning, leaving the end user to guess the actual reasoning behind the model’s focus. Fig 2 provides a qualitative comparison between ProDG prototype-based explanations and post-hoc attribution methods, including Grad-CAM and LRP. To provide highly accurate and human-understandable explanations, ante-hoc interpretability methods based on prototypes were introduced. Pioneered by ProtoPNet chen2019looks , these architectures utilize the intuitive "this looks like that" reasoning paradigm. The network learns a set of latent prototypes during training and classifies an image based on its visual similarity to these learned concepts. This field has seen significant development with methods improving prototype diversity, hierarchy, and mathematical guarantees, including ProtoPool rymarczyk2022interpretable , ProtopShare rymarczyk2021protopshare , ProtoTree nauta2021neural , ProtKNN ukai2022looks , and PiPNet nauta2023pip . Furthermore, recent works like InfoDisent struski2024infodisent and SIDE dubovik2025side push the boundaries of prototype scalability, applying these interpretable structures to large and complex datasets. However, all these ante-hoc models inherently demand specialized architectures and extensive retraining from scratch, which is often computationally prohibitive. Bridging the gap between post-hoc efficiency and prototype-based clarity is a significant challenge. Recent methods like EPIC borycki2026epic successfully solve the retraining problem for prototype-based networks. EPIC extracts prototype-like explanations from already trained, frozen classifiers in a purely post-hoc manner. Despite this breakthrough, EPIC and all previously mentioned prototype networks still face a fundamental limitation: they require access to a subset of data (e.g., a test or validation set) to search for, crop, and extract the visual representations of the prototypes. In real-world scenarios, especially in privacy-sensitive domains such as healthcare and finance, original datasets are strictly restricted or fundamentally inaccessible, rendering these data-dependent methods unusable. In this paper, we address this critical issue and introduce ProDG: Generative Prototypes for Data-Free Post-Hoc Explainability. ProDG is a novel framework that completely eliminates dependence on external data. Instead of searching for prototype patches within a given dataset, our method leverages advanced generative models to synthesize pure, high-fidelity visual prototypes directly from the frozen model’s weights. By optimizing the generative process to maximize activation purity for specific classifier channels, ProDG creates isolated, semantically meaningful visual concepts. For the overview of the proposed method see Fig. 1 . By establishing this new direction in Data-Free XAI, ProDG unlocks robust visual interpretability for highly constrained environments where data access is impossible. Our approach not only guarantees privacy preservation but also yields cleaner conceptual representations than traditional cropped patches, which often suffer from irrelevant background noise. In summary, our main contributions are as follows: • We propose ProDG, a novel Data-Free Post-Hoc Explainability framework that synthesizes prototype explanations without requiring any access to the original or validation datasets. • We introduce a purity-optimized conditioning mechanism that utilizes generative models to create high-fidelity, interpretable visual concepts directly from the weights of a frozen classifier. • We demonstrate that generative prototypes provide superior semantic clarity and offer a secure, privacy-preserving alternative to traditional data-dependent prototype extraction. ProDG (Ours) Grad-CAM LRP Figure 2 : Qualitative comparison of explanations produced by ProDG, Grad-CAM, and LRP ProDG reveals semantically rich visual cues, capturing object structure, color patterns, texture details, and discriminative regions such as the tortoise shell. In contrast, Grad-CAM and LRP primarily highlight coarse activation regions, which are less informative for interpreting specific visual concepts and attributes. 2 Related Works Explainability in deep learning has been approached from two fundamentally different perspectives: post-hoc methods that explain pretrained models without modifying them, and ante-hoc methods that build interpretability directly into the model architecture. Prototype-based approaches form a prominent subclass of the latter, offering human-understandable visual explanations grounded in learned concepts. Recent efforts have begun to bridge these two paradigms, though a critical gap around data accessibility remains unaddressed. Post-hoc explainability methods constitute the most widely adopted family of approaches for interpreting neural network predictions. Attribution-based techniques such as LIME ribeiro2016should and SHAP lundberg2017unified explain individual predictions by approximating model behavior locally or via Shapley value decomposition, respectively. Gradient-based and propagation-based methods, including LRP bach2015pixel and Grad-CAM selvaraju2020grad , generate spatial saliency maps by propagating relevance signals backward through the network or leveraging class-discriminative gradient information. While computationally efficient and architecture-agnostic, these methods produce pixel-level heatmaps that frequently lack human-interpretable semantic meaning, requiring the user to infer the conceptual rationale behind a model’s focus. Prototype-based interpretable architectures address this semantic gap by grounding classification decisions in human-understandable visual concepts. ProtoPNet chen2019looks pioneered this paradigm by learning a set of latent prototypical parts during training and classifying images through their similarity to these prototypes, embodying the "this looks like that" reasoning principle. Subsequent work has substantially extended this framework along multiple dimensions. ProtoPool rymarczyk2022interpretable introduces a differentiable prototype assignment mechanism, enabling more flexible prototype allocation across classes. ProtopShare rymarczyk2021protopshare explores cross-class prototype sharing to reveal structural similarities between categories. ProtoTree nauta2021neural organizes prototypes hierarchically in a decision tree, yielding more compositional and interpretable reasoning paths. PiPNet nauta2023pip shifts the focus to patch-based prototypes with stronger alignment guarantees, improving visual coherence and faithfulness. ProtKNN ukai2022looks reformulates prototype-based reasoning within a similarity-based nearest-neighbor classification framework. Collectively, these methods demonstrate the richness and versatility of the prototype paradigm, yet they universally require purpose-built architectures trained from scratch, imposing substantial computational costs. Bridging post-hoc efficiency and prototype-based clarity remains an active research direction. EPIC

Read the complete text