Papers › Derivative-Free Diffusion Manifold-Constrained Gradient for Unified XAI

Derivative-Free Diffusion Manifold-Constrained Gradient for Unified XAI

22 Nov 2024CVPR 2025 1arXiv:2411.15265archive 2025-07-28

Won Jun Kim, Hyungjin Chung, JaeMin Kim, Sangmin Lee, Byeongsu Sim, Jong Chul Ye

Gradient-based methods are a prototypical family of explainability techniques, especially for image-based models. Nonetheless, they have several shortcomings in that they (1) require white-box access to models, (2) are vulnerable to adversarial attacks, and (3) produce attributions that lie off the image manifold, leading to explanations that are not actually faithful to the model and do not align well with human perception. To overcome these challenges, we introduce Derivative-Free Diffusion Manifold-Constrainted Gradients (FreeMCG), a novel method that serves as an improved basis for explainability of a given neural network than the traditional gradient. Specifically, by leveraging ensemble Kalman filters and diffusion models, we derive a derivative-free approximation of the model's gradient projected onto the data manifold, requiring access only to the model's outputs. We demonstrate the effectiveness of FreeMCG by applying it to both counterfactual generation and feature attribution, which have traditionally been treated as distinct tasks. Through comprehensive evaluation on both tasks, counterfactual explanation and feature attribution, we show that our method yields state-of-the-art results while preserving the essential properties expected of XAI tools.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2411.15265")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

By repository: community (archive-listed): 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

openxaiproject/pnpxai mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from openxaiproject/pnpxai. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

class_to_string openxaiproject/pnpxai/pnpxai/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 798139054e497f0c · report
default_input_extractor openxaiproject/pnpxai/pnpxai/core/experiment/experiment.py community (archive-listed) unverified Apache-2.0 (permissive) · a1860e57d5a0edec · report
default_label_extractor openxaiproject/pnpxai/pnpxai/core/experiment/experiment.py community (archive-listed) unverified Apache-2.0 (permissive) · 0cdd0c5d6ba415a4 · report
default_target_extractor openxaiproject/pnpxai/pnpxai/core/experiment/experiment.py community (archive-listed) unverified Apache-2.0 (permissive) · 5d63778aac6b9355 · report
extract_graph_data openxaiproject/pnpxai/pnpxai/core/detector/detector.py community (archive-listed) unverified Apache-2.0 (permissive) · 8dbe2239fcbea134 · report
get_message openxaiproject/pnpxai/pnpxai/messages.py community (archive-listed) unverified Apache-2.0 (permissive) · 825fdcd6ac8695a2 · report
get_target_module_of openxaiproject/pnpxai/pnpxai/core/detector/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 33f03c8a5a42fdf8 · report
map_recursive openxaiproject/pnpxai/pnpxai/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 91138d6d6ff5ba36 · report
symbolic_trace openxaiproject/pnpxai/pnpxai/core/detector/detector.py community (archive-listed) unverified Apache-2.0 (permissive) · 807d4c7be1c43170 · report
to_device openxaiproject/pnpxai/pnpxai/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · d26569f5d3d35dd5 · report

Tasks

Counterfactual Explanation

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGNDiffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections