Skip to main content
QUICK REVIEW

[논문 리뷰] COMET: Codebook-based Online-adaptive Multi-scale Embedding for Time-series Anomaly Detection

Jinwoo Park, Hyeongwon Kang|arXiv (Cornell University)|2026. 02. 02.
Anomaly Detection Techniques and ApplicationsComputer Science인용 수 0
한 줄 요약

COMET은 다중 스케일 패치 임베딩과 코드북 기반의 정상 패턴 코어셋을 학습하며, 분포 변화 하에서 시계열 이상치를 탐지하기 위해 테스트 시점에 온라인 코드북 적응을 수행한다.

ABSTRACT

Time series anomaly detection is a critical task across various industrial domains. However, capturing temporal dependencies and multivariate correlations within patch-level representation learning remains underexplored, and reliance on single-scale patterns limits the detection of anomalies across different temporal ranges. Furthermore, focusing on normal data representations makes models vulnerable to distribution shifts at inference time. To address these limitations, we propose Codebook-based Online-adaptive Multi-scale Embedding for Time-series anomaly detection (COMET), which consists of three key components: (1) Multi-scale Patch Encoding captures temporal dependencies and inter-variable correlations across multiple patch scales. (2) Vector-Quantized Coreset learns representative normal patterns via codebook and detects anomalies with a dual-score combining quantization error and memory distance. (3) Online Codebook Adaptation generates pseudo-labels based on codebook entries and dynamically adapts the model at inference through contrastive learning. Experiments on five benchmark datasets demonstrate that COMET achieves the best performance in 36 out of 45 evaluation metrics, validating its effectiveness across diverse environments.

연구 동기 및 목표

  • 비지도 시계열 이상 탐지에서 다중 스케일에 걸친 시간 의존성과 다변량 상관관계를 포착할 필요성을 동기 부여한다.
  • 대표적인 정상 패턴을 학습하고 이중 점수(메모리 거리와 양자화 오차)를 통해 이상치를 탐지하는 코드북 기반 프레임워크를 제안한다.
  • 의사 레이블링과 대조 학습을 사용한 온라인 코드북 적응으로 추론 시의 분포 변화에 대응한다.
  • 다양한 데이터셋에 걸친 효과를 보여주고 비정상성 및 맥락 의존적 이상에 대한 강건성을 입증한다.

제안 방법

  • 다중 스케일 패치 인코딩을 도입하여 스케일 간의 시간 의존성과 변수 간 상관관계를 함께 모델링한다.
  • 임베딩을 정상 데이터에서 학습된 코드북 엔트리로 양자화하기 위해 벡터 양자화 코어셋을 사용한다.
  • 메모리 기반 거리에서 코어셋으로의 거리를 로컬 스케일링과 재구성 기반 양자화 오차와 함께 이용해 이상 점수를 계산한다.
  • 활성화 기반 의사 레이블링과 감독 대조 학습을 활용한 온라인 코드북 적응으로 코드북을 오염시키지 않으면서 추론 시에 적응한다.
  • 두 개의 정규화된 점수(메모리와 양자화)를 동적 가중치와 지수 이동 평균 정규화로 집계하여 최종 이상 점수를 산출한다.
Figure 1 : Overall architecture of COMET. (Left) During training, input time series are processed via Multi-scale Patch Encoding to capture temporal contexts at different resolutions. The resulting embeddings are mapped to a Vector-Quantized Coreset , where activated codebook entries are stored in t
Figure 1 : Overall architecture of COMET. (Left) During training, input time series are processed via Multi-scale Patch Encoding to capture temporal contexts at different resolutions. The resulting embeddings are mapped to a Vector-Quantized Coreset , where activated codebook entries are stored in t

실험 결과

연구 질문

  • RQ1다중 스케일 패치 인코딩이 비지도 이상 탐지를 위해 시간적 패턴과 교차 변수 패턴을 효과적으로 포착할 수 있는가?
  • RQ2정상 패턴의 벡터 양자화가 메모리 거리와 재구성 양자화 오차를 통한 신뢰할 수 있는 이상 점수화를 가능하게 하는가?
  • RQ3테스트 시점의 분포 변화를 임계값 기반 오염 없이 온라인 활성화 기반 코드북 적응으로 완화시킬 수 있는가?
  • RQ4지역 밀도 인식 거리 측정이 다양한 데이터 밀도에서 메모리 기반 이상 점수화를 개선하는가?
  • RQ5여러 벤치마크 데이터셋과 지표에서 COMET의 성능은 최첨단 기준선들과 비교하여 어떤가?

주요 결과

  • COMET은 45개 지표 중 39개에서 테스트 시 적응 없이 최첨단 성능을 달성하고, 다섯 벤치마크에서 TTA로 추가 개선을 보인다.
  • 다중 스케일 패치 인코딩은 서로 다른 해상도에서의 패턴과 스케일 인식 상관관계를 포착하여 표현력을 향상시킨다.
  • 벡터 양자화 코어셋은 대표적인 정상 패턴을 학습하여 메모리 거리와 양자화 오차를 통한 효과적인 이상 점수화를 가능하게 한다.
  • 의사 레이블링과 대조 학습을 활용한 온라인 코드북 적응은 오염을 줄이고 분포 변화에 대한 강건성을 향상시킨다.
  • COMET은 매개변수 효율적(567K 파라미터)이며 일부 더 큰 기준선에 비해 더 빠른 학습 시간으로 강력한 성능을 달성한다.
Figure 2 : Comparison between global distance and local scaling distance. (Top) Global distance fails to identify normal queries in sparse regions as it relies solely on absolute distance without considering local density. (Bottom) Local scaling distance accounts for local density, leading to more c
Figure 2 : Comparison between global distance and local scaling distance. (Top) Global distance fails to identify normal queries in sparse regions as it relies solely on absolute distance without considering local density. (Bottom) Local scaling distance accounts for local density, leading to more c

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.