betaFeedback

WorksComputer Science

Disentangling Where and When:Factored Spatio-Temporal Explanations for Video Action Recognition

Abstract

Post-hoc explanation methods for video action recognition typically conflate spatial appearance and temporal dynamics into a single saliency or importance map. We propose a perturbation-based framework that disentangles these contributions into a spatial appearance mask (MaM_a) and a temporal motion mask (MmM_m). The two masks are jointly optimized against a frozen action recognition model through factored perturbation architecture, with nearest frame replacement to identify important temporal dynamics. A separation penalty discourages the appearance mask from spending budget on frames that the motion mask has already discarded. A ReLU-based area constraint penalizes explanations larger than an assigned budget. To evaluate these explanations, we introduce a separation protocol that sweeps spatial pixels and temporal frames independently, backed by proofs characterizing the proposed method. Across EPIC-Kitchens-55, EGTEA Gaze+, and Something-Something V2, our method attains the lowest deletion AUC against leading baselines while producing masks roughly five times sparser.

Introduction

Video action recognition models such as TSM [16], SlowFast [4], and Video Swin [17] now reach high accuracy on standard benchmarks. They increasingly inform downstream decisions in settings where errors are costly, such as assistive robotics in unstructured home environments [2], surgical workflow analysis and skill assessment [22, 6]. In each of these settings, top-1 accuracy on a held-out test split is a necessary but insufficient guarantee. A practitioner who deploys a video classifier needs to know why the model made a given prediction before deciding whether to trust it, deploy it, or audit it for bias.

For static image classification, this question has been studied extensively. Gradient-based methods [20, 23] and perturbation-based methods [18, 5] produce spatial saliency maps that highlight image regions correlated with the predicted class. The transition to video introduces a complication that these methods do not address. A video classifier is conditioned on two qualitatively different sources of evidence: the appearance of objects within frames, and the temporal dynamics across frames. The practical consequences of relying on one source rather than the other are not interchangeable.

Motivation: Consider a kitchen-assistance robot that uses a video classifier to recognize the action “put-down plate” from a hand-mounted camera as shown in Figure 1. There are two qualitatively different ways the classifier might be right. It might recognize the plate (an appearance cue: the noun) and infer the action from context. It might instead recognize the downward trajectory (a motion cue: the verb) and infer the object from context. A standard saliency map cannot distinguish these two cases, but their failure modes differ sharply. A model that keys primarily on plate appearance will misfire when the plate is occluded by the user’s hand or replaced by a visually similar distractor (e.g., a flat lid). A model that keys primarily on the downward motion will misfire when the user lowers something that is not a plate, or when the plate is set down in a way that does not match the typical trajectory. The same accuracy figure on a balanced test set hides both failure modes; a factored explanation surfaces them.

Factored explanations separate appearance and motion evidence

Figure 1. Factored explanations separate appearance (noun: plate) evidence, where the model looks, from motion evidence (verb: put-down), when the model acts. Standard saliency instead yields a single unified map that conflates appearance and motion.

Applications: Disentangling appearance and motion enables critical capabilities across domains. Factored explanations support shortcut auditing by separating spurious appearance correlations (e.g., background bias) from spurious motion correlations (e.g., generic hand sweeps), which single-mask methods conflate. This distinction also supports robustness forecasting: knowing whether a model relies on appearance (vulnerable to occlusion) or motion (vulnerable to viewpoint and framerate) informs deployment constraints and data augmentation. In clinical video analysis, it separates reliance on instrument appearance from procedure-specific motion to help align predictions with expert protocols. In egocentric assistive technology, it distinguishes active user intent (“reaching for XX”) from passive context (“XX is present”). At the dataset level, aggregating masks can reveal static shortcuts, visual ambiguity, and alignment with human attention datasets like EGTEA Gaze+ [14] by matching spatial masks to gaze location and temporal masks to fixation timing.

Why existing methods fall short. Gradient-based methods such as GradCAM [20] and Score-CAM [23], when applied per-frame to a video model, produce spatial heatmaps that conflate spatial and temporal contributions. Aggregating per-frame gradient magnitudes into a temporal importance signal (Temporal GradCAM) preserves time but discards space. Perturbation-based methods adapted to video [18, 5, 15] optimize a single spatiotemporal mask, which suffers from the same conflation: the mask is high in regions where either the spatial pixel or the temporal frame matters, and the user cannot read off which. Unlike the recent DANCE framework [13] that resolves the conflation through an ante-hoc concept bottleneck, our work targets the post-hoc, vocabulary-free regime: factored explanations for any frozen classifier expressed as two coupled but semantically distinct masks. The framework is built around four design choices:

  1. Factored perturbation via Straight-Through Estimator (STE) (§ 3.1). We disentangle evidence into a spatial appearance mask (pixel-level blur) and a temporal motion mask (discrete frame replacement) using the STE.

  2. One-sided area constraint (§ 3.2). We replace standard MSE area penalties with a ReLU upper bound, which allows the learned masks to settle at extreme sparsity levels well below the budget.

  3. Separation loss for optimization degeneracy (§ 3.2). We introduce a strict penalty that forces the appearance mask to zero on temporally frozen frames.

  1. Semantic conditioning and flow alignment (§ 3.2). We structurally route gradients by supervising the appearance mask with noun confidence and the motion mask with verb confidence. For models lacking dual heads, we substitute semantic conditioning with optical flow alignment.

Standard insertion/deletion metrics [18] evaluate a single mask against a single class probability. Instead, we introduce a separation evaluation protocol (§ 4) that sweeps each axis independently: appearance sweeps track noun confidence, while motion sweeps track verb confidence. We evaluate on EPIC-Kitchens-55 [2], EGTEA Gaze+ [14], and Something-Something V2 [7] against STEP [15], Extremal Perturbation [5], and a unified-mask ablation. Our method achieves the lowest deletion AUC across most datasets and axes, producing masks approximately 5×5\times sparser than the strongest baseline. While Insertion AUC inherently favors the larger masks of our baselines (an artifact of rewarding absolute pixel count, detailed in § 5), our method attains the highest motion complementary fidelity (F−\mathrm{F}^{-}) across all datasets, directly validating our core disentanglement claim.

Related work: Spatio-temporal explanations for video

Temporal GradCAM aggregates per-frame gradient magnitudes into a one-dimensional importance signal, preserving time at the cost of spatial resolution. SWAG-V [8] computes superpixel-weighted gradient maps over video, producing piecewise-constant attributions that are easier to read than dense heatmaps but inherit gradient methods’ sensitivity to model nonlinearities. Saliency Tubes [21] reshape the activations of a video network’s last 3D convolutional layer into volumetric heatmaps. None of these distinguish spatial from temporal contributions in the resulting map. Perturbation-based methods treat the classifier as a black box and observe confidence change under input modification. STEP [15] optimizes a per-frame spatial mask under a Gaussian-blur baseline with an MSE area loss for sparsity. Extremal Perturbation [5] was originally proposed for images and extends to video by jointly optimizing a smooth fixed-area mask over the spatio-temporal volume. We use STEP and Extremal Perturbation as perturbation-based baselines in Section 5; both return a single mask in which spatial and temporal evidence are entangled.

Concept-based methods describe a prediction through higher-level features rather than raw pixels. VTCD [12] discovers reusable spatio-temporal concept tubes via clustering and quantifies their effect on transformer predictions. Ji et al. [10] extend TCAV to 3D ConvNets, and Saha et al. [19] report that dynamic spatio-temporal concepts carry more information than static ones for action classification. MoTIF [11] extends concept bottlenecks to video with per-concept temporal self-attention, explaining when discovered object and action concepts contribute to a prediction. These approaches test whether a concept influences a prediction without localizing the influence to specific pixels or frames. Language-based variants [24] target semantic-level interpretability through prior knowledge and do not address the appearance motion distinction directly. Contemporaneous to our work, DANCE [13] retrains classifiers with a concept bottleneck that separates motion (2D pose clusters) from spatial context (LLM-proposed objects) to attribute predictions to discrete named concepts. Unlike DANCE [13], which retrains models to extract discrete, vocabulary-constrained spatial and motion concepts, our method is post-hoc (requires no retraining), outputs continuous pixel/frame masks for precise localization, imposes no vocabulary limits (handling non-human or occluded actions), and evaluates empirical rather than architectural faithfulness.

Method

Let f:R3×T×H×W→R∣V∣×R∣N∣f:\mathbb{R}^{3\times T\times H\times W}\to\mathbb{R}^{|V|}\times\mathbb{R}^{|N|} be a frozen dual-head video classifier producing verb logits zvz^{v} and noun logits znz^{n} from a clip xx of TT uniformly-sampled RGB frames at H×WH\times W resolution. Let v∗=arg⁡max⁡vsoftmax⁡(zv(x))vv^{*}=\arg\max_{v} \operatorname{softmax}(z^{v}(x))_{v} and n∗=arg⁡max⁡nsoftmax⁡(zn(x))nn^{*}=\arg\max_{n} \operatorname{softmax}(z^{n}(x))_{n} denote the predicted verb and noun on the clean clip. We seek two masks Ma∈[0,1]T×H×WM_{a}\in[0,1]^{T\times H\times W} (appearance: where) and Mm∈[0,1]TM_{m}\in[0,1]^{T} (motion: when), such that:

max⁡Ma,Mmsoftmax⁡(zv(x^))v∗+softmax⁡(zn(x^))n∗s.t.1THW∑Ma≤Ba,1T∑Mm≤Bm(1)\begin{aligned} \max_{M_a,M_m}\quad&\operatorname{softmax}(z^{v}(\hat{x}))_{v^{*}}+\operatorname{softmax}(z^{n}(\hat{x}))_{n^{*}}\\ \text{s.t.}\quad&\frac{1}{THW}\sum M_a\le B_a,\qquad\frac{1}{T}\sum M_m\le B_m \tag*{(1)} \end{aligned}

Where MaM_a identifies the spatial pixels critical for n∗n^{*} and MmM_m identifies the temporal frames critical for v∗v^{*}, Ba,Bm∈(0,1)B_a,B_m\in(0,1) define the maximum allowable spatial and temporal budgets, forcing the masks to localize minimal subsets of critical evidence. MaM_a marks the pixels whose preservation (versus a heavy blur) sustains the noun prediction, and MmM_m marks the frames whose preservation (versus nearest-active-frame replacement) sustains the verb prediction. For single-head models that emit only a single logit vector z∈R∣C∣\mathbf{z} \in\mathbb{R}^{|C|}, the same mask shapes are retained and the noun/verb decomposition is replaced by the optical-flow alignment loss of § 3.3. Both masks are parameterized as raw logits and converted to mask values through a temperature-annealed sigmoid στ(x)=1/(1+e−τx)\sigma_\tau(x) = 1/(1 + e^{-\tau x}), with τ\tau rising linearly from τstart=1\tau_{\mathrm{start}}=1 to τmax⁡=10\tau_{\max}=10 over the course of optimization. A low temperature in early iterations preserves gradient flow; a high temperature in later iterations sharpens the mask toward {0,1}\{0,1\}. The appearance mask is optimized at low resolution Hs=Ws=⌊H/r⌋H_s = W_s = \lfloor H/r \rfloor with r=7r = 7, then bilinearly upsampled to H×WH \times W, Gaussian-smoothed (kernel size 2r−12r - 1, σ=r/2\sigma= r/2), and clamped to [0,1][0,1]. The motion mask is parameterized as TT scalar logits, one per frame.

Factored perturbation with hard frame selection

The perturbation is a single compositional forward pass with two factors: a spatial blur based blend governed by the appearance mask MaM_a, and a temporal nearest-frame replacement governed by the motion mask MmM_m that consumes the spatially-perturbed clip as its replacement source. Both masks are parameterized by logits (ℓA,ℓM)(\ell_A,\ell_M) and optimized jointly under a single objective (§ 3.2); the “factor” ordering below describes the forward composition, not a staged optimization schedule.

Spatial factor: blur–blend. Given the clean clip x\mathbf{x} and a heavily blurred copy x~=GB∗x\tilde{\mathbf{x}} = \mathcal{G}_B * \mathbf{x} (kernel size kB=31k_B=31, σB=20\sigma_B=20),

xapp=Ma⊙x+(1−Ma)⊙x~.(2)\mathbf{x}^{\mathrm{app}} = M_a \odot\mathbf{x} + (1 - M_a) \odot\tilde{\mathbf{x}}. \tag*{(2)}

Blur is preferred to a zero or mean-frame baseline because it preserves low-frequency context, keeping the perturbed clip closer to the model’s training distribution and reducing the risk that observed confidence drops are attributable to distribution shift rather than removed evidence.

Temporal factor: nearest-frame replacement. Frames that the motion mask designates as inactive are replaced by the content of the nearest active frame from xapp\mathbf{x}^{\mathrm{app}}. The replacement source is the spatially-perturbed clip rather than the original, so the appearance mask of the source frame is propagated to its replacement targets; the choice of replacement source is discrete in the forward pass.

Concretely, let Mm=(m1,…,mT)M_m = (m_1,\ldots,m_T). The proximity-weighted, motion-gated replacement weights

wi→j=exp⁡(−∥i−j∥2/(2σR2))⋅mj∑k≠iexp⁡(−∥i−k∥2/(2σR2))⋅mk+ϵ,σR=2.(3)w_{i \to j} = \frac{\exp\left(-\lVert i-j\rVert^2/(2\sigma_R^2)\right)\cdot m_j}{\sum_{k \ne i}\exp\left(-\lVert i-k\rVert^2/(2\sigma_R^2)\right)\cdot m_k + \epsilon}, \qquad\sigma_R = 2. \tag*{(3)}

A pure soft average over {wi→j}\{w_{i \to j}\} produces a blurred replacement frame, reintroducing the artifact the temporal factor was intended to avoid. We instead take the argmax in the forward pass and let gradients flow through the soft weights via a Straight-Through Estimator:

j∗(i)=arg⁡max⁡j  wi→j,w~i→j=1[j=j∗(i)]−sg⁡(wi→j)+wi→j.(4)j^*(i) = \underset{j}{\arg\max}\; w_{i \to j}, \qquad\widetilde{w}_{i \to j} = \mathbb{1}[j = j^*(i)] - \operatorname{sg}(w_{i \to j}) + w_{i \to j}. \tag*{(4)}

A second STE binarizes the temporal gate itself,

Mmthard=1[mt>0.5],MmtSTE=Mmthard−sg⁡(mt)+mt,(5)M_{mt}^{\mathrm{hard}} = \mathbb{1}[m_t > 0.5], \qquad M_{mt}^{\mathrm{STE}} = M_{mt}^{\mathrm{hard}} - \operatorname{sg}(m_t) + m_t, \tag*{(5)}

and the final perturbed clip is

x^t=MmtSTE⋅xtapp+(1−MmtSTE)⋅∑jw~t→jxjapp.(6)\hat{\mathbf{x}}_t = M_{mt}^{\mathrm{STE}} \cdot\mathbf{x}_t^{\mathrm{app}} + (1 - M_{mt}^{\mathrm{STE}}) \cdot\sum_j \widetilde{w}_{t \to j}\mathbf{x}_j^{\mathrm{app}}. \tag*{(6)}

At convergence, frozen frames duplicate the nearest active frame to structurally remove temporal dynamics. Preserving gradient flow via a Straight-Through Estimator (STE) introduces a visual discrepancy between the true discrete selection (x^ihard\hat{\mathbf{x}}_i^{\mathrm{hard}}) and its continuous proxy (x^isoft\hat{\mathbf{x}}_i^{\mathrm{soft}}).

Proposition 1 (STE bias bound). If Δi\Delta_i is the probability gap between the top two replacement candidates, and let δi\delta_i be the maximum visual discrepancy among candidates. Then, the pointwise discrepancy between x^ihard\hat{\mathbf{x}}_i^{\mathrm{hard}} and x^isoft\hat{\mathbf{x}}_i^{\mathrm{soft}} is bounded by (proof in App. B.1):

∥x^ihard−x^isoft∥≤(1−Δi)δi\lVert\hat{\mathbf{x}}_i^{\mathrm{hard}} - \hat{\mathbf{x}}_i^{\mathrm{soft}} \rVert\le(1-\Delta_i)\delta_i

Empirically, temperature annealing drives the mask toward a discrete one-hot state (Δi→1\Delta_i \to1), safely collapsing this discrepancy to zero. Choosing xappx^{\mathrm{app}} as the replacement tightens the STE bias bound of Proposition 1: the visual discrepancy δi\delta_i between candidate replacement frames is smaller for spatially-cleaned frames than for raw frames, since MaM_a removes irrelevant background variation, so the bound (1−Δi)δi(1-\Delta_i)\delta_i contracts.

Alternative strategies for replacing temporally inactive frames introduce severe artifacts: zero or mean baselines cause distribution shift, frame shuffling creates spurious trajectories (failing on circular motions), and soft blending leaves residual ghosting. By replacing inactive frames with exact copies of their nearest active neighbors, the method creates static blocks of identical frames. This completely halts the motion trajectory, reducing temporal dynamics to exactly zero rather than merely attenuating them, while preserving spatial appearance. Crucially, this nearest-neighbor approach minimizes the visual discrepancy factor δi\delta_i, directly tightening the formal STE bias bound (Proposition 1).

Loss functions

For dual-head models, the total loss is

L=−log⁡pn∗(x^)−log⁡pv∗(x^)+λALareaa+λMLaream+λSLK+λDLsep.(7)\mathcal{L}=-\log p_{n^*}(\hat{x})-\log p_{v^*}(\hat{x})+\lambda_A\mathcal{L}^{a}_{\mathrm{area}}+\lambda_M\mathcal{L}^{m}_{\mathrm{area}}+\lambda_S\mathcal{L}_K+\lambda_D\mathcal{L}_{\mathrm{sep}}. \tag*{(7)}

Split prediction. The noun log-probability −log⁡(softmax⁡(zn(x^))n∗)-\log(\operatorname{softmax}(z^n(\hat{x}))_{n^*}) supervises the appearance mask, and the verb log-probability supervises the motion mask. The logarithmic form is preferred to the linear form −p-p because the gradient of −log⁡p-\log p does not vanish as p→0+p \to0^+, which accelerates convergence in early iterations when the masks are nearly empty and target-class probability is consequently low. Single-head models add the flow alignment loss of § 3.3, and replace the split prediction with a single target-class log-probability.

Measured at convergence, cross-axis gradients are of the same order as the intended ones (median leak ratio 0.85 for MaM_a and 1.23 for MmM_m; App. § 9.§ 5). Semantic separation of the explanations is therefore an empirical outcome that depends on the classifier’s learned representations and on the available supervision; removing the noun/verb split degrades deletion AUC and F− on both axes (App. § 9.§ 4).

Sparsity constraint. Prior work [15] realizes the sparsity constraint in Equation (1) through an MSE loss that penalizes the sorted mask values for deviating from a binary target with BaB_a or BmB_m active entries. This penalty is symmetric: the mask is penalized for using fewer pixels than the budget as well as more, which forces the optimizer to occupy the budget exactly regardless of input complexity. We argue that an explanation should be as sparse as possible within the budget. Replacing the MSE with a ReLU upper bound,

LareaReLU(m,v)=1N∑i=1N[ReLU⁡(sort⁡(m)i−ti)]2,(8)\mathcal{L}^{\mathrm{ReLU}}_{\mathrm{area}}(\mathbf{m},\mathbf{v})=\frac{1}{N}\sum_{i=1}^{N}\left[\operatorname{ReLU}(\operatorname{sort}(\mathbf{m})_i-t_i)\right]^2, \tag*{(8)}

penalizes only excess. Empirically, the realized appearance mask settles at roughly 5×5\times smaller than the budget on EPIC-Kitchens-55 and EGTEA (Table 1), whereas under the symmetric MSE form the mask occupies the budget exactly. Appendix § 9.§ 2 formalizes this mathematical distinction: under standard weak monotonicity assumptions on the prediction loss landscape, the symmetric MSE form provably forces the realized area to saturate the budget at a rate of O(1/λ)O(1/\lambda) (Proposition 2).

MethodInsertion AUC App↑Insertion AUC Mot↑Deletion AUC App↓Deletion AUC Mot↓Fidelity+ App↑Fidelity+ Mot↑Fidelity− App↑Fidelity− Mot↑Mask size Ma↓M_a \downarrowMask size Mm↓M_m \downarrow
EP + MmM_m.72/.65.79/.71.41/.24.77/.67.87/.85.87/.80.14/.40.11/.1750.5/50.761.6/61.6
EP.70/.65–.43/.27–.91/.96–.12/.33–50.6/50.8–
STEP + MmM_m.77/.72.84/.82.46/.37.79/.74.97/.97.96/.96.43/.72.12/.2060.6/69.081.8/83.3
STEP.70/.73–.51/.41–.99/.99–.28/.57–56.4/65.4–
Unified Mask.81/.78–.43/.36–1.00/1.00–.15/.23–20.2/18.2–
Ours (Full).75/.63.79/.88.27/.20.25/.35.99/.99.99/.99.25/.41.82/.6512.4/10.737.9/33.6
EP + MmM_m.40/.54.53/.39.15/.12.50/.37.54/.41.33/.43.57/.23.20/.0850/50.361.5/61.4
EP.41/.31–.18/.14–.58/.54–.30/.22–50.4/49.2–
STEP + MmM_m.58/.45.70/.61.20/.18.62/.54.89/.80.65/.75.87/.42.21/.0270.2/75.289.8/86.8
STEP.57/.43–.23/.17–.94/.88–.55/.37–66.1/73.3–
Unified Mask.59/.39–.22/.16–.99/.99–.28/.18–21.1/19.6–
Ours (Full).44/.29.66/.77.10/.08.21/.25.97/.96.98/.96.44/.26.62/.2910.3/9.624.5/27.6
EP + MmM_m.26/.42.40/.47.08/.13.39/.47.53/.62.55/.62.40/.39.47/.4652.0/51.964.4/64.4
EP.32/.48–.14/.18–.83/.84–.28/.29–52.0/51.9–
STEP + MmM_m.36/.56.48/.58.15/.22.44/.56.93/.95.93/.94.66/.68.61/.4879.3/78.886.7/85.5
STEP.34/.52–.17/.24–.99/.99–.64/.60–78.9/78.7–
Unified Mask.39/.47–.18/.29–1.00/1.00–.63/.54–51.1/51.6–
Ours (Full).31/.37.25/.46.11/.10.11/.32.93/.90.13/.41.60/.52.62/.4222.8/24.022.1/26.2

Table 1. Explanation quality comparison. Each cell reports TSM/TimeSformer. App/Mot denote appearance/motion; Ins/Del denote insertion/deletion AUC. F+F^{+} and F−F^{-} are fidelity metrics; MaM_a, MmM_m are active pixel/frame fractions. Color intensity within each dataset/model column maps to relative performance (darker = better, computed by min–max normalization, bucketed into 6 levels). Paired significance tests and standard deviations are reported in Appendix § 9.7.

Proposition 2 (MSE forces budget saturation, with quantitative rate). Let mλ∗\mathbf{m}^*_\lambda be an interior stationary point of Lpred+λLareaMSE\mathcal{L}_{\mathrm{pred}}+\lambda\mathcal{L}^{\mathrm{MSE}}_{\mathrm{area}}. As λ→∞\lambda\to\infty, the realized area aλ∗a^*_\lambda converges to the target budget bb, and the gap closes at a rate of O(1/λ)O(1/\lambda) with a constant scaling of N\sqrt{N}. Specifically, the realized area satisfies the following bound:

∣aλ∗−b∣≤LN2λ\lvert a^*_\lambda-b\rvert\leq\frac{L\sqrt{N}}{2\lambda}

Conversely, the ReLU formulation analytically permits sub-budget stationary points, allowing the realized sparsity to be dictated entirely by the underlying prediction-loss geometry independent of the penalty weight λ\lambda (proof App. § 9.§ 2).

Proposition 3 (ReLU permits sub-budget stationary points independent of λ\lambda). Suppose there exists a mask m∗∈[0,1]N\mathbf{m}^{*} \in[0,1]^{N} that is a stationary point of the prediction loss (∇Lpred(m∗)=0\nabla\mathcal{L}_{\mathrm{pred}}(\mathbf{m}^{*}) = 0) and naturally satisfies the upper-bound budget constraint (misort,∗≤tim^{\mathrm{sort},*}_{i} \le t_{i} for all ii, yielding a realized area a∗≤ba^{*} \le b). Then, m∗\mathbf{m}^{*} remains a valid stationary point of the joint loss for every penalty weight λ>0\lambda> 0, satisfying:

∇(Lpred(m∗)+λLareaReLU(m∗,ν))=0\nabla\left(\mathcal{L}_{\mathrm{pred}}(\mathbf{m}^{*})+\lambda\mathcal{L}^{\mathrm{ReLU}}_{\mathrm{area}}(\mathbf{m}^{*},\nu)\right)=0

Ellipsoid-kernel smoothness. Following [15], we convolve MaM_a with a 3D ellipsoid kernel (tk=3t_k=3, hk=wk=31h_k=w_k=31, supported on the unit ball) and apply the same sorted-target loss as the sparsity term. This regularizer encourages the mask to form connected spatiotemporal regions rather than isolated high-activation pixels.

Separation. The separation loss penalizes appearance activation in temporally frozen frames:

Lsep=1THW∑t,h,wMa,t,h,w⋅(1−Mm,t).(9)\mathcal{L}_{\mathrm{sep}}=\frac{1}{THW}\sum_{t,h,w}M_{a,t,h,w}\cdot(1-M_{m,t}). \tag*{(9)}

The motivation is precise: when Mm,t≈0M_{m,t}\approx0, frame tt is replaced by content from a nearby active frame, so any spatial highlights MaM_a assigns to the original frame tt are never observed by the model. Without an explicit penalty, the optimizer is free to expend appearance budget on these unobserved positions. With Eq. (9), the appearance mask concentrates on the frames that survive temporal gating.

Flow alignment for single-head models

Something-Something V2 contains 174 composite action classes that admit no natural verb/noun decomposition (e.g., pushing something from left to right versus pushing something from right to left). The split prediction loss therefore has nothing to split. To drive MaM_a and MmM_m toward semantically distinct quantities, we anchor the MmM_m to a physics-grounded signal: per-frame optical flow magnitude.

Let ϕˉt=∥FlowMag⁡(t)∥/max⁡t∥FlowMag⁡(t)∥∈[0,1]\bar{\phi}_t=\lVert\operatorname{FlowMag}(t)\rVert/\max_t\lVert\operatorname{FlowMag}(t)\rVert\in[0,1] denote the normalized flow magnitude at frame tt, computed via [3]. The flow alignment loss is

Lflow=1−cos⁡(Mm,ϕˉ).(10)\mathcal{L}_{\mathrm{flow}}=1-\cos(M_m,\bar{\phi}). \tag*{(10)}

This biases MmM_m toward frames in which pixels are observably moving, while leaving the prediction loss (a single −log⁡pc∗-\log p_{c^{*}}) free to drive the appearance mask. We acknowledge this represents a pragmatic empirical heuristic rather than a structurally guaranteed decoupling; however, anchoring the temporal axis to explicit optical flow provides the necessary inductive bias to separate temporal dynamics from static spatial features when independent semantic verb/noun logits are unavailable. Flow alignment is a real inductive bias rather than a neutral regularizer. The learned MmM_m is only moderately correlated with flow magnitude (r=0.37r=0.37), so it is influenced by, but does not reproduce, the flow signal. Our strongest appearance/motion separation results are therefore on the dual-head datasets, where the separation is driven by the model’s own noun and verb outputs.

Evaluation protocol

Standard insertion/deletion metrics [18] sweep a single mask in order of importance and track one class probability. For a factored explanation, this answers the wrong question: it reports how much confidence is recovered from the union of spatial and temporal cues, not how much each axis contributes. We propose a separation protocol that treats the two axes independently.

Appearance axis. Sort spatial positions in descending order of MaM_a, with frames outside MmM_m kept frozen. For a fraction α\alpha, keep the top-α\alpha positions sharp and blur the rest, and track the noun (dual-head) or class (single-head) confidence:

Ins⁡a(α)=softmax⁡(zn(Ma(α)⊙x+(1−Ma(α))⊙x~))n∗.(11)\operatorname{Ins}_{a}(\alpha)=\operatorname{softmax}\left(z^{n}\left(M_{a}^{(\alpha)}\odot\mathbf{x}+\left(1-M_{a}^{(\alpha)}\right)\odot\tilde{\mathbf{x}}\right)\right)_{n^{*}}. \tag*{(11)}

Deletion is defined symmetrically using the complement mask. The area under the insertion curve AUCInsa=∫01Ins⁡a(α) dα\mathrm{AUC}_{\mathrm{Ins}}^{a}=\int_{0}^{1}\operatorname{Ins}_{a}(\alpha)\,d\alpha is to be maximized; the area under the deletion curve is to be minimized.

Motion axis. Sort frames in descending order of MmM_m. Starting from the MaM_a-masked clip, un-freeze (insertion) or freeze (deletion) frames in that order using the nearest-active-frame replacement, and track the verb or class confidence. The two AUCs AUCInsm\mathrm{AUC}^{m}_{\mathrm{Ins}} and AUCDelm\mathrm{AUC}^{m}_{\mathrm{Del}} are interpreted as on the appearance axis.

Fidelity. F+F^{+} is the fraction of clips for which the masked input preserves the model’s original top-1 prediction; F−F^{-} is the fraction for which the complement of the masked input changes it. Both are to be maximized, per axis. F+F^{+} asks whether the mask retains the evidence; F−F^{-} asks whether the mask retains only the evidence. The latter is the more direct test of explanation faithfulness, since recovering confidence with a large mask is easier than destroying it with a small one.

Sparsity. A‾a\overline{A}_a and A‾m\overline{A}_m denote the mean active fractions of pixels and frames, averaged over the test set. Because Eq. (8) permits below-budget operation, A‾\overline{A} may fall well below the optimization target. Standard deviations are reported as well: high variance is itself diagnostic, indicating that some action classes require substantially more evidence than others.

Experiments

Setup

Datasets and Models We evaluate on three benchmarks. EPIC-Kitchens-55 [2] provides egocentric kitchen video with (verb, noun) pair labels and serves as our primary dual-head testbed. EGTEA Gaze+ [14] provides a smaller egocentric corpus with synchronized gaze recordings with (verbverb, nounnoun) pair labels. Something-Something V2 [7] contains 174 single-label composite classes whose discrimination requires temporal reasoning, and is the testbed for the flow-alignment variant. Table 1 presents results on a randomly picked subset (listed in table) of the three datasets. For EPIC-Kitchens-55 and EGTEA Gaze+ we use frozen TSM [16] (ResNet-50) and TimeSformer [1] models with separate verb and noun heads and for Something-Something V2 we use the single-head versions of the same backbones.

Qualitative results

Baselines. Extremal Perturbation [5], STEP [15] and a Unified Mask ablation that optimizes a single Ma′∈[0,1]T×H×WM_a' \in[0,1]^{T \times H \times W} within our perturbation pipeline but without the appearance/motion factorization. The unified ablation isolates the contribution of the factored design itself, controlling for the perturbation baseline, optimization schedule, and area-loss formulation.

Implementation details. Optimization runs for 500 steps of Adam with learning rate 0.05 on T=8T = 8 uniformly sampled frames at 224×224224 \times224 resolution. The loss weights (λA\lambda_A, λM\lambda_M, λS\lambda_S, λD\lambda_D) are set via a coarse grid search and then a local Optuna search around the best region on a held-out validation subset. We compare methods with per-clip paired tests (Wilcoxon signed-rank). Hyperparameters, sensitivity sweeps, hardware, and timing are reported in the Appendix.

Results

Table 1 reports the separation metrics across the three benchmarks. Figure 2 shows an EGTEA Gaze+ clip that a TSM model classifies as pour water. The motion mask keeps two of the eight frames (t=3t=3 and t=6t=6), in which the hand operates the faucet above the pot, and discards the frames where the camera shows the whole sink (t=0t=0) or turns away (t=7t=7); each discarded frame is replaced by a copy of its nearest kept frame. The appearance mask appears only on the three frames out of which two frames are kept by MmM_m and cover the faucet, the pot and the hand. STEP and Extremal Perturbation, which use a single spatio-temporal mask, place their evidence on different regions in nearly every frame, including the frames showing the whole sink and the camera turning away.

Qualitative figure showing input video clip, motion mask, nearest-frame replacement, and appearance masks

Figure 2. Qualitative figure showing (a) Input video clip; (b) Motion mask MmM_m; (c) The video clip with the winning nearest-frame replacement that resulted in MmM_m; (d) Appearance mask MaM_a produced by our approach, STEP and EP. Highlighted regions in MaM_a show the top 15% of important regions.

Deletion AUC. With the TSM backbone, our method attains the lowest motion deletion AUC on all three datasets and the lowest appearance deletion AUC on EPIC-Kitchens-55 and EGTEA. On EPIC-Kitchens-55, appearance deletion AUC drops to 0.10 versus 0.18 for Extremal Perturbation and 0.23 for STEP, and motion deletion AUC drops to 0.21 versus 0.50 for the Extremal Perturbation temporal extension (EP + MmM_m). On EGTEA the values are 0.27 (appearance) and 0.25 (motion). On Something-Something V2, motion deletion AUC is again the lowest (0.11 versus 0.39 for EP + MmM_m), but appearance deletion AUC (0.11) is second to EP + MmM_m (0.08) and statistically tied with Extremal Perturbation (Table 7). With the TimeSformer backbone, our method has the lowest deletion AUC on every dataset along both axes. Removing the regions and frames selected by our masks therefore lowers target-class confidence more than removing those selected by the baselines in all but one setting, indicating that the masks capture evidence the classifier relies on.

DatasetBaselineApp. Ins.Mot. Ins.App. Del.Mot. Del.
SSv2EP + MmM_m+0.052* p=2.3×10−3p=2.3\times10^{-3}−0.146∗-0.146^* p=3.6×10−9p=3.6\times10^{-9}−0.028∗-0.028^* p=3.6×10−5p=3.6\times10^{-5}+0.286* p=2.1×10−28p=2.1\times10^{-28}
SSv2EP−0.020-0.020 p=0.30p=0.30–+0.002 p=0.51p=0.51–
SSv2STEP + MmM_m−0.039∗-0.039^* p=8.6×10−3p=8.6\times10^{-3}−0.232∗-0.232^* p=6.7×10−19p=6.7\times10^{-19}+0.034* p=0.033p=0.033+0.331* p=8.0×10−32p=8.0\times10^{-32}
SSv2STEP−0.029∗-0.029^* p=0.021p=0.021–+0.059* p=1.9×10−4p=1.9\times10^{-4}–
SSv2Unified Mask−0.091∗-0.091^* p=4.4×10−6p=4.4\times10^{-6}–+0.072* p=5.2×10−15p=5.2\times10^{-15}–
EGTEAEP + MmM_m+0.110* p=3×10−22p=3\times10^{-22}+0.106* p=7×10−15p=7\times10^{-15}+0.060* p=6×10−13p=6\times10^{-13}+0.368* p=3×10−51p=3\times10^{-51}
EGTEAEP+0.089* p=1×10−16p=1\times10^{-16}–+0.075* p=7×10−18p=7\times10^{-18}–
EGTEASTEP + MmM_m−0.010-0.010 p=0.41p=0.41−0.028∗-0.028^* p=0.03p=0.03+0.115* p=7×10−43p=7\times10^{-43}+0.449* p=8×10−59p=8\times10^{-59}
EGTEASTEP+0.006 p=0.06p=0.06–+0.142* p=3×10−41p=3\times10^{-41}–
EGTEAUnified Mask−0.075∗-0.075^* p=1×10−5p=1\times10^{-5}–+0.107* p=2×10−42p=2\times10^{-42}–
EPIC-55EP + MmM_m+0.015* p=0.034p=0.034+0.100* p=8.4×10−14p=8.4\times10^{-14}+0.073* p=2.5×10−15p=2.5\times10^{-15}+0.319* p=1.4×10−15p=1.4\times10^{-15}
EPIC-55EP+0.029* p=1.1×10−4p=1.1\times10^{-4}–+0.084* p=1.1×10−15p=1.1\times10^{-15}–
EPIC-55STEP + MmM_m−0.152∗-0.152^* p=1.4×10−14p=1.4\times10^{-14}−0.061∗-0.061^* p=3.3×10−10p=3.3\times10^{-10}+0.122* p=2.9×10−16p=2.9\times10^{-16}+0.427* p=2.8×10−16p=2.8\times10^{-16}
EPIC-55STEP−0.138∗-0.138^* p=1.5×10−12p=1.5\times10^{-12}–+0.134* p=8.1×10−16p=8.1\times10^{-16}–
EPIC-55Unified Mask−0.151∗-0.151^* p=5.2×10−16p=5.2\times10^{-16}–+0.127* p=1.5×10−16p=1.5\times10^{-16}–

Table 7. Paired comparison of Ours against each baseline (TSM). Each cell gives the mean per-item difference, oriented so that positive values favor our method, and the Wilcoxon signed-rank pp-value; *: p<0.05p < 0.05. Items are clips for SSv2 (n=200n=200) and EGTEA (n=400n=400), and videos for EPIC-55 (n=89n=89–93; per-segment scores averaged within each video and over seeds). Motion metrics are omitted for baselines without a motion mask, as in Table 1. Differences are computed on the seed-averaged per-item scores used for this test, so they can differ slightly from differences of the rounded means in Table 1.

Mask sparsity. On EPIC-Kitchens-55, our appearance mask retains only 10.3% of pixels and our motion mask retains only 24.5% of frames. STEP retains 66.1% of pixels and lacks a temporal mask (using every frame); Unified Mask retains 21.1% of pixels but similarly uses every frame. The pattern recurs on EGTEA (12.4% appearance / 37.9% motion for our method versus 56.4% and all frames for STEP) and on Something-Something V2 (22.8% / 22.1% versus 78.9% and all frames). The ReLU upper-bound area loss therefore performs as designed: when the input does not require its full budget, the optimizer uses less.

Insertion AUC. Our method does not lead on insertion AUC. Baselines with larger masks, such as the STEP variants and Unified Mask, often attain higher insertion scores. On EGTEA, Unified Mask achieves an appearance insertion AUC of 0.81 and STEP + MmM_m reaches 0.84 on the motion axis, compared to our 0.75 and 0.79. On EPIC-Kitchens-55, STEP + MmM_m reaches 0.70 motion insertion versus our 0.66. On Something-Something V2, Unified Mask leads appearance insertion (0.39) and STEP + MmM_m leads motion insertion (0.48), against our 0.31 and 0.25. As formalized in Proposition 4, for binary or near-binary masks insertion AUC tends to reward mask size: a larger mask that contains the evidence keeps confidence high over a longer portion of the sweep. Our appearance masks retain 3.5–6.4× fewer pixels than STEP and about 2× fewer than Unified Mask, so they are at a disadvantage under this metric, which is why we treat deletion AUC as the primary measure of evidence localization.

Proposition 4 (Insertion AUC favors larger faithful masks when they are forced to be binary i.e important or not). Assuming two masks M(1)M^{(1)} and M(2)M^{(2)}, characterized by active area fractions 0<a1<a2<10 < a_1 < a_2 < 1 and strictly satisfy the faithfulness axioms of Definition 1, and assuming the slope of the insertion curve of M(2)M^{(2)} over the interval [a1,a2][a_1,a_2] is bounded below by a strictly positive constant σ>0\sigma> 0. Then the difference between insertion AUC is given by:

AUC⁡Ins(2)−AUC⁡Ins(1)≥12σ(a2−a1)2.(12)\operatorname{AUC}_{\mathrm{Ins}}^{(2)}-\operatorname{AUC}_{\mathrm{Ins}}^{(1)} \ge\frac{1}{2}\sigma(a_2-a_1)^2. \tag*{(12)}

The accumulated gap remains strictly positive under any circumstance where method 2’s supplementary positions contain individually informative predictive signals.

Proposition 5 (Deletion AUC depends on coverage, not size). Suppose M(1)M^{(1)} sufficiently covers the model’s underlying evidence, where the deletion curve D(1)D^{(1)} perfectly converges to the baseline confidence: D(1)(a∗)=CbaseD^{(1)}(a_*)=C_{\mathrm{base}}(fully blurred video). Under these conditions: AUC⁡Del(2)=AUC⁡Del(1)\operatorname{AUC}_{\mathrm{Del}}^{(2)}=\operatorname{AUC}_{\mathrm{Del}}^{(1)}.

Appendix B.3 formalizes this argument: under perfect-faithfulness assumptions, a larger mask provably enjoys higher insertion AUC by a margin linear in the area gap (Proposition 4), while deletion AUC is invariant to mask size at fixed precision (Proposition 5). Our method outperforms or matches all baselines on deletion AUC across all three datasets and along both axes, which we view as the more direct evidence of explanation quality supported by the above propositions.

Explanation fidelity (F+F^{+} and F−F^{-}). We evaluate faithfulness via evidence retention (F+F^{+}) and complementary fidelity (F−F^{-}). With the TSM backbone, our method attains the highest motion F−F^{-} on all three datasets: 0.82 on EGTEA (versus 0.11 for EP + MmM_m and 0.12 for STEP + MmM_m), 0.62 on EPIC-Kitchens-55 (versus 0.20 and 0.21), and 0.62 on Something-Something V2, where STEP + MmM_m is close (0.61). Removing the frames selected by MmM_m therefore lowers confidence in the target (verb or class) far more than removing the frames selected by the baselines’ temporal masks, indicating that MmM_m captures the temporal evidence the classifier relies on. Although our appearance masks retain 3.5–6.4× fewer pixels than STEP, they keep F+≥0.97F^{+} \ge0.97 on EPIC-Kitchens-55 and EGTEA. The exception is motion F+F^{+} on Something-Something V2 (0.13): keeping only the ∼22% of frames selected by MmM_m is not sufficient to preserve the prediction there, consistent with the lower motion insertion AUC on that dataset.

Ablations. Isolating our factorization, the unfactored Unified Mask (TSM) achieves high appearance insertion AUC (0.81 EGTEA, 0.59 EPIC) and F+F^{+} (0.99, 0.99) simply by retaining all frames and larger spatial footprints (20.2%, 21.1%). Lacking temporal gating, it fails at precise localization, yielding worse appearance deletion AUCs than our factored approach (0.43 vs. 0.27 EGTEA; 0.22 vs. 0.1 EPIC) and offering no motion explanation. This indicates that the dual-mask factorization, rather than the shared perturbation pipeline, drives the deletion gains. Appendix A.3 reports a cumulative component ablation, an ablation of the noun/verb semantic split (App. B.4), the flow-alignment ablation (App. B.6), and hyperparameter sweeps (App. B.11).

Auditing example. Grouping EGTEA predictions by verb and ranking classes by few active MmM_m frames and high confidence surfaces nominally temporal verbs whose explanations collapse to almost no frames: for wash, MmM_m keeps on average 0.8 of 8 frames while the classifier remains ≈ 90% confident (App. B.9). This flags wash as a candidate static-appearance shortcut, a hypothesis that a practitioner can then test by intervention.

Cost. Optimization takes 11.7 s per clip on TSM, comparable to STEP (11.4 s) and EP (10.3 s). Because mask parameters are independent across clips, batching eight clips reduces the amortized cost by about 6.5×, to roughly 2 s per clip (App. B.12).

Conclusions and Limitations

We frame video action explanation as a disentangled two-mask problem, isolating spatial appearance and temporal dynamics. Our core mechanisms: factored perturbation, STE-based frame replacement, separation loss, and a one-sided ReLU area constraint are individually motivated and jointly necessary to guarantee explanatory precision. Against STEP, Extremal Perturbation, and unified-mask baselines, our method consistently attains the lowest deletion AUC and highest complementary fidelity (F−F^{-}) on both axes, while producing masks roughly 5× sparser than the strongest competitor. By separately highlighting exactly where and when a model looks, our factored explanations provide practitioners with a precise post-hoc auditing tool to expose spurious shortcuts. Our proposed framework serves strictly as a post-hoc auditing tool for frozen video classifiers, producing spatial and temporal masks that expose the model’s internal reliance. Because it provides diagnostic evidence rather than inherent interpretability or accuracy improvements, practitioners should use it to surface candidate failure modes and shortcuts, avoiding the misuse of confident-looking saliency maps to arbitrarily validate incorrect predictions. However, the framework remains limited by its reliance on a flow alignment loss for single-head models, which introduces an inductive bias toward motion-rich regions. The factorization separates the two perturbation axes by construction, but it does not force the classifier’s representations to separate; measured cross-axis gradients are substantial. Finally, factoring strictly by appearance and motion is inherently restrictive, making the method unsuitable for actions defined by audio cues, gaze patterns, off-frame interactions or long-range interactions that last more than 8 frames.

Acknowledgments and Disclosure of Funding

This work was funded by Oregon State University and its School of Electrical Engineering and Computer Science. We are grateful to Fuxin Li for valuable advice, and to Devika Venkatesh and Dmitriy Shmidt for their help with computational resources.

Appendix

Reproducibility statement

Code, the hyperparameter search ranges and selected values (App. § 9.10), the evaluation clip lists, and the TimeSformer checkpoints trained on EPIC-Kitchens-55 and EGTEA Gaze+ are available at https://github.com/vbhavank/wherewhen. Frozen SSv2 weights are taken from the official releases of the cited backbones. All results are supported by paired significance tests (App. § 9.7). Like the classifiers it explains, the method could be used to refine action recognition systems deployed for surveillance; we release it only as an analysis tool for existing models.

Qualitative Results

Figure 3. Qualitative comparison of explanation methods on a single Epic-Kitchens clip for action put-cream and wash-knife. Each column is one of the 8 uniformly sampled frames. Row 1 (original): input frames. Row 2 (STEP [15]): spatial mask MaM_a learned by STEP; the highlighted region is shown sharp while the complement is replaced by a Gaussian blur (31×31, σ\sigma=20), matching the perturbation seen by the model. Row 3 (Extremal Perturbation [5]): same rendering for the EP spatial mask. Row 4 (Ours): our disentangled spatial mask under the same blur-blend rendering; frame borders are blue when the temporal mask Mm>0.5M_m>0.5 (model-relevant frame) and gray when frozen (nearest-active-frame replacement applied). Values above each frame give the soft MmM_m weight.

Ablations

We cumulatively ablate our framework from the STEP baseline on EGTEA (frozen TSM; Figure 4). First, replacing MSE with the ReLU upper-bound area loss prevents non-discriminative masking by allowing sub-budget use, improving Appearance Insertion AUC (0.53→0.61) and Deletion AUC (0.56→0.52). Next, adding separation loss (Lsep\mathcal{L}_{\mathrm{sep}}) prevents spatial masking on frozen frames, driving massive faithfulness gains: Appearance Deletion AUC drops to 0.21, Motion Deletion drops drastically from 0.48 to 0.08, and Appearance Insertion increases to 0.96. Finally, the Full Model (incorporating STE hard frame selection) solidifies temporal perturbations, achieving our best Appearance Deletion (0.16) and peak Motion Insertion (0.60), while Motion Deletion remains highly competitive (0.10) and Appearance Insertion normalizes to 0.85.

Cumulative ablation bar charts for insertion and deletion AUC

Figure 4. Cumulative ablation on a frozen TSM trained on EGTEA Gaze+. Each bar adds a component on top of the previous configuration.

Theoretical analysis

This appendix formalizes four claims from the main text. Section B.1 bounds the bias of the Straight-Through Estimator used for hard frame selection (§ 3.1). Section B.2 characterizes the stationary points of the symmetric MSE area loss and the proposed ReLU upper-bound area loss (§ 3.2), formalizing why the latter permits sub-budget masks. Section B.3 formalizes the structural advantage of deletion AUC over insertion AUC for sparse explanations (§ 5).

We adopt the following notation. Vectors and tensors are bold; scalar entries are non-bold and indexed by subscripts. The classifier ff is twice continuously differentiable as a function of its input, which holds for all architectures considered in the main text. The clean clip is x∈RT×H×W×3\mathbf{x} \in\mathbb{R}^{T \times H \times W \times3}, the spatially-perturbed clip is xapp\mathbf{x}^{\mathrm{app}} as in § 3.1, and the final perturbed clip is x^\hat{\mathbf{x}} as in Eq. (6). We write ∇θL\nabla_{\theta}\mathcal{L} for the gradient of a scalar loss with respect to a parameter tensor θ\theta, and sg⁡(⋅)\operatorname{sg}(\cdot) for the stop-gradient operator (zero in the backward pass, identity in the forward pass).

Bias of the Straight-Through Estimator for hard frame selection

The frame replacement scheme in § 3.1 employs the gradient estimator

w~i→j=1[j=j∗(i)]−sg⁡(wi→j)+wi→j,(13)\tilde{w}_{i\to j} = \mathbb{1}[j = j^{*}(i)] - \operatorname{sg}(w_{i\to j}) + w_{i\to j}, \tag*{(13)}

where j∗(i)=arg⁡max⁡jwi→jj^{*}(i) = \arg\max_j w_{i\to j} and wi→jw_{i\to j} is the soft replacement weight defined in § 3.1. The forward pass of Eq. (13) evaluates to the one-hot vector ej∗(i)\mathbf{e}_{j^{*}(i)}, while the backward pass yields the gradient of the soft weights:

∂w~i→j∂mk=∂wi→j∂mk.\frac{\partial\tilde{w}_{i\to j}}{\partial m_k} = \frac{\partial w_{i\to j}}{\partial m_k}.

For any downstream scalar loss L\mathcal{L} dependent on the perturbed clip, the STE backward computation produces

∇mkL^=∑i,j∂L∂w~i→j⋅∂wi→j∂mk,(14)\widehat{\nabla_{m_k}\mathcal{L}} = \sum_{i,j} \frac{\partial\mathcal{L}}{\partial\tilde{w}_{i\to j}} \cdot\frac{\partial w_{i\to j}}{\partial m_k}, \tag*{(14)}

whereas the gradient of the true forward function (one-hot arg max) is zero almost everywhere and undefined on a measure-zero set of ties. Following [9], the relevant comparison is therefore not against the “true” gradient, which provides no signal, but against the gradient of a surrogate: the loss evaluated on the fully soft mixture.

Setup. Let x^soft(m)\hat{\mathbf{x}}_{\mathrm{soft}}(\mathbf{m}) denote the perturbed clip computed using soft weights ww instead of the STE-corrected w~\tilde{w}, and let Lsoft(m):=L(x^soft(m))\mathcal{L}_{\mathrm{soft}}(\mathbf{m}) := \mathcal{L}(\hat{\mathbf{x}}_{\mathrm{soft}}(\mathbf{m})). The STE gradient (14) equals ∇mLsoft\nabla_{\mathbf{m}}\mathcal{L}_{\mathrm{soft}} evaluated through x^soft\hat{\mathbf{x}}_{\mathrm{soft}}, but in our pipeline the loss is evaluated at x^=x^hard\hat{\mathbf{x}} = \hat{\mathbf{x}}_{\mathrm{hard}}, the discretized clip. The bias is formalized as

Bias⁡(m)=∇mLsoft∣x^=x^hard−∇mLsoft∣x^=x^soft.(15)\operatorname{Bias}(\mathbf{m}) = \left.\nabla_{\mathbf{m}}\mathcal{L}_{\mathrm{soft}}\right|_{\hat{\mathbf{x}}=\hat{\mathbf{x}}_{\mathrm{hard}}} - \left.\nabla_{\mathbf{m}}\mathcal{L}_{\mathrm{soft}}\right|_{\hat{\mathbf{x}}=\hat{\mathbf{x}}_{\mathrm{soft}}}. \tag*{(15)}

Let LL be a Lipschitz constant of ∇Lsoft\nabla\mathcal{L}_{\mathrm{soft}} with respect to x^\hat{\mathbf{x}} under the ℓ1\ell_1 norm, viewed as a function from clips to gradients with respect to m\mathbf{m}. Such a constant exists for any twice continuously differentiable classifier on a bounded input domain.

Intuitively, this bounds the deviation of the STE gradient from that of a strictly soft pipeline. The bias is minimized when the soft argmax distribution is highly peaked (confident) or when the candidate replacement frames are visually similar.

Proposition 1 (STE bias bound). For each frame index ii, let Δi:=wi→j∗(i)−wi→j(2)(i)\Delta_i := w_{i\to j^*(i)} - w_{i\to j^{(2)}(i)} denote the gap between the largest and second-largest replacement weight, and let δi:=max⁡j≠j∗(i)∥xj∗(i)app−xjapp∥\delta_i := \max_{j\ne j^*(i)} \lVert\mathbf{x}^{\mathrm{app}}_{j^*(i)} - \mathbf{x}^{\mathrm{app}}_j \rVert denote the largest pairwise distance between candidate replacement frames. Then

∥Bias⁡(m)∥≤L⋅∑i:MiSTE=0(1−Δi)⋅δi.(16)\lVert\operatorname{Bias}(\mathbf{m}) \rVert\le L \cdot\sum_{i:M_i^{\mathrm{STE}}=0} (1-\Delta_i)\cdot\delta_i. \tag*{(16)}

Proof. Fix a frame ii marked frozen by the temporal STE gate (MiSTE=0M_i^{\mathrm{STE}}=0, replacement active). The hard and soft replacement frames at position ii are

x^ihard=xj∗(i)app,x^isoft=∑jwi→jxjapp.\hat{\mathbf{x}}_i^{\mathrm{hard}}=\mathbf{x}^{\mathrm{app}}_{j^*(i)}, \qquad\hat{\mathbf{x}}_i^{\mathrm{soft}}=\sum_j w_{i\to j}\mathbf{x}^{\mathrm{app}}_j.

We need to measure the visual distance between the “hard” frame (if we forced the model to pick exactly one frame) and the “soft” blended frame (the weighted average the math thinks we chose).

First, we subtract the soft frame from the hard frame. Because the soft frame is just a mixture of the winning frame and all the losing frames, the winning frame perfectly cancels out its own portion of the blend. We are left with just a sum of all the “losing” frames (j≠j∗j\ne j^*), weighted by their probabilities (wi→jw_{i\to j}), multiplied by how visually different they are from the winner:

∥x^ihard−x^isoft∥=∥∑j≠j∗(i)wi→j(xj∗(i)app−xjapp)∥\left\lVert\hat{\mathbf{x}}_i^{\mathrm{hard}}-\hat{\mathbf{x}}_i^{\mathrm{soft}}\right\rVert = \left\lVert\sum_{j\ne j^*(i)} w_{i\to j}\left(\mathbf{x}^{\mathrm{app}}_{j^*(i)}-\mathbf{x}^{\mathrm{app}}_j\right)\right\rVert

Calculating the exact visual difference for every single losing frame is too complex, so we establish an upper bound. The Triangle Inequality allows us to pull the absolute value (norm) inside the summation. Instead of tracking exact differences, we assume the worst-case scenario. Let δi\delta_i represent the absolute biggest visual difference between the winning frame and any candidate frame. By replacing the exact distances with this maximum distance, we guarantee our formula acts as a strict ceiling (≤\le):

∥∑j≠j∗(i)wi→j(xj∗(i)app−xjapp)∥≤∑j≠j∗(i)wi→j⋅δi\left\lVert\sum_{j\ne j^*(i)} w_{i\to j}\left(\mathbf{x}^{\mathrm{app}}_{j^*(i)}-\mathbf{x}^{\mathrm{app}}_j\right)\right\rVert \le \sum_{j\ne j^*(i)} w_{i\to j}\cdot\delta_i

Because the weights (ww) are probabilities, the sum of the probabilities for every candidate frame must equal 1 (100%). Therefore, the combined probability of all the losing frames is simply 1 minus the probability of the winning frame (wi→j∗(i)w_{i\to j^*(i)}). This neatly collapses the entire summation:

∑j≠j∗(i)wi→j⋅δi=(1−wi→j∗(i))⋅δi\sum_{j\ne j^*(i)} w_{i\to j}\cdot\delta_i = \left(1-w_{i\to j^*(i)}\right)\cdot\delta_i

We define the gap (Δi\Delta_i) as the exact difference in probability between the first-place winner and the second-place runner-up (j(2)j^{(2)}):

wi→j∗(i)=wi→j(2)(i)+Δiw_{i\to j^*(i)} = w_{i\to j^{(2)}(i)}+\Delta_i

Because a probability can never be negative (wi→j(2)(i)≥0w_{i\to j^{(2)}(i)}\ge0), the winning probability must be at least as large as the gap itself: wi→j∗(i)≥Δiw_{i\to j^*(i)}\ge\Delta_i.

If the winning probability is greater than or equal to Δi\Delta_i, then subtracting it from 1 flips the inequality sign, giving us:

1−wi→j∗(i)≤1−Δi1-w_{i\to j^*(i)} \le1-\Delta_i

By substituting this gap logic back into our collapsed equation from, we arrive at the final pointwise bound. The visual error between the hard choice and the soft choice is mathematically guaranteed to be less than or equal to the visual difference of the worst frame (δi\delta_i) multiplied by the uncertainty of the decision (1−Δi)(1-\Delta_i):

∥x^ihard−x^isoft∥≤(1−Δi)⋅δi.\left\lVert\hat{x}^{\mathrm{hard}}_i-\hat{x}^{\mathrm{soft}}_i\right\rVert\le(1-\Delta_i)\cdot\delta_i.

Summing the norms over all frozen frames bounds the ℓ1\ell_1 distance between the hard and soft clips. Applying the ℓ1\ell_1-Lipschitz continuity of ∇Lsoft\nabla\mathcal{L}_{\mathrm{soft}} then yields Eq. (16). □\square

Analysis of the Bias Bound. The bound comprises two factors per frozen frame, capturing independent properties of the replacement scheme. The factor (1−Δi)(1-\Delta_i) quantifies the entropy of the soft argmax; a confident replacement (i.e., a large margin between the top two weights) minimizes this term. The factor δi\delta_i measures the visual discrepancy among candidate replacement frames; for temporally redundant segments, δi\delta_i is small, rendering the specific replacement choice inconsequential.

These factors interact with the temperature annealing schedule and replacement geometry. Because temperature annealing is applied to the mask sigmoid rather than the replacement weights directly, it does not force Δi→1\Delta_i \to1 asymptotically. Instead, it pushes the mask values toward {0,1}\{0,1\}, yielding an exactly one-hot w~\tilde{w} during the forward pass and restricting the active set to a sparse subset of frames. Within this active set, the proximity Gaussian exp⁡(−∥i−j∥2/2σR2)\exp(-\lVert i-j\rVert^2/2\sigma_R^2) (where σR=2\sigma_R=2) separates the nearest active neighbor from the second nearest by a non-trivial multiplicative factor (e.g., exp⁡(−1/8)/exp⁡(−1/2)≈1.46\exp(-1/8)/\exp(-1/2)\approx1.46 for distances 1 and 2). Consequently, Δi\Delta_i is lower-bounded by a constant determined solely by the active set's geometry. Furthermore, δi\delta_i remains small when the nearest-active-frame replacement selects a visually similar source, which is typical for slowly varying video segments.

Stationary points of the area constraints

In our method, we want the neural network to highlight important parts of a video. We give it a "budget" (a target size for the highlight mask, called vv). We want to prove mathematically why using a standard Mean Squared Error (MSE) loss forces the mask to match this budget exactly, whereas using a ReLU loss allows the mask to be smaller than the budget if it finds the important features early. Let us characterize the stationary points of the joint loss Lpred(m)+λLarea(m,v)\mathcal{L}_{\mathrm{pred}}(\mathbf{m})+\lambda\mathcal{L}_{\mathrm{area}}(\mathbf{m},v) under both the symmetric MSE and the proposed ReLU upper-bound area constraints.

Setup. Let m∈[0,1]N\mathbf{m}\in[0,1]^N denote a generic mask (representing MaM_a flattened, or MmM_m, or any sub-block thereof). Let Lpred:[0,1]N→R≥0\mathcal{L}_{\mathrm{pred}}:[0,1]^N\to\mathbb{R}_{\ge0} be continuously differentiable with bounded gradients, ∥∇Lpred(m)∥≤L\lVert\nabla\mathcal{L}_{\mathrm{pred}}(\mathbf{m})\rVert\le L for some constant LL. In practice Lpred\mathcal{L}_{\mathrm{pred}} has plateau regions where ∇Lpred(m∗)=0\nabla\mathcal{L}_{\mathrm{pred}}(\mathbf{m}^*)=0 once the mask covers enough of the model's evidence.

Let v∈(0,1)v\in(0,1) denote the target area fraction and ti∈{0,1}t_i\in\{0,1\} the binary target with ti=1t_i=1 for i≥(1−v)Ni\ge(1-v)N in sorted order. We write msort\mathbf{m}^{\mathrm{sort}} for the descending sort of m\mathbf{m} and abbreviate a:=∥m∥1/Na:=\lVert\mathbf{m}\rVert_1/N for the realized area fraction.

The symmetric and one-sided area losses are

LareaMSE(m,v)=1N∑i=1N(misort−ti)2,LareaReLU(m,v)=1N∑i=1N[ReLU⁡(misort−ti)]2.(17)\mathcal{L}_{\mathrm{area}}^{\mathrm{MSE}}(\mathbf{m},v)=\frac{1}{N}\sum_{i=1}^{N}\left(m_i^{\mathrm{sort}}-t_i\right)^2,\qquad\mathcal{L}_{\mathrm{area}}^{\mathrm{ReLU}}(\mathbf{m},v)=\frac{1}{N}\sum_{i=1}^{N}\left[\operatorname{ReLU}\left(m_i^{\mathrm{sort}}-t_i\right)\right]^2. \tag*{(17)}

The symmetric area loss formulation invariably produces masks that saturate the allocated budget. As the penalty weight λ\lambda increases, the realized mask area converges to the target budget at a rate of O(1/λ)O(1/\lambda).

Proposition 2 (MSE forces budget saturation, with quantitative rate). Let mλ∗\mathbf{m}^*_\lambda be an interior stationary point of Lpred+λLareaMSE\mathcal{L}_{\mathrm{pred}}+\lambda\mathcal{L}_{\mathrm{area}}^{\mathrm{MSE}}. Then the realized area satisfies

∣aλ∗−v∣≤LN2λ.(18)\left|a^*_\lambda-v\right|\le\frac{L\sqrt{N}}{2\lambda}. \tag*{(18)}

In particular, aλ∗→va_\lambda^* \to v as λ→∞\lambda\to\infty, and the gap closes at rate O(1/λ)O(1/\lambda) (with constant scaling as N\sqrt{N}).

Proof. At an interior stationary point, the first-order condition dictates that the total gradient must equal zero:

∇Lpred(mλ∗)+λ∇LareaMSE(mλ∗,v)=0.\nabla\mathcal{L}_{\mathrm{pred}}(\mathbf{m}_\lambda^*) + \lambda\nabla\mathcal{L}_{\mathrm{area}}^{\mathrm{MSE}}(\mathbf{m}_\lambda^*, v) = \mathbf{0}.

Rearranging this equivalence yields λ∇LareaMSE(mλ∗,v)=−∇Lpred(mλ∗)\lambda\nabla\mathcal{L}_{\mathrm{area}}^{\mathrm{MSE}}(\mathbf{m}_\lambda^*, v) = -\nabla\mathcal{L}_{\mathrm{pred}}(\mathbf{m}_\lambda^*). By taking the norm of both sides and applying the assumed gradient bound ∥∇Lpred∥≤L\lVert\nabla\mathcal{L}_{\mathrm{pred}}\rVert\le L, we deduce that the norm of the area loss gradient must be strictly bounded:

∥∇LareaMSE(mλ∗,v)∥≤Lλ.\left\lVert\nabla\mathcal{L}_{\mathrm{area}}^{\mathrm{MSE}}(\mathbf{m}_\lambda^*, v)\right\rVert\le\frac{L}{\lambda}.

This mathematically enforces that as the penalty weight λ\lambda grows, the area loss gradient is driven toward zero. To evaluate this gradient norm, we compute the partial derivative of the MSE area loss with respect to a specific mask parameter mkm_k. Applying the chain rule to the quadratic penalty yields ∂LareaMSE/∂mk=(2/N)(miksort−tik)\partial\mathcal{L}_{\mathrm{area}}^{\mathrm{MSE}}/\partial m_k = (2/N)(m_{i_k}^{\mathrm{sort}} - t_{i_k}), where iki_k represents the rank index of position kk after the descending sort.

Computing the squared Euclidean norm (ℓ2\ell_2 norm) of this gradient vector entails summing the squares of its components over all NN dimensions:

∥∇LareaMSE∥22=4N2∑i=1N(misort−ti)2≤L2λ2.\left\lVert\nabla\mathcal{L}_{\mathrm{area}}^{\mathrm{MSE}}\right\rVert_2^2 = \frac{4}{N^2}\sum_{i=1}^{N}\left(m_i^{\mathrm{sort}}-t_i\right)^2 \le\frac{L^2}{\lambda^2}.

Equating this algebraic expansion to our previously established upper bound (L/λ)2(L/\lambda)^2 and isolating the summation yields a bound on the sum of squared differences: ∑i(misort−ti)2≤N2L2/(4λ2)\sum_i(m_i^{\mathrm{sort}}-t_i)^2 \le N^2L^2/(4\lambda^2).

We now relate this squared Euclidean distance to the absolute difference in total area. By invoking the Cauchy–Schwarz inequality, which asserts that the sum of elements (ℓ1\ell_1 norm) is bounded by the square root of the sum of their squares (ℓ2\ell_2 norm) scaled by the dimension NN, we obtain:

∣∑i(misort−ti)∣≤N⋅∑i(misort−ti)2≤NLN2λ.\left|\sum_i\left(m_i^{\mathrm{sort}}-t_i\right)\right| \le\sqrt{N\cdot\sum_i\left(m_i^{\mathrm{sort}}-t_i\right)^2} \le\frac{NL\sqrt{N}}{2\lambda}.

To conclude the proof, we recognize that the realized area aλ∗a_\lambda^* is simply the mean of the sorted mask (1/N)∑imisort(1/N)\sum_i m_i^{\mathrm{sort}}, and the target budget vv is the mean of the binary targets (1/N)∑iti(1/N)\sum_i t_i.

aλ∗=1N∑i=1Nmisorta_\lambda^* = \frac{1}{N}\sum_{i=1}^{N}m_i^{\mathrm{sort}}
v=1N∑i=1Ntiv = \frac{1}{N}\sum_{i=1}^{N}t_i

We want to find the absolute difference between these two quantities. Substituting our definitions gives:

∣aλ∗−v∣=∣(1N∑i=1Nmisort)−(1N∑i=1Nti)∣\left|a_\lambda^* - v\right| = \left|\left(\frac{1}{N}\sum_{i=1}^{N}m_i^{\mathrm{sort}}\right)-\left(\frac{1}{N}\sum_{i=1}^{N}t_i\right)\right|

Because 1N\frac{1}{N} is a positive constant shared by both terms, we can factor it completely outside of the absolute value, combining the summations into a single term:

∣aλ∗−v∣=1N∣∑i=1N(misort−ti)∣\left|a_\lambda^* - v\right| = \frac{1}{N}\left|\sum_{i=1}^{N}\left(m_i^{\mathrm{sort}}-t_i\right)\right|

From our earlier application of the Cauchy–Schwarz inequality, we established a strict upper bound for this absolute sum: ∣∑i=1N(misort−ti)∣≤NLN2λ\left|\sum_{i=1}^{N}(m_i^{\mathrm{sort}}-t_i)\right| \le\frac{NL\sqrt{N}}{2\lambda}. We substitute this upper bound into our equation:

∣aλ∗−v∣≤1N⋅(NLN2λ)\left|a_\lambda^* - v\right| \le\frac{1}{N}\cdot\left(\frac{NL\sqrt{N}}{2\lambda}\right)

The NN in the denominator perfectly cancels the NN in the numerator of the bound, leaving us with Eq. (18):

∣aλ∗−v∣≤LN2λ|a_{\lambda}^{*}-v| \le\frac{L\sqrt{N}}{2\lambda}

Conversely, the one-sided area loss permits the mask to converge below the target budget, provided the prediction loss is minimized. Once the mask area strictly satisfies the budget constraint, the area penalty yields a zero gradient, thereby allowing the realized sparsity to be dictated entirely by the prediction loss landscape.

Proposition 3 (ReLU permits sub-budget stationary points independent of λ\lambda). Suppose there exists m∗∈[0,1]N\mathbf{m}^{*} \in[0,1]^{N} with ∇Lpred(m∗)=0\nabla\mathcal{L}_{\mathrm{pred}}(\mathbf{m}^{*}) = \mathbf{0} and misort,∗≤tim_{i}^{\mathrm{sort},*} \le t_i for all ii (so a∗≤va^{*} \le v). Then m∗\mathbf{m}^{*} is a stationary point of Lpred+λLareaReLU\mathcal{L}_{\mathrm{pred}}+\lambda\mathcal{L}_{\mathrm{area}}^{\mathrm{ReLU}} for every λ>0\lambda> 0.

Proof. We analyze the stationary condition by first computing the partial derivative of the ReLU area loss. Applying the chain rule to the squared ReLU function gives:

∂LareaReLU∂mk=2NReLU⁡(miksort−tik).\frac{\partial\mathcal{L}_{\mathrm{area}}^{\mathrm{ReLU}}}{\partial m_k} = \frac{2}{N}\operatorname{ReLU}\left(m_{ik}^{\mathrm{sort}}-t_{ik}\right).

The critical property of the ReLU function is that it evaluates to zero for any non-positive argument. Under the hypothesis that the proposed mask strictly satisfies the budget constraint (i.e., misort,∗≤tim_i^{\mathrm{sort},*} \le t_i for all ii), the argument (misort,∗−tik)(m_i^{\mathrm{sort},*}-t_{ik}) is inherently non-positive across all dimensions. Consequently, the ReLU argument returns zero, and the gradient evaluates to exactly zero everywhere.

