LGCVOct 10, 2023

Latent Diffusion Counterfactual Explanations

arXiv:2310.06668v120 citationsh-index: 15
Originality Incremental advance
AI Analysis

This work addresses the need for more accessible and realistic counterfactual explanations in machine learning, particularly in scenarios with limited data access, though it is incremental by building on existing diffusion-based methods.

The paper tackles the problem of generating realistic counterfactual explanations for black-box models by introducing Latent Diffusion Counterfactual Explanations (LDCE), which uses latent diffusion models and a consensus guidance mechanism to reduce artifacts and improve efficiency, demonstrating versatility across various models and datasets.

Counterfactual explanations have emerged as a promising method for elucidating the behavior of opaque black-box models. Recently, several works leveraged pixel-space diffusion models for counterfactual generation. To handle noisy, adversarial gradients during counterfactual generation -- causing unrealistic artifacts or mere adversarial perturbations -- they required either auxiliary adversarially robust models or computationally intensive guidance schemes. However, such requirements limit their applicability, e.g., in scenarios with restricted access to the model's training data. To address these limitations, we introduce Latent Diffusion Counterfactual Explanations (LDCE). LDCE harnesses the capabilities of recent class- or text-conditional foundation latent diffusion models to expedite counterfactual generation and focus on the important, semantic parts of the data. Furthermore, we propose a novel consensus guidance mechanism to filter out noisy, adversarial gradients that are misaligned with the diffusion model's implicit classifier. We demonstrate the versatility of LDCE across a wide spectrum of models trained on diverse datasets with different learning paradigms. Finally, we showcase how LDCE can provide insights into model errors, enhancing our understanding of black-box model behavior.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes