Organizations: Sun Yat-sen University · Northwestern University · Technion - Israel Institute of Technology · Department of Automation and Intelligent Sensing, Shanghai Jiao Tong University
While diffusion Multimodal Large Language Models (dMLLMs) have recently achieved remarkable strides in multimodal generation, the development of interpretability mechanisms has lagged behind their architectural evolution. Unlike traditional autoregressive models that produce sequential activations, diffusion-based architectures generate tokens via parallel denoising, resulting in smooth, distributed activation patterns across the entire sequence. Consequently, existing Class Activation Mapping (CAM) methods, which are tailored for local, sequential dependencies, are ill-suited for interpreting these non-autoregressive behaviors. To bridge this gap, we propose Diffusion-CAM, the first interpretability method specifically tailored for dMLLMs. We derive raw activation maps by differentiably probing intermediate representations in the transformer backbone, accordingly capturing both latent features and their class-specific gradients. To address the inherent stochasticity of these raw signals, we incorporate four key modules to resolve spatial ambiguity and mitigate intra-image confounders and redundant token correlations. Extensive experiments demonstrate that Diffusion-CAM significantly outperforms SoTA methods in both localization accuracy and visual fidelity, establishing a new standard for understanding the parallel generation process of diffusion multimodal systems.
Figures & tables
Figure 1: Visual comparison of (A) [LLaVA-CAM] and (B) [Diffusion-CAM] (ours). Our method generates more focused and clearer activation maps.
Figure 2: Illustration of the Raw CAM generation and Adaptive Denoising. (Left) Raw CAM Generation: We capture intermediate visual features and gradients from the LaViDa backbone during the denoising process via hook registration. (Right) Adaptive Kernel Denoising: A dynamic kernel Kadapt , calibrated by feature statistics (e.g., σ ), drives a Rank Gaussian Filter to suppress stochastic noise and architectural artifacts, transforming noisy activations into precise, semantically coherent heatmaps.
Figure 3: Illustration of the other three modules of Diffusion-CAM. Distribution-Aware Confidence Gating: We calculate an adaptive threshold and process regions differently. Contextual Background Attenuation: identifies the foreground and background and calculates suppression factors. Single-Instance Causal Debiasing: uses repeated tokens and abnormally high activation mask to make heatmap clearer.
COCO Caption
GranDf
Method
Obj-IoU(%)
Contrast
Concen.
F3-Score
Obj-IoU(%)
Contrast
Concen.
F3-Score
LLaVA-CAM
20.02
2.18 ×
41.22
18.08
18.16
1.41 ×
70.80
14.22
Grad-CAM
19.93
2.04 ×
41.91
17.43
17.82
1.48 ×
75.42
14.67
TAM
15.21
2.51 ×
40.10
17.61
20.39
1.36 ×
67.31
14.23
Diffusion-CAM (Ours)
30.10
2.58 ×
51.41
23.04
28.41
2.02 ×
86.14
20.53
Table 1: Comprehensive comparison with state-of-the-art methods on COCO Caption Chen et al. (2015) and GranDf datasets Rasheed et al. (2024) , and the best baseline results are underlined . The F3-Score (%) reflects the overall performance, calculated as the harmonic mean of the three core metrics.
Config.
Obj-IoU(%)
Contrast
Concen.
F3-Score
Baseline
20.12
2.19×
41.42
18.16
+ Denoising
25.85
2.28×
44.01
20.16
+ Gating
21.22
2.20×
47.94
18.88
+ Attenuation
21.42
2.41×
42.63
19.59
+ Debiasing
24.11
2.29×
44.31
19.82
Full
30.10
2.58×
51.44
23.04
Table 2: Ablation study on COCO Caption Chen et al. (2015) . Each row toggles one module on top of the baseline.
Figure 4: Visual comparison between our method (D) and SoTA approaches including (A) [Grad-CAM], (B) [LLaVA-CAM], and (C) [TAM] at different Transformer layers. Diffusion-CAM produces more precise activation maps compared to the baselines, exhibiting robust localization ability across all visualized layers.
Figure 6: Visual comparison between our method and SoTA methods. Diffusion-CAM demonstrates superior global semantic alignment and also suppresses some noise in the baseline methods
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Attribution step
feat_len
img_end
Valid
t=0 (Prefix)
579
551
PASS
t=S/4
64
551
FAIL
t=S/2
64
551
FAIL
t=3S/4
64
551
FAIL
Aggregate over steps
–
–
N/A
Appendix
Table 4: Per-step feasibility check for image-span CAM extraction under LaViDa’s Prefix-DLM + KV-cached generation. A denoising step is considered valid only if the hooked hidden-state length satisfies seq_len≥img_end . Across all logged step-records ( 6600=200 images ×(1 prefix +S denoising steps ) ), only the earliest conditioning step passes, yielding a valid ratio of 200/6600=3.0% .
Attribution step
Valid
Contrast ↑
Concen. ↑
Obj-IoU ↑
F3-score ↑
Prefix ( t=0 )
200/200
2.549±0.126
50.69±1.741
0.307±0.024
0.234±0.018
t=S/4
0/200
–
–
–
–
t=S/2
0/200
–
–
–
–
t=3S/4
0/200
–
–
–
–
Aggregate over steps
–
–
–
–
–
Appendix
Table 5: CAM quality at the valid attribution step. Since later denoising steps are infeasible for image-span CAM extraction under Prefix-DLM + KV cache, metrics are reported only for the valid prefix step.
δσ
Obj-IoU ↑
Contrast ↑
Concen. ↑
F3-Score ↑
high_var
high_mean
low_mean
default
0.18
0.201±0.021
2.29±0.13
41.89±2.044
0.192±0.013
36.4%
14.1%
47.2%
3.3%
0.20
0.208±0.017
2.38±0.08
42.77±2.041
0.194±0.012
27.8%
16.6%
50.8%
4.8%
0.22
0.215±0.015
2.44±0.12
43.21±2.037
0.196±0.011
22.1%
19.3%
53.4%
5.2%
0.24
0.206±0.019
2.39±0.12
42.69±2.039
0.193±0.015
18.6%
21.0%
54.9%
5.6%
0.26
0.202±0.025
2.30±0.14
42.01±2.049
0.192±0.011
15.1%
22.3%
56.4%
6.2%
Appendix
Table 6: δσ sweep for DACG branch-boundary sensitivity. (Baseline values are δσ=0.22 , δμ=0.35 , δμ′=0.25 , with α1=90 , α2=75 , α3=80 , and α4=85 .)
δμ
Obj-IoU ↑
Contrast ↑
Concen. ↑
F3-Score ↑
high_var
high_mean
low_mean
default
0.28
0.199±0.024
2.30±0.15
41.75±2.121
0.192±0.037
14.7%
37.2%
45.2%
2.9%
0.32
0.205±0.022
2.36±0.18
42.41±2.132
0.194±0.034
19.2%
26.4%
49.8%
4.6%
0.35
0.215±0.015
2.44±0.12
43.21±2.037
0.196±0.011
22.1%
19.3%
53.4%
5.2%
0.38
0.207±0.027
2.35±0.19
42.60±2.054
0.194±0.031
25.6%
11.8%
57.2%
5.4%
0.42
0.201±0.025
2.32±0.19
42.01±2.173
0.193±0.039
29.3%
3.1%
61.7%
5.9%
Appendix
Table 7: δμ sweep for DACG branch-boundary sensitivity.
δμ′
Obj-IoU ↑
Contrast ↑
Concen. ↑
F3-Score ↑
high_var
high_mean
low_mean
default
0.20
0.198±0.025
2.28±0.22
40.81±2.201
0.192±0.012
26.0%
23.5%
43.6%
6.9%
0.23
0.204±0.023
2.31±0.19
42.07±2.147
0.194±0.013
23.4%
20.7%
49.9%
6.0%
0.25
0.215±0.015
2.44±0.12
43.21±2.037
0.196±0.011
22.1%
19.3%
53.4%
5.2%
0.28
0.209±0.021
2.39±0.17
42.61±2.094
0.195±0.015
19.2%
16.8%
60.2%
3.8%
0.30
0.202±0.031
2.25±0.24
41.98±2.188
0.193±0.013
14.9%
13.4%
69.3%
2.4%
Appendix
Table 8: δμ′ sweep for DACG branch-boundary sensitivity.
Setting
Obj-IoU ↑
Contrast ↑
Concen. ↑
F3-Score ↑
high_var
high_mean
low_mean
default
Dynamic (ours)
0.215±0.015
2.44±0.12
43.21±2.037
0.196±0.011
22.1%
19.3%
53.4%
5.2%
All α−5
0.201±0.022
2.28±0.26
41.77±2.111
0.193±0.008
22.1%
19.3%
53.4%
5.2%
All α+5
0.203±0.017
2.32±0.28
41.62±2.102
0.193±0.013
22.1%
19.3%
53.4%
5.2%
Fixed α=85
0.197±0.019
2.23±0.23
41.05±1.966
0.192±0.009
22.1%
19.3%
53.4%
5.2%
Appendix
Table 9: Percentile sensitivity of DACG with branch boundaries fixed.
Figure 7: Visualization results of four caption variants under the same teacher-forced attribution protocol by Diffusion-CAM. It is evident that, following the addition of redundant function words, regions in the image unrelated to the answer keywords (e.g., "cup") began to exhibit high-intensity activation; furthermore, as the number of function words increased, these irrelevant activations became increasingly pronounced.
Stage
Time (ms)
Device
Complexity
Base attribution pass
4880.8
GPU
-
AKD
12.7
CPU
O(HW⋅k2)
DACG
6.9
CPU
O(HW)
CBA
5.6
CPU
O(HW)
SICD
10.2
CPU
O(HW)
Total post-processing
35.4
CPU
O(HW)
Appendix
Table 10: Per-module runtime breakdown. The refinement modules are CPU-only and add negligible overhead relative to the attribution pass.
Method
Time (ms)
Peak Mem (GB)
F3-score
Notes
Diffusion-CAM (base)
4880.8
83.21
0.188
generate + contrastive backward
Base + AKD
4893.8
83.21
0.207
+ rank Gaussian filter
Base + DACG
4887.0
83.21
0.187
+ confidence gating
Base + CBA
4886.3
83.21
0.190
+ background attenuation
Base + SICD
4891.1
83.21
0.195
+ causal debiasing
Diffusion-CAM (full)
4914.4
83.21
0.225
all modules enabled
Appendix
Table 11: End-to-end computational overhead per image on 200 images (NVIDIA H20).
Variant
Contrast ↑
Concen. ↑
Obj-IoU ↑
F3-score ↑
concise
2.3546±0.1133
43.56±1.968
0.2342±0.0153
0.1942±0.0071
original
2.1905±0.1219
41.31±2.029
0.2086±0.0166
0.1846±0.0085
verbose
2.1266±0.1286
39.17±2.031
0.1969±0.0155
0.1829±0.0087
repeated
2.0985±0.1300
39.01±2.027
0.1908±0.0138
0.1811±0.0092
Appendix
Table 12: Controlled validation of the linguistic economy hypothesis on 200 COCO images. We compare four caption variants under the same teacher-forced attribution protocol. Increasing function-word redundancy leads to more diffuse and less object-specific CAMs.
Multimodal model interpretability studies how AI systems combine and use images, text, audio, video, and other signals, and how to explain their decisions.