acceptodds
Published as a conference paper at NeurIPS 2026

GAPS: Gradient-Aware Adaptation-Gap Scoring for Time-Series Anomaly Detection with Foundation Models

Jongwon Kim, Byunghun Song, Young Myoung Ko

Abstract

Reconstruction error is the standard signal for unsupervised time-series anomaly detection and has been widely adopted by time-series foundation models (TFMs). It is, however, vulnerable to input noise: the resulting score tracks the noise level itself rather than whether a sample is truly anomalous, and this failure is especially pronounced in domains where the noise envelope itself carries information about the underlying process state. We propose the *adaptation gap* , the difference between fine-tuned and zero-shot reconstruction losses, as a noise-robust complement. We prove that its conditional expectation cancels the input-noise variance and yields a calibration-anchored, population-level mean-separation guarantee. Building on these results we introduce **GAPS** (Gradient-Aware Adaptation-Gap Scoring), which selectively augments with under a calibration-only routing layer with no label-tuned hyperparameters. Across a synthetic suite, an HRV benchmark whose normal class is intrinsically noisier than its anomaly class, and TSB-AD-U with a pre-registered noise-stress condition, GAPS preserves performance under standard conditions and yields substantial gains under noise stress.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_GbnVOpenReview ↗
Rating
4
Clarity
2
Confidence
1
Originality
3
Quality
3
Significance
3
Read review
Summary

For anomaly detection in time series, the authors analyze the difference between foundation models with and without fine tuning. The authors propose GAPS (Gradient-Aware Adaptation-Gap Scoring) which combines the scores from the fine-tuned mode and the difference from the (zero-shot) foundation model.

The difference, Diff(x), between the loss from the fine-tuned model, L_FT(x), and the loss from the zero-shot (foundation) model, L_ZS(x), is the adaptation gap. Diff is expected to be from model bias, and not from input noise, based on Proposition 1 via bias-variance decomposition. Proposition 2 related Diff with sum of per-step "alignment values". They use a "hard gate" (boolean) at the dataset-level, while a routing weight at the sample level. The GAPS anomaly score is a linear combination of score from the fine-tuned model and Diff.

For empirical comparisons, they use the HRV data set and those in the TSB-AD-U benchmark. The proposed approach is compared with and 1 existing algorithm, the fine-tuned model, with 3 backbones. The proposed approach generally outperforms the others. Ablation studies indicate the contributions of the different components.

Strengths and weaknesses

S1. Analyzing the difference between the fine-tuned model and the zero-shot model is interesting.

S2. The empirical results indicate that the proposed approach compares favorably against fine-turning from foundation models.

W1. Some of the terms are not well defined, which significantly hinders clarity of the proposed concepts/ideas. See questions below.

W2. Only the fine-tuned detectors with 3 backbones were compared. Including a few models that do not involve foundation models would be interesting.

Questions

Sec 3.2: alignment values and alignment ratio are not discussed before they are used? "alignment ratio of Section 3.4"--Section 3.4 doesn't seem to discuss what alignment ratio is. The alignment values seem to be related to weight updates from the foundation model.

Sec 3.3: What is theta_1? Theta after one step from theta_0?

Sec 3.5: According to the introduction in Sec. 3, z is the output of the backbone (before a head) which is frozen. Not sure what z_F and Z_Diff are? Should z_F be L_FT and Z_Diff be Diff?

Limitations

Limitations of the proposed approach do not seem to be mentioned.

Paper formatting concerns

None observed

Final justification

The clarity issues can be addressed. Since the other reviewers find the basic idea interesting and my confidence is low, I increased my rating to "borderline accept".

Reviewer_CKzQOpenReview ↗
Rating
4
Clarity
3
Confidence
5
Originality
3
Quality
3
Significance
3
Read review
Summary

This work addresses the central challenge of noise-sensitive reconstruction-error scoring in time-series anomaly detection with foundation models. The paper argues that the standard fine-tuned reconstruction loss, denoted L_FT can fail when normal samples are intrinsically noisier than anomalous samples. In such cases, reconstruction error may rank noisy normal samples as more anomalous than truly anomalous samples, producing a reversal of the intended anomaly ranking. The authors motivate this with a Brownian variance-reversal toy example where high-variance Brownian sequences are normal and low-variance sequences are anomalous, causing the reconstruction baseline to fail badly.

The claims of the paper are that GAPS provides a theoretically motivated and practically effective correction to reconstruction-based anomaly scoring under noise-dominated conditions, while preserving baseline performance in standard conditions. The empirical evidence is built across synthetic experiments, an HRV benchmark, and TSB-AD-U under clean and noise-stress conditions.

Strengths and weaknesses

Strengths:

  1. The use of L_FT−L_ZS is conceptually elegant. The paper exploits the pre-trained zero-shot behavior of time-series foundation models and their fine-tuned behavior. This is a good use of foundation models because the zero-shot model is not treated merely as an initialization but as an informative reference model.

  2. The paper provides several theoretical results that connect the method to noise cancellation and gradient alignment. Proposition 1 is particularly shows that the expectation of the adaptation gap cancels the target-noise variance term and leaves a bias-contrast term. This directly supports the claim that Diff can be more robust than raw reconstruction loss under noise.

  3. The experimental design is coherent. The results show that Diff performs extremely well in the noisy-normal condition but fails in noisy-anomaly and standard conditions. GAPS preserves much of the benefit without collapsing elsewhere.

