- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
COMET is an unsupervised multivariate time-series anomaly detection framework built around three components. First, a Multi-scale Patch Encoder extracts patch embeddings at multiple temporal scales, combining variable-wise encoders for individual temporal dynamics with a shared core encoder for inter-variable structure. Second, a Vector-Quantized Coreset maps these embeddings to learned codebook prototypes representing normal patterns. Anomaly scores combine quantization error with a density-aware memory distance to the learned normal prototypes. Third, Online Codebook Adaptation updates the codebook at inference time by using training-activated codebook entries to identify reliable normal samples and applying contrastive adaptation.
The paper evaluates COMET on five standard TSAD benchmarks: PSM, SWaT, SMAP, MSL, and WADI. It compares against seven baselines and reports point-wise metrics, point-adjusted F1, threshold-free AUC-style metrics, and range-based metrics including Affiliation-F1, R-AUC, and VUS. The main empirical claim is that COMET without test-time adaptation obtains the best performance on 39 out of 45 metrics, while the TTA version improves many metrics further. The paper also includes component ablations, efficiency analysis, UMAP visualizations, and hyperparameter sensitivity studies.
Strengths and weaknesses
Strengths
The paper has several strengths. The method is motivated by real challenges in multivariate time-series anomaly detection: anomalies may occur over different temporal ranges, may arise from inter-variable interactions, and may be affected by non-stationarity at test time. The three main modules of COMET are each tied to one of these challenges. Multi-scale patching addresses temporal granularity, the variable-wise/shared encoder design addresses both per-variable dynamics and cross-variable correlation, the VQ coreset provides a compact memory of normal prototypes, and online adaptation targets distribution shift.
The codebook/prototype formulation is a natural fit for unsupervised anomaly detection. It gives a concrete representation of normal patterns and supports an interpretable distance-based anomaly score. The dual scoring scheme, combining quantization error and density-aware memory distance, is also sensible: quantization error captures mismatch to learned prototypes, while local scaling helps account for non-uniform prototype density. The activation-based TTA mechanism is a useful idea because it avoids directly filtering test samples by an anomaly-score threshold before adaptation.
The empirical evaluation is broad by the standards of the TSAD literature. The paper reports results on five common benchmarks and, importantly, does not rely only on point-adjusted F1. Including unadjusted point-wise metrics and range-based metrics such as Affiliation-F1, R-AUC, and VUS is a methodological strength, since point-adjusted F1 can substantially overstate performance in anomaly detection. The ablation study is also helpful: removing multi-scale encoding, quantization score, memory score, local scaling, variable selection, normalization, TTA, and contrastive learning each gives information about the role of individual components. The efficiency analysis is another positive point; COMET appears parameter-efficient relative to larger transformer-style baselines.
Weaknesses
The main weakness is that the empirical setting is fragile. PSM, SWaT, SMAP, MSL, and WADI are standard TSAD benchmarks, but the broader TSAD benchmark/evaluation ecosystem is known to be problematic. Wu and Keogh argue that many widely used time-series anomaly detection benchmarks contain artifacts that can create an illusion of progress [1]. More recent evaluation work also shows that point-adjusted/event-level scoring can substantially distort measured detector quality, making some detectors look strong even when localization quality is poor [2]. Thus, while COMET’s reported performance is strong, the main “39/45 metrics” result should be interpreted with caution because it is tied to this benchmark family and to many correlated metrics.
To the authors’ credit, the paper does more than many TSAD papers by reporting range-based and threshold-free metrics such as Affiliation-F1, R-AUC, VUS, AUC-ROC, and AUC-PR, rather than relying only on point-adjusted F1. This partially addresses the concern. Still, results on a cleaner recent benchmark, a controlled synthetic benchmark with known point/contextual/collective anomaly types, or a fixed-threshold deployment-style protocol would make the empirical claim substantially stronger.
Other weaknesses include:
-
Gains on some metrics/datasets are modest or mixed. On several individual cells in Table 1 the margin over the second-best is small, and "best on 39/45" aggregates across metrics that are correlated. A statistical-significance treatment (variance across seeds, paired tests) is not evident in the main text and would help (importance emphasized as a stand-alone line-item below).
-
Protocol Sensistivity. For thresholded metrics, the paper uses best-F1 threshold search. This is common in the literature, but it is not deployment-realistic if the threshold is selected using labeled test anomalies. Since COMET is positioned as unsupervised and online-adaptive, it would be important to know how performance changes under a fixed validation threshold, a contamination-controlled calibration set, or threshold-free evaluation only.
-
TTA contribution. The TTA contribution is less convincing than the static COMET pipeline. The paper reports that COMET without TTA is best on 39/45 metrics, while the TTA version improves 35/45 metrics. In the averaged ablation, removing TTA changes several metrics only modestly, and disabling contrastive learning has small effects. This suggests that most of the gain may come from the representation and scoring pipeline rather than online adaptation. The authors should more clearly characterize when TTA helps, when it hurts, and whether online adaptation can accumulate contamination over time.
-
Statistical robustness. The paper uses a single random seed and does not report confidence intervals or significance tests for the main results. Given the sensitivity of anomaly detection benchmarks to preprocessing, thresholding, and implementation details, multi-seed variation and paired comparisons would make the empirical claims more reliable.
Ref:
-
Wu, R., & Keogh, E. J. (2023). Current time series anomaly detection benchmarks are flawed and are creating the illusion of progress. IEEE Transactions on Knowledge and Data Engineering, 35(3), 2421–2429. https://doi.org/10.1109/TKDE.2021.3112126
-
Huet, A., Navarro, J. M., & Rossi, D. (2022). Local evaluation of time series anomaly detection algorithms. arXiv preprint arXiv:2206.13167.
Questions
-
For thresholded metrics, are best-F1 thresholds selected using labeled test anomalies? If so, can you report deployment-realistic results using a validation/calibration threshold, or emphasize threshold-free metrics as the primary comparison?
-
How much of the 39/45 result depends on per-dataset tuning of codebook size, model dimension, patch scales, local-neighbor count, EMA momentum, and score mixing weight? Can you report performance under a single fixed configuration across all datasets?
-
The TTA variant is a core contribution, but COMET without TTA is reported as best on 39/45 metrics, while TTA improves 35/45 metrics. Can you clarify when TTA helps versus hurts, and whether adaptation can degrade over long streams due to contaminated pseudo-normal updates?
-
How robust is COMET when the training set contains anomalous contamination, e.g. 1%, 5%, or 10% anomalies? This directly tests the assumption that training-activated codebook entries are reliable normal prototypes.
-
Can you report multiple-seed means/standard deviations or paired significance tests for the main metrics? This would help establish whether the margins over the strongest baselines are statistically meaningful.
Limitations
The authors acknowledge two important limitations: codebook size is tuned empirically per dataset, and heavy training contamination may weaken pseudo-labeling because COMET assumes predominantly normal training data. These are relevant and appreciated.
However, I think several additional limitations should be discussed. First, the evaluation relies entirely on standard TSAD benchmarks whose validity is contested; the main result should be interpreted with that caveat. Second, the method has a large hyperparameter surface, and practical performance may depend on per-dataset tuning. Third, thresholded metrics use best-F1 threshold search, which may overstate deployable unsupervised performance if test labels are involved. Fourth, the statistical robustness of the results is limited by single-seed reporting. Finally, online adaptation may be vulnerable to gradual contamination or novel normal regimes, and the paper should discuss how such failures would be detected or mitigated in deployment.
No major societal risks are specific to this work beyond the usual operational risks of anomaly detection systems, namely false alarms, missed anomalies, and overconfidence in automated monitoring.
Paper formatting concerns
N/A
Final justification
I thank the authors for their detailed responses and promised edits to the final manuscript. I maintain my positive score of 5 (Accept).
We sincerely thank the reviewer for the detailed and constructive assessment and encouraging evaluation. The comments identify where additional evidence would strengthen our claims, and we address them below. Due to space, we report a subset of the experiments; where a single baseline is shown we report the strongest-performing one.
Q1. Threshold selection (also addresses the "Protocol Sensitivity" weakness).
We agree that a threshold obtained by best-F1 search is not deployment-realistic, since it uses test labels; we report it as an upper bound for comparability with prior work, as it isolates the model's attainable utility from the confound of thresholding. That said, following the reviewer's suggestion, we additionally evaluate under deployment-realistic thresholds.
Table Q1. Threshold sensitivity on SMAP (representative thresholds).
COMET's threshold-free scores (e.g., VUS-PR) are invariant to the thresholding scheme and stay above the baselines, so its advantage is not due to a favorable threshold; on thresholded metrics it remains comparable or ahead even at conservative, deployment-realistic thresholds. The gains are thus not an artifact of oracle thresholding.
Q2. Dependence on per-dataset tuning.
To assess dependence on per-dataset tuning, we evaluate a single fixed configuration across all datasets (codebook size 128, dim 128, patches [2,4,6], strides [1,2,3], neighbors 10).
Table Q2. Fixed-capacity COMET vs. CATCH (Aff-F1 / VUS-PR).
Under one global configuration COMET is best on four of five datasets on both metrics, so the "39/45" result is not primarily due to per-dataset tuning. That said, some tuning — notably the codebook size — still helps, as a capacity parameter like the memory size in memory-bank methods, which we keep as an acknowledged limitation with sensitivity in the appendix.
Q3. When TTA helps, when it does not, and long-stream stability (also addresses the "TTA contribution" weakness).
We agree the role of TTA should be characterized more carefully. Its effect can be explained by the amount of test-time shift, which we assess by comparing Static (no adaptation) against an Oracle-normal TTA that updates only on ground-truth normal patches — a clean-label reference for how much adaptation could help.
Table Q3a. Static vs. Oracle-normal TTA (clean-label reference).
On WADI the Static-to-Oracle gap is large, so adaptation has room to help; on SMAP it is near zero, so adaptation can contribute little. A distribution-shift proxy explains this:
Table Q3b. Train-to-test distribution shift (5 seeds).
Both quantities are larger when the test data drifts further from training in codebook space: a higher Jensen-Shannon distance means test patches activate a more different mix of codewords than training did, and a higher negative log training frequency means test patches fall on codewords that were rarely used as normal. WADI has the larger shift on both and is where TTA helps most, while SMAP has little shift and little to gain. TTA thus activates in proportion to the shift — not a generic booster, and neutral rather than harmful where no shift exists.
For long-stream behavior we use CATSv2 (train/val/test = 800K/200K/4M); its long test split makes accumulated drift or contamination most likely to surface.
Table Q3c. Codebook stability and detection over the CATSv2 long stream.
Codebook drift (L2 movement of codewords) and assignment flip rate (fraction of patches whose nearest codeword changes) both stay near zero over four million steps, while TTA still improves detection (F1@0 0.723 → 0.771) — the update tracks benign drift rather than collapsing.
Q4. Training contamination robustness.
Since COMET treats training-activated codewords as normal, we test robustness when the training set itself contains anomalies. We inject labeled anomalous windows into the training split at a target ratio, train normally without using their labels, and check whether the training-activated codebook entries remain reliable.
Table Q4. Training contamination (COMET w/ TTA; Aff-F1 / VUS-PR).
COMET's performance is largely flat as contamination rises from 0% to 25%. This fits the prototype design: a modest fraction of anomalous patches is unlikely to form dominant prototypes, so the normal support is preserved. As acknowledged in the paper, COMET assumes predominantly-normal training, so heavy contamination would eventually weaken pseudo-labeling; these results show robustness well beyond typical levels rather than immunity.
Q5. Multi-seed variation and statistical significance (also addresses the "Gains modest/mixed" and "Statistical robustness" weaknesses).
We agree that reporting variability and significance is important. We report results over SWaT, SMAP, and WADI with seeds {42, 44, 46}.
Table Q5a. Multi-seed mean ± std (Aff-F1 / VUS-PR, %).
Table Q5b. One-sided Wilcoxon signed-rank over SWaT/SMAP/WADI dataset–seed pairs (H1: COMET w/ TTA > comparison).
COMET w/ TTA significantly outperforms CATCH on both metrics (p = 0.002). The effect of TTA itself is metric-dependent: it improves Aff-F1 over Static (p = 0.037), while for VUS-PR the two COMET variants are indistinguishable (p = 0.180) — consistent with Q3, where adaptation is near-neutral under little test-time shift, so this reflects the same behavior rather than a regression. We also clarify "best on 39/45": as many metrics are correlated, this reflects broad, consistent improvement rather than 39 independent wins, so we treat VUS-PR (most reliable per the TSB-AD study [1]) as the primary comparison.
W1. Benchmark fragility: evaluation on a cleaner benchmark.
We agree with the concern about benchmark validity. To address it directly, we additionally evaluate on Exathlon and MITDB from TSB-AD-M [1] — a recent multivariate benchmark meticulously curated by combining human perception with model-based screening to reduce labeling and evaluation artifacts.
Table W1. TSB-AD-M results (q99).
On Exathlon COMET is ahead across all metrics, while on the harder MITDB it leads on Aff-F1 and is roughly on par with the strongest baseline on the others. COMET's advantage thus carries over to a curated benchmark without depending on artifacts of the older datasets, though not uniformly.
W2. Controlled anomaly types.
For anomalies defined by temporal context rather than simple point deviations, we point to our existing analysis in Appendix C.5 (Table 17), which isolates contextual-anomaly localization on SMAP and MSL subdatasets; the appendix table reports additional results.
Table W2. Contextual-anomaly localization (Appendix C.5, Table 17; selected subdatasets).
COMET localizes anomalies more accurately than the strongest competitor on most contextual subdatasets, demonstrating strong performance. This fits the multi-scale, prototype-based design: contextual anomalies emerge over a temporal window, which patch-level prototypes capture better than point-wise scoring.
We thank the reviewer again; these comments have strengthened the paper's empirical grounding, and we hope the above addresses the remaining concerns.
Ref: