Manuscript Offprint
arXiv:2610.34617Valid Early Detection of Memorization in Diffusion Models
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Diffusion models can sometimes reproduce examples from their training data, a phenomenon known as memorization. Existing memorization detection methods for unconditional diffusion models typically operate at a pre-selected timestep and therefore cannot adapt the detection time to the evolving denoising trajectory. Sequential monitoring enables adaptive detection but repeated testing across timesteps complicates trajectory-level false-alarm control. We study two ways of combining split conformal calibration with sequential monitoring for prompt-free memorization detection: per-step Bonferroni calibration and direct trajectory-level calibration of the maximum memorization score. The former controls repeated testing by splitting the false-alarm budget across timesteps, whereas the latter calibrates the event of ever crossing a threshold directly through the trajectory-level maximum. We evaluate this formulation on an unconditional CIFAR-10 EDM using two complementary per-step statistics based on geometry and representation spikiness. Experiments show that sequential monitoring improves the power–timing tradeoff over fixed-time detection. Compared with Bonferroni calibration, trajectory-level calibration achieves comparable detection power while using the false-alarm budget less conservatively and enabling earlier detection at higher noise levels.

Figure 1: Early warning before generation finishes. Top shows schematic comparison of fixed-time checks at a preselected step and adaptive alarms at trajectory-dependent steps. Intermediate panels show the model's denoised predictions at selected sampling steps. The memorized trajectory triggers its first alarm at step 8 of 18, while the generalized trajectory triggers no alarm. Final outputs are shown beside their nearest training images, with SSCD similarity scores.
1 Introduction
Diffusion models have demonstrated remarkable generalization capabilities, enabling the generation of diverse and novel images [Kadkhodaie et al., 2024, Zhang et al., 2024]. However, a growing body of research has shown that these models may also reproduce samples from their training data, a phenomenon known as memorization [Carlini et al., 2023, Somepalli et al., 2023a,b], which substantially reduces the novelty and privacy of the generated content.
Motivated by this concern, recent work has investigated the mechanisms and detection of memorization in diffusion models. One line of work focuses on understanding when and how memorization emerges during the denoising process. Research suggests that memorization is most pronounced during an intermediate stage of denoising [Dodson et al., 2026, Kaiser and Kollmann, 2026], while its effects become apparent near the end of the generation process [Biroli et al., 2024]. Although this line of work does not provide an explicit detection procedure, it offers important insights into when memorization-related signals emerge during denoising and suggests that informative statistics may emerge before its effects become apparent.
The second line of work focuses on distinguishing trajectories that ultimately lead to memorization. Existing detection methods fall into two groups. The first group is prompt-based, which exploits text-conditioning statistics and can enable early detection [Wen et al., 2024, Ren et al., 2024]. However, these methods are not applicable to unconditional diffusion. The second group is prompt-free, relying on geometric or representation-based statistics to detect memorization [Ross et al., 2025, Zhang et al., 2026]. Nevertheless, these approaches require the selection of a fixed noise level or timestep and are typically applicable only relatively late in the denoising process, while early detection can further enable inference-time mitigation before generation is completed [Wen et al., 2024]. Chen et al. [2024] instead monitor memorization similarity throughout denoising with time-dependent thresholds, but do not provide statistical control of trajectory-level false alarms.
This leaves a gap for prompt-free detection: fixed-time procedures cannot adapt the detection time to individual trajectories, whereas sequential monitoring enables such adaptivity but introduces repeated-testing effects. Figure 1 illustrates our goal of detecting memorizing trajectories during sampling without falsely alarming generalized trajectories. We study how split conformal calibration [Vovk et al., 2005, Angelopoulos and Bates, 2021] can be combined with sequential monitoring in this setting. We compare three strategies: fixed-time calibration, per-step Bonferroni calibration for sequential monitoring, and direct trajectory-level calibration of the maximum memorization score. The trajectory-level strategy calibrates the maximum score over the trajectory, treating the entire monitoring event as a single scalar statistic. We establish finite-sample false-alarm control for all three strategies and show empirically that sequential monitoring improves the power-timing tradeoff over fixed-time detection, while trajectory-level calibration is less conservative and enables earlier detection than per-step Bonferroni calibration.
2.1 Diffusion Trajectories and Memorization
A diffusion model generates a sample by progressively denoising an initial noise sample. To facilitate sequential testing, we index the reverse process in increasing order and define a denoising trajectory as follows
where is the initial noisy sample and is the final generated image. Throughout, we use a deterministic -step EDM sampler whose noise levels decrease from to , where is the EDM noise level at step and a higher corresponds to an earlier, less-denoised stage of generation (Appendix A.3).
We cast the detection of memorization as a sequential testing problem
where and denote the distributions of generalized and memorized trajectories, respectively; we write and for probabilities under these two distributions. Operationally, we label a trajectory by the largest cosine similarity between and any training image under a pretrained SSCD encoder [Pizzi et al., 2022] with generalized below 0.5 and memorized above 0.9. The intermediate band is excluded and no guarantee is claimed for it (detailed in Appendix A.3).
2.2 Detection Statistics and Memorization Scoring
We use two per-step scalar statistics that capture distinct mechanisms, showing that the framework is not tied to a specific statistic. We denote the statistic at timestep t generically by .
The first statistic, trF, is motivated by the density-sharpness characterization of memorization in Jeon et al. [2025]. It is the trace of the Jacobian of a network function with respect to its input :
where is the raw EDM network output and its preconditioned input.
The second statistic, StD, measures representation spikiness [Zhang et al., 2026] through the channel-wise standard deviation after spatial global-max pooling:
where denotes an intermediate network representation at timestep t.
Network choices, input preconditioning, trace estimation, and further implementation details are provided in Appendix A.1.
To train and calibrate the scoring model, we split the labeled trajectories , where for generalized and for memorized trajectories, at the trajectory level into a fitting set , a validation set , and a test set . Conformal thresholds are computed from a null calibration set of held-out generalized trajectories in ; false alarms and detection power are evaluated on the remaining generalized and memorized test trajectories, respectively. The detailed splits are provided in Appendix A.3.
Given the statistic history up to timestep , we train a causal scoring model
where g is implemented as a causal Gated Recurrent Unit (GRU) [Cho et al., 2014] and is a memorization score based only on information available up to timestep t.
At every timestep, is trained with binary cross-entropy (BCE) against the final label , so that estimates , the probability that the trajectory ends memorized given the statistics observed so far.
3 Valid Sequential Detection
3.1 Calibration Strategies
For a target trajectory-level false-alarm level , we consider fixed-time calibration, per-step Bonferroni calibration, and trajectory-level max calibration. The key idea of the trajectory-level strategy is to calibrate the event of ever crossing a common threshold as a single trajectory-level statistic:
Let , and let denote the score of a new test trajectory at timestep . We now define the three procedures.
Fixed-Time Conformal Detection Let denote the ordered scores of the null calibration trajectories at . For a target false-alarm level , define
Thus, is the th smallest calibration score at . We use the convention when necessary. For a new trajectory, the fixed-time detector alarms at if . Equivalently, define
Bonferroni Sequential Calibration As a natural way to obtain trajectory-level validity, we calibrate the score at each timestep using significance level . Let , with , denote the ordered null calibration scores at timestep . We define
The corresponding alarm time is
Trajectory-Level Max Calibration Trajectory-level calibration treats the event of crossing a common threshold at any timestep as a single trajectory-level statistic. For each null calibration trajectory, define
Let denote the ordered trajectory-level scores, with . Define
For a new trajectory, the corresponding alarm time is
where . For all three procedures, means no alarm during the trajectory. If a calibration index equals , the corresponding threshold is , so it cannot be exceeded.
3.2 Validity
For sequential detection, validity means controlling the probability of ever falsely flagging a generalized trajectory over the entire denoising process. This is important because repeated monitoring across timesteps can inflate the overall false-alarm probability without trajectory-level control.
Our validity results assume that, under , the calibration trajectories and a new test trajectory are exchangeable, and that the scoring function is fixed before calibration. We verify this by construction in Appendix A.4.
The validity of all three strategies follows from the quantile lemma [Tibshirani et al., 2019], which gives a finite-sample exceedance bound for an exchangeable test score calibrated by an empirical quantile. Fixed-time calibration applies this result to at level , while trajectory-level max calibration applies it to at level . Bonferroni calibration applies the same result separately to each at level , followed by a union bound over timesteps. Consequently, all three strategies satisfy
Detailed proofs are provided in Appendix C.
4 Experiments
4.1 Evaluation Metrics
The guarantee of Section 3.2 controls , which we estimate by the false positive rate (FPR) on generalized evaluation trajectories. The true positive rate (TPR) on memorized test trajectories estimates the detection power . An FPR well below indicates that a procedure leaves part of its false-alarm budget unspent.
To characterize detection timing under , we define the decision step for fixed-time detection and for sequential detection. We report , where larger indicates earlier detection. We also report the cumulative detection probability , whose value at equals the overall detection power.
4.2 Power-Timing Tradeoff Across Settings
Figure 2 summarizes the power–timing tradeoff for both statistics and all three false-alarm levels. Fixed-time detectors trace out the operating points obtained by varying the pre-selected noise level , while the two sequential calibration strategies are positioned at their respective mean decision noise levels under .
Fixed-time detector Bonferroni calibration Trajectory-level max calibration

Figure 2: Power-timing tradeoff across statistics and false-alarm levels. Curves show fixed-time detectors across pre-selected noise levels ; square and diamond markers denote sequential detection under per-step Bonferroni calibration and trajectory-level max calibration, respectively, positioned at their mean decision noise levels under . The horizontal axis is logarithmic, with higher noise levels corresponding to earlier stages of denoising.
Across all six settings, both sequential calibration strategies achieve high detection power at relatively high mean decision noise levels, corresponding to earlier stages of denoising. Trajectory-level max calibration is generally shifted further toward higher-noise stages than Bonferroni calibration, particularly for StD. This reflects that trajectories with stronger evidence can be detected early, while harder trajectories continue to be monitored. Consequently, sequential monitoring can attain high detection power while making decisions earlier than fixed-time procedures with comparable power.
4.3 Cumulative Detection Probability Along the Denoising Trajectory

Figure 3: Cumulative detection probability for StD at . Fixed-time procedures use pre-selected noise levels , corresponding to for the sampler; sequential procedures use per-step Bonferroni calibration or trajectory-level max calibration.
Figure 3 shows how the cumulative detection probability evolves along the denoising trajectory. The fixed-time procedures at are selected to span the transition from moderate detection power to the near-saturated regime. As shown, fixed-time procedures cannot detect a trajectory before its pre-selected noise level is reached, whereas sequential monitoring allows the alarm time to adapt to each trajectory. Among the two sequential calibration strategies, trajectory-level max calibration accumulates detections at higher noise levels than Bonferroni calibration, while both eventually achieve near-perfect detection power.
4.4 Sequential Calibration Strategies
Table 1: Comparison of sequential calibration strategies at . FPR, TPR, and mean decision noise level with standard deviation over five random splits are reported. Larger corresponds to earlier detection. The empirical FPR may exceed on a finite evaluation set.
| Statistic | Calibration | FPR | TPR | |
|---|---|---|---|---|
| trF | Bonferroni | |||
| Trajectory-level max | ||||
| StD | Bonferroni | |||
| Trajectory-level max |
Table 1 compares the two sequential calibration strategies at . Bonferroni calibration is more conservative, yielding lower empirical FPRs (0.021 and 0.017 for trF and StD): scores at nearby timesteps are strongly dependent, so the per-step crossing events overlap heavily and their probabilities sum to well above the probability of their union. It also requires null calibration trajectories, which our only narrowly satisfies. Trajectory-level max calibration instead requires only , uses more of the available false-alarm budget, and maintains comparably high detection power. It also yields earlier decisions, particularly for StD, where the mean decision noise level increases from 4.900 to 7.678. Further discussion of conservativeness and results for are provided in Appendix C.4 and Appendix B.
5 Conclusion
We studied prompt-free early detection of memorization as a sequential testing problem. Under exchangeability and with a scoring function fixed before calibration, fixed-time, Bonferroni, and trajectory-level max calibration all provide finite-sample control of the probability of a false alarm. Experiments on an unconditional CIFAR-10 EDM show that sequential monitoring improves the power–timing tradeoff over fixed-time detection. Among the sequential procedures, trajectory-level max calibration uses the false-alarm budget less conservatively than Bonferroni calibration, enabling earlier detection while maintaining comparable detection power. These results show that calibrating the monitoring event at the trajectory level can provide adaptive alarm times and finite-sample false-alarm control.
Our evaluation is limited to an unconditional CIFAR-10 EDM and uses well-separated endpoint similarity thresholds (Section 2.1) to define clearly memorized and generalized trajectories. The approach also requires an auxiliary causal scoring model trained on labeled trajectories. Future work should evaluate larger and more heterogeneous models, consider less separated memorization regimes, and investigate how early alarms can be used for inference-time mitigation.
References
Anastasios N. Angelopoulos and Stephen Bates. A gentle introduction to conformal prediction and distribution-free uncertainty quantification. arXiv preprint arXiv:2107.07511, 2021.
Giulio Biroli, Tony Bonnaire, Valentin de Bortoli, and Marc Mézard. Dynamical regimes of diffusion models. Nature Communications, 15:9957, 2024.
Nicolas Carlini, Jamie Hayes, Milad Nasr, Matthew Jagielski, Vikash Sehwag, Florian Tramèr, Borja Balle, Daphne Ippolito, and Eric Wallace. Extracting training data from diffusion models. In 32nd USENIX Security Symposium (USENIX Security 23), pages 5253–5270, 2023.
Chen Chen, Daochang Liu, and Chang Xu. Towards memorization-free diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 8425–8434, 2024.
Kyunghyun Cho, Bart van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using RNN encoder–decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014.
Nick Dodson, Xinyu Gao, Qingsong Wang, Yusu Wang, and Zhengchao Wan. Two calm ends and the wild middle: A geometric picture of memorization in diffusion models. arXiv preprint arXiv:2602.17846, 2026.
M. F. Hutchinson. A stochastic estimator of the trace of the influence matrix for Laplacian smoothing splines. Communications in Statistics – Simulation and Computation, 19(2):433–450, 1990.
Dongjae Jeon, Dueun Kim, and Albert No. Understanding and mitigating memorization in generative models via sharpness of probability landscapes. In Proceedings of the 42nd International Conference on Machine Learning (ICML), volume 267 of Proceedings of Machine Learning Research, pages 27091–27112, 2025. URL https://openreview.net/forum?id=EW2JR5aVLm.
Zahra Kadkhodaie, Florentin Guth, Eero P. Simoncelli, and Stéphane Mallat. Generalization in diffusion models arises from geometry-adaptive harmonic representations. In The Twelfth International Conference on Learning Representations (ICLR), 2024. URL https://openreview.net/forum?id=ANvmVS2Yr0.
Tim Kaiser and Markus Kollmann. Diffusion models memorize in training — and generalize in inference. arXiv preprint arXiv:2603.13419v2, 2026. doi: 10.48550/arXiv.2603.13419. URL https://arxiv.org/abs/2603.13419v2. Version 2.
Tero Karras, Miika Aittala, Timo Aila, and Samuli Laine. Elucidating the design space of diffusion-based generative models. In Advances in Neural Information Processing Systems, 2022.
Ed Pizzi, Sreya Dutta Roy, Sugosh Nagavara Ravindra, Priya Goyal, and Matthijs Douze. A self-supervised descriptor for image copy detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 14532–14542, 2022.
Jie Ren, Yaxin Li, Shenglai Zeng, Han Xu, Lingjuan Lyu, Yue Xing, and Jiliang Tang. Unveiling and mitigating memorization in text-to-image diffusion models through cross attention. In European Conference on Computer Vision (ECCV), 2024.
Brendan Leigh Ross, Hamidreza Kamkari, Tongzi Wu, Rasa Hosseinzadeh, Zhaoyan Liu, George Stein, Jesse C. Cresswell, and Gabriel Loaiza-Ganem. A geometric framework for understanding memorization in generative models. In The Thirteenth International Conference on Learning Representations (ICLR), 2025. URL https://openreview.net/forum?id=aZ1gNJu8w0.
Gowthami Somepalli, Vasu Singla, Micah Goldblum, Jonas Geiping, and Tom Goldstein. Diffusion art or digital forgery? investigating data replication in diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 6048–6058, 2023a.
Gowthami Somepalli, Vasu Singla, Micah Goldblum, Jonas Geiping, and Tom Goldstein. Understanding and mitigating copying in diffusion models. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, pages 47783–47803, 2023b.
Ryan J. Tibshirani, Rina Foygel Barber, Emmanuel J. Candès, and Aaditya Ramdas. Conformal prediction under covariate shift. In Advances in Neural Information Processing Systems, volume 32, pages 2530–2540, 2019.
Vladimir Vovk, Alexander Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer, 2005.
Yuxin Wen, Yuchen Liu, Chen Chen, and Lingjuan Lyu. Detecting, explaining, and mitigating memorization in diffusion models. In The Twelfth International Conference on Learning Representations (ICLR), 2024. URL https://openreview.net/forum?id=84n3UwkH7b.
Huijie Zhang, Jinfan Zhou, Yifu Lu, Minzhe Guo, Peng Wang, Liyue Shen, and Qing Qu. The emergence of reproducibility and consistency in diffusion models. In Proceedings of the 41st International Conference on Machine Learning (ICML), 2024. URL https://openreview.net/forum?id=Hsli0qZkc0.
Zekai Zhang, Xiao Li, Xiang Li, Lianghe Shi, Meng Wu, Molei Tao, and Qing Qu. Generalization of diffusion models arises with a balanced representation space. In The Fourteenth International Conference on Learning Representations (ICLR), 2026. URL https://openreview.net/forum?id=57THeGgNAN.
A Additional Experimental Setup
A.1 Per-step Statistics
The trF and StD statistics are defined in Section 2.2. For trF (Eq. 3), is the raw EDM network output and is its preconditioned network input [Karras et al., 2022]. We estimate the trace using Hutchinson's estimator [Hutchinson, 1990] with Rademacher probes. Under EDM preconditioning, this quantity is affinely related, at each fixed noise level, to the score-Jacobian trace, equivalently the Laplacian of the model log-density.
For StD, following Zhang et al. [2026], we use the activation at 8x8_block3.norm0 as in Eq. 4. We apply spatial global-max pooling and compute the channel-wise standard deviation.
A.2 Scoring Model
For each statistic, we train a separate GRU scoring model. The scoring model uses a one-layer GRU with hidden dimension 64, followed by a linear head with sigmoid activation. The input at each step is the scalar statistic concatenated with the 16-dimensional Fourier time embedding of (8 base frequencies, sine and cosine). We train using AdamW with learning rate , weight decay , and cosine learning-rate scheduling, batch size 256 trajectories, gradient clipping at norm 1.0, for at most 300 epochs. Early stopping for validation is based on the BCE loss on with 40 epochs (tolerance ); the weights of the best-validation-loss epoch are retained.
A.3 Experimental Setup
Model and generation The model is the pretrained EDM checkpoint of Zhang et al. [2026], an unconditional CIFAR-10 diffusion model trained on the standard 50000-image CIFAR-10 training set augmented with 100 duplicated targets (the first ten images per class replicated each, adding 5000 duplicate samples).
In EDM, denotes the noise level conditioning the denoiser: a clean sample is perturbed by Gaussian noise with standard deviation , and larger therefore corresponds to a noisier, less-denoised state. Sampling proceeds from high to low noise levels [Karras et al., 2022].
We use the deterministic 18-step Heun sampler [Karras et al., 2022] with the standard EDM schedule , , and . The resulting noise levels satisfy
so that step 1 corresponds to the initial high-noise state and step T to the final denoised sample. We generate trajectories from independent random seeds.
Ground-truth memorization labeling Define the training-set similarity score
where denotes the cosine similarity between the embeddings of and produced by a pretrained Self-Supervised Copy Detection (SSCD) encoder [Pizzi et al., 2022], and denotes the training set used to train the diffusion model.
Following Zhang et al. [2026], we use and , and define
Trajectories in the intermediate region are excluded. The trajectory distributions used in the main text are then the conditional distributions of given and , denoted by and , respectively.
False-alarm control applies to the population, while detection power is evaluated on the population; no guarantee is claimed for intermediate trajectories.
Applying this protocol to our 25000 trajectories yields 2881 memorized, 5104 generalized, and 17015 ambiguous.
Data splits After removing ambiguous samples, we retain 7985 trajectories, including 2881 memorized and 5104 generalized trajectories. We split them at the trajectory level into , , and with a 70%/15%/15% ratio, yielding 5572, 1198, and 1215 trajectories, respectively. Memorized trajectories are grouped by their nearest training example during splitting to prevent the same duplicated target from appearing across splits.
The GRU is fitted on and early stopping is performed using . After training, the scoring model is frozen. The test set contains 449 memorized and 766 generalized trajectories. For each of five random splits, the generalized test trajectories are divided equally into a null calibration set and a generalized evaluation set, with 383 trajectories each; the latter together with all 449 memorized test trajectories forms . Conformal thresholds are computed only from ; FPR is evaluated on the generalized trajectories in , while TPR is evaluated on all 449 memorized test trajectories.
Compute resources Experiments were run on a single NVIDIA RTX 4090 with 24 GB GPU memory. A single scoring-model training run takes approximately 15 minutes. Generating the 25000-trajectory statistics takes approximately 6 GPU-hours for the trF signal and 2 GPU-hours for the StD signal; downstream labeling, calibration, and evaluation across the five random splits together take under one additional GPU-hour. The full pipeline for both signals therefore requires approximately 12–15 total GPU-hours. Preliminary experiments during method development (exploring alternative statistics, StD layer choices, scoring architectures, labeling protocols, and calibration variants) required approximately 30 additional GPU-hours.
Existing assets We use CIFAR-10, the EDM implementation of Karras et al. [2022] and the SSCD encoder of Pizzi et al. [2022]. The EDM code and pretrained models are released under CC BY-NC-SA 4.0, and the SSCD codebase under the MIT License. CIFAR-10 is used according to its original distribution terms. The pretrained CIFAR-10 EDM checkpoint of Zhang et al. [2026] we applied was provided by the original authors and used with their permission.
A.4 Exchangeability by Construction
The validity results rely on exchangeability of the null calibration and test trajectories, conditional on and , which holds by construction for three reasons.
First, all 25000 trajectories are drawn from the same frozen EDM checkpoint using the same deterministic sampler and the same noise schedule, with initial noise drawn from independent seeds. The trajectories are therefore i.i.d. draws from a single distribution, and i.i.d. implies exchangeable.
Second, the same SSCD encoder, the same training-image index, and the same thresholds are applied to every trajectory. Conditioning on L = 0 is a selection operator applied identically to all trajectories, so the null pool remains exchangeable; calibration and evaluation trajectories are drawn from this common pool.
Finally, the scoring model is fitted on and early-stopped on , both disjoint from . Conditional on and , is a fixed measurable map applied identically to every trajectory, and exchangeability is preserved under a common measurable transformation. The trF statistic additionally depends on the probes. They are drawn i.i.d. across trajectories and independently of the sampling seeds, so is a common randomized measurable map and exchangeability is preserved.
B Sequential Calibration Across False-Alarm Levels
Table 2 extends the sequential calibration comparison in Table 1 to . The same qualitative behavior is observed: per-step Bonferroni calibration yields lower empirical FPRs, whereas trajectory-level max calibration uses more of the available false-alarm budget while maintaining high detection power. Across these settings, trajectory-level calibration also shifts decisions toward higher-noise, less-denoised stages of the reverse process.
Table 2: Comparison of sequential calibration strategies at and . FPR, TPR, and mean decision noise level with standard deviation over five random splits are reported. Larger corresponds to earlier detection.
| Statistic | Calibration | FPR | TPR | ||
|---|---|---|---|---|---|
| 0.10 | trF | Bonferroni | |||
| Trajectory-level max | |||||
| StD | Bonferroni | ||||
| Trajectory-level max | |||||
| 0.20 | trF | Bonferroni | |||
| Trajectory-level max | |||||
| StD | Bonferroni | ||||
| Trajectory-level max |
C Proofs
Throughout this section we assume the exchangeability condition of Section 3.2. All alarm times take values in , where denotes that no alarm is raised within the finite horizon. All rejection rules use strict inequalities, so the conformal bounds remain valid in the presence of ties.
C.1 Validity of Fixed-Time Conformal Detection
For the pre-selected timestep , exchangeability of the null trajectories and the fact that is fixed before calibration imply that
are exchangeable.
By the quantile lemma,
Since
we have
Hence,
C.2 Validity of Bonferroni Sequential Detection
For any fixed timestep , exchangeability of the null trajectories and the fact that is fixed before calibration imply that
are exchangeable. For each timestep , the quantile lemma gives
Define the threshold-crossing event at timestep as
The Bonferroni alarm time is
The detector alarms by time T if and only if at least one of the events occurs. Hence,
(23)
Therefore,
C.3 Validity of Trajectory-Level Max Calibration
Recall that
and
Because the same fixed scoring function and the same maximum operator are applied to every trajectory, exchangeability of the trajectories implies exchangeability of
Applying the quantile lemma under exchangeability,
(27)
Under trajectory-level max calibration, the sequential alarm time is
where , the event that the detector alarms at any point along the trajectory is exactly
(29)
Hence,
C.4 Comparison of Bonferroni and Trajectory-Level Calibration
Conservativeness The Bonferroni guarantee follows from the union bound,
In diffusion trajectories, scores at nearby timesteps can be strongly dependent, so the events may overlap substantially. In this case, the union bound can contain considerable slack, and the realized trajectory-level false-alarm probability can be substantially below .
An alternative is to calibrate the trajectory-level maximum
directly under . This treats the entire monitoring event as a single trajectory-level statistic and therefore avoids splitting the false-alarm budget across timesteps. When timestep-wise crossing events are strongly dependent, this calibration can be less conservative than a Bonferroni construction.
Calibration-size requirement Beyond conservativeness, the two procedures differ in how much null data they require. For the per-step threshold to be finite, the order statistic index must satisfy , which requires
Direct calibration of the trajectory-level maximum instead requires only , independent of the horizon . At and , these bounds are 359 and 19 respectively.