Weakness:

  1. The central assumption is that anomalies benefit less from fine-tuning on normals than normal samples do, and that the problematic regime is one where normal samples have higher noise than anomalies. This is an important regime, but it is not universal. In many anomaly-detection applications, anomalies may themselves be noisier, corrupted, or more variable than normal samples. The paper acknowledges this indirectly through the noisy-anomaly synthetic condition, where Diff alone collapses and GAPS fall back to L_FT.

This raises a broader question: how often does the GAPS mechanism activate beneficially on real-world datasets beyond the specific HRV and injected-noise settings? The method may be very useful for a subset of noise-dominated problems.

  1. The TSB-AD-U experiments include a clean condition and a pre-registered C-noise condition where Gaussian noise is added to calibration-normal and test-normal windows while anomalies remain clean. The paper states that the released benchmark does not naturally contain the normal-noise regime the method targets, so the authors add noise to normals to exercise the mechanism. This weakens the real-world generality of the benchmark evidence. The HRV experiment is a stronger natural validation, while TSB-AD-U mainly demonstrates controlled robustness under a constructed perturbation.

  2. The routing mechanism has several components: calibration z-scores, a block sign test, a dataset-level gate, raw alignment, normalized alignment, hinge clipping, and final convex combination. The ablation shows that the no-gate variant slightly outperforms full GAPS under C-noise, while full GAPS performs best under C-clean. The trade-off could be discussed more clearly.

Questions
  1. Clarify how often does the GAPS routing mechanism activate on naturally occurring real-world datasets, without artificial noise injection?

  2. How sensitive is the method to calibration-set size and calibration contamination?

  3. Does GAPS still work when zero-shot reconstruction quality is poor? Since, time series anomalies also vary with applications- for e.g in multivariate time-series, anomalies can occur due to multiple sensors changing jointly instead of a single time-varying node- reconstruction error might not be sufficient to catch these anomalies. Hence patch based approaches to capture long context and contrastive learning are often used. GAPS will fail in such cases as reconstruction loss (zero-shot) itself is not reliable. Clarify.

Limitations

See questions and weaknesses.

Paper formatting concerns

NA

Reviewer_Cq3NOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
4
Read review
Summary

The authors consider the use of the reconstruction loss from a given foundation model as the fundamental basis for anomaly detection using such models. In particular, they compute the zero-shot reconstruction loss, and the fine-tuned reconstruction loss, and then compute the differences between these losses. The call this difference (Diff) the “adaptation-gap”, and studied ways to use this as the foundation for improved modeling and analysis of anomaly. They argue that combining this gap (Diff), and the original reconstruction loss from the fine-tuned model provides an improved model for differentiating between anomaly in time series and simple random noise. Detailed experimental results were used to validate the idea, and its performance when compared with SOTA methods.

Strengths and weaknesses

The basic idea is quite interesting, though intuitive. Considering the feedback from the difference between two reconstruction losses, where the two are carefully selected could improve performance.

The use of calibration-anchored approaches, in this paper focused on z-score normalization seemed to have worked quite well. How would other calibration-anchored approaches perform? The authors should show the performance using some other calibration methods.

One question is how the degree or amount of fine-tuning will affect the overall performance. Should this be performed in terms of a family of Diffs, or family of GAPS, where each level of fine-tuning will result in one gap, and these can then be combined for final decision making on the anomaly?

An important element in the work is the weight function r(x). How exactly is this determined?

The key idea in Proposition 1 on noise-cancellation seems to assume simple linearity in the loss function. How would this hold up when the loss function is non-linear, as is often the case.

On Line 132, authors noted that the bound on RDiff(x)R_Diff(x). But this either requires some proof, or some references that documented that.

The approach showed strong results. However, the results in Table 1 seemed to show that under Noisy anomaly, which is the key differentiator the paper tried to consider, the performance using SGAPSS_GAPS and SFS_F did not seem too different. Does that mean that the proposed use of Diff could not improve on the standard reconstruction loss for these cases? These are expected to be the most challenging scenarios.

For comparative results, only three backbones were considered. More comparative methods will provide more confidence on the superior performance. Also, the proposed approach did not seem to work on MOMENT. There should be more discussion on this.

The authors showed results for time in terms of wall-clock recordings. However, there is need for more comprehensive evaluation of resource use, in terms of both time, space, and power consumption. Also, no discussion on the theoretical computational complexity of the approaches proposed.

The comparative results reported should be placed in the context of these type of comprehensive analysis of resource need.

No conclusion nor discussion of the work, or the results.

Minor: Some terms are not clearly defined, eg. f∗(x)f*(x), VUS-ROC, etc.

Questions

See above.

Limitations

See above.

Paper formatting concerns

None

Final justification

The authors addressed some of my questions in the rebuttal, and the following up comments. However, I will maintain my current rating.

Comments on the paper

1 comment
Meta-review

The reviewers find the core idea of leveraging the difference between zero-shot and fine-tuned reconstruction losses both interesting and elegant, with strong theoretical motivation and promising empirical results, particularly under noisy-normal conditions. The proposed GAPS framework effectively improves the robustness of Diff and demonstrates favorable performance over several foundation-model baselines. However, reviewers question the generality of the underlying assumptions, noting that the method appears tailored to scenarios where normal samples are noisier than anomalies. Additional concerns include limited comparisons with non-foundation baselines, unclear definitions of several key concepts, insufficient evaluation of alternative calibration methods and computational efficiency, and the need for stronger theoretical justification and broader validation on naturally noisy real-world datasets.

I am satisfied by authos responses.All Reviewer also given acceptance as their recomendation. Hence I am accepting the paper.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.