arXiv:2610.09473cs.LGOct 2026

Manuscript Offprint

arXiv:2610.09473

MORA: Modeling Observed Changes for Drift-Robust Time-Series Anomaly Detection

Xudong Mou, Tiejun Wang, Rui Wang, Hui Wang, Pin Liu, Tianyu Wo, Xudong Liu, Renyu Yang

Abstract

Time-series anomaly detection (TSAD) identifies deviations from patterns learned from historical data. In non-stationary settings, distribution drift and true anomalies can cause similar local changes, making it difficult to tell whether a deviation reflects abnormality or evolving context. Existing methods typically adapt to detected shifts or learn drift-insensitive representations, but do not resolve this ambiguity. We define this problem as temporal change disambiguation: determining whether a local deviation is explained by broader temporal evolution. We introduce MORA, a drift-robust TSAD framework that reconstructs the same local target from paired short-and long-term views. The reconstruction gap measures contextual support for a local deviation, and a data-dependent correction mechanism conservatively adjusts the primary local anomaly score. Context can only reduce the score when it improves reconstruction of the same target. MORA needs neither drift annotations nor online adaptation. Experiments on four TSAD benchmarks show strong robustness to non-stationarity while preserving sensitivity to genuine anomalies.

1. Introduction

Time-series anomaly detection (TSAD) identifies observations that significantly deviate from normal temporal behavior (Grubbs 1969) and is critical in industrial monitoring, AIOps, cyber-physical systems, and other safety-critical domains. Because anomalies are rare and costly to label, TSAD is usually treated as an unsupervised problem (Pang et al. 2021): models learn normal patterns from unlabeled or normal-only data and flag violations as anomalies. Normality is typically modeled via reconstruction (Li et al. 2026; Malhotra et al. 2016), one-class representation learning (Chen et al. 2025; Xu et al. 2024; Ruff et al. 2018), or contrastive objectives (Yang et al. 2023; Sohn et al. 2021). Accordingly, anomalies are typically characterized by large reconstruction/prediction errors, low likelihood, or deviations from compact normal representations. Despite their differences, these methods rely on a shared premise: normal patterns learned from the past remain valid at test time.

(a) Linguistic context

Figure

Figure 1: Motivation for temporal change disambiguation. (a) Linguistic context resolves the meaning of an ambiguous word. (b) Similarly, a local temporal change may appear anomalous in isolation, while its broader context reveals a coherent transition toward a new operating regime.

This premise is frequently violated in real-world time series, where normal conditions drift due to seasonality, workload fluctuations, sensor aging, maintenance, or upgrades. Such evolution changes both observation marginals and temporal dependencies, so data from a drifting normal process can differ from historical normality and receive high anomaly scores. Thus drift and anomalies first appear to a detector in the same way: as changes relative to learned normality. A detector that reacts to all such changes may raise many false alarms under gradual drift or treat an abrupt regime shift as an anomaly. The challenge is therefore not just detecting change, but interpreting what it means.

Existing studies mainly take two approaches. The first uses a detect-and-adapt paradigm (Han et al. 2023), where distribution shifts are detected and then handled via model updating, continual learning, knowledge distillation, or test-time adaptation. These methods can be effective but depend on accurate shift detection; incorrect updates may absorb anomalies into normality and add deployment cost. The second seeks drift-robust representations (Wei et al. 2026; Huang et al. 2025) through temporal decomposition, multi-scale modeling, invariance, or uncertainty-aware training (Lian et al. 2025), aiming to reduce sensitivity to non-stationary changes in a single representation or score. However, it is inherently difficult to suppress drift-induced variation while preserving evidence of visually similar anomalies. As a result, many methods adapt to or suppress distributional changes without explicitly interpreting what a change represents, leaving drift–anomaly ambiguity to be resolved im-

∗^{*}Corresponding author.

Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

plicitly by the learned representation or score.

These limitations motivate us to reconsider what a detector observes under non-stationarity. As shown in Fig. 1, the word “bank” is ambiguous in isolation but becomes clear from contextual cues like “river” and “rain.” Similarly, a local temporal change alone does not indicate whether it arises from an abnormal event or an evolving normal process; its meaning depends on the broader trajectory. We therefore treat a local change as ambiguous evidence rather than an anomaly by default, and refer to its contextual interpretation temporal change disambiguation.

Guided by this perspective, we propose MORA, a drift-robust TSAD framework that resolves locally ambiguous changes using broader temporal context. It reconstructs the same local target from paired short- and long-term views and contrasts their reconstruction errors to measure how the interpretation of a local deviation changes with additional history. It further extracts heterogeneous relations among the two views and uses them to adaptively control the strength of score correction. A conservative one-sided rule allows contextual information to reduce the primary local score only when it provides a lower reconstruction error. In this way, MORA suppresses context-supported changes while retaining deviations that remain unexplained under broader temporal context. We summarize the main contributions as follows:

• We cast drift-robust TSAD as a problem of temporal change disambiguation, offering a new perspective in which local deviations are interpreted against broader temporal evolution: local observations provide the primary anomaly evidence, while temporal context supplies corrective evidence.

• We propose context-contrasted reconstruction that reconstructs the same local target with and without extended history, using the reconstruction error reduction as contextual support to adjust the local anomaly score.

• We design a heterogeneous cross-view router with a one-sided correction rule that suppresses only context-explainable deviations while preserving local anomaly evidence otherwise.

References (38)