GEPC: Group-Equivariant Posterior Consistency for Out-of-Distribution Detection in Diffusion Models Yadang Alexis Rouzoumka, Jean Pinsolle, Eugénie Terreaux, Christèle Morisseau, Jean-Philippe Ovarlez, Chengfang Ren Abstract Diffusion models learn a time-indexed score field 𝐬 θ ​ ( 𝐱 t , t ) \mathbf{s}_{\theta}(\mathbf{x}_{t},t) that often inherits approximate equivariances (flips, rotations, circular shifts) from in-distribution (ID) data and convolutional backbones. Most diffusion-based out-of-distribution (OOD) detectors exploit score magnitude or local geometry (energies, curvature, covariance spectra) and largely ignore equivariances. We introduce Group-Equivariant Posterior Consistency (GEPC), a training-free probe that measures how consistently the learned score transforms under a finite group 𝒢 \mathcal{G} , detecting equivariance breaking even when score magnitude remains unchanged. At the population level, we propose the ideal GEPC residual, which averages an equivariance-residual functional over 𝒢 \mathcal{G} , and we derive ID upper bounds and OOD lower bounds under mild assumptions. GEPC requires only score evaluations and produces interpretable equivariance-breaking maps. On OOD image benchmark datasets, we show that GEPC achieves competitive or improved AUROC compared to recent diffusion-based baselines while remaining computationally lightweight. On high-resolution synthetic aperture radar imagery where OOD corresponds to targets or anomalies in clutter, GEPC yields strong target-background separation and visually interpretable equivariance-breaking maps. Code is available at https://github.com/RouzAY/gepc-diffusion/ . 1 Introduction Detecting out-of-distribution (OOD) inputs is a fundamental challenge for deploying reliable machine learning models. Classic post-hoc scores for classifiers rely on confidence or energy, such as maximum softmax probability (MSP), ODIN, and energy-based scores ( 24 ; 32 ; 34 ) , while subsequent work exploits representation geometry (e.g., k NN- or PCA-style feature models) ( 48 ; 20 ) . Diffusion models ( 26 ; 47 ; 29 ; 53 ) have recently emerged as strong priors for OOD and anomaly detection. Beyond raw likelihoods, they expose a time-indexed score field and a generative trajectory, motivating diffusion OOD scores that often rely on either (i) trajectory/energy criteria along the reverse process or probability-flow ODE ( 19 ; 25 ; 45 ) , or (ii) local score-field geometry such as curvature or covariance-spectrum diagnostics ( 3 ; 46 ) . These approaches primarily exploit score magnitude or local differential structure, and may require additional reverse steps or Jacobian-related computations. In parallel, explicitly equivariant score-based and diffusion models have advanced rapidly, especially for 3D and molecular data. E(3)-equivariant diffusion models ( 27 ; 12 ; 54 ) combine invariant noise processes with equivariant networks to guarantee that learned distributions inherit known symmetries. Recent analyses ( 8 ; 49 ) relate score matching to a symmetrized score term plus a deviation-from-equivariance penalty, while group-convolutional / steerable CNNs ( 10 ; 11 ) and studies of approximate shift equivariance in vanilla CNNs ( 55 ; 7 ) show that augmentation and anti-aliasing yield only approximate equivariance in practice. These works primarily treat equivariance as an inductive bias for training. We take the complementary viewpoint: we do not enforce equivariance at training time; we measure its (in)consistency as a test-time statistic for OOD detection. Our perspective: equivariance breaking as an OOD signal. We hypothesize that when the in-distribution (ID) is approximately invariant under a group \mathcal{G} (e.g., flips, rotations, circular shifts) and the backbone is convolutional and trained with augmentations, the learned diffusion scores should be approximately \mathcal{G} -equivariant on ID samples, but this posterior consistency should break for OOD inputs that violate the learned symmetries or lie far from the ID manifold. Concretely, group-transforming a noisy input \mathbf{x}_{t} and transporting the predicted score back should preserve the score on ID; systematic violations indicate distribution shift. Importantly, this is not a pixel-space invariance test: we probe equivariance of the learned score field at noisy levels, hence the model’s posterior geometry rather than raw image symmetries. We operationalise this via GEPC (Group-Equivariant Posterior Consistency), a training-free probe of pretrained diffusion models. For a group \mathcal{G} and an operator \mathcal{P}_{g}\in\mathcal{G} and selected timesteps, we compare \mathcal{P}_{g}^{\top}\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x}_{t},t) and \mathbf{s}_{\theta}(\mathbf{x}_{t},t) , aggregate residuals over \mathcal{G} and t , and calibrate the resulting statistic using only ID data. GEPC produces both a scalar OOD score and spatial heatmaps highlighting equivariance failures. Figure 1 summarizes GEPC: we noise the input, probe score-field equivariance via group transports, aggregate residuals across timesteps, and calibrate using ID-only statistics to obtain an OOD score and equivariance-breaking maps. Relation to equivariance-based conformal OOD detectors (iDECODe). iDECODe ( 30 ) turns equivariance violations under random group actions into a conformal non-conformity score, enabling distribution-free calibrated decisions. GEPC is complementary: rather than wrapping equivariance errors in a conformal layer, we probe pretrained diffusion score fields across timesteps and analyze the corresponding population equivariance-breaking functional, yielding ID upper and OOD lower bounds under mild score-error assumptions. Relation to diffusion OOD geometry. GEPC complements the dominant diffusion OOD families above. Trajectory/energy and curvature/covariance-spectrum methods probe the local geometry of \mathbf{s}_{\theta} along time, and some require Jacobian-related computations. GEPC instead targets global group consistency : we measure how consistently the score transforms under \mathcal{G} and turn deviations from equivariance into an OOD statistic, without computing any Jacobian or modifying the backbone. At the population level, we give a equivariance-breaking characterization of the ideal GEPC residual under \mathcal{G} , closely related to deviation-from-equivariance analyses in equivariant score matching ( 8 ) . Under mild assumptions, we derive ID upper bounds and OOD lower bounds for the expected GEPC residual, clarifying when posterior consistency should hold or break. Contributions. (1) We introduce GEPC , a training-free OOD score that tests group-consistency of diffusion score fields across timestep and group actions. GEPC requires only inference access to a pretrained DDPM-style backbone (including improved diffusion), with no architectural changes, fine-tuning, or Jacobian evaluation. (2) We provide a practical recipe combining group pooling, stability-based timestep selection, ID-only calibration (KDE or vector Mahalanobis), and stochastic subsampling of timestep and group elements. We characterise the computational cost and show that GEPC operates in a similar number-of-function-evaluations (NFE) regime as simple score-norm baselines while approaching the performance of more expensive trajectory and curvature-based methods. (3) We provide a population-level analysis of GEPC: we relate the ideal residual to an equivariance-breaking functional under \mathcal{G} , derive ID upper bounds and OOD lower bounds under mild score-error assumptions, and discuss cross-backbone regimes where the diffusion model is trained on a different source distribution. (4) We empirically show that GEPC is competitive with and complementary to curvature, spectrum, and trajectory-based diffusion OOD scores on CIFAR-scale near/far OOD benchmarks under a shared CelebA backbone, and that in a cross-domain high-resolution setting where a 256\times 256 LSUN-trained backbone is applied to radar SAR imagery, GEPC yields strong detection performance and interpretable equivariance-breaking maps. \mathbf{x}_{0} ID or OOD input Forward noising \mathbf{x}_{t}\sim q(\mathbf{x}_{t}\mid\mathbf{x}_{0}) t\in\mathcal{T} Group transport (a) \mathcal{P}_{g}\mathbf{x}_{t} , (b) \mathbf{x}_{t} g\sim\mathrm{Unif}(\mathcal{G}) Score + transport back \tilde{\mathbf{s}}_{\theta}=\mathcal{P}_{g}^{-1}\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x}_{t},t) \mathbf{r}_{t}=\tilde{\mathbf{s}}_{\theta}-\mathbf{s}_{\theta}(\mathbf{x}_{t},t) Probe equivariance on \mathbf{s}_{\theta}(\cdot,t) Pool & normalise R_{t}=\|\mathbf{r}_{t}\|_{2}^{2} , z_{t}=\mathbb{E}_{g}\!\left[\dfrac{R_{t}}{b_{t}(\mathbf{x}_{0})}\right] Aggregate across time \mathrm{GEPC}_{s}(\mathbf{x}_{0})=\sum_{t\in\mathcal{T}}w_{t}\,z_{t} (keep- K timesteps, weights w_{t} ) Patch level statistics ID-only calibration KDE / z-score / MVN fit on ID-train Output OOD score + map Decision / Thresolding ID-train: select \mathcal{T} and w_{t} ( stability/CV ) ID vs OOD score density (normalized) density GEPC score ID OOD \tau Equivariance-breaking map Figure 1 : GEPC. We probe group-consistency of a pretrained diffusion score field by transporting \mathbf{x}_{t} under g\in\mathcal{G} , transporting scores back, and measuring \mathbf{r}_{t} . Residual energies are pooled, aggregated over selected timesteps, and calibrated with ID-only statistics, yielding an OOD score and equivariance-breaking maps. 2 Related Work OOD detection with discriminative models. Post-hoc OOD scores for classifiers are often defined on logits or penultimate features: maximum softmax probability (MSP), ODIN, and energy-based scores ( 24 ; 32 ; 34 ) ; deep k NN and class-aware feature decoupling further exploit representation geometry ( 48 ; 33 ) ; gradient-based projections and PCA / kernel PCA probe feature manifolds ( 4 ; 20 ; 18 ) . A complementary line builds explicitly on matrix-induced distances and covariance geometry: Mahalanobis-based detectors fit a Gaussian model on ID features and use the induced distance as an OOD score ( 31 ) , while residual-space methods such as ViM and NECO weight directions in the residual subspace or exploit neural-collapse structure ( 51 ; 2 ) . Recent work further adapts the effective covariance at test time using the current feature, shrinking directions aligned with residual activations ( 22 ) , and studies how controlling neural collapse via entropy regularization trades off OOD detection and OOD generalization ( 23 ) . All these approaches operate in classifier feature space; our work is orthogonal in that we probe the score field of a generative model through group equivariance. Diffusion models for OOD and anomaly detection. Diffusion models ( 26 ; 47 ; 29 ; 53 ) have been adapted to OOD via denoising- and reconstruction-based scores, trajectory energies and path discrepancies (DiffPath) ( 25 ) , perturbation robustness (SPR) ( 45 ) , and curvature- or covariance-based diagnostics (SCOPED, EigenScore) ( 3 ; 46 ) . These methods typically exploit score magnitude or local geometry along time and often require additional reverse steps or Jacobian–vector products/power iterations. GEPC is complementary: it probes global group consistency of noised distributions via equivariance residuals, without computing Jacobian or modifying the backbone, and can be combined with curvature- or trajectory-based scores. Equivariance and score-based models. Equivariant score-based generative models combine group-equivariant parameterizations with score matching to model symmetric distributions efficiently ( 40 ; 10 ; 11 ; 8 ) , while standard CNNs exhibit only approximate equivariance, degraded by subsampling and mitigated by anti-aliasing ( 55 ; 7 ) . GEPC takes a diagnostic angle: we treat group transports as a probe on a fixed pretrained diffusion model and interpret equivariance residuals as an empirical symmetry-breaking functional that separates ID and OOD. Conformal and equivariance-based OOD detection. iDECODe ( 30 ) uses equivariance deviations as a conformal non-conformity score to obtain distribution-free calibrated decisions under random group actions. GEPC is not a conformal method per se, but its multi- t equivariance features can, in principle, be wrapped in a conformal layer when distribution-free guarantees are required. Equivariance as an inductive bias for OOD detection. Beyond score-based models, equivariance has also been used as an explicit inductive bias in discriminative unsupervised OOD detectors, e.g., via equivariant contrastive learning with soft cluster-aware semantics ( 28 ) . This line is complementary to GEPC: we do not modify training or architecture, but instead use equivariance breaking of a pretrained diffusion score field as a test-time OOD signal. 3 Background 3.1 Diffusion and score-based models We briefly review the foundations of DDPMs. ( 26 ; 39 ) . Given data \mathbf{x}_{0}\sim q(\mathbf{x}_{0}) in \mathbb{R}^{d} , we define a forward process that generates latent variables \mathbf{x}_{1} through \mathbf{x}_{T} by adding a white Gaussian noise of variance \beta_{t} at time t as follows: q(\mathbf{x}_{t}\mid\mathbf{x}_{t-1})=\mathcal{N}\bigl(\mathbf{x}_{t};\sqrt{\alpha_{t}}\mathbf{x}_{t-1},\beta_{t}\mathbf{I}\bigr),\,t=1,\dots,T. (1) where \alpha_{t}=1-\beta_{t} with \beta_{t}\in(0,1) . Alternatively, we can formulate the marginal at time t directly as: q(\mathbf{x}_{t}\mid\mathbf{x}_{0})=\mathcal{N}\bigl(\mathbf{x}_{t};\sqrt{\bar{\alpha}_{t}}\,\mathbf{x}_{0},(1-\bar{\alpha}_{t})\,\mathbf{I}\bigr), (2) with \bar{\alpha}_{t}=\displaystyle\prod_{s=1}^{t}\alpha_{s} . We will slightly abuse notation and refer to the forward marginal distribution of \mathbf{x}_{t} either as q_{t}(\mathbf{x}_{t}) or simply as q_{t} when no ambiguity arises. Equivalently, we can sample \mathbf{x}_{t} via the reparameterization \mathbf{x}_{t}=\sqrt{\bar{\alpha}_{t}}\,\mathbf{x}_{0}+\sqrt{1-\bar{\alpha}_{t}}\,\boldsymbol{\epsilon}\,, (3) where \boldsymbol{\epsilon}\sim\mathcal{N}(\mathbf{0},\mathbf{I}) is independent of \mathbf{x}_{0} . A generative model approximates the reverse conditionals q(\mathbf{x}_{t-1}\mid\mathbf{x}_{t}) by Gaussian distributions p_{\theta}(\mathbf{x}_{t-1}\mid\mathbf{x}_{t})=\mathcal{N}\bigl(\mathbf{x}_{t-1};\mu_{\theta}(\mathbf{x}_{t},t),\tilde{\beta}_{t}\,\mathbf{I}\bigr) , p_{\theta}(\mathbf{x}_{T})=\mathcal{N}(\mathbf{0},\mathbf{I}) where \tilde{\beta}_{t} is a fixed reverse variance schedule (e.g. the DDPM posterior variance). It is typically trained via the ”simple” denoising objective: \mathcal{L}_{\text{simple}}(\theta)=\mathbb{E}_{t,\mathbf{x}_{0},\boldsymbol{\epsilon}}\bigl[\|\boldsymbol{\epsilon}-\boldsymbol{\epsilon}_{\theta}(\mathbf{x}_{t},t)\|_{2}^{2}\bigr]\,, (4) where t is sampled from a fixed distribution on \{1,\dots,T\} (often uniform) and \boldsymbol{\epsilon}_{\theta}(\mathbf{x}_{t},t) denotes the noise-prediction network (e.g. a U-Net) trained to predict the forward noise \boldsymbol{\epsilon} in \mathbf{x}_{t}=\sqrt{\bar{\alpha}_{t}}\,\mathbf{x}_{0}+\sigma_{t}\boldsymbol{\epsilon} with \sigma_{t}^{2}=1-\bar{\alpha}_{t} . Under the MSE objective, the pointwise optimum satisfies \boldsymbol{\epsilon}_{\theta}(\mathbf{x}_{t},t)=\mathbb{E}[\boldsymbol{\epsilon}\mid\mathbf{x}_{t}] , hence the associated score estimate is \mathbf{s}_{\theta}(\mathbf{x}_{t},t):=-\sigma_{t}^{-1}\,\boldsymbol{\epsilon}_{\theta}(\mathbf{x}_{t},t)\,. (5) See Appendix A.2 for a detailed derivation. 3.2 Scores and equivariance For any non-degenerate distribution p , we denote by \nabla_{\mathbf{x}} the (vector) gradient w.r.t. \mathbf{x}\in\mathbb{R}^{d} ; thus \nabla_{\mathbf{x}}\log p(\mathbf{x})\in\mathbb{R}^{d} . Let \mathbf{s}_{p}(\mathbf{x})\;:=\;\nabla_{\mathbf{x}}\log p(\mathbf{x})\,, (6) denote the corresponding ideal score at time t . Thus, for any marginal q_{t}(\mathbf{x}_{t}) of the forward diffusion process used to noise the data, the estimator \mathbf{s}_{\theta} defined in equation ( 5 ) aims to predict the corresponding deterministic score \mathbf{s}_{q_{t}} , as explained in Appendix A.2 . Let \mathcal{G} be a finite group acting on \mathbb{R}^{d} via orthogonal matrices: for any g\in\mathcal{G} , we denote \mathcal{P}_{g} the corresponding operator, with \mathcal{P}_{g}^{\top}\mathcal{P}_{g}=\mathcal{I}d . We say a distribution p on \mathbb{R}^{d} is \mathcal{G} -invariant if X\sim p\ \Longrightarrow\ \mathcal{P}_{g}X\stackrel{{\scriptstyle d}}{{=}}X,\qquad\forall g\in\mathcal{G}\,. (7) Since each g is orthogonal, then ( 7 ) is equivalent to p(\mathcal{P}_{g}\mathbf{x})=p(\mathbf{x}) . In that case, the score is \mathcal{G} -equivariant: \mathbf{s}_{t}(\mathcal{P}_{g}\mathbf{x})\;=\;\mathcal{P}_{g}\mathbf{s}_{t}(\mathbf{x}),\qquad\forall\mathbf{x},\ \forall g\in\mathcal{G}, (8) as can be seen by differentiating \log p(\mathcal{P}_{g}\mathbf{x})=\log p(\mathbf{x}) and using \mathcal{P}_{g}^{\top}=\mathcal{P}_{g}^{-1} ; see Appendix B.1 . If q_{0} is approximately \mathcal{G} -invariant and the forward noise is isotropic, then each q_{t} remains approximately \mathcal{G} -invariant, and the corresponding scores remain approximately \mathcal{G} -equivariant. In practice, approximate equivariance arises because denoising score matching fits \mathbf{s}_{\theta}(\cdot,t) to the ideal score \mathbf{s}_{q_{t}}(\cdot,t)=\nabla_{\mathbf{x}}\log q_{t}(\mathbf{x}) in expectation over \mathbf{x}\sim q_{t} . Indeed, the learned score \mathbf{s}_{\theta} appears to inherit the approximate s_{q_{t}} equivariance in high-density regions, where the training loss is concentrated. Outside these regions, the objective provides little constraint, and equivariance may be violated arbitrarily. Architectural biases such as translation-equivariant convolutions and data augmentation can further promote such approximate symmetries. In cross-backbone settings, however, this learned equivariance is not expected to persist far from the source high-density region, which motivates the distance-to-manifold perspective in Section 4 . 4 GEPC: Group-Equivariant Posterior Consistency For any vector field f(\cdot,t) and any g\in\mathcal{G} acting on \mathbb{R}^{d} through an orthogonal matrix \mathcal{P}_{g} (so \mathcal{P}_{g}^{-1}=\mathcal{P}_{g}^{\top} ), define the equivariance residual operator \Delta_{g}f(\mathbf{x},t)\;\coloneqq\;\mathcal{P}_{g}^{-1}f(\mathcal{P}_{g}\mathbf{x},t)-f(\mathbf{x},t)\,. (9) Definition 4.1 (GEPC) . Let \mathbf{s}_{\theta}(\cdot,t) denote the score field of a pretrained diffusion backbone. Given an input \mathbf{x}_{0} , sample \mathbf{x}_{t}\sim q(\mathbf{x}_{t}\mid\mathbf{x}_{0}) from the forward noising process. Define the equivariance residual R_{t}(\mathbf{x}_{t},g)\;\coloneqq\;\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{x}_{t},t)\|_{2}^{2}\,, (10) and the GEPC score \mathrm{GEPC}(\mathbf{x}_{0})\coloneqq\sum_{t\in\mathcal{T}}w_{t}\mathbb{E}_{\mathbf{x}_{t}\sim q(\cdot\mid\mathbf{x}_{0}),\;g\sim\nu_{\mathcal{G}}}\!\big[R_{t}(\mathbf{x}_{t},g)\big]\,, (11) where \nu_{\mathcal{G}} is uniform over the finite set \mathcal{G} , and w_{t}\geq 0 with \sum_{t\in\mathcal{T}}w_{t}=1 . Why equivariance, not \|\mathbf{s}_{\theta}\| ? (Gaussian mean-shift). Let p=\mathcal{N}(\boldsymbol{\mu},\sigma^{2}\,\mathbf{I}_{d}) , whose score is \mathbf{s}(\mathbf{x})=-(\mathbf{x}-\boldsymbol{\mu})/\sigma^{2} . Then \mathbb{E}_{\mathbf{x}\sim p}\big[\|\mathbf{s}(\mathbf{x})\|_{2}^{2}\big]=d/\sigma^{2} ( d being the dimension of \mathbf{x} ), independent of \boldsymbol{\mu} . In contrast, the equivariance residual detects mean shifts. For \mathcal{G}=\{\mathcal{I}_{d},-\mathcal{I}_{d}\} with uniform \nu_{\mathcal{G}} , \mathbb{E}_{g\sim\nu_{\mathcal{G}}}\left[\|\Delta_{g}\mathbf{s}(\mathbf{x})\|_{2}^{2}\right]=\frac{2}{\sigma^{4}}\|\boldsymbol{\mu}\|_{2}^{2}, (12) which separates \boldsymbol{\mu}=\mathbf{0} (centered / invariant) from \boldsymbol{\mu}\neq\mathbf{0} (non-invariant), even though \|\mathbf{s}(\mathbf{x})\| does not. Further checks are in Appendix C . This intuition from the Gaussian example is confirmed in Figure 4 , where GEPC shows better separation than \|\mathbf{s}_{\theta}(\mathbf{x})\| on real image datasets. Decomposition. Fix a time t and let p_{t} be any test marginal density of \mathbf{x}_{t} . Its ideal score is \mathbf{s}_{p_{t}}(\mathbf{x})\coloneqq\nabla_{\mathbf{x}}\log p_{t}(\mathbf{x}) , and the score approximation error is \mathbf{e}_{p_{t}}(\mathbf{x},t)\;\coloneqq\;\mathbf{s}_{\theta}(\mathbf{x},t)-\mathbf{s}_{p_{t}}(\mathbf{x})\,. (13) Define the equivariance-breaking functional \mathcal{B}^{(\mathcal{G})}(p_{t})\;\coloneqq\;\mathbb{E}_{\mathbf{x}\sim p_{t},\;g\sim\nu_{\mathcal{G}}}\big[\|\Delta_{g}\mathbf{s}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}\big]\,. (14) If p_{t} is \mathcal{G} -invariant distribution, then \mathcal{B}^{(\mathcal{G})}(p_{t})=0 since invariance is equivalent to score equivariance (Appendix B.1 ). Expected residual bounds (ID vs OOD). Let q_{t} denote the time- t marginal distribution induced by the ID training distribution q(\mathbf{x}_{0}) , and let p_{t} denote the time- t marginal distribution induced by any test distribution. Proposition 4.2 (Expected GEPC residual bounds) . For any marginal p_{t} , define \Delta_{E}(p_{t},t)\;\coloneqq\;\mathbb{E}_{\mathbf{x}\sim p_{t},\;g\sim\nu_{\mathcal{G}}}\Big[\|\mathbf{e}_{p_{t}}(\mathcal{P}_{g}\mathbf{x},t)-\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}\Big]. With the shorthand \mathbb{E}_{p_{t},g}[\cdot]\coloneqq\mathbb{E}_{\mathbf{x}\sim p_{t},\;g\sim\nu_{\mathcal{G}}}[\cdot] , we have \displaystyle\mathbb{E}_{p_{t},g}\big[R_{t}(\mathbf{x},g)\big] \displaystyle\leq 2\,\mathcal{B}^{(\mathcal{G})}(p_{t})+4\,\mathbb{E}_{\mathbf{x}\sim p_{t}}\left[\|\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}\right] \displaystyle+4\,\mathbb{E}_{p_{t},g}\left[\|\mathbf{e}_{p_{t}}(\mathcal{P}_{g}\mathbf{x},t)\|_{2}^{2}\right]\,:=u_{b}(p_{t})\,, \displaystyle\mathbb{E}_{p_{t},g}\big[R_{t}(\mathbf{x},g)\big] \displaystyle\geq\mathcal{B}^{(\mathcal{G})}(p_{t})+\Delta_{E}(p_{t},t) (15) \displaystyle-2\sqrt{\mathcal{B}^{(\mathcal{G})}(p_{t})\,\Delta_{E}(p_{t},t)}:=l_{b}(p_{t})\,. The proof is provided in Appendix B.2 . Backbone trained on ID. In the ideal detection regime, the ID expected residual is small while the OOD expected residual is large: u_{b}(q_{t})\ll l_{b}(p_{t}) for relevant OOD marginals p_{t} . When the backbone is well trained on q_{t} , the score error \mathbb{E}_{\mathbf{x}\sim q_{t}}\|\mathbf{e}_{q_{t}}(\mathbf{x},t)\|_{2}^{2} is small. Moreover, \mathbb{E}_{\mathbf{x}\sim q_{t},\;g}\|\mathbf{e}_{q_{t}}(\mathcal{P}_{g}\mathbf{x},t)\|_{2}^{2} remains small if the backbone preserves score consistency under \mathcal{G} transformations, often observed for convolutional architectures on approximately invariant data (Section 3.2 ). Finally, when q_{t} is approximately \mathcal{G} -invariant, \mathcal{B}^{(\mathcal{G})}(q_{t}) is also small, so u_{b}(q_{t}) is small. For an OOD marginal p_{t} that violates the assumed invariances, \mathcal{B}^{(\mathcal{G})}(p_{t}) and/or the error terms increase, pushing l_{b}(p_{t}) upward, which formalizes how GEPC separates ID from OOD via non-invariance and score mismatch. Cross-backbone case. In cross-backbone detection, the backbone is trained on a source distribution r(\mathbf{x}_{0}) while detection is performed on another ID distribution q(\mathbf{x}_{0}) (and OODs). Score accuracy is then expected only near high-density regions under the source marginal r_{t} . We model this by an effective source manifold of r_{t} , \mathcal{M}_{t} , and the ambient space \mathcal{N}_{t} of a distribution p_{t} such that \mathcal{N}_{t}\supset\mathcal{M}_{t} . We denote the projection \pi_{t}:\mathcal{N}_{t}\to\mathcal{M}_{t} commuting with the group action. Let define d_{t}(\mathbf{x})\coloneqq\|\mathbf{x}-\pi_{t}(\mathbf{x})\|_{2} and assume \mathbf{s}_{\theta}(\cdot,t) is L_{t} -Lipschitz on \mathcal{N}_{t} : \|\mathbf{s}_{\theta}(\mathbf{x},t)-\mathbf{s}_{\theta}(\mathbf{y},t)\|_{2}\leq L_{t}\|\mathbf{x}-\mathbf{y}\|_{2},\,\,\,\forall\mathbf{x},\mathbf{y}\in\mathcal{N}_{t}. (16) Proposition 4.3 (Cross-backbone pointwise bounds) . Assume ( 16 ) and \pi_{t}(\mathcal{P}_{g}\mathbf{x})=\mathcal{P}_{g}\pi_{t}(\mathbf{x}) for all \mathbf{x}\in\mathcal{N}_{t} , g\in\mathcal{G} . Then, for any \mathbf{x}\in\mathcal{N}_{t} , \mathbb{E}_{g\sim\nu_{\mathcal{G}}}\left[R_{t}(\mathbf{x},g)\right]\ \leq\ 2\,\mathbb{E}_{g\sim\nu_{\mathcal{G}}}\left[R_{t}(\pi_{t}(\mathbf{x}),g)\right]\;+\;8L_{t}^{2}\,d_{t}(\mathbf{x})^{2}. (17) If moreover there exist m_{t}>0 and d_{0,t}\geq 0 such that for all \mathbf{x}\in\mathcal{N}_{t} with d_{t}(\mathbf{x})\geq d_{0,t} , \Big\langle\mathbf{s}_{\theta}(\mathbf{x},t)-\mathbf{s}_{\theta}(\pi_{t}(\mathbf{x}),t),\frac{\mathbf{x}-\pi_{t}(\mathbf{x})}{\|\mathbf{x}-\pi_{t}(\mathbf{x})\|_{2}}\Big\rangle\leq-m_{t}\,d_{t}(\mathbf{x}), (18) then, writing \rho_{t}(\mathbf{x})\coloneqq\sqrt{\mathbb{E}_{g\sim\nu_{\mathcal{G}}}\left[R_{t}(\pi_{t}(\mathbf{x}),g)\right]} , we have \mathbb{E}_{g\sim\nu_{\mathcal{G}}}\left[R_{t}(\mathbf{x},g)\right]\ \geq\ \Big(\,(m_{t}-L_{t})\,d_{t}(\mathbf{x})-\rho_{t}(\mathbf{x})\,\Big)^{2}, (19) The proof is provided in Appendix B.3 , and the derivation of regularity hypothesis are discussed in Appendix A.3 . Implications for detection. If the backbone is accurate and approximately equivariant on the high-density region of the source distribution, we may assume that \mathbb{E}_{g}\left[R_{t}(\mathbf{z},g)\right] is small for \mathbf{z}\in\mathcal{M}_{t} . In this regime, the residual terms in Proposition 4.3 become negligible and the bounds are dominated by the distance-to-manifold terms (quadratic in d_{t}(\mathbf{x}) ), implying that the GEPC score increases as samples move away from the source manifold. Taking expectations over \mathbf{x}\sim p_{t} yields a comparison between in-distribution and out-of-distribution residuals: in-distribution samples satisfy an upper bound of order 8L_{t}^{2}\,\mathbb{E}_{q_{t}}[d_{t}(\mathbf{x})^{2}] , whereas out-of-distribution samples exceed (m_{t}-L_{t})^{2}\,\mathbb{E}_{p_{t}}[d_{t}(\mathbf{x})^{2}] . This separation suggests good detection performance when \frac{\mathbb{E}_{q_{t}}[d_{t}(\mathbf{x})^{2}]}{\mathbb{E}_{p_{t}}[d_{t}(\mathbf{x})^{2}]}\ll\left(\frac{m_{t}}{L_{t}}-1\right)^{2}. 5 Practical GEPC for DDPM We now describe how GEPC is computed in practice for discrete-time DDPM or improved-diffusion backbones. 5.1 Per-sample GEPC, pooling, and normalisation Let \mathcal{G} be a set of invertible image transformations with known inverses. Throughout, unless stated otherwise, \mathcal{G}=\{\mathrm{id},\mathrm{flip}_{x},\mathrm{flip}_{y},\mathrm{rot}_{90},\mathrm{rot}_{180},\mathrm{shift}_{x},\mathrm{shift}_{y}\} with 1-pixel circular shifts, so |\mathcal{G}|=7 on 32\times 32 square images. Pooling convention. Given a field A\in\mathbb{R}^{C\times h\times w} , \mathrm{pool}(A) denotes a standard spatial pooling that first averages across channels and then aggregates over spatial locations by either mean-pooling or top- k pooling (top- k averages the k largest spatial responses). With a slight abuse of notation, \mathrm{pool}(\|\mathbf{.}\|_{2}^{2}) denotes pooling applied to the pointwise squared \ell_{2} -norm over channels. Given an input \mathbf{x}_{0} and timestep t , we sample \mathbf{x}_{t} via \mathbf{x}_{t}=\sqrt{\bar{\alpha}_{t}}\,\mathbf{x}_{0}+\sqrt{1-\bar{\alpha}_{t}}\,\boldsymbol{\epsilon} , \boldsymbol{\epsilon}\sim\mathcal{N}(\mathbf{0},\mathbf{I}). Define the transported score residual field \mathbf{r}_{t}(\mathbf{x}_{t},g)\coloneqq\mathcal{P}_{g}^{-1}\,\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x}_{t},t)-\mathbf{s}_{\theta}(\mathbf{x}_{t},t)\in\mathbb{R}^{C\times h\times w}. (20) We also define the pooled score-energy normaliser b_{t}(\mathbf{x}_{0})\;\coloneqq\;\mathrm{pool}\big(\|\mathbf{s}_{\theta}(\mathbf{x}_{t},t)\|_{2}^{2}\big). (21) Our default per-timestep GEPC scalar (denoted GEPC s in the code) is the base-normalised residual energy z^{(s)}_{t}(\mathbf{x}_{0})\coloneqq\mathbb{E}_{g\sim\mathrm{Unif}(\mathcal{G})}\left[b_{t}^{-1}(\mathbf{x}_{0})\mathrm{pool}\big(\|\mathbf{r}_{t}(\mathbf{x}_{t},g)\|_{2}^{2}\big)\right]. (22) We optionally average ( 22 ) over m Monte Carlo noise draws \boldsymbol{\epsilon} ( mc_samples ). Using the same transported scores \{\mathcal{P}_{g}^{-1}\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x}_{t},t)\}_{g\in\mathcal{G}} , we also compute alternative GEPC features, including cosine consistency, pairwise dispersion, \mathbf{x}_{0} -consistency, and cycle consistency; see Appendix E . All quadratic (L2-type) features are reported in base-normalised form (with a feature-specific normaliser when appropriate), while the cosine feature is scale-invariant and therefore left unnormalised. Finally, we aggregate across a small set of selected timesteps \mathcal{T} using agg_t (default: weighted mean) \widehat{\mathrm{GEPC}}(\mathbf{x}_{0})\;\coloneqq\;\sum_{t\in\mathcal{T}}w_{t}\,z^{(s)}_{t}(\mathbf{x}_{0}),\qquad\sum_{t\in\mathcal{T}}w_{t}=1. (23) 5.2 ID-only timestep selection and calibration To avoid OOD-labelled tuning, we select timesteps, per-timestep weights, and calibration using ID samples only. We first form a candidate set \mathcal{T}_{\mathrm{cand}} by mapping a fixed list of target schedule levels snr_levels to discrete indices (for DDPM schedules this is implemented by nearest-neighbour matching on \sqrt{\bar{\alpha}_{t}} ). On ID-train, for each t\in\mathcal{T}_{\mathrm{cand}} we compute a stability score via the coefficient of variation, \mathrm{CV}(t)=\frac{\mathrm{std}(u_{t}(\mathbf{x}))}{|\mathrm{mean}(u_{t}(\mathbf{x}))|}, where u_{t}(\mathbf{x}) is a base GEPC statistic at timestep t (default: z^{(s)}_{t} ). We keep the K most stable steps (lowest CV), yielding \mathcal{T} with |\mathcal{T}|=K ( keep_k ). Optionally, we set weights w_{t}\propto 1/\mathrm{CV}(t) and normalise them ( weight_t=inv_cv ); otherwise w_{t} is uniform ( weight_t=none ). Calibration modes (ID-only). Let z_{t,f}(\mathbf{x}) denote the enabled feature scalars (each OOD-high by construction). We support three ID-only calibration modes: (i) KDE ( density_mode=kde ): fit a 1D KDE p_{t,f} per (t,f) (Silverman rule-of-thumb with robust IQR bandwidth) and aggregate log-densities; (ii) z-score ( density_mode=zscore ): fit (\mu_{t,f},\sigma_{t,f}) and use the Gaussian log-score -\tfrac{1}{2}((z-\mu)/\sigma)^{2} ; (iii) raw ( density_mode=none ): no density model is fit and we directly aggregate raw OOD-high feature values. Alternatively, vector MVN ( vector_mode=mvn ) fits a single Gaussian/Mahalanobis model on the concatenated multi- (t,f) feature vector. For all density-based modes, the final anomaly score is the negative ID score (OOD-high), matching the implementation. 5.3 Metrics and compute (F+J) We report AUROC and forward-equivalent compute as F+J , where F is one score-network forward evaluation and J is one Jacobian–vector product, each counted as a forward-equivalent operation. GEPC is fully test-time and uses only score-network evaluations. For GEPC, at each timestep t , we compute one reference score \mathbf{s}_{\theta}(\mathbf{x}_{t},t) and one batched evaluation over \{\mathcal{P}_{g}\mathbf{x}_{t}\}_{g\in\mathcal{G}} , hence F=(1+|\mathcal{G}|)\,|\mathcal{T}|\,m and J=0 . All GEPC feature variants reuse the same score evaluations at each (t,g) , so enabling additional features or feature fusion does not change F+J . For methods that require a reverse trajectory of T steps, we count F=T score evaluations (and the corresponding J terms when applicable). 6 Experiments We evaluate GEPC as a diffusion-based OOD detector under two regimes: (i) CIFAR-scale benchmarks at 32\times 32 , using a single CelebA-trained improved-diffusion backbone; and (ii) a cross-domain, high-resolution setting, where a 256\times 256 LSUN-trained backbone is evaluated on radar SAR imagery, with OOD samples corresponding to targets or anomalies embedded in clutter. We address two questions: (i) whether GEPC is competitive with state-of-the-art diffusion-based OOD scores under a strictly comparable backbone; and (ii) whether GEPC provides robust and interpretable OOD signals when a high-resolution LSUN-trained backbone is applied cross-domain to SAR imagery. 6.1 Setup Backbones and evaluation regime. Unless stated otherwise, all diffusion-based scores are computed from a single unconditional improved-diffusion backbone trained on CelebA at 32\times 32 using the public improved-diffusion codebase ( 26 ) . This checkpoint is never fine-tuned; methods differ only by their test-time statistic. For high-resolution cross-domain evaluation, we further probe an unconditional LSUN- 256 improved-diffusion backbone on 256\times 256 SAR patches. Baselines. We compare GEPC against the two classes of OOD detection methods. First, we consider ID-trained discriminative and generative baselines, including energy-based models such as IGEBM ( 15 ) , VAEBM ( 52 ) , and Improved Contrastive Divergence (CD) ( 14 ) , as well as Input Complexity (IC) ( 44 ) , Density of States (DOS) ( 37 ) , Watanabe–Akaike Information Criterion (WAIC) ( 9 ) , the Typicality Test (TT) ( 38 ) , and the Likelihood Ratio (LR) ( 41 ) . Second, we compare to training-free diffusion-based scores computed from the same CelebA- 32 backbone, including NLL and DiffPath ( 25 ) , MSMA ( 36 ) , DDPM-OOD ( 19 ) , LMD ( 35 ) , and SCOPED ( 3 ) . 6.2 CIFAR-10 / SVHN / CelebA at 32\times 32 We evaluate GEPC on the low-resolution regime with three ID datasets: CIFAR-10 (C10), SVHN, and CelebA (downsampled to 32\times 32 ). To enable direct comparison with recent diffusion-OOD benchmarks under the same backbone, we report the 9 canonical ID/OOD pairs used in SCOPED ( 3 ) and DiffPath ( 25 ) . Table 1 reports AUROC for all 9 ID/OOD pairs. The upper block groups ID-trained likelihood/energy-based model (EBM)-style baselines from prior work (trained per ID dataset). The lower block groups training free methods that operate on a single pretrained CelebA improved-diffusion backbone and differ only by their test-time scoring rule, including DiffPath, SCOPED, and our GEPC. Table 1 : AUROC for in-distribution vs. out-of-distribution tasks at 32\times 32 (9 standard ID/OOD pairs at 32×32). Higher is better. We report compute as F+J (forward passes + JVPs). Baseline numbers for non-GEPC methods follow prior diffusion-OOD benchmarks under a CelebA backbone. CIFAR-10 (ID) SVHN (ID) CelebA (ID) Avg. F+J Method SVHN CelebA C100 C10 CelebA C100 C10 SVHN C100 ID-trained baselines (trained per ID) IC 0.950 0.863 0.736 – – – – – – – – IGEBM 0.630 0.700 0.500 – – – – – – – – VAEBM 0.830 0.770 0.620 – – – – – – – – Improved CD 0.910 – 0.830 – – – – – – – – DoS 0.955 0.995 0.571 0.962 1.00 0.965 0.949 0.997 0.956 0.928 – WAIC † 0.143 0.928 0.532 0.802 0.991 0.831 0.507 0.139 0.535 0.601 – TT † 0.870 0.848 0.548 0.970 1.00 0.965 0.634 0.982 0.671 0.832 – LR † 0.064 0.914 0.520 0.819 0.912 0.779 0.323 0.028 0.357 0.524 – Training-free diffusion methods (single CelebA backbone) NLL 0.091 0.574 0.521 0.990 0.999 0.992 0.814 0.105 0.786 0.652 1000F+0J IC (diffusion) 0.921 0.516 0.519 0.080 0.028 0.100 0.485 0.972 0.510 0.459 1000F+0J MSMA 0.957 1.00 0.615 0.976 0.995 0.980 0.910 0.996 0.927 0.928 10F+0J DDPM-OOD 0.390 0.659 0.536 0.951 0.986 0.945 0.795 0.636 0.778 0.742 350F+0J LMD 0.992 0.557 0.604 0.919 0.890 0.881 0.989 1.00 0.979 0.868 104F+0J DiffPath 0.910 0.897 0.590 0.939 0.979 0.953 0.998 1.00 0.998 0.918 10F+0J SCOPED 0.814 0.940 0.477 0.971 0.996 0.959 0.925 0.994 0.962 0.892 2F+2J GEPC (ours) 0.842 0.999 0.554 0.880 1.00 0.897 1.00 1.00 1.00 0.908 16F+0J \dagger Results obtained from ( 37 ) . 6.3 Radar SAR OOD detection and localisation We evaluate GEPC for ship/wake localisation on high-resolution SAR imagery (HRSID). We construct an OOD task where sea-clutter-only patches are in-distribution (ID) and patches containing at least one ship or wake are out-of-distribution (OOD). We apply a pretrained LSUN- 256 diffusion backbone as-is to 256\times 256 SAR patches (no SAR fine-tuning) and compute GEPC patch-wise. GEPC residual maps remain low on homogeneous sea clutter while concentrating on ships and wakes, yielding interpretable symmetry-breaking localisation (Figure 2 ). Additional datasets (SSDD), quantitative results, and further qualitative examples are provided in Appendix G and Figure 5 . (a) ID: log-mag (b) ID: GEPC (c) OOD: log-mag (d) OOD: GEPC Figure 2 : GEPC on HRSID SAR imagery (LSUN- 256 backbone, no SAR fine-tuning). We visualise the pre-pooling residual magnitude map using a global normalisation (shared scale) to enable direct comparison between ID and OOD (Appendix G , Figure 5 ). 6.4 Ablations and runtime We conduct ablations to assess robustness, sensitivity to design choices, and computational cost. Detailed ablation tables across the 9 ID/OOD pairs are reported in Appendix F , along with representative plots and score histograms. Group elements. Using our default transport set (identity, flips, rotations, and 1-pixel circular shifts), we report a diagnostic AUROC obtained by isolating each transform contribution on the raw transported-gap component (no KDE/z-score calibration), and compare it to the same component averaged over \mathcal{G} . Across pairs, performance is not dominated by a single element, supporting that GEPC captures a stable symmetry-breaking effect rather than an isolated artifact (Appendix F , Table 5 and Figure 3 ). Timestep selection and weighting. Single-timestep AUROC-vs- t curves are shown for the raw transported-gap component to localise where symmetry-breaking arises. Our ID-only coefficient-of-variation (CV) rule then selects a small retained set \mathcal{T} (fixed K across datasets for comparable compute) and achieves performance close to the best single-timestep choices without any OOD labels (Appendix F , Table 3 and Figure 3 ). Calibration and feature fusion. We compare 1D KDE calibration to z-score normalisation, the raw uncalibrated score, and a Gaussian/Mahalanobis model on multi- t GEPC feature vectors. We also ablate feature fusion via mean (Table 7 ). Runtime and NFEs. GEPC requires no backpropagation, Jacobian-vector products, nor fine-tuning. For each retained timestep t , we evaluate one reference score field \mathbf{s}_{\theta}(\mathbf{x}_{t},t) and one batched evaluation over transported inputs \{\mathcal{P}_{g}\mathbf{x}_{t}\}_{g\in\mathcal{G}} , i.e. (1+|\mathcal{G}|) forward passes per timestep. With m Monte-Carlo noise samples and K=|\mathcal{T}| retained timesteps, the total cost is \mathrm{NFE}=(1+|\mathcal{G}|)Km forward passes per input, parallelisable over g (and, memory permitting, over t ). We report the accuracy-compute trade-off via a sweep over K with the implied NFE in Appendix F.2 (Table 3 ), and provide measured wall-clock timing in Appendix F.6 . Representative plots. For readability, we visualise per-transform and per-timestep behaviours on a representative pair (SVHN as ID, CIFAR-100 as OOD) in Figure 3 , and show score histograms in Figure 4 . Complete 9-pair ablation tables are provided in Appendix F . 7 Conclusion and discussions GEPC enables OOD detection with diffusion models by leveraging symmetry properties. It achieves competitive performance both with an ID-trained backbone and in a training-free ID setting, and provides equivariance maps that facilitate detection on complex images such as SAR imagery. Computational cost. GEPC requires multiple score evaluations per input; stochastic subsampling of group elements and timestep reduces cost but remains higher than scalar diagnostics such as score norm. However, GEPC avoids Jacobian/Hessian evaluations and remains competitive in NFE with many diffusion-based baselines. Symmetry assumptions. GEPC relies on approximate invariances under a chosen group \mathcal{G} . For modalities lacking such symmetries (e.g., strongly oriented or structured data), performance may degrade or require adapting \mathcal{G} (e.g., using learned or domain-specific transformations). Backbone reliance. GEPC requires a pretrained diffusion backbone, which may not be available for all domains. Our cross-backbone experiments, however, suggest that even mismatched backbones can be informative, consistent with recent ”foundation” diffusion models reused across tasks. Relation to dynamic covariance calibration and neural-collapse-based OOD. Feature-space approaches that adapt covariance geometry or exploit neural collapse structure ( 22 ; 2 ; 23 ) are complementary to GEPC: they refine matrix-induced distances on classifier features, whereas GEPC probes equivariance breaking directly in the diffusion score field. Extensions. Future work includes continuous groups and steerable operators, learned group actions, combining GEPC with curvature and path-based diagnostics, and applying GEPC multi-modal diffusion models. Impact Statement This paper advances out-of-distribution detection for diffusion models, with potential applications in safety-critical sensing scenarios such as anomaly detection in radar imaging; we do not anticipate specific negative societal impacts beyond standard considerations in machine learning. Appendix A Diffusion and score-matching identities (detailed) We collect detailed derivations for the identities used in the main text: (i) denoising-score identities linking \boldsymbol{\epsilon} -prediction to scores, (ii) Tweedie’s formula under DDPM scaling, (iii) posterior covariance identities and their relation to the Jacobian, (iv) Lipschitz / contractivity properties derived from posterior covariance bounds. A.1 Forward noising closed-form (DDPM) Recall that the forward diffusion process is defined by q(\mathbf{x}_{t}\mid\mathbf{x}_{t-1})=\mathcal{N}\left(\mathbf{x}_{t};\sqrt{\alpha_{t}}\,\mathbf{x}_{t-1},\beta_{t}\,\mathbf{I}\right),\qquad\alpha_{t}=1-\beta_{t}, (24) where we denote \bar{\alpha}_{t}=\displaystyle\prod_{s=1}^{t}\alpha_{s} . It follows that the marginal distribution admits the closed form: q(\mathbf{x}_{t}\mid\mathbf{x}_{0})=\mathcal{N}\left(\mathbf{x}_{t};\sqrt{\bar{\alpha}_{t}}\,\mathbf{x}_{0},(1-\bar{\alpha}_{t})\,\mathbf{I}\right), (25) and equivalently that \mathbf{x}_{t}=\sqrt{\bar{\alpha}_{t}}\,\mathbf{x}_{0}+\sigma_{t}\,\boldsymbol{\epsilon},\ \sigma_{t}^{2}\,\coloneqq 1-\bar{\alpha}_{t}. (26) A.2 Denoising-score identity: \mathbb{E}[\boldsymbol{\epsilon}\mid\mathbf{x}_{t}] and applying the forward process in \mathbf{s}_{t}(\mathbf{x}_{t}) Let p_{t} denote the marginal density of \mathbf{x}_{t} induced by \mathbf{x}_{0}\sim p_{0} and ( 26 ). We define the ideal score as \mathbf{s}_{t}(\mathbf{x})\coloneqq\nabla_{\mathbf{x}}\log p_{t}(\mathbf{x}) ( 50 ; 43 ) . Lemma A.1 (Conditional-noise / score identity) . For each fixed t , \mathbf{s}_{t}(\mathbf{x}_{t})=-\frac{1}{\sigma_{t}}\,\mathbb{E}[\boldsymbol{\epsilon}\mid\mathbf{x}_{t}]. (27) Proof. Let K_{t}(\mathbf{x}_{t}\mid\mathbf{x}_{0})=\mathcal{N}\left(\mathbf{x}_{t};\sqrt{\bar{\alpha}_{t}}\,\mathbf{x}_{0},\sigma_{t}^{2}\,\mathbf{I}\right) denote the Gaussian transition kernel of the forward process. The marginal density of \mathbf{x}_{t} can then be written as p_{t}(\mathbf{x}_{t})=\int p_{0}(\mathbf{x}_{0})\,K_{t}(\mathbf{x}_{t}\mid\mathbf{x}_{0})\,d\mathbf{x}_{0}. Differentiating under the integral yields: \nabla_{\mathbf{x}_{t}}p_{t}(\mathbf{x}_{t})=\int p_{0}(\mathbf{x}_{0})\,K_{t}(\mathbf{x}_{t}\mid\mathbf{x}_{0})\,\nabla_{\mathbf{x}_{t}}\log K_{t}(\mathbf{x}_{t}\mid\mathbf{x}_{0})\,d\mathbf{x}_{0}. Since \nabla_{\mathbf{x}_{t}}\log K_{t}(\mathbf{x}_{t}\mid\mathbf{x}_{0})=-\frac{\mathbf{x}_{t}-\sqrt{\bar{\alpha}_{t}}\,\mathbf{x}_{0}}{\sigma_{t}^{2}}. We obtain: \nabla_{\mathbf{x}_{t}}\log p_{t}(\mathbf{x}_{t})=\frac{\nabla p_{t}(\mathbf{x}_{t})}{p_{t}(\mathbf{x}_{t})}=-\mathbb{E}\!\left[\frac{\mathbf{x}_{t}-\sqrt{\bar{\alpha}_{t}}\,\mathbf{x}_{0}}{\sigma_{t}^{2}}\,\Big|\,\mathbf{x}_{t}\right]. Using the identity, \boldsymbol{\epsilon}=(\mathbf{x}_{t}-\sqrt{\bar{\alpha}_{t}}\,\mathbf{x}_{0})/\sigma_{t} , this simplifies to \nabla_{\mathbf{x}_{t}}\log p_{t}(\mathbf{x}_{t})=-\frac{1}{\sigma_{t}}\mathbb{E}[\boldsymbol{\epsilon}\mid\mathbf{x}_{t}]\,, which establishes ( 27 ). ∎ Implication for \boldsymbol{\epsilon} -prediction. By definition of the mean squared error objective, \boldsymbol{\epsilon}_{\theta}(\mathbf{x}_{t},t) is an estimator of \mathbb{E}[\boldsymbol{\epsilon}\mid\mathbf{x}_{t}] . Combining this observation with ( 27 ) yields \mathbf{s}_{\theta}(\mathbf{x}_{t},t)=-\frac{1}{\sigma_{t}}\,\boldsymbol{\epsilon}_{\theta}(\mathbf{x}_{t},t). (28) A.3 Tweedie formula under DDPM scaling (posterior mean of \mathbf{x}_{0} ) The classical Tweedie formula is for additive noise model \mathbf{y}=\mathbf{x}+\sigma\,\boldsymbol{\epsilon} ( 42 ; 17 ) . whereas DDPM involves an additional scaling factor \sqrt{\bar{\alpha}_{t}} . We therefore reduce to the additive setting by introducing a rescaled variable: \mathbf{y}_{t}\coloneqq\frac{\mathbf{x}_{t}}{\sqrt{\bar{\alpha}_{t}}}=\mathbf{x}_{0}+\tilde{\sigma}_{t}\,\boldsymbol{\epsilon},\qquad\tilde{\sigma}_{t}\coloneqq\frac{\sigma_{t}}{\sqrt{\bar{\alpha}_{t}}}. (29) Let \tilde{p}_{t} denote the marginal density of \mathbf{y}_{t} and define its score by \tilde{\mathbf{s}}_{t}(\mathbf{y})\coloneqq\nabla_{\mathbf{y}}\log\tilde{p}_{t}(\mathbf{y}) . For clarity, in the next two subsections we work with a generic additive Gaussian model \mathbf{y}=\mathbf{x}_{0}+\tilde{\sigma}\,\boldsymbol{\epsilon} and omit the time index t , writing \tilde{p} and \tilde{\mathbf{s}} for the corresponding marginal and score. Lemma A.2 (Tweedie (additive form)) . For the additive noise model \mathbf{y}=\mathbf{x}_{0}+\tilde{\sigma}\,\boldsymbol{\epsilon} , we have \mathbb{E}[\mathbf{x}_{0}\mid\mathbf{y}]=\mathbf{y}+\tilde{\sigma}^{2}\,\tilde{\mathbf{s}}(\mathbf{y}). (30) Proof. Applying Lemma A.1 in the additive model gives \tilde{\mathbf{s}}(\mathbf{y})=-(1/\tilde{\sigma})\,\mathbb{E}[\boldsymbol{\epsilon}\mid\mathbf{y}] and \mathbf{x}_{0}=\mathbf{y}-\tilde{\sigma}\,\boldsymbol{\epsilon} . Taking the conditional expectation yields \mathbb{E}[\mathbf{x}_{0}\mid\mathbf{y}]=\mathbf{y}-\tilde{\sigma}\,\mathbb{E}[\boldsymbol{\epsilon}\mid\mathbf{y}]=\mathbf{y}+\tilde{\sigma}^{2}\,\tilde{\mathbf{s}}(\mathbf{y}) , which establishes ( 30 ). ∎ We now translate the Tweedie formula back to \mathbf{x}_{t} . Since \mathbf{y}_{t}=\mathbf{x}_{t}/\sqrt{\bar{\alpha}_{t}} , the score transforms by the chain rule: \tilde{\mathbf{s}}_{t}(\mathbf{y}_{t})=\nabla_{\mathbf{y}_{t}}\log\tilde{p}_{t}(\mathbf{y}_{t})=\sqrt{\bar{\alpha}_{t}}\,\nabla_{\mathbf{x}_{t}}\log p_{t}(\mathbf{x}_{t})=\sqrt{\bar{\alpha}_{t}}\,\mathbf{s}_{t}(\mathbf{x}_{t}). (31) Combining ( 30 ) and ( 31 ) gives the DDPM-scaled Tweedie formula: Lemma A.3 (Tweedie for DDPM) . Let m(\mathbf{x}_{t})\coloneqq\mathbb{E}[\mathbf{x}_{0}\mid\mathbf{x}_{t}] denote the Bayes denoiser (posterior mean). Then m(\mathbf{x}_{t})=\frac{1}{\sqrt{\bar{\alpha}_{t}}}\Big(\mathbf{x}_{t}+\sigma_{t}^{2}\,\mathbf{s}_{t}(\mathbf{x}_{t})\Big). (32) A.4 Posterior covariance and Jacobian: \mathrm{Cov}(\mathbf{x}_{0}\mid\mathbf{x}_{t}) This subsection makes explicit the identity “Jacobian = posterior covariance” that underlies Lipschitz and contractivity arguments ( 43 ; 21 ) . We work in the additive form \mathbf{y}=\mathbf{x}_{0}+\tilde{\sigma}\,\boldsymbol{\epsilon} for clarity. Let m(\mathbf{y})\coloneqq\mathbb{E}[\mathbf{x}_{0}\mid\mathbf{y}] and C(\mathbf{y})\coloneqq\mathrm{Cov}(\mathbf{x}_{0}\mid\mathbf{y}) . Lemma A.4 (Posterior covariance identity) . For additive Gaussian noise, C(\mathbf{y})=\tilde{\sigma}^{2}\,\mathbf{I}+\tilde{\sigma}^{4}\,\nabla_{\mathbf{y}}^{2}\log\tilde{p}(\mathbf{y}), (33) and equivalently, using m(\mathbf{y})=\mathbf{y}+\tilde{\sigma}^{2}\,\nabla_{\mathbf{y}}\log\tilde{p}(\mathbf{y}) , \nabla_{\mathbf{y}}m(\mathbf{y})=\mathbf{I}+\tilde{\sigma}^{2}\,\nabla_{\mathbf{y}}^{2}\log\tilde{p}(\mathbf{y}),\qquad C(\mathbf{y})=\tilde{\sigma}^{2}\,\nabla_{\mathbf{y}}m(\mathbf{y}). (34) Proof. We start from the posterior mean expressed as m(\mathbf{y})=\displaystyle\frac{1}{\tilde{p}(\mathbf{y})}\int\mathbf{x}\,p_{0}(\mathbf{x})\,\phi_{\tilde{\sigma}}(\mathbf{y}-\mathbf{x})\,d\mathbf{x}\,, where \phi_{\tilde{\sigma}}(.) is the Gaussian density with variance \tilde{\sigma}^{2}\,\mathbf{I} . Differentiating componentwise with respect to \mathbf{y} and using \nabla_{\mathbf{y}}\phi_{\tilde{\sigma}}(\mathbf{y}-\mathbf{x})=-(\mathbf{y}-\mathbf{x})\phi_{\tilde{\sigma}}(\mathbf{y}-\mathbf{x})/\tilde{\sigma}^{2} , a standard quotient-rule calculation gives \nabla_{\mathbf{y}}m(\mathbf{y})=\frac{1}{\tilde{\sigma}^{2}}\Big(\mathbb{E}[\mathbf{x}_{0}\mathbf{x}_{0}^{\top}\mid\mathbf{y}]-\mathbb{E}[\mathbf{x}_{0}\mid\mathbf{y}]\,\mathbb{E}[\mathbf{x}_{0}\mid\mathbf{y}]^{\top}\Big)=\frac{1}{\tilde{\sigma}^{2}}\,C(\mathbf{y})\,. This immediately yields C(\mathbf{y})=\tilde{\sigma}^{2}\,\nabla_{\mathbf{y}}m(\mathbf{y}) . To obtain ( 33 ), differentiate the Tweedie formula m(\mathbf{y})=\mathbf{y}+\tilde{\sigma}^{2}\,\nabla_{\mathbf{y}}\log\tilde{p}(\mathbf{y}) to get \nabla_{\mathbf{y}}m(\mathbf{y})=\mathbf{I}+\tilde{\sigma}^{2}\,\nabla_{\mathbf{y}}^{2}\log\tilde{p}(\mathbf{y}) and multiply both sides by \tilde{\sigma}^{2} . ∎ DDPM scaling. For the forward sample \mathbf{x}_{t}=\sqrt{\bar{\alpha}_{t}}\,\mathbf{x}_{0}+\sigma_{t}\,\boldsymbol{\epsilon} , define the rescaled variable \mathbf{y}_{t}=\mathbf{x}_{t}/\sqrt{\bar{\alpha}_{t}} . Then \tilde{\sigma}_{t}=\sigma_{t}/\sqrt{\bar{\alpha}_{t}} and the same identities hold for the posterior of \mathbf{x}_{0}\mid\mathbf{x}_{t} after change of variables. A.5 Lipschitzness and contractivity of the Bayes denoiser The identity C(\mathbf{y})=\tilde{\sigma}^{2}\,\nabla_{\mathbf{y}}m(\mathbf{y}) immediately provides Lipschitz control of the posterior mean. Such covariance bounds hold, for example, under (strong) log-concavity of the prior via Brascamp–Lieb inequalities ( 6 ) . Lemma A.5 (Covariance bound implies Lipschitz denoiser) . Let \Omega\subset\mathbb{R}^{d} be a region where the posterior covariance satisfies \|C(\mathbf{y})\|_{\mathrm{op}}\leq\rho\,\tilde{\sigma}^{2} for all \mathbf{y}\in\Omega , then the posterior mean m(.) satisfies \|\nabla_{\mathbf{y}}m(\mathbf{y})\|_{\mathrm{op}}\leq\rho for all \mathbf{y}\in\Omega and is therefore \rho -Lipschitz on \Omega . Proof. Using the identity C(\mathbf{y})=\tilde{\sigma}^{2}\,\nabla_{\mathbf{y}}m(\mathbf{y}) , and taking operator norms, we have \|\nabla_{\mathbf{y}}m(\mathbf{y})\|_{\mathrm{op}}=\|C(\mathbf{y})\|_{\mathrm{op}}/\tilde{\sigma}^{2}\leq\rho , which establishes the Lipschitz bound. ∎ For directional contraction—used in the cross-backbone “normal-to-manifold” argument—we isolate a normal direction \mathbf{n} and assume contraction along that direction. Assumption A.6 (Directional contraction of the denoiser) . ( 13 ; 16 ) There exists \kappa\in(0,1] such that, for all \mathbf{y},\mathbf{y}^{\prime} in the tube, \langle m(\mathbf{y})-m(\mathbf{y}^{\prime}),\,\mathbf{y}-\mathbf{y}^{\prime}\rangle\leq(1-\kappa)\,\|\mathbf{y}-\mathbf{y}^{\prime}\|_{2}^{2}\qquad\text{whenever }(\mathbf{y}-\mathbf{y}^{\prime})\parallel\mathbf{n}. (35) A sufficient condition is (locally, a.e.) a bound on the directional derivative along \mathbf{n} in the tube: \langle\mathbf{n},(\nabla_{\mathbf{y}}m(\mathbf{y}))\,\mathbf{n}\rangle\leq 1-\kappa . Using the covariance–Jacobian identity ( 34 ), this is equivalent to \langle\mathbf{n},C(\mathbf{y})\mathbf{n}\rangle\leq(1-\kappa)\,\tilde{\sigma}^{2} . A.6 From denoiser contraction to directional growth of the score This is the key step used to justify the main-text condition ( 18 ). We work in additive coordinates, \mathbf{y}=\mathbf{x}_{0}+\tilde{\sigma}\,\boldsymbol{\epsilon} . From the Tweedie formula, \tilde{\mathbf{s}}(\mathbf{y})\coloneqq\nabla_{\mathbf{y}}\log\tilde{p}(\mathbf{y}) , Let \mathbf{y}^{\prime} denote a projection point ( 1 ) (e.g., \mathbf{y}^{\prime}=\pi(\mathbf{y})) and define \mathbf{v}=\mathbf{y}-\mathbf{y}^{\prime} . Lemma A.7 (Directional growth of the ideal score) . Assume ( 35 ) holds for \mathbf{y},\mathbf{y}^{\prime} with \mathbf{v}\parallel\mathbf{n} . Then \Big\langle\tilde{\mathbf{s}}(\mathbf{y})-\tilde{\mathbf{s}}(\mathbf{y}^{\prime}),\,\frac{\mathbf{v}}{\|\mathbf{v}\|}\Big\rangle\leq-\frac{\kappa}{\tilde{\sigma}^{2}}\,\|\mathbf{v}\|. (36) Proof. Using \tilde{\mathbf{s}}(\mathbf{y})=(m(\mathbf{y})-\mathbf{y})/\tilde{\sigma}^{2} , we have \tilde{\mathbf{s}}(\mathbf{y})-\tilde{\mathbf{s}}(\mathbf{y}^{\prime})=\frac{(m(\mathbf{y})-m(\mathbf{y}^{\prime}))-(\mathbf{y}-\mathbf{y}^{\prime})}{\tilde{\sigma}^{2}}\,. Taking the inner product with \mathbf{v}=\mathbf{y}-\mathbf{y}^{\prime} gives: \langle\tilde{\mathbf{s}}(\mathbf{y})-\tilde{\mathbf{s}}(\mathbf{y}^{\prime}),\,\mathbf{v}\rangle=\frac{\langle m(\mathbf{y})-m(\mathbf{y}^{\prime}),\mathbf{v}\rangle-\|\mathbf{v}\|^{2}}{\tilde{\sigma}^{2}}\leq-\frac{\kappa}{\tilde{\sigma}^{2}}\,\|\mathbf{v}\|^{2}\,, by Assumption A.6 . Dividing both sides by \|\mathbf{v}\| yields ( 36 ). ∎ A.7 From s to \mathbf{s}_{\theta} (approximation on a tube) Let \mathbf{s}_{\theta} be a learned score that approximates the source score on a tube: \sup_{\mathbf{y}\in\Omega}\|\mathbf{s}_{\theta}(\mathbf{y})-\tilde{\mathbf{s}}(\mathbf{y})\|\leq\delta\,. Then the directional inequality transfers with a slack. Lemma A.8 (Directional growth for \mathbf{s}_{\theta} ) . Under the above uniform approximation, for \mathbf{v}=\mathbf{y}-\mathbf{y}^{\prime} , \Big\langle\mathbf{s}_{\theta}(\mathbf{y})-\mathbf{s}_{\theta}(\mathbf{y}^{\prime}),\,\frac{\mathbf{v}}{\|\mathbf{v}\|}\Big\rangle\leq-\frac{\kappa}{\tilde{\sigma}^{2}}\|\mathbf{v}\|+2\delta\,. (37) In particular, if \|\mathbf{v}\|\geq\displaystyle\frac{4\tilde{\sigma}^{2}}{\kappa}\delta , then \Big\langle\mathbf{s}_{\theta}(\mathbf{y})-\mathbf{s}_{\theta}(\mathbf{y}^{\prime}),\,\frac{\mathbf{v}}{\|\mathbf{v}\|}\Big\rangle\leq-\underline{m}\,\|\mathbf{v}\|,\qquad\underline{m}\coloneqq\frac{\kappa}{2\tilde{\sigma}^{2}}\,. (38) Proof. Decompose \mathbf{s}_{\theta}(\mathbf{y})=\tilde{\mathbf{s}}(\mathbf{y})+\boldsymbol{\xi}(\mathbf{y}) with \|\boldsymbol{\xi}(\mathbf{y})\|\leq\delta : \langle\mathbf{s}_{\theta}(\mathbf{y})-\mathbf{s}_{\theta}(\mathbf{y}^{\prime}),\mathbf{v}/\|\mathbf{v}\|\rangle=\langle\tilde{\mathbf{s}}(\mathbf{y})-\tilde{\mathbf{s}}(\mathbf{y}^{\prime}),\mathbf{v}/\|\mathbf{v}\|\rangle+\langle\boldsymbol{\xi}(\mathbf{y})-\boldsymbol{\xi}(\mathbf{y}^{\prime}),\mathbf{v}/\|\mathbf{v}\|\rangle\,. By Lemma A.7 and |\langle\xi(\mathbf{y})-\xi(\mathbf{y}^{\prime}),\cdot\rangle|\leq\|\xi(\mathbf{y})\|+\|\xi(\mathbf{y}^{\prime})\|\leq 2\delta , we get ( 37 ). If \|\mathbf{v}\|\geq 4\tilde{\sigma}^{2}\delta/\kappa then 2\delta\leq(\kappa/(2\tilde{\sigma}^{2}))\,\|\mathbf{v}\| and ( 38 ) follows. ∎ Connection to the main-text condition ( 18 ). In the main text, a projection \pi_{t} onto a source manifold \mathcal{M}_{t} is defined in \mathbf{x}_{t} -space. Applying the previous derivation in the rescaled additive coordinates \mathbf{y}_{t}=\mathbf{x}_{t}/\sqrt{\bar{\alpha}_{t}} yields ( 18 ) with explicit definitions of m_{t} and d_{0,t} up to the scaling \tilde{\sigma}_{t}=\sigma_{t}/\sqrt{\bar{\alpha}_{t}} . Appendix B GEPC theory: detailed proofs and cross-backbone geometry B.1 Invariance of a distribution and score equivariance We work with a finite group \mathcal{G} acting on \mathbb{R}^{d} via orthogonal matrices \mathcal{P}_{g} , so \mathcal{P}_{g}^{-1}=\mathcal{P}_{g}^{\top} and |\det\mathcal{P}_{g}|=1 . Lemma B.1 (Invariance \Leftrightarrow score equivariance) . Let p be a positive C^{1} density on \mathbb{R}^{d} with score \mathbf{s}_{p}(\mathbf{x})=\nabla_{\mathbf{x}}\log p(\mathbf{x}) . Then the following are equivalent: (i) p(\mathcal{P}_{g}\mathbf{x})=p(\mathbf{x}) for all g\in\mathcal{G} and all \mathbf{x}\in\mathbb{R}^{d} ; (ii) \mathbf{s}_{p}(\mathcal{P}_{g}\mathbf{x})=\mathcal{P}_{g}\mathbf{s}_{p}(\mathbf{x}) for all g\in\mathcal{G} and all \mathbf{x}\in\mathbb{R}^{d} . Proof. (i) \Rightarrow (ii). If p(\mathcal{P}_{g}\mathbf{x})=p(\mathbf{x}) , then \log p(\mathcal{P}_{g}\mathbf{x})=\log p(\mathbf{x}) . Differentiating w.r.t. \mathbf{x} and using the chain rule gives \nabla_{\mathbf{x}}\log p(\mathcal{P}_{g}\mathbf{x})=\mathcal{P}_{g}^{\top}\nabla_{\mathbf{y}}\log p(\mathbf{y})\big|_{\mathbf{y}=\mathcal{P}_{g}\mathbf{x}}=\mathcal{P}_{g}^{\top}\mathbf{s}_{p}(\mathcal{P}_{g}\mathbf{x}). The left-hand side equals \nabla_{\mathbf{x}}\log p(\mathbf{x})=\mathbf{s}_{p}(\mathbf{x}) , hence \mathbf{s}_{p}(\mathbf{x})=\mathcal{P}_{g}^{\top}\mathbf{s}_{p}(\mathcal{P}_{g}\mathbf{x}) , i.e. \mathbf{s}_{p}(\mathcal{P}_{g}\mathbf{x})=\mathcal{P}_{g}\mathbf{s}_{p}(\mathbf{x}) . (ii) \Rightarrow (i). Assume \mathbf{s}_{p}(\mathcal{P}_{g}\mathbf{x})=\mathcal{P}_{g}\mathbf{s}_{p}(\mathbf{x}) . Define h_{g}(\mathbf{x})\coloneqq\log p(\mathcal{P}_{g}\mathbf{x})-\log p(\mathbf{x}) . Then \nabla_{\mathbf{x}}h_{g}(\mathbf{x})=\mathcal{P}_{g}^{\top}\mathbf{s}_{p}(\mathcal{P}_{g}\mathbf{x})-\mathbf{s}_{p}(\mathbf{x})=\mathcal{P}_{g}^{\top}\mathcal{P}_{g}\mathbf{s}_{p}(\mathbf{x})-\mathbf{s}_{p}(\mathbf{x})=\mathbf{0}, so h_{g}(\mathbf{x}) is constant in \mathbf{x} : h_{g}(\mathbf{x})=c_{g} . Hence p(\mathcal{P}_{g}\mathbf{x})=e^{c_{g}}p(\mathbf{x}) . Integrating both sides over \mathbb{R}^{d} and using |\det\mathcal{P}_{g}|=1 yields 1=\displaystyle\int p(\mathcal{P}_{g}\mathbf{x})d\mathbf{x}=e^{c_{g}}\int p(\mathbf{x})d\mathbf{x}=e^{c_{g}} , so c_{g}=0 and p(\mathcal{P}_{g}\mathbf{x})=p(\mathbf{x}) . ∎ B.2 Residual decomposition and expectation bounds Recall the residual operator from ( 9 ): \Delta_{g}f(\mathbf{x},t)\coloneqq\mathcal{P}_{g}^{-1}f(\mathcal{P}_{g}\mathbf{x},t)-f(\mathbf{x},t). For orthogonal transforms, \mathcal{P}_{g}^{-1}=\mathcal{P}_{g}^{\top} and \|\mathcal{P}_{g}^{-1}\mathbf{v}\|_{2}=\|\mathbf{v}\|_{2} . For a backbone score \mathbf{s}_{\theta}(\cdot,t) we define R_{t}(\mathbf{x},g)\coloneqq\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{x},t)\|_{2}^{2}. (39) Fix any absolutely continuous test marginal p_{t} with score \mathbf{s}_{p_{t}}(\mathbf{x})\coloneqq\nabla_{\mathbf{x}}\log p_{t}(\mathbf{x}) and define the score error \mathbf{e}_{p_{t}}(\mathbf{x},t)\coloneqq\mathbf{s}_{\theta}(\mathbf{x},t)-\mathbf{s}_{p_{t}}(\mathbf{x}) . Then for all \mathbf{x},g , \Delta_{g}\mathbf{s}_{\theta}(\mathbf{x},t)=\Delta_{g}\mathbf{s}_{p_{t}}(\mathbf{x},t)+\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t),\qquad R_{t}(\mathbf{x},g)=\|\Delta_{g}\mathbf{s}_{p_{t}}(\mathbf{x},t)+\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}. (40) We also recall \mathcal{B}^{(\mathcal{G})}(p_{t})\coloneqq\mathbb{E}_{\mathbf{x}\sim p_{t},\,g\sim\nu_{\mathcal{G}}}\big[\|\Delta_{g}\mathbf{s}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}\big], (41) and define \Delta_{E}(p_{t},t)\;\coloneqq\;\mathbb{E}_{\mathbf{x}\sim p_{t},\,g\sim\nu_{\mathcal{G}}}\Big[\|\mathbf{e}_{p_{t}}(\mathcal{P}_{g}\mathbf{x},t)-\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}\Big]. (42) Proof of Proposition 4.2 . Expanding the squared norm in ( 40 ) gives \displaystyle R_{t}(\mathbf{x},g) \displaystyle=\|\Delta_{g}\mathbf{s}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}+\|\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}+2\big\langle\Delta_{g}\mathbf{s}_{p_{t}}(\mathbf{x},t),\,\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)\big\rangle. (43) Upper bound. Using Cauchy–Schwarz and inequality 2\langle\mathbf{a},\mathbf{b}\rangle\leq\|\mathbf{a}\|_{2}^{2}+\|\mathbf{b}\|_{2}^{2} , for any vectors \mathbf{a} and \mathbf{b} , in ( 43 ) leads to R_{t}(\mathbf{x},g)\leq 2\|\Delta_{g}\mathbf{s}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}+2\|\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}. Taking expectation over \mathbf{x}\sim p_{t} and g\sim\nu_{\mathcal{G}} yields \mathbb{E}[R_{t}(\mathbf{x},g)]\leq 2\mathcal{B}^{(\mathcal{G})}(p_{t})+2\,\mathbb{E}\|\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}. Finally, since \Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)=\mathcal{P}_{g}^{-1}\mathbf{e}_{p_{t}}(\mathcal{P}_{g}\mathbf{x},t)-\mathbf{e}_{p_{t}}(\mathbf{x},t) and \|\mathbf{u}-\mathbf{v}\|_{2}^{2}\leq 2\|\mathbf{u}\|_{2}^{2}+2\|\mathbf{v}\|_{2}^{2} , \|\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}\leq 2\|\mathbf{e}_{p_{t}}(\mathcal{P}_{g}\mathbf{x},t)\|_{2}^{2}+2\|\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}, which gives the stated u_{b}(p_{t}) in Proposition 4.2 . Lower bound. From ( 43 ) and Cauchy–Schwarz, R_{t}(\mathbf{x},g)\geq\|\Delta_{g}\mathbf{s}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}+\|\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}-2\|\Delta_{g}\mathbf{s}_{p_{t}}(\mathbf{x},t)\|_{2}\,\|\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}. Taking expectation and applying Cauchy–Schwarz to the cross term yields \mathbb{E}[R_{t}(\mathbf{x},g)]\geq\mathcal{B}^{(\mathcal{G})}(p_{t})+\mathbb{E}\|\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}-2\sqrt{\mathcal{B}^{(\mathcal{G})}(p_{t})}\,\sqrt{\mathbb{E}\|\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}}. Noting that \Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)=\mathcal{P}_{g}^{-1}\mathbf{e}_{p_{t}}(\mathcal{P}_{g}\mathbf{x},t)-\mathbf{e}_{p_{t}}(\mathbf{x},t) and \|\mathcal{P}_{g}^{-1}\mathbf{v}\|_{2}=\|\mathbf{v}\|_{2} , we obtain \mathbb{E}\|\Delta_{g}\mathbf{e}_{p_{t}}(\mathbf{x},t)\|_{2}^{2}=\Delta_{E}(p_{t},t) , which yields the lower bound of proposition 4.2 . ∎ B.3 Cross-backbone bounds: proof of Proposition 4.3 Fix t and consider \mathbf{x}\in\mathcal{N}_{t} . Let \mathbf{z}=\pi_{t}(\mathbf{x})\in\mathcal{M}_{t} , so that d_{t}(\mathbf{x})=\|\mathbf{x}-\mathbf{z}\|_{2} . Assume \pi_{t} commutes with the group action: \pi_{t}(\mathcal{P}_{g}\mathbf{x})=\mathcal{P}_{g}\mathbf{z} , and \mathcal{P}_{g} is orthogonal, so \|\mathcal{P}_{g}\mathbf{x}-\mathcal{P}_{g}\mathbf{z}\|_{2}=\|\mathbf{x}-\mathbf{z}\|_{2}=d_{t}(\mathbf{x}) . Define the off-manifold deviation \boldsymbol{\delta}(\mathbf{x})\coloneqq\mathbf{s}_{\theta}(\mathbf{x},t)-\mathbf{s}_{\theta}(\mathbf{z},t) . By Lipschitzness ( 16 ), \|\boldsymbol{\delta}(\mathbf{x})\|_{2}\leq L_{t}d_{t}(\mathbf{x}) and \|\boldsymbol{\delta}(\mathcal{P}_{g}\mathbf{x})\|_{2}\leq L_{t}d_{t}(\mathbf{x}) . Upper bound ( 17 ). Using add-and-subtract around \mathbf{z} and \mathcal{P}_{g}\mathbf{z} : \displaystyle\Delta_{g}\mathbf{s}_{\theta}(\mathbf{x},t) \displaystyle=\mathcal{P}_{g}^{\top}\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x},t)-\mathbf{s}_{\theta}(\mathbf{x},t) \displaystyle=\underbrace{\big(\mathcal{P}_{g}^{\top}\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{z},t)-\mathbf{s}_{\theta}(\mathbf{z},t)\big)}_{\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)}+\underbrace{\mathcal{P}_{g}^{\top}\big(\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x},t)-\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{z},t)\big)-\big(\mathbf{s}_{\theta}(\mathbf{x},t)-\mathbf{s}_{\theta}(\mathbf{z},t)\big)}_{\mathbf{b}_{g}(\mathbf{x})}. Thus, R_{t}(\mathbf{x},g)=\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)+\mathbf{b}_{g}(\mathbf{x})\|_{2}^{2}. Using the inequality \|\mathbf{a}+\mathbf{b}\|_{2}^{2}\leq 2\|\mathbf{a}\|_{2}^{2}+2\|\mathbf{b}\|_{2}^{2} for any vectors \mathbf{a} and \mathbf{b} gives R_{t}(\mathbf{x},g)\leq 2R_{t}(\mathbf{z},g)+2\|\mathbf{b}_{g}(\mathbf{x})\|_{2}^{2}. Moreover, by the triangle inequality and orthogonality of \mathcal{P}_{g} , \|\mathbf{b}_{g}(\mathbf{x})\|_{2}\leq\|\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x},t)-\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{z},t)\|_{2}+\|\mathbf{s}_{\theta}(\mathbf{x},t)-\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}\leq 2L_{t}d_{t}(\mathbf{x}), so \|\mathbf{b}_{g}(\mathbf{x})\|_{2}^{2}\leq 4L_{t}^{2}d_{t}(\mathbf{x})^{2} and therefore R_{t}(\mathbf{x},g)\leq 2R_{t}(\mathbf{z},g)+8L_{t}^{2}d_{t}(\mathbf{x})^{2}. Taking expectation over g\sim\nu_{\mathcal{G}} yields ( 17 ). Lower bound ( 19 ). Let \mathbf{z}=\pi_{t}(\mathbf{x}) . By the reverse triangle inequality, \|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{x},t)\|_{2}=\|\mathcal{P}_{g}^{\top}\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x},t)-\mathbf{s}_{\theta}(\mathbf{x},t)\|_{2}\geq\|\mathbf{s}_{\theta}(\mathbf{x},t)-\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}-\|\mathcal{P}_{g}^{\top}\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x},t)-\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}. Using \|\mathcal{P}_{g}^{\top}\mathbf{u}-\mathbf{v}\|_{2}=\|\mathbf{u}-\mathcal{P}_{g}\mathbf{v}\|_{2} and adding/subtracting \mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{z},t) , \|\mathcal{P}_{g}^{\top}\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x},t)-\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}=\|\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x},t)-\mathcal{P}_{g}\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}\leq\|\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x},t)-\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{z},t)\|_{2}+\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}\leq L_{t}d_{t}(\mathbf{x})+\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}. Hence, \|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{x},t)\|_{2}\geq\|\mathbf{s}_{\theta}(\mathbf{x},t)-\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}-L_{t}d_{t}(\mathbf{x})-\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}. If d_{t}(\mathbf{x})\geq d_{0,t} and ( 18 ) holds, then \|\mathbf{s}_{\theta}(\mathbf{x},t)-\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}\geq m_{t}d_{t}(\mathbf{x}) (since \|v\|\geq|\langle v,u\rangle| for unit u ). Thus, \|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{x},t)\|_{2}\geq(m_{t}-L_{t})\,d_{t}(\mathbf{x})-\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}. Let a\coloneqq(m_{t}-L_{t})\,d_{t}(\mathbf{x}) . Then R_{t}(\mathbf{x},g)\geq\left(a-\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}\right)^{2} , define \varphi(y)\coloneqq(a-y)^{2} , which is convex; by Jensen’s inequality ( 5 ) , \mathbb{E}_{g}R_{t}(\mathbf{x},g)\geq\mathbb{E}_{g}\varphi(\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2})\geq\varphi(\mathbb{E}_{g}\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2})=\big(a-\mathbb{E}_{g}\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}\big)^{2}. Finally, \mathbb{E}_{g}\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}\leq\sqrt{\mathbb{E}_{g}\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{z},t)\|_{2}^{2}}=\sqrt{\mathbb{E}_{g}R_{t}(\mathbf{z},g)} by Cauchy–Schwarz, yielding \mathbb{E}_{g}R_{t}(\mathbf{x},g)\geq\Big(a-\sqrt{\mathbb{E}_{g}R_{t}(\mathbf{z},g)}\Big)^{2}=\Big(\,(m_{t}-L_{t})\,d_{t}(\mathbf{x})-\sqrt{\mathbb{E}_{g}R_{t}(\pi_{t}(\mathbf{x}),g)}\,\Big)^{2}, which proves the claimed lower bound in Proposition 4.3 . ∎ Appendix C Gaussian sanity checks (mean shift and 90^{\circ} rotation) We provide closed-form computations of the ideal GEPC residual for a simple Gaussian, illustrating that GEPC captures equivariance-breaking information even when the score magnitude remains insensitive. C.1 Mean shift with \mathcal{G}=\{\mathcal{I}d,-\mathcal{I}d\} Let p=\mathcal{N}(\boldsymbol{\mu},\sigma^{2}\mathbf{I}) . Then s(\mathbf{x})=\nabla_{\mathbf{x}}\log p(\mathbf{x})=-(\mathbf{x}-\boldsymbol{\mu})/\sigma^{2} . For \mathcal{G}=\{\mathcal{I}d,-\mathcal{I}d\} , take \mathcal{P}_{-\mathcal{I}d}=-\mathcal{I}d . For g=-\mathcal{I}d (orthogonal, hence \mathcal{P}_{g}^{-1}=\mathcal{P}_{g}^{\top} ): \Delta_{g}s(\mathbf{x})=\mathcal{P}_{g}^{-1}s(\mathcal{P}_{g}\mathbf{x})-s(\mathbf{x})=(-\mathcal{I})\,s(-\mathbf{x})-s(\mathbf{x})=-\frac{2}{\sigma^{2}}\,\boldsymbol{\mu}. Hence R(\mathbf{x},g)\;=\;\left\|-\frac{2}{\sigma^{2}}\,\boldsymbol{\mu}\right\|_{2}^{2}\;=\;\frac{4}{\sigma^{4}}\,\|\boldsymbol{\mu}\|_{2}^{2},\qquad\mathbb{E}_{g\sim\nu_{\mathcal{G}}}\,R(\mathbf{x},g)\;=\;\frac{2}{\sigma^{4}}\,\|\boldsymbol{\mu}\|_{2}^{2}, since the g=\mathcal{I}d term is 0 and \nu_{\mathcal{G}} is uniform. Meanwhile, \mathbb{E}_{\mathbf{x}\sim u}\|s(\mathbf{x})\|_{2}^{2}=d/\sigma^{2} is independent of \boldsymbol{\mu} . Thus, GEPC separates mean-shifts invisible to the score magnitude. C.2 Anisotropic covariance with 90^{\circ} rotations ( \mathcal{G}=C_{4} ) For d=2 , let \mathbf{p}=\mathcal{N}(\mathbf{0},\boldsymbol{\Sigma}) and \boldsymbol{\Sigma}=\mathrm{diag}(\sigma_{1}^{2},\sigma_{2}^{2}) . Then s(\mathbf{x})=-\boldsymbol{\Sigma}^{-1}\,\mathbf{x} . Let \mathcal{G}=C_{4}=\{\mathcal{I}d,\mathcal{R},\mathcal{R}^{2},\mathcal{R}^{3}\} where \mathcal{R}=\begin{pmatrix}0&-1\\ 1&0\end{pmatrix},\quad\mathcal{R}^{2}=-\mathcal{I}d,\quad\mathcal{R}^{3}=\mathcal{R}^{\top}. For any g\in\mathcal{G} , \Delta_{g}s(\mathbf{x})=\mathcal{P}_{g}^{-1}s(\mathcal{P}_{g}\mathbf{x})-s(\mathbf{x})=-\big(\mathcal{P}_{g}^{\top}\boldsymbol{\Sigma}^{-1}\mathcal{P}_{g}-\boldsymbol{\Sigma}^{-1}\big)\mathbf{x}. Since C_{4} is orthogonal, \mathcal{P}_{g}^{-1}=\mathcal{P}_{g}^{\top} . Compute \mathcal{P}_{g}^{\top}\boldsymbol{\Sigma}^{-1}\mathcal{P}_{g} . For g=\mathcal{R} , \mathcal{R}^{\top}\boldsymbol{\Sigma}^{-1}\mathcal{R}=\begin{pmatrix}0&1\\ -1&0\end{pmatrix}\begin{pmatrix}\sigma_{1}^{-2}&0\\ 0&\sigma_{2}^{-2}\end{pmatrix}\begin{pmatrix}0&-1\\ 1&0\end{pmatrix}=\begin{pmatrix}\sigma_{2}^{-2}&0\\ 0&\sigma_{1}^{-2}\end{pmatrix} Therefore \mathcal{R}^{\top}\boldsymbol{\Sigma}^{-1}\mathcal{R}-\boldsymbol{\Sigma}^{-1}=\begin{pmatrix}\sigma_{2}^{-2}-\sigma_{1}^{-2}&0\\ 0&\sigma_{1}^{-2}-\sigma_{2}^{-2}\end{pmatrix}=\left(\sigma_{2}^{-2}-\sigma_{1}^{-2}\right)\,\begin{pmatrix}1&0\\ 0&-1\end{pmatrix}\,. Hence \Delta_{\mathcal{R}}s(\mathbf{x})=-\left(\sigma_{2}^{-2}-\sigma_{1}^{-2}\right)\,\begin{pmatrix}1&0\\ 0&-1\end{pmatrix}\,\mathbf{x}\,, and since \left\|\begin{pmatrix}1&0\\ 0&-1\end{pmatrix}\,\mathbf{x}\right\|^{2}=\mathbf{x}_{1}^{2}+\mathbf{x}_{2}^{2} , R(\mathbf{x},\mathcal{R})\;\coloneqq\;\|\Delta_{\mathcal{R}}s(\mathbf{x})\|_{2}^{2}\;=\;\left(\sigma_{2}^{-2}-\sigma_{1}^{-2}\right)^{2}\left(\mathbf{x}_{1}^{2}+\mathbf{x}_{2}^{2}\right)\,. (44) For g=\mathcal{R}^{3} , the same computation gives the same residual. For g=\mathcal{R}^{2}=-\mathcal{I}d , we have (-\mathcal{I}d)^{\top}\boldsymbol{\Sigma}^{-1}(-\mathcal{I}d)=\boldsymbol{\Sigma}^{-1} , hence R(\mathbf{x},\mathcal{R}^{2})=0 . Also R(\mathbf{x},\mathcal{I}d)=0 . Expectation under \mathbf{x}\sim\mathcal{N}(\mathbf{0},\boldsymbol{\Sigma}) . We have \mathbb{E}\left[\mathbf{x}_{1}^{2}+\mathbf{x}_{2}^{2}\right]=\mathrm{tr}(\boldsymbol{\Sigma})=\sigma_{1}^{2}+\sigma_{2}^{2} . Thus from ( 44 ), \mathbb{E}_{\mathbf{x}\sim p}\,R(\mathbf{x},\mathcal{R})=\left(\sigma_{2}^{-2}-\sigma_{1}^{-2}\right)^{2}\left(\sigma_{1}^{2}+\sigma_{2}^{2}\right)\,, and averaging over g\sim\nu_{\mathcal{G}} (uniform over four elements) yields \mathbb{E}_{\mathbf{x}\sim p,\,g\sim\nu_{\mathcal{G}}}\,R(\mathbf{x},g)=\frac{1}{2}\,\left(\sigma_{2}^{-2}-\sigma_{1}^{-2}\right)^{2}\left(\sigma_{1}^{2}+\sigma_{2}^{2}\right)\,, (45) since only \mathcal{R} and \mathcal{R}^{3} contribute. This quantity is zero iff \sigma_{1}=\sigma_{2} (isotropy), i.e. iff the Gaussian is rotation-invariant. Hence, GEPC detects anisotropy relative to the 90^{\circ} rotation group. Appendix D Experimental details and reproducibility Implementation. All methods are evaluated using the same pretrained diffusion checkpoints (CelebA- 32 and LSUN- 256 ) with no fine-tuning. For GEPC, we follow the ID-only protocol of Section 6 : ID-train is used for timestep selection, weighting, and density calibration; ID-test and OOD-test are used only for evaluation. Hardware and software. Unless stated otherwise, experiments are run on a single GPU (NVIDIA GeForce RTX 4060 Laptop GPU) with PyTorch on Linux. Determinism. We fix seeds for Python, NumPy, and PyTorch, disable TF32, and optionally enable PyTorch deterministic algorithms. DataLoaders use an explicit torch.Generator with a fixed seed and worker_init_fn to ensure stable shuffling across workers. We report exact command lines and YAML configs in the released code. Compute accounting. We report compute as F+J, where F is a forward evaluation of \mathbf{s}_{\theta}(\cdot,t) and J is a Jacobian–vector product counted as a forward-equivalent operation. For methods using T reverse diffusion steps, we report the corresponding number of sequential score evaluations. Appendix E GEPC feature variants and fusion Let \mathbf{x}_{t}\sim q(\mathbf{x}_{t}\mid\mathbf{x}_{0}) . Define the transported score residual field \mathbf{r}_{t}(\mathbf{x}_{t},g)\coloneqq\mathcal{P}_{g}^{-1}\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x}_{t},t)-\mathbf{s}_{\theta}(\mathbf{x}_{t},t)\in\mathbb{R}^{C\times h\times w}, (46) and the transported score in the canonical frame \tilde{\mathbf{s}}_{\theta}(\mathbf{x}_{t},t;g)\coloneqq\mathcal{P}_{g}^{-1}\mathbf{s}_{\theta}(\mathcal{P}_{g}\mathbf{x}_{t},t)\in\mathbb{R}^{C\times h\times w}, (47) so that \mathbf{r}_{t}(\mathbf{x}_{t},g)=\tilde{\mathbf{s}}_{\theta}(\mathbf{x}_{t},t;g)-\mathbf{s}_{\theta}(\mathbf{x}_{t},t) . Throughout, \mathrm{pool}(\cdot) denotes the following convention: for A\in\mathbb{R}^{C\times h\times w} we first average over channels and then pool over spatial locations by either mean-pooling or top- k pooling (top- k averages the k largest spatial responses). We apply this to pointwise energies, e.g. \mathrm{pool}(\|\mathbf{u}\|_{2}^{2}) . Baseline normaliser. We use the pooled score energy b_{t}(\mathbf{x}_{0})\;\coloneqq\;\mathrm{pool}\!\Big(\|\mathbf{s}_{\theta}(\mathbf{x}_{t},t)\|_{2}^{2}\Big). (48) GEPC s (base-normalised residual energy). z^{(s)}_{t}(\mathbf{x}_{0})\;\coloneqq\;\mathbb{E}_{g\sim\mathrm{Unif}(\mathcal{G})}\left[\frac{\mathrm{pool}\!\Big(\|\mathbf{r}_{t}(\mathbf{x}_{t},g)\|_{2}^{2}\Big)}{b_{t}(\mathbf{x}_{0})}\right]. (49) GEPC cos (global cosine inconsistency). Let \langle a,b\rangle denote the dot product after vectorising over (c,h,w) , and \|a\| the corresponding Euclidean norm. We use z^{(\cos)}_{t}(\mathbf{x}_{0})\;\coloneqq\;\mathbb{E}_{g\sim\mathrm{Unif}(\mathcal{G})}\left[1-\frac{\langle\tilde{\mathbf{s}}_{\theta}(\mathbf{x}_{t},t;g),\mathbf{s}_{\theta}(\mathbf{x}_{t},t)\rangle}{\|\tilde{\mathbf{s}}_{\theta}(\mathbf{x}_{t},t;g)\|\,\|\mathbf{s}_{\theta}(\mathbf{x}_{t},t)\|}\right], (50) which is scale-invariant and thus requires no additional base normalisation. GEPC pair (pairwise dispersion, base-normalised). We also use explicit pair enumeration: z^{(\mathrm{pair})}_{t}(\mathbf{x}_{0})\;\coloneqq\;\mathbb{E}_{g0 2: Output: selected timesteps \mathcal{T} and weights \{w_{t}\} 3: for t\in\mathcal{T}_{\mathrm{cand}} do 4: Compute scores \{z_{t}(\mathbf{x})\}_{\mathbf{x}\in\mathcal{X}} (default: z^{(s)}_{t}(\mathbf{x}) ) 5: \mathrm{CV}(t)\leftarrow\mathrm{std}(z_{t})/(|\mathrm{mean}(z_{t})|) 6: end for 7: \mathcal{T}\leftarrow the K timesteps with smallest \mathrm{CV}(t) 8: w_{t}\propto 1/(\mathrm{CV}(t)) for t\in\mathcal{T} and normalise \displaystyle\sum_{t\in\mathcal{T}}w_{t}=1 9: return \mathcal{T} and \{w_{t}\} Appendix F Additional ablations and runtime This appendix reports comprehensive ablations for GEPC on the 32\times 32 setting. Unless stated otherwise, ablations follow the default configuration in Section 6.1 and are reported for all 9 ID/OOD pairs . For readability, we additionally provide representative plots for one pair (SVHN as ID, CIFAR-100 as OOD) in Figs. 3 – 4 . F.1 SNR-to-timestep mapping For DDPM-style schedules, we use \mathrm{SNR}(t)\coloneqq\bar{\alpha}_{t}/(1-\bar{\alpha}_{t}) and map each target SNR level ( snr_levels ) to the closest discrete index t by nearest-neighbour matching on the precomputed schedule. This yields a small candidate set \mathcal{T}_{\mathrm{cand}} . F.2 ID-only timestep selection and weighting For each t\in\mathcal{T}_{\mathrm{cand}} , we compute an ID-only stability score using the coefficient of variation \mathrm{CV}(t)=\frac{\mathrm{std}\!\left(z_{t}(\mathbf{x})\right)}{|\mathrm{mean}\!\left(z_{t}(\mathbf{x})\right)|}\,, over ID-train samples (default: z^{(s)}_{t} ). We keep the K most stable timesteps (lowest CV), yielding \mathcal{T} , and set w_{t}\propto\frac{1}{\mathrm{CV}(t)}\,, ( weight_t=inv_cv ), normalised to sum to one. We use agg_t=wmean unless stated otherwise, and fix K across datasets in the main table to keep compute comparable. Two per- t diagnostics. We distinguish (i) a component-level diagnostic that reports AUROC of the raw transported gap at each single timestep (Figure 3 c), and (ii) the AUROC of the final GEPC score when evaluated using a single timestep (stored alongside the K -sweep in Table 3 ). The former explains where symmetry-breaking arises; the latter supports the ID-only selection rule. Selected timesteps and weights (9 pairs). Table 2 reports \mathcal{T}_{\mathrm{cand}} , the default kept set ( K=2 , inv_cv ), and the corresponding weights (normalised over kept timesteps). Table 2 : Timestep candidates, selected timesteps, and (kept-only normalised) weights for the default configuration ( K=2 , weight_t=inv_cv ). CIFAR-10 (ID) SVHN (ID) CelebA (ID) vs SVHN vs CelebA vs C100 vs C10 vs CelebA vs C100 vs C10 vs SVHN vs C100 \mathcal{T}_{\mathrm{cand}} \{5,15,136,172\} \{5,15,136,172\} \{5,15,136,172\} \{5,15,136,172\} \{5,15,136,172\} \{5,15,136,172\} \{5,86,172,332\} \{5,86,172,332\} \{5,86,172,332\} kept \mathcal{T} ( K=2 ) \{5,136\} \{5,136\} \{5,136\} \{5,15\} \{5,15\} \{5,15\} \{86,172\} \{86,172\} \{86,172\} weights on kept (0.520,0.480) (0.520,0.480) (0.522,0.478) (0.429,0.571) (0.429,0.571) (0.428,0.572) (0.501,0.499) (0.501,0.499) (0.502,0.498) Sweep over K and weighting (all 9 pairs). Table 3 reports a sweep over K\in\{1,2,3,4\} and weighting choices for all 9 ID/OOD pairs. We include the implied NFE per input ( =(1+|\mathcal{G}|)\,K=8K with |\mathcal{G}|=7 ). Table 3 : Timestep selection sweep across 9 ID/OOD pairs. We report AUROC and the implied NFE per input ( 8K ). K w_{t} NFE/img CIFAR-10 (ID) SVHN (ID) CelebA (ID) vs SVHN vs CelebA vs C100 vs C10 vs CelebA vs C100 vs C10 vs SVHN vs C100 1 none 8 0.871026 0.933444 0.533699 0.756208 0.999877 0.799473 0.999333 0.999469 0.999215 2 none 16 0.835228 0.998620 0.554310 0.890817 0.999886 0.902899 0.999641 0.999771 0.999526 3 none 24 0.785096 0.998993 0.553874 0.864898 0.999978 0.883712 0.999583 0.999751 0.999537 4 none 32 0.757782 0.998891 0.565282 0.842397 0.999981 0.863905 0.999567 0.999863 0.999361 1 inv_cv 8 0.870275 0.933246 0.538961 0.759835 0.999875 0.800912 0.999540 0.999835 0.999351 2 inv_cv 16 0.841246 0.998688 0.557769 0.879337 0.999903 0.893768 0.999667 0.999792 0.999521 3 inv_cv 24 0.791385 0.998860 0.556345 0.863403 0.999985 0.880403 0.999626 0.999749 0.999441 4 inv_cv 32 0.769219 0.998881 0.566261 0.845128 0.999989 0.867956 0.999607 0.999863 0.999449 Sweep over K and weighting (representative pair). For direct comparison with the plots in Figs. 3 – 4 , Table 4 reports the same sweep for SVHN (ID) vs CIFAR-100 (OOD). Table 4 : Timestep selection sweep (SVHN as ID, CIFAR-100 as OOD). We report AUROC and predicted NFE per input ( =8K ). Best is bold , second best is underlined . K weighting w_{t} AUROC NFE/img 1 none 0.799473 8 2 none 0.902899 16 3 none 0.883712 24 4 none 0.863905 32 1 inv_cv 0.800912 8 2 inv_cv 0.893768 16 3 inv_cv 0.880403 24 4 inv_cv 0.867956 32 F.3 Per-transform ablation (group elements) Let \mathcal{G} denote the set of transported inputs used by GEPC. We compute an AUROC for each g\in\mathcal{G} by isolating the corresponding group-consistency gap, and compare it to the AUROC obtained by averaging over all transforms. Figure 3 (middle) shows a representative example. What is varied in the per- g plot. For interpretability, per-transform AUROCs are computed from the raw transported-gap component (i.e. without KDE/z-score calibration), averaged over the retained timesteps. The dashed horizontal line corresponds to averaging the same raw gap over all g\in\mathcal{G} (”mean over g ” in Figure 3 b). This diagnostic checks that performance is not driven by a single transform. 9-pair summary table. Table 5 summarises the AUROC obtained by averaging the raw gap over g\in\mathcal{G} . Since this diagnostic is unsigned (the raw gap can be ID-high or OOD-high depending on the pair), we report \max(\mathrm{AUROC},1-\mathrm{AUROC}) as a sign-invariant separability score. Table 5 : Per-transform ablation summary (9 ID/OOD pairs). We report sign-invariant AUROC of the group-averaged raw statistic: \max(\mathrm{AUROC},1-\mathrm{AUROC}) . CIFAR-10 (ID) SVHN (ID) CelebA (ID) Metric vs SVHN vs CelebA vs C100 vs C10 vs CelebA vs C100 vs C10 vs SVHN vs C100 \max(\mathrm{AUROC},1-\mathrm{AUROC}) 0.857944 0.999119 0.539358 0.915203 0.999911 0.923161 0.999707 0.999844 0.999618 F.4 Calibration variants and feature fusion We compare KDE calibration ( density_mode=kde ) against z-score normalisation and the uncalibrated score ( density_mode=none ). We also evaluate a Gaussian/Mahalanobis model on multi- t feature vectors ( vector_mode=mvn ). Calibration variants (9 pairs). Table 6 reports AUROC for calibration choices using the single feature GEPC s . Table 6 : Calibration variants for GEPC s across 9 ID/OOD pairs. Values are AUROC. Best is bold , second best is underlined within each column . CIFAR-10 (ID) SVHN (ID) CelebA (ID) Calibration vs SVHN vs CelebA vs C100 vs C10 vs CelebA vs C100 vs C10 vs SVHN vs C100 KDE (ID-only) 0.839844 0.998618 0.555951 0.878912 0.999915 0.894024 0.999644 0.999781 0.999529 z-score 0.841080 0.998967 0.556618 0.853889 0.999921 0.873391 0.999635 0.999760 0.999528 none (raw) 0.136300 0.998956 0.537980 0.911203 0.999914 0.917708 0.000346 0.000225 0.000427 MVN (Mahalanobis) 0.837607 0.998929 0.559150 0.881477 0.999913 0.890725 0.999313 0.999514 0.998825 F.5 Feature variants (single-feature ablations) We ablate the three GEPC statistics used in the paper (Appendix E for definitions). For compactness, Table 7 reports the single-feature AUROC for each statistic across 9 pairs. Figure 3 (left) visualises a representative case. Table 7 : Single-feature ablations across 9 ID/OOD pairs (three GEPC statistics). Values are AUROC under KDE calibration. Best is bold , second best is underlined within each column . CIFAR-10 (ID) SVHN (ID) CelebA (ID) Feature vs SVHN vs CelebA vs C100 vs C10 vs CelebA vs C100 vs C10 vs SVHN vs C100 GEPC s 0.838699 0.998862 0.556210 0.879254 0.999888 0.896374 0.999610 0.999764 0.999492 GEPC cos 0.584358 0.999177 0.546293 0.873489 0.999852 0.896193 0.999596 0.999820 0.999476 GEPC pair 0.819882 0.996907 0.549942 0.861242 0.999298 0.877116 0.998608 0.998695 0.998003 Fusion (mean) 0.831308 0.998614 0.557173 0.876319 0.999842 0.893592 0.999617 0.999787 0.999416 F.6 Runtime and NFEs For each timestep t , GEPC uses one reference evaluation \mathbf{s}_{\theta}(\mathbf{x}_{t},t) and one batched evaluation over transported inputs \{\mathcal{P}_{g}\mathbf{x}_{t}\}_{g\in\mathcal{G}} , hence (1+|\mathcal{G}|) forward evaluations and 0 JVPs per timestep. With m Monte-Carlo noise samples and K=|\mathcal{T}| retained timesteps, total cost is (1+|\mathcal{G}|)\,K\,m forward passes. This computation is parallelisable over g and (when memory allows) over t . Table 8 : Measured runtime for a representative 32\times 32 pair (SVHN as ID, CIFAR-100 as OOD) on a single GPU, alongside implied NFE. Timing is reported as milliseconds per image (lower is better). Hardware: NVIDIA GeForce RTX 4060 Laptop GPU (Linux, PyTorch). Variant AUROC ms/img (ID) ms/img (OOD) GEPC s + KDE 0.894024 69.92 69.96 GEPC s + z-score 0.873391 70.02 69.72 GEPC s raw 0.917708 69.68 69.66 GEPC s + MVN 0.890725 69.86 69.69 F.7 Representative plots and score distributions We provide representative plots for one pair (CIFAR-10 as ID, SVHN as OOD). Figure 3 shows feature variants, per-transform AUROC, and single-timestep AUROC vs. t . Figure 4 shows the separation of score distributions for baseline energy, transported energy gap, and the final GEPC s score. (a) Feature variants (single-feature AUROC). (b) Per-transform AUROC (raw gap component). (c) Single-timestep AUROC vs. t (raw gap component). Figure 3 : Representative ablations for GEPC (CIFAR10 as ID, SVHN as OOD). (a) Single-feature variants under the same ID-only protocol. (b) Per-transform AUROC computed from the raw transported-gap component (no calibration); the dashed line averages the same component over g\in\mathcal{G} . (c) Single-timestep AUROC computed from the raw transported-gap component; the dashed line averages the same component over the retained timesteps. (a) Score magnitude (non-GEPC). E_{t}(\mathbf{x}_{t})\coloneqq\|\mathbf{s}_{\theta}(\mathbf{x}_{t},t)\|_{2}^{2} , with \mathbf{x}_{t}\sim q(\cdot\mid\mathbf{x}_{0}) . (b) Equivariance residual energy (single-step). R_{t}(\mathbf{x}_{t},g)\coloneqq\|\Delta_{g}\mathbf{s}_{\theta}(\mathbf{x}_{t},t)\|_{2}^{2} , where \Delta_{g}f(\mathbf{x},t)\coloneqq\mathcal{P}_{g}^{-1}f(\mathcal{P}_{g}\mathbf{x},t)-f(\mathbf{x},t) . (c) Final GEPC score (time-averaged). \mathrm{GEPC}(\mathbf{x}_{0})\coloneqq\sum_{t\in\mathcal{T}}w_{t}\,\mathbb{E}_{\mathbf{x}_{t}\sim q(\cdot\mid\mathbf{x}_{0}),\;g\sim\nu_{\mathcal{G}}}\!\left[R_{t}(\mathbf{x}_{t},g)\right] . Figure 4 : Score distributions (ID vs OOD) for a representative pair (SVHN as ID, CIFAR-100 as OOD). Left: score magnitude E_{t}(\mathbf{x}_{t}) (a baseline diagnostic, not GEPC). Middle: single-step equivariance residual energy R_{t}(\mathbf{x}_{t},g) . Right: time-averaged GEPC score \mathrm{GEPC}(\mathbf{x}_{0}) aggregating R_{t} over t\in\mathcal{T} with weights w_{t} and uniform g\sim\nu_{\mathcal{G}} . Appendix G Radar SAR details SAR background (context). Synthetic Aperture Radar (SAR) is an active microwave imaging modality producing high-resolution reflectivity maps under all-weather and day/night conditions. SAR images are coherent and typically exhibit speckle and strong intensity dynamics; we therefore visualise and process patches in log-magnitude. Datasets and OOD task. We use HRSID and SSDD, two public SAR datasets commonly used for ship detection. We form an OOD task where sea-clutter-only patches are in-distribution (ID) and patches containing at least one annotated ship (and wake when visible in the patch) are out-of-distribution (OOD). Quantitative results. Patch-level OOD detection metrics are reported in Table 9 for ID sea-clutter patches from HRSID against target-containing patches from HRSID (intra-dataset) and SSDD (cross-dataset). Preprocessing and patching. For each SAR patch, we convert intensities to log-magnitude, apply per-patch normalisation, and resize/crop to 256\times 256 to match the LSUN- 256 diffusion backbone input. If the backbone expects 3 channels, we replicate the single-channel SAR patch across channels. No SAR-specific fine-tuning is performed. Equivariance residual maps and normalisation. Beyond the scalar GEPC score, we visualise the pre-pooling equivariance residual magnitude map |\Delta(\mathbf{x})| , highlighting spatial regions where equivariance breaks (typically ships/wakes) while remaining low on homogeneous sea clutter. For magnitude comparison across examples and datasets, we export globally normalised maps using a fixed v_{\mathrm{global}}=\mathrm{median}_{\mathbf{x}\in\mathcal{P}_{\mathrm{ID}}}\,q_{0.99}(|\Delta(\mathbf{x})|), computed over an ID candidate pool \mathcal{P}_{\mathrm{ID}} . We also export per-image normalised maps and raw residual maps for inspection (see exported files and metadata). ID (HRSID sea clutter) (a) Log-magnitude (b) GEPC residual (c) Overlay OOD (HRSID targets) (d) Log-magnitude (e) GEPC residual (f) Overlay OOD (SSDD targets) (g) Log-magnitude (h) GEPC residual (i) Overlay Figure 5 : Qualitative GEPC localisation on SAR patches (LSUN- 256 , no SAR fine-tuning). Residual maps are globally normalised by a shared v_{\mathrm{global}} (computed on an ID pool) to enable comparison across ID/OOD and across datasets. Table 9 : Patch-level OOD detection on SAR. ID is sea-clutter patches from HRSID; OOD are target-containing patches from HRSID and SSDD. Higher AUROC/AUPR is better; lower FPR@95%TPR is better. OOD split (targets) AUROC \uparrow FPR@95 \downarrow AUPR \uparrow HRSID-ship/wake 0.853 0.000 0.619 SSDD-ship 1.000 0.000 1.000