Substituting this zero-gradient result back into the global first-order stationary condition yields:

∇Lpred(m∗)+λ⋅0=0.\nabla\mathcal{L}_{\mathrm{pred}}(\mathbf{m}^{*})+\lambda\cdot\mathbf{0}=\mathbf{0}.

Because the area penalty gradient vanishes completely, the optimality of the point relies solely on the prediction loss landscape. Since we posited by hypothesis that ∇Lpred(m∗)=0\nabla\mathcal{L}_{\mathrm{pred}}(\mathbf{m}^{*})=\mathbf{0}, this equality holds true independent of the magnitude of the hyperparameter λ\lambda.

What the two propositions say jointly. Proposition 2 formalizes the empirical observation that MSE-area-loss masks always realize close to the budget. The symmetric penalty penalizes the mask for being smaller than vv as well as for being larger, so any interior stationary point is pushed toward a=va=v at rate O(1/λ)O(1/\lambda). Proposition 3 shows that the ReLU form decouples realized area from budget: once the mask is sub-budget, the area term contributes nothing to the gradient, and the realized sparsity is determined entirely by the geometry of Lpred\mathcal{L}_{\mathrm{pred}}. This is the behavior we exploit in Table 1, where realized appearance-mask sparsity falls well below the budget set during optimization.

Insertion AUC has a structural advantage for larger masks

We now formalize the analytical claim introduced in Section 5: for explanation masks whose values are driven to 0 or 1, the Insertion AUC metric implicitly rewards mask size, whereas the Deletion AUC metric strictly resists this confounding factor. The effect is specific to such (near-)binary masks and does not arise in the same form for continuous attribution maps such as saliency maps. Perturbation methods that optimize masks toward binary values (our method, Extremal Perturbation and STEP, all of which anneal or threshold their masks toward {0,1}\{0,1\}) fall in the binary regime analyzed here.

Setup. Fix an input clip and a designated target classification class. For a given explanatory mask MM evaluated over the N:=THWN := T H W spatial-temporal positions, the standard insertion procedure sequentially reveals the top-⌊αN⌋\lfloor\alpha N\rfloor positions in descending order of mask magnitude (utilizing consistent permutation for tie-breaking). All remaining unrevealed positions are subjected to a baseline blur, and the target-class probability is subsequently evaluated. We denote this resulting evaluation curve as C(M):[0,1]→[0,1]C^{(M)} : [0,1] \to[0,1] and the normalized area-fraction of the active mask as a(M):=∣{i:Mi=1}∣/Na(M) := |\{i : M_i = 1\}|/N. By definition, the boundary conditions evaluate to C(M)(0)=CbaseC^{(M)}(0)=C_{\mathrm{base}} (the fully blurred baseline prediction) and C(M)(1)=CfullC^{(M)}(1)=C_{\mathrm{full}} (the original unperturbed prediction), both of which are strictly independent of the chosen mask MM.

We comparatively analyze two distinct masks, M(1)M^{(1)} and M(2)M^{(2)}, characterized by active area fractions 0<a1<a2<10 < a_1 < a_2 < 1. We stipulate that both masks share an underlying position importance ordering π\pi. This implies their active sets are strictly nested: method 1 isolates the top a1Na_1N positions, while method 2 isolates the top a2Na_2N positions, both following the exact π\pi-order. Furthermore, tie-breaking among all inactive positions (Mi=0M_i = 0) relies on the identical permutation for both methods. This specific configuration mathematically models the scenario where method 2’s supplementary active positions are precisely the marginal features that method 1 evaluated as minimally important and subsequently excluded.

Definition 1 formalizes the intuitive premise that a mask captures the entirety of the model’s predictive evidence and nothing extraneous. Condition (iii) represents the core substantive constraint: spatial-temporal positions excluded from the mask yield strictly zero informational value to the classifier until the complete input tensor is restored.

Definition 1 (Faithfulness). A mask MM with corresponding insertion curve C(M)C^{(M)} is defined as faithful if it satisfies the following axioms:

(i) C(M)C^{(M)} is strictly non-decreasing across the domain [0,1][0,1] (revealing additional visual information never deteriorates the prediction confidence);

(ii) C(M)C^{(M)} is concave over the domain [0,a(M)][0,a(M)] (each newly revealed active position contributes a weakly lesser increase in confidence than the preceding position);

(iii) C(M)(α)=C(M)(a(M))C^{(M)}(\alpha) = C^{(M)}(a(M)) for all α∈[a(M),1)\alpha\in[a(M),1), with the original confidence C(M)(1)=CfullC^{(M)}(1) = C_{\mathrm{full}} recovered exclusively as a discontinuous jump at α=1\alpha= 1.

Condition (iii) is the primary engine of the faithfulness assumption: positions deemed inactive by the mask contain zero predictive signal until the full context is forcibly restored. This constraint is mathematically stronger than the generic inequalities occasionally utilized in statements of this metric, allowing for rigorous geometric bounds in the ensuing proofs. While empirical explanation methods rarely satisfy Condition (iii) perfectly, we address the practical implications of this relaxation below.

Notation. Let us define the baseline-adjusted confidence curves as S(α):=C(1)(α)−CbaseS(\alpha) := C^{(1)}(\alpha) - C_{\mathrm{base}} and T(α):=C(2)(α)−CbaseT(\alpha) := C^{(2)}(\alpha) - C_{\mathrm{base}}. Both functions are non-negative and non-decreasing, anchored at S(0)=T(0)=0S(0) = T(0) = 0 and terminating at S(1)=T(1)=Cfull−CbaseS(1) = T(1) = C_{\mathrm{full}} - C_{\mathrm{base}}. For the fractional domain α≤a1\alpha\leq a_1, the insertion procedures of both methods reveal mathematically identical spatial-temporal coordinates (because their importance orderings are shared, and method 1’s active set acts as a strict prefix to method 2’s). Consequently, S(α)=T(α)S(\alpha) = T(\alpha) precisely on [0,a1][0,a_1]. We denote the pointwise deviation between the curves as Δ(α):=T(α)−S(α)≥0\Delta(\alpha) := T(\alpha) - S(\alpha) \geq0.

Proposition 4 (Insertion AUC favors larger faithful masks). Assuming the setup defined above wherein both M(1)M^{(1)} and M(2)M^{(2)} strictly satisfy the faithfulness axioms of Definition 1, and assuming the slope of the insertion curve C(2)C^{(2)} over the interval [a1,a2][a_1,a_2] is bounded below by a strictly positive constant σ>0\sigma> 0, then:

AUCIns(2)−AUCIns(1)≥12σ(a2−a1)2.(19)\mathrm{AUC}_{\mathrm{Ins}}^{(2)} - \mathrm{AUC}_{\mathrm{Ins}}^{(1)} \geq\frac{1}{2}\sigma\left(a_2-a_1\right)^2. \tag*{(19)}

The accumulated gap remains strictly positive under any circumstance where method 2’s supplementary positions contain individually informative predictive signals.

Proof. We begin by computing the explicit difference between the accumulated areas under the respective insertion curves. By definition, the Insertion AUC for method kk is the integral of its raw curve over the fractional domain α∈[0,1]\alpha\in[0,1]. Separating the baseline offset yields:

AUCIns(k)=∫01C(k)(α) dα=Cbase+∫01(C(k)(α)−Cbase) dα.\mathrm{AUC}_{\mathrm{Ins}}^{(k)} = \int_0^1 C^{(k)}(\alpha)\,\mathrm{d}\alpha= C_{\mathrm{base}} + \int_0^1 \left(C^{(k)}(\alpha) - C_{\mathrm{base}}\right)\,\mathrm{d}\alpha.

Thus, the difference in AUC between the two methods reduces purely to the integral of the pointwise gap Δ(α)=T(α)−S(α)\Delta(\alpha) = T(\alpha) - S(\alpha):

AUCIns(2)−AUCIns(1)=∫01Δ(α) dα.\mathrm{AUC}_{\mathrm{Ins}}^{(2)} - \mathrm{AUC}_{\mathrm{Ins}}^{(1)} = \int_0^1 \Delta(\alpha)\,\mathrm{d}\alpha.

To isolate the region of divergence, we partition the domain of integration into three distinct intervals based on the active mask fractions a1a_1 and a2a_2:

∫01Δ(α) dα=∫0a1Δ(α) dα+∫a1a2Δ(α) dα+∫a21Δ(α) dα.\int_{0}^{1} \Delta(\alpha)\,\mathrm{d}\alpha= \int_{0}^{a_1} \Delta(\alpha)\,\mathrm{d}\alpha+ \int_{a_1}^{a_2} \Delta(\alpha)\,\mathrm{d}\alpha+ \int_{a_2}^{1} \Delta(\alpha)\,\mathrm{d}\alpha.

In Interval 1 ([0,a1][0,a_1]), both methods sequentially reveal identical spatial-temporal features. Thus, S(α)=T(α)S(\alpha)=T(\alpha), rendering Δ(α)=0\Delta(\alpha)=0, and ensuring the first integral evaluates exactly to zero. In Interval 3 ([a2,1][a_2,1]), the pointwise gap Δ(α)\Delta(\alpha) is guaranteed to be non-negative because T(α)≥S(α)T(\alpha)\ge S(\alpha) pointwise by the definition of the nested active sets. Therefore, the third integral contributes a value strictly greater than or equal to zero.

Because the first integral is zero and the third is non-negative, we can establish a strict mathematical lower bound by analyzing Interval 2 exclusively:

AUC⁡Ins(2)−AUC⁡Ins(1)≥∫a1a2Δ(α) dα.\operatorname{AUC}_{\mathrm{Ins}}^{(2)}-\operatorname{AUC}_{\mathrm{Ins}}^{(1)} \ge\int_{a_1}^{a_2}\Delta(\alpha)\,\mathrm{d}\alpha.

Within the fractional domain (a1,a2](a_1,a_2], method 2 continues to reveal genuinely informative positions, driving its curve upward. Conversely, method 1 has entirely exhausted its active mask subset. By invoking Faithfulness Condition (iii) on M(1)M^{(1)}, we establish that any newly revealed positions past a1a_1 contribute exactly zero change to the model’s confidence until α=1\alpha=1. Consequently, S(α)S(\alpha) plateaus entirely: S(α)=S(a1)S(\alpha)=S(a_1) for all α∈(a1,1)\alpha\in(a_1,1). The gap function within Interval 2 thereby simplifies cleanly to Δ(α)=T(α)−S(a1)\Delta(\alpha)=T(\alpha)-S(a_1).

We are provided the hypothesis that the slope of C(2)C^{(2)} (and equivalently TT) over the interval [a1,a2][a_1,a_2] is bounded below by the constant σ>0\sigma>0. Because the curves intersect at the boundary such that T(a1)=S(a1)T(a_1)=S(a_1), we can project a linear lower bound onto the trajectory of T(α)T(\alpha): T(α)−S(a1)≥σ(α−a1)T(\alpha)-S(a_1)\ge\sigma(\alpha-a_1).

Substituting this linear geometric bound back into the integral yields:

∫a1a2Δ(α) dα≥∫a1a2σ(α−a1) dα.\int_{a_1}^{a_2}\Delta(\alpha)\,\mathrm{d}\alpha\ge\int_{a_1}^{a_2}\sigma(\alpha-a_1)\,\mathrm{d}\alpha.

In other words, because the small mask flatlines and the big mask climbs at slope σ\sigma, they form a triangle of "free area" on the graph. The width of this triangle is (a2−a1)(a_2-a_1). The height is σ(a2−a1)\sigma(a_2-a_1). The area of a triangle is 12⋅base⋅height\frac{1}{2}\cdot\text{base}\cdot\text{height}. Evaluating this standard polynomial integral computes to 12σ(α−a1)2\frac{1}{2}\sigma(\alpha-a_1)^2 evaluated from boundary a1a_1 to a2a_2, directly resulting in 12σ(a2−a1)2\frac{1}{2}\sigma(a_2-a_1)^2. This derivation finalizes the formal quadratic bound presented in Eq. (19). The established quadratic bound is structurally conservative because it entirely omits the accumulated area from the third interval [a2,1][a_2,1]. □\square

Consequently, the Insertion AUC metric exhibits an inherent structural bias that strictly favors spatially larger masks, even when controlling for per-position precision. Because a larger active mask possesses a wider fractional domain over which to incrementally increase the model’s confidence, it mathematically accumulates a definitively greater area under the evaluation curve. In stark contrast, the Deletion AUC metric intrinsically penalizes an artificial inflation of mask size. Once a proposed mask successfully encompasses the entirety of the model’s predictive evidence, further expansion of the active mask cannot mathematically depress the deletion curve any further. Consequently, Deletion AUC functions strictly as a measure of evidence coverage, remaining invariant to arbitrary increases in absolute mask size.

Proposition 5 (Deletion AUC depends on coverage, not size). Assume M(1)M^{(1)} and M(2)M^{(2)} represent faithful masks (per Definition 1) that share the position importance ordering, subject to 0<a1<a2<10<a_1<a_2<1. Suppose M(1)M^{(1)} sufficiently covers the model’s underlying evidence, formally defined such that there exists a fractional point α∗∈[0,a1]\alpha^*\in[0,a_1] where the deletion curve D(1)D^{(1)} perfectly converges to the baseline confidence: D(1)(α∗)=CbaseD^{(1)}(\alpha^*)=C_{\mathrm{base}}. Under these conditions:

AUC⁡Del(2)=AUC⁡Del(1).(20)\operatorname{AUC}_{\mathrm{Del}}^{(2)}=\operatorname{AUC}_{\mathrm{Del}}^{(1)}. \tag*{(20)}

