NeurIPS 2026QuestionsPapersAreasAboutMarkdown

COMET: Codebook-based Online-adaptive Multi-scale Embedding for Time-series Anomaly Detection

JINWOO PARK, Hyeongwon Kang, Seung H Han, Pilsung Kang

NeurIPS page · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Time Series Anomaly Detection · Type: new method · Keywords: time-series anomaly detection, multi-scale embedding, vector-quantized coreset, online codebook adaptation, unsupervised learning

Areas: Time Series › Foundation Models and Irregular Data › Probabilistic and Irregular Forecasting

Summary

COMET is a unified online-adaptive multi-scale embedding framework for unsupervised multivariate time-series anomaly detection that uses a multi-scale patch encoder, vector-quantized coreset, and online codebook adaptation to maintain robust detection under distribution shifts.

Explained to a 5-year-old

COMET is a tool that watches data that changes over time, like a series of numbers. It looks at many small pieces of the data at the same time to see how they are related. It learns what normal looks like and stores that in a memory called a codebook. When new normal data comes in, it updates that memory so it stays up-to-date. This helps COMET spot when something unusual happens, even if the normal behavior slowly changes.

Explained to a 5-year-old, longer

COMET is a computer program that helps find strange things in data that changes over time. It works with many variables at once, like temperature, pressure, and speed in a factory. First, it breaks the data into small pieces and looks at how each piece is related to the others. It does this at different scales, so it can see both fast changes and slow trends. Then it stores the normal patterns in a special memory called a codebook. The codebook acts like a collection of examples of what normal looks like. When new data comes in, COMET checks if it matches the normal examples. If it is sure the new data is normal, it updates the codebook with this new example. This updating happens while the system is running, so the memory stays current. It also uses a special learning method that pulls normal examples closer together and pushes unusual ones apart. By doing all of this, COMET can notice when something does not fit the normal pattern. This makes it useful for catching problems early in systems like power plants or traffic networks.

For a technical reader

COMET is a unified framework for unsupervised multivariate time-series anomaly detection that operates online. It employs a multi-scale patch encoder to capture both variable-specific dynamics and inter-variable correlations across several temporal resolutions. A vector-quantized coreset creates normal prototypes, and anomalies are flagged by a dual score combining quantization error and density-aware memory distance. An online codebook adaptation module continuously refines these prototypes using contrastive learning on reliably identified normal samples during inference. Experiments on five benchmark datasets show that COMET outperforms seven baselines on 39 of 45 evaluation metrics, indicating strong robustness to distribution shifts.

Problem

Robust unsupervised detection of anomalies in multivariate time-series is challenging because anomalies can manifest over different temporal ranges and emerge from interactions among variables, while normal patterns can drift over time due to distribution shifts.

Method

The approach learns correlation-aware patch embeddings across multiple scales, quantizes them into normal prototypes using a vector-quantized coreset, and continuously updates these prototypes via online codebook adaptation with contrastive learning at inference time.

Results

The approach achieves the best performance on 39 out of 45 evaluation metrics across five benchmark datasets compared to seven baselines, demonstrating robust detection under diverse protocols.

Contributions

It introduces a unified multi-scale embedding framework that jointly learns patch representations, creates normal prototypes via vector quantization, and adapts these prototypes online to handle distribution shifts, enabling robust unsupervised anomaly detection.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction