Attributing HOW, Not Just WHICH: Counterfactual Response Trajectories for Diffusion Models
Haoqian Zhang, Ziyuan Yang, Zerui Shao, Yi Zhang
Key points
From the paper's conclusion- We therefore reformulate diffusion data attribution as attributing factor-induced internal response trajectories.
Abstract
Diffusion models have achieved remarkable success in image generation, yet tracing their outputs to individual training examples remains challenging. Existing attribution methods often compress factor-specific effects into scalar responses, making distinct internal changes indistinguishable. This is particularly limiting for diffusion models, where semantic factors emerge through evolving representation dynamics during denoising. We therefore reformulate diffusion data attribution as attributing factor-induced internal response trajectories. In this paper, we propose a novel Concept Attribution method through Dynamic Trajectories(CADT). We argue that attribution should therefore ask not only \emph{which} examples matter, but also \emph{how} their influence unfolds during generation. Specifically, we construct matched counterfactual pairs at identical noisy states to isolate factor-specific representation displacements, and model their directional and magnitude evolution across denoising as dynamic attribution signatures. For each training example and generated query, CADT extracts stage-wise feature vectors and integrates them along the denoising process to form a trajectory descriptor. Applying the same construction across the training set yields a bank of factor-specific trajectory descriptors. The covariance statistics of this bank are then used to construct . CADT uses this covariance-aware positive-semidefinite kernel to calibrate the query and training representations, and compares the calibrated query trajectory with each training trajectory to produce the final training-sample attribution scores. Experiments on multiple public datasets show consistent improvements over existing diffusion attribution baselines across hierarchical, compositional, and style attribution.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Outputs of generative diffusion models are often unattributable.Nature communications · 2026
- Where to Look Is Not How to Fix: Pre-Denoising Diagnostics and Modality-Dependent Control in Diffusion CompositionarXiv · 2026
- Interpreting Diffusion Model Activations in Natural LanguagearXiv · 2026
- CounterFlow: Target-Conditioned Flow Matching for Visual CounterfactualsarXiv · 2026
- D-Scope: Decomposing and Steering Diffusion Transformers with Sparse AutoencodersarXiv · 2026
- Contrastive Diffusion Alignment: Learning Structured Latents for Controllable Generation.Proceedings of machine learning research · 2026