:::`

Proof. The deletion evaluation procedure at a given fractional threshold α\alpha dictates that the top-⌊αN⌋\lfloor\alpha N \rfloor positions of the mask, ranked strictly in descending order, are removed and replaced with a baseline blur. The target-class probability is then recalculated.

Because masks M(1)M^{(1)} and M(2)M^{(2)} perfectly share the underlying position importance ordering π\pi, both methods inherently prioritize the exact same spatial-temporal features for initial deletion. Therefore, for any fraction α\alpha within the interval [0,a1][0,a_1], the deletion operations drop identical sets of pixels. This strictly guarantees that their respective deletion curves are pointwise equivalent throughout this initial domain: D(1)(α)=D(2)(α)D^{(1)}(\alpha)=D^{(2)}(\alpha) for all α∈[0,a1]\alpha\in[0,a_1].

Invoking the coverage hypothesis, the curve D(1)D^{(1)} is known to reach the absolute baseline confidence CbaseC_{\mathrm{base}} at some fractional point a∗≤a1a^* \leq a_1. By fundamental definition, a deletion curve is monotonically non-increasing and is strictly bounded from below by CbaseC_{\mathrm{base}}. Because D(1)D^{(1)} intersects its absolute minimum at a∗a^*, it is geometrically constrained to remain perfectly horizontal thereafter: D(1)(α)=CbaseD^{(1)}(\alpha)=C_{\mathrm{base}} for all subsequent fractions α∈[a∗,1)\alpha\in[a^*,1).

Crucially, this exact geometric plateau must uniformly apply to D(2)D^{(2)} over the interval [a∗,1)[a^*,1). Because D(1)D^{(1)} and D(2)D^{(2)} mandate identical pixel removals up to a1a_1, and given that a∗≤a1a^*\leq a_1, the curve D(2)D^{(2)} has similarly been driven down to the baseline CbaseC_{\mathrm{base}} precisely at α=a∗\alpha=a^*. Further obfuscation of features beyond a∗a^* cannot rationally reduce the model’s confidence below the baseline probability. Thus, D(2)(α)=CbaseD^{(2)}(\alpha)=C_{\mathrm{base}} identically for all α∈[a∗,1)\alpha\in[a^*,1).

For the remaining fractional domain α∈[a2,1]\alpha\in[a_2,1], both explanatory methods have completely exhausted their proposed active positions. They proceed to sequentially delete inactive (zero-weighted) positions governed entirely by the shared tie-breaking permutation. As theoretically established, both functions merely trace the CbaseC_{\mathrm{base}} minimum floor throughout this entire tail process until α=1\alpha=1.

Because D(1)(α)=D(2)(α)D^{(1)}(\alpha)=D^{(2)}(\alpha) over the domain [0,a∗][0,a^*], and both curves strictly equate to CbaseC_{\mathrm{base}} over [a∗,1][a^*,1], we conclude that D(1)≡D(2)D^{(1)}\equiv D^{(2)} globally across the entire closed interval [0,1][0,1]. Integrating identical functional curves inevitably yields identical areas, cementing Eq. (20). □

The asymmetry between insertion and deletion. Once an explanatory mask achieves total coverage of the model’s operative evidence, expanding its boundaries changes the deletion curve exclusively at thresholds α<a∗\alpha<a^*, a domain where the curves of any structurally covering masks natively agree by construction. Deletion AUC thus rigorously evaluates whether a mask captures the prediction support, deliberately ignoring extraneous inclusions. The contrapositive statement proves equally diagnostic: if two masks produce substantially divergent deletion AUCs, we can mathematically conclude that at least one candidate fundamentally fails to capture the core evidence.

The structural advantage of Insertion AUC for larger masks fundamentally arises from the directional placement of the mask’s “tail” (the large quantity of low-importance background pixels). We characterize this phenomenon as asymmetric early saturation. Every explanation mask can be conceptually partitioned into a high-importance “head” (the core visual evidence) and a low-importance “tail” (the surrounding background context). The mathematical asymmetry between the two metrics lies entirely in how they integrate this tail.

The Insertion Phenomenon (Multiplying by High Confidence). Under the insertion protocol, the mask reveals its head first. Once the critical evidence is revealed, the model’s target-class confidence rapidly saturates near its maximum (C≈1C\approx1). For a large, dense mask, the remaining evaluation steps consist of revealing its large tail. Because the confidence is already saturated, this tail is integrated over a high-confidence plateau. Geometrically, the tail creates a wide integration window that is multiplied by a high altitude, racking up strictly positive area simply because the mask takes longer to finish revealing pixels.

The Deletion Phenomenon (Multiplying by Zero). Conversely, the deletion protocol hides the head first. Once the critical evidence is destroyed, the model is effectively blinded to the target class, and confidence crashes near its baseline minimum (C≈0C\approx0). When the large mask proceeds to hide its massive tail, it operates within a “dead zone.” Integrating over this zero-confidence plateau contributes negligibly to the total area. Ultimately, Deletion AUC strictly isolates the efficiency of the “head” because the tail is mathematically multiplied by zero once the evidence is destroyed. Insertion AUC, by building the evidence first, evaluates the tail at maximum confidence. This geometrically guarantees that larger masks receive artificially inflated scores purely as a function of their absolute pixel count, rather than the precision of their explanation.

Collectively, these two propositions rigorously harden the rhetorical claim presented in § 5. Insertion AUC mathematically favors enlarged masks even when localized precision is controlled (Proposition 4). Thus, achieving a superior insertion AUC remains highly ambiguous, consistent with either a highly precise compact mask or a loosely imprecise sprawling mask. Deletion AUC actively discriminates between these divergent scenarios (Proposition 5). Our proposed method’s consistent dominance in deletion AUC across all three diverse datasets consequently serves as the far more resilient and diagnostic empirical finding.

Note, the presented propositions fundamentally presume exact geometric faithfulness as defined in Definition 1, an idealized property that no empirical explanation algorithm flawlessly achieves. The substantive analytical takeaway is qualitative rather than strictly numerical: Insertion AUC inherently harbors a documented geometric bias toward mask size, a vulnerability that Deletion AUC fundamentally resists. Real-world explanatory methods occupy a gradient between perfect faithfulness and arbitrary feature selection; however, the relative divergence between these two metrics on that continuum dependably tracks the limiting theoretical behavior established here.

Empirical check without the idealized faithfulness assumption. Definition 1(iii) is idealized. To test the size bias directly, we build synthetic masks in which size and precision vary independently: at precision pp, a fraction pp of the active positions is taken from a gradient-saliency ranking and the rest are drawn uniformly at random. We grow each mask from 5% to 60% of all spatio-temporal positions at fixed precision.

PrecisionIns. (5%)Ins. (60%)ChangeDel. (5%)Del. (60%)Change
0.100.2820.328+16.4%0.2680.236−11.8%
0.300.2930.396+35.5%0.2580.228−11.7%
0.500.3030.444+46.6%0.2520.224−11.1%
0.700.3110.484+55.5%0.2440.223−8.8%
0.900.3140.505+60.8%0.2420.218−9.9%

Table 2. Insertion vs. deletion AUC under a 12×12 \times increase in mask size at fixed precision.

At every precision level, size moves insertion AUC 1.4–6.3× more than deletion AUC, and the gap widens as precision increases, i.e., exactly for the compact, high-precision masks we aim to produce. This supports the qualitative conclusion of Propositions 4–5 without relying on Definition 1(iii).

Ablation of the noun/verb semantic split

We keep every architectural component and replace the separate noun and verb objectives with a single blended confidence objective, so neither mask receives an axis-specific semantic signal (50 examples from EGTEA data on the TSM architecture).

MetricFullw/o semantic splitΔ\Delta
App. Del. AUC ↓\downarrow0.1280.152+0.024
Mot. Del. AUC ↓\downarrow0.2340.285+0.051
App. F−^{-} ↑\uparrow0.3230.295−0.028
Mot. F−^{-} ↑\uparrow0.6560.616−0.040
App. Ins. AUC ↑\uparrow0.6300.673+0.043
Mot. Ins. AUC ↑\uparrow0.7030.778+0.075
MmM_m size (%)≈27\approx2736.3+9.3

Table 3. Effect of removing the semantic split. Δ\Delta = (w/o split) − (full).

Removing the split worsens deletion AUC and F−^{-} on both axes. Insertion AUC rises, but together with a ≈34%\approx34\% larger temporal mask, consistent with the size bias of insertion (App. § 9.§ 3). Semantic supervision therefore contributes materially to the separation; the perturbation architecture alone does not determine it.

Empirical cross-axis gradients

We measure, at convergence, the gradient magnitude of each loss with respect to each mask on 200 clips using a TSM model trained on the EGTEA dataset. The leak ratio is computed per clip as ∥∂Lverb/∂Ma∥/∥∂Lnoun/∂Ma∥\lVert\partial\mathcal{L}_{\mathrm{verb}}/\partial M_a\rVert/\lVert\partial\mathcal{L}_{\mathrm{noun}}/\partial M_a\rVert for MaM_a and ∥∂Lnoun/∂Mm∥/∥∂Lverb/∂Mm∥\lVert\partial\mathcal{L}_{\mathrm{noun}}/\partial M_m\rVert/\lVert\partial\mathcal{L}_{\mathrm{verb}}/\partial M_m\rVert for MmM_m; 0 would mean no cross-axis influence.

MaskIntended gradientCross-axis gradientLeak ratio (mean / median)
MaM_a∥∂Lnoun/∂Ma∥=1.45×10−2\lVert\partial\mathcal{L}_{\mathrm{noun}}/\partial M_a\rVert= 1.45 \times10^{-2}∥∂Lverb/∂Ma∥=1.38×10−2\lVert\partial\mathcal{L}_{\mathrm{verb}}/\partial M_a\rVert= 1.38 \times10^{-2}0.88 / 0.85
MmM_m∥∂Lverb/∂Mm∥=6.50×10−1\lVert\partial\mathcal{L}_{\mathrm{verb}}/\partial M_m\rVert= 6.50 \times10^{-1}∥∂Lnoun/∂Mm∥=3.20×10−1\lVert\partial\mathcal{L}_{\mathrm{noun}}/\partial M_m\rVert= 3.20 \times10^{-1}5.31 / 1.23

Table 4. Gradient magnitudes at convergence. Ratios are computed per clip and then aggregated, so they are not the ratio of the column means.

Cross-axis gradients are of the same order as the intended ones. For MmM_m the mean is inflated by clips whose intended verb gradient is nearly zero at convergence (median 1.07×10−31.07 \times10^{-3}), so the median is more representative. These measurements do not support a claim that gradients separate by semantic axis cleanly. Future work aims to improve the formulation with the use of stop-gradients to prevent gradient leakage.

How much does optical flow drive the SSv2 motion mask?

MetricWith flow (λF=1.312\lambda_F = 1.312)Without flow (λF=0\lambda_F = 0)
Mot. Ins. AUC ↑\uparrow0.3340.186
Mot. Del. AUC ↓\downarrow0.1520.096
Mot. F+↑^{+} \uparrow0.4650.175
Mot. F−↑^{-} \uparrow0.6130.647
MmM_m size (%)67.137.7
r(Mm,flow)r(M_m,\mathrm{flow})0.37-0.212

Table 5. Flow-alignment ablation on 50 SSv2 clips (TSM). rr: Pearson correlation between MmM_m and per-frame flow magnitude.

Flow alignment biases MmM_m toward broader, more sufficient temporal explanations (higher insertion and F+^{+}) at the cost of sparsity and deletion selectivity. The moderate correlation (r=0.37r = 0.37) shows that MmM_m is influenced by, but does not simply copy, the flow prior. A model-derived replacement for the flow prior is left to future work.

Seed variance and paired significance tests

Each method is optimized with three seeds. For paired comparisons we compute, per clip, the difference between our method and each baseline, oriented so that positive values favor our method (lower is better for deletion, higher for insertion). We report the mean difference and the Wilcoxon signed-rank pp-value.

DatasetMethodApp. Ins. ↑\uparrowMot. Ins. ↑\uparrowApp. Del. ↓\downarrowMot. Del. ↓\downarrow
SSv2EP0.321 ± 0.002-0.143 ± 0.001-
SSv2EP + MmM_m0.266 ± 0.0030.402 ± 0.0070.085 ± 0.0030.399 ± 0.007
SSv2STEP0.347 ± 0.003-0.172 ± 0.001-
SSv2STEP + MmM_m0.357 ± 0.0090.488 ± 0.0010.147 ± 0.0050.444 ± 0.012
SSv2Unified Mask0.409 ± 0.008-0.186 ± 0.005-
SSv2Ours0.318 ± 0.0070.25 ± 0.0030.11 ± 0.0040.112 ± 0.002

Table 6. Mean ± std over three seeds (TSM) on the SSV2 dataset.

Input and mask resolution

Nothing in the framework fixes the input or mask resolution. At 512×512512 \times512, peak memory grows by ≈4.1×\approx4.1 \times and runtime by 6.76.7–7.6×7.6 \times relative to 224×224224 \times224. Explanation quality at 512×512512 \times512 cannot be assessed meaningfully with our classifiers as they were trained at 224×224224 \times224 and their confidence on the unperturbed clip drops from 0.855 to 0.215. Even in this setting, raising the seed-mask resolution from 32 to 64 improves motion insertion AUC from 0.307 to 0.526 and appearance insertion AUC from 0.142 to 0.160 on the EGTEA dataset with the TSM model, suggesting that finer seed masks help localize small objects in egocentric video when paired with a classifier trained at the target resolution.

Auditing example on EGTEA Gaze+

We group 200 unfiltered EGTEA test clips by predicted verb and rank classes by few active MmM_m frames and high verb confidence. A nominally temporal class whose motion explanation repeatedly collapses to almost no frames while confidence stays high is a candidate for a static-appearance shortcut.

For wash, the motion mask keeps fewer than one frame on average while the classifier is ≈90%\approx90\% confident, suggesting the verb is recognized largely from static cues (e.g., sink, running water) rather than the washing motion. The mask alone does not establish a shortcut. It produces a testable hypothesis: freezing all frames to the single most appearance-salient frame should leave wash confidence largely intact, whereas a motion-dependent class should drop. Conversely, preserving appearance while altering the trajectory tests whether the model depends on motion at all.

Predicted verbClipsMean active MmM_m framesMean verb confidence
Wash50.800.895
Cut101.400.849
Move around41.500.776
Close31.670.875

Table 8. Verb classes ranked by few active motion frames (of 8) and high confidence (TSM).

Hyperparameters

Figure 5 shows how hyperparameters (λA,λM,λS,λD\lambda_A, \lambda_M, \lambda_S, \lambda_D) were picked for the EPIC-Kitchens 55 dataset using a held out validation set, across 100 trials. Table 9 shows the hyperparameters that resulted from the Bayesian optimization on a held-out set.

Pareto front of lambda configurations

Figure 5. Figure showing how hyperparameters (λA,λM,λS,λD\lambda_A, \lambda_M, \lambda_S, \lambda_D) were picked with a held out validation set using a combination of grid search and Bayesian optimization on Optuna for minimizing deletion AUC and maximizing Insertion AUC across 100 trials on the EGTEA Gaze+ dataset with the TSM model.

Hyperparameter sensitivity

We vary one hyperparameter at a time around our tuned configuration, holding all others fixed, on 20 clips per dataset with three optimization seeds per setting (Table 10). Seed-to-seed standard deviations are small relative to the trends (at most 0.035 on EGTEA and 0.062 on SSv2), so the effects below are not noise.

DatasetParam.ValueApp. Ins. ↑\uparrowMot. Ins. ↑\uparrowApp. Del. ↓\downarrowMot. Del. ↓\downarrow
EGTEAvav_a0.26.699.730.193.270
EGTEAvav_a0.40.696.729.196.267
EGTEAvav_a0.53†0.53^{\dagger}.700.730.192.270
EGTEAvav_a0.66.694.729.197.270
EGTEAvav_a0.79.696.731.198.270
EGTEAvmv_m0.31.695.727.162.267
EGTEAvmv_m0.46.693.727.179.270
EGTEAvmv_m0.61†0.61^{\dagger}.700.730.192.270
EGTEAvmv_m0.76.698.732.212.277
EGTEAvmv_m0.92.700.734.224.283
EGTEAλD\lambda_D19.4.604.686.122.244
EGTEAλD\lambda_D29.2.658.710.159.256
EGTEAλD\lambda_D38.9†38.9^{\dagger}.700.730.192.270
EGTEAλD\lambda_D48.6.710.771.214.284
EGTEAλD\lambda_D58.3.724.787.231.295
EGTEASteps250.639.649.153.212
EGTEASteps375.682.706.177.238
EGTEASteps500†500^{\dagger}.700.730.192.270
EGTEASteps625.706.750.196.292
EGTEASteps750.731.769.207.309
SSv2λD\lambda_D1.105.042.018.026
SSv2λD\lambda_D5.128.042.027.032
SSv2λD\lambda_D20.265.246.088.128
SSv2λD\lambda_D38.9†38.9^{\dagger}.281.395.134.209
SSv2λD\lambda_D50.297.431.133.230
SSv2λF\lambda_F0.1.327.297.077.133
SSv2λF\lambda_F1.284.397.134.193
SSv2λF\lambda_F1.31†1.31^{\dagger}.281.395.134.209
SSv2λF\lambda_F2.305.421.139.222
SSv2λF\lambda_F5.253.373.133.168
SSv2Steps100.115.016.031.010
SSv2Steps250.226.195.107.090
SSv2Steps500†500^{\dagger}.281.395.134.209
SSv2Steps750.292.448.143.237

Table 10. Hyperparameter sensitivity (TSM; 20 clips ×\times 3 seeds, mean AUC). One hyperparameter is varied at a time; †\dagger marks the tuned value used for all other rows. This study uses its own clip subset, so absolute values are not directly comparable to Table 1.

Area budgets. The appearance budget vav_a has almost no effect: across a 3×3\times range all four AUCs vary by at most 0.006, consistent with the upper-bound area loss being inactive when the optimized mask is already smaller than the budget. The motion budget vmv_m leaves insertion unchanged but trades away deletion selectivity as it grows (App. Del. 0.162 →\rightarrow 0.224), and motion Fidelity−^- drops at the largest budget (0.71 →\rightarrow 0.59).

Separation weight λD\lambda_D. λD\lambda_D is the most influential parameter and controls a trade-off between sufficiency and selectivity on both datasets: increasing it raises insertion AUC (SSv2 Mot. Ins. 0.042 →\rightarrow 0.431) and motion Fidelity+^+ (0.04 →\rightarrow 0.64), while deletion AUC also increases. Very small λD\lambda_D yields near-zero deletion AUC on SSv2, but only because the motion mask collapses: motion

EPIC-Kitchens-55EGTEA Gaze+Something-Something V2
(a) Loss weights and target areas (per dataset)
λA\lambda_A (Ma area)13.850.38410.133
λM\lambda_M (Mm area)9.440.7860.263
λS\lambda_S (LK smoothness)0.1430.01070.0877
λD\lambda_D (disentanglement)7.02638.8838.88
λF\lambda_F (flow alignment)N/AN/A1.312
νa\nu_a (target spatial area for Ma)0.200.530.6
νm\nu_m (target temporal area for Mm)0.500.610.6
(b) Optimizer and schedule (shared across datasets)
OptimizerAdam, (β1,β2)=(0.9,0.999)(\beta_1,\beta_2)=(0.9,0.999), ϵ=10−8\epsilon=10^{-8}
Trainable parametersℓa∈RT×32×32, ℓm∈RT\ell_a \in\mathbb{R}^{T \times32 \times32},\ \ell_m \in\mathbb{R}^{T} (logits)
Learning rateα=0.05\alpha=0.05 (constant)
Weight decay0
IterationsN=500N=500 per clip
Logit initializationℓa,ℓm←−1.0 (σ(−1)≈0.27)\ell_a,\ell_m \leftarrow-1.0\ (\sigma(-1)\approx0.27)
Mask upsample32×32→224×22432 \times32 \to224 \times224 via Gaussian (factor 7×7\times)
LK kernelspatial 31×3131 \times31 (stride 31), temporal 3 (stride 1)
(c) Temperature annealing schedule
Mask parameterizationM=σ(τi⋅ℓ)M=\sigma(\tau_i\cdot\ell)
Annealing formlinear in iteration
τi\tau_iτi=τmin⁡+(τmax⁡−τmin⁡)⋅iN−1\tau_i=\tau_{\min}+(\tau_{\max}-\tau_{\min})\cdot\frac{i}{N-1}
τmin⁡→τmax⁡\tau_{\min}\to\tau_{\max}1.0→10.01.0\to10.0 over 500 iterations
Final-mask temperatureτmax⁡=10.0\tau_{\max}=10.0 (binarizing)

caption: Optimization hyperparameters for our disentangled mask (Ma,Mm)(M_a,M_m). Loss weights (λA,λM,λS,λD,λF)(\lambda_A,\lambda_M,\lambda_S,\lambda_D,\lambda_F) were tuned on a held-out split via Bayesian optimization. Optimizer settings, schedule, and temperature anneal are identical across datasets and backbones.

:::

insertion and Fidelity+ fall to almost zero. A low deletion AUC on its own is therefore not evidence of a good explanation, and our tuned value lies in the regime where both sufficiency and selectivity are reasonable.

Flow weight λF\lambda_F. On SSv2, across a 50×50\times range of λF\lambda_F App. Ins. stays within 0.25–0.33 and Mot. Ins. within 0.30–0.42; only the weakest flow prior (λF=0.1\lambda_F=0.1) noticeably lowers motion insertion, and values between 1 and 2 form a plateau. The flow term is used only for single-head classifiers, so it has no effect on EGTEA (identical results at every value).

Optimization steps. Insertion AUC increases monotonically with the number of steps, with diminishing returns beyond our setting of 500 on SSv2 (App. Ins. +0.011 from 500 to 750). Deletion AUC rises with more steps as the masks become more sufficient, and 100 steps are clearly too few (SSv2 appearance Fidelity+ 0.55 vs. 0.97 at 500).

Compute and timing

All optimization-based explanation methods were evaluated using a single NVIDIA DGX. Because our framework and the baselines act as post-hoc explainers applied to a frozen classifier, no model retraining is required. The computational cost per example scales primarily with the number of optimization iterations (Niter=500N_{\mathrm{iter}}=500) and the complexity of the forward and backward passes through the chosen video backbone.

On the EGTEA Gaze+ and EPIC-Kitchens-55 datasets using the TSM backbone (T=8T=8 frames), our full factored method requires an average of 11.7 seconds per video clip. The computational overhead of our nearest-active-frame temporal replacement strategy adds only minor latency compared to standard single-mask baselines: STEP requires 11.4s (12.8s with the MmM_m temporal extension), and Extremal Perturbation requires 10.3s (10.4s with temporal extension). The Unified Mask ablation, which optimizes only a single spatiotemporal mask without the appearance-motion factorization, bypasses the temporal gating entirely and is consequently the fastest at 7.3s per example.

For Something-Something V2, which inherently demands more complex spatial-temporal processing, our full method requires 18.1 seconds per example. Given the evaluation subset sizes (NN = 400 for EGTEA, NN = 9385 for EPIC-Kitchens-55, and NN = 200 for SSv2), generating the complete suite of explanations for a single method on a single dataset takes roughly 1 to 2 hours for EGTEA and 32hours for EPIC-Kitchens. Factoring in all baseline evaluations, multiple backbones (TSM and TSFormer), and hyperparameter grid searches, the total compute budget for the experiments reported in this paper was approximately 400 to 500 GPU hours.

References

  1. [1]Gedas Bertasius, Heng Wang, and Lorenzo Torresani. Is space-time attention all you need for video understanding? In Proceedings of the International Conference on Machine Learning (ICML), July 2021.arxiv.org/abs/2102.05095
  2. [2]D. Damen et al. Scaling egocentric vision: The epic-kitchens dataset. In Proceedings of the European Conference on Computer Vision (ECCV), 2018.arxiv.org/abs/1804.02748
  3. [3]G. Farnebäck. Two-frame motion estimation based on polynomial expansion. In Proceedings of the Scandinavian Conference on Image Analysis, 2003.DOI
  4. [4]C. Feichtenhofer, H. Fan, J. Malik, and K. He. Slowfast networks for video recognition. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2019.arxiv.org/abs/1812.03982
  5. [5]R. Fong, M. Patrick, and A. Vedaldi. Understanding deep networks via extremal perturbations and smooth masks. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2019.arxiv.org/abs/1910.08485
  6. [6]Isabel Funke, Sören Torge Mees, Jürgen Weitz, and Stefanie Speidel. Video-based surgical skill assessment using 3d convolutional neural networks. International journal of computer assisted radiology and surgery, 14(7):1217–1225, 2019.DOI
  7. [7]R. Goyal et al. The “something something” video database for learning and evaluating visual common sense. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2017.arxiv.org/abs/1706.04261
  8. [8]T. Hartley, K. Sidorov, C. Willis, and D. Marshall. Swag-v: Explanations for video using superpixels weighted by average gradients. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2022.
  9. [9]Eric Jang, Shixiang Gu, and Ben Poole. Categorical reparameterization with gumbel-softmax. arXiv preprint arXiv:1611.01144, 2016.arxiv.org/abs/1611.01144
  10. [10]Y. Ji, Y. Wang, and J. Kato. Spatial-temporal concept based explanation of 3d convnets. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023.arxiv.org/abs/2206.05275
  11. [11]Patrick Knab, Sascha Marton, Philipp J Schubert, Drago Guggiana, and Christian Bartelt. Concepts in motion: Temporal concept bottleneck model for interpretable video classification. arXiv preprint arXiv:2509.20899, 2025.arxiv.org/abs/2509.20899
  12. [12]M. Kowal, A. Dave, R. Ambrus, A. Gaidon, K. G. Derpanis, and P. Tokmakov. Understanding video transformers via universal concept discovery. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024.arxiv.org/abs/2401.10831
  13. [13]J. Lee, W. Lee, G.-M. Park, S. T. Kim, and J. Choi. Disentangled concepts speak louder than words: Explainable video action recognition. In Advances in Neural Information Processing Systems (NeurIPS), 2025.arxiv.org/abs/2511.03725
  14. [14]Y. Li, M. Liu, and J. M. Rehg. In the eye of beholder: Joint learning of gaze and actions in first person video. In Proceedings of the European Conference on Computer Vision (ECCV), 2018.DOI
  15. [15]Z. Li et al. Towards visually explaining video understanding networks with perturbation. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2021.arxiv.org/abs/2005.00375
  16. [16]J. Lin, C. Gan, and S. Han. Tsm: Temporal shift module for efficient video understanding. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2019.arxiv.org/abs/1811.08383
  17. [17]Z. Liu et al. Video swin transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022.arxiv.org/abs/2106.13230
  18. [18]V. Petsiuk, A. Das, and K. Saenko. Rise: Randomized input sampling for explanation of black-box models. In Proceedings of the British Machine Vision Conference (BMVC), 2018.arxiv.org/abs/1806.07421
  19. [19]A. Saha, S. Gupta, S. K. Ankirreddy, K. Chahine, and J. Ghosh. Exploring explainability in video action recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, 2024.arxiv.org/abs/2404.09067
  20. [20]R. R. Selvaraju et al. Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2017.
  21. [21]A. Stergiou, G. Kapidis, G. Kalliatakis, C. Chry soulas, R. Veltkamp, and R. Poppe. Saliency tubes: Visual explanations for spatio-temporal convolutions. In Proceedings of the IEEE International Conference on Image Processing (ICIP), 2019.
  22. [22]Andru P Twinanda, Sherif Shehata, Didier Mutter, Jacques Marescaux, Michel De Mathelin, and Nicolas Padoy. Endonet: a deep architecture for recognition tasks on laparoscopic videos. IEEE transactions on medical imaging, 36(1):86–97, 2016.arxiv.org/abs/1602.03012
  23. [23]H. Wang et al. Score-cam: Score-weighted visual explanations for convolutional neural networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, 2020.arxiv.org/abs/1910.01279
  24. [24]T. Zhuo, Z. Cheng, P. Zhang, Y. Wong, and M. Kankanhalli. Explainable video action reasoning via prior knowledge and state transitions. In Proceedings of the ACM International Conference on Multimedia, 2019.arxiv.org/abs/1908.10700

Paper details

vlnc:W_b46ja3tv
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 11

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents