Skip to main content
QUICK REVIEW

[논문 리뷰] TOTEM: TOkenized Time Series EMbeddings for General Time Series Analysis

Sabera Talukder, Yisong Yue|arXiv (Cornell University)|2024. 02. 26.
Time Series Analysis and ForecastingComputer Science인용 수 3
한 줄 요약

TOTEM은 시간 시리즈에 대해 자기지도 학습 기반의 이산 토큰화 프레임워크를 도입하여 다양한 도메인과 작업 간 통합적이고 일반화된 모델링을 가능하게 한다. 최소한의 튜닝으로도 보정, 이상 탐지, 예측 작업에서 최신 기술 수준 또는 경쟁력 있는 성능을 달성하며, 특히 더 크고 다양한 훈련 세트에서 전문 모델보다 뛰어난 제로샷 일반화 성능을 보인다.

ABSTRACT

This work studies the problem of time series analysis with generalist (or foundation) models, which are models trained across many data domains. Drawing inspiration from the widespread success of large language models, we consider the simple strategy of discretely tokenizing time series data drawn from a myriad of datasets via self-supervision, then using the fixed tokenization to solve a variety of tasks across many data domains. Canonically, time series models are either trained on a single dataset or built in a task-specific manner (e.g., a forecasting-only model), where many use patches of time as inputs to the model. As such, performant generalist, discrete representation time series models explored across many tasks are of value. Our method, TOkenized Time Series EMbeddings (TOTEM), produces such generalist time series models with minimal or no fine-tuning while exhibiting strong zero-shot performance. We evaluate TOTEM extensively over nearly 500 experiments on three commonly-studied time series tasks with real-world data: imputation (17 baselines, 12 datasets), anomaly detection (19 baselines, 25 datasets), and forecasting (14 baselines, 12 datasets). We conclude that TOTEM matches or outperforms existing state-of-the-art models in both the canonical specialist setting (i.e., training one model on one domain) as well as the generalist setting (i.e., training a single model on many domains), which demonstrates the efficacy of tokenization for general time series analysis. The open-source implementation is available here: https://github.com/SaberaTalukder/TOTEM; a video summary is available here: https://www.youtube.com/watch?v=OqrCpdb6MJk.

연구 동기 및 목표

  • 다양한 도메인과 작업 간 최소한의 하이퍼파라미터 튜닝으로도 작동하는 통합적이고 일반화된 시간 시리즈 모델링 프레임워크를 개발하는 것.
  • 시간 시리즈 분석에서 제로샷 일반화를 가능하게 하는 이산적이고 자기지도 학습 기반의 토큰 표현의 효용성을 탐구하는 것.
  • 여러 작업과 데이터셋에서 전문가 모델(도메인별) 및 일반화 모델(다중 도메인) 훈련 환경을 모두 고려해 TOTEM의 성능을 평가하는 것.
  • 데이터 크기, 도메인 다양성, 토큰 표현 품질이 시간 시리즈 모델링의 일반화 성능에 미치는 영향을 조사하는 것.
  • 예측, 보정, 이상 탐지 작업 전반에 걸쳐 통합적인 평가를 지원하는 성능이 뛰어나고 경량인 토크나이저를 확립하는 것.

제안 방법

  • TOTEM은 시간 시리즈 표현을 이산적으로 벡터화하기 위해 1D 스트라이드 컨볼루션 네트워크 기반의 인코더와 디코더를 VQVAE 아키텍처에 통합한다.
  • 학습 가능한 공통 코드북을 사용하여 시간 시리즈 시퀀스를 이산 토큰으로 토큰화한다.
  • 토큰화 과정은 자기지도 학습 방식으로 수행되어 작업별 레이블 없이 표현을 학습할 수 있다.
  • 동일한 토크나이저를 사용하여 도메인 별 전문가 훈련과 다중 도메인 통합 훈련 모두를 지원한다.
  • 학습된 코드북을 활용해 시간 시리즈를 이산 토큰으로 임베딩함으로써 추론을 수행하고, 이는 후속 작업의 일반화를 가능하게 한다.
  • 동일한 이산 표현을 다양한 도메인과 작업 간에 활용함으로써 도메인 내 테스트와 제로샷 테스트를 모두 가능하게 한다.
Figure 1 : TOTEM & Evaluation Regimes. An overview of TOTEM, the training schemas, and inference regimes. (a) The TOTEM VQVAE architecture consists of an 1D strided CNN encoder $\mathcal{E}$ , quantizer, latent codebook, and 1D strided transpose CNN decoder $\mathcal{D}$ . TOTEM’s VQVAE enables gene
Figure 1 : TOTEM & Evaluation Regimes. An overview of TOTEM, the training schemas, and inference regimes. (a) The TOTEM VQVAE architecture consists of an 1D strided CNN encoder $\mathcal{E}$ , quantizer, latent codebook, and 1D strided transpose CNN decoder $\mathcal{D}$ . TOTEM’s VQVAE enables gene

실험 결과

연구 질문

  • RQ1단일한 이산적이고 자기지도 학습 기반의 토큰화 방법이 다양한 시간 시리즈 도메인과 작업 간 효과적인 일반화 훈련을 가능하게 할 수 있는가?
  • RQ2TOTEM의 성능는 도메인 내 및 제로샷 일반화 설정에서 전문가 모델과 비교해 어떻게 되는가?
  • RQ3훈련 데이터 크기와 도메인 다양성이 통합된 시간 시리즈 표현의 일반화 능력에 어떤 영향을 미치는가?
  • RQ4다양한 도메인에 대해 훈련된 통합 코드북이 제로샷 시나리오에서 도메인 특화 모델보다 성능이 뛰어나게 되는가?
  • RQ5원시 시간 시리즈의 특성, 예를 들어 시간 단계 수와 센서 수 등이 일반화 모델의 성능에 어떤 영향을 미치는가?

주요 결과

  • TOTEM은 17개의 실제 시간 시리즈 데이터셋과 예측, 보정, 이상 탐지 3개의 작업에서 다수의 벤치마크에서 최신 기술 수준의 방법과 동일하거나 뛰어난 성능을 달성한다.
  • 일반화 훈련 환경에서 TOTEM은 교통 데이터셋에서 100% AvgWins, 전기 데이터셋에서 75% AvgWins를 기록하며 혼합 모델 전문가들보다 뚜렷이 뛰어난 성능을 보였다.
  • 훈련 예제 수가 440만 개 적은 TOTEM-전기 전문가 모델이 제로샷 테스트에서 TOTEM-교통 전문가 모델보다 뛰어났다 (AvgWins 12.5% 대 2.5%).
  • 일반화 모델은 제로샷 테스트에서 85.0% AvgWins를 기록하며 도메인 특화 전문가들 모두를 앞서며 강력한 다중 도메인 일반화 능력을 입증했다.
  • 결과적으로 더 높은 원시 시간 단계 수는 더 많은 센서 수보다 일반화에 더 유리할 수 있으며, 도메인 유사성 역시 핵심 요소임을 시사한다.
  • TOTEM의 통합 코드북은 효과적인 제로샷 일반화를 가능하게 하며, 공유된 이산 표현이 제한된 도메인 내 미세조정 조건에서도 도메인 간 일반화가 가능하다는 것을 시사한다.
Figure 2 : Forecaster Modeling. The forecasting task requires modeling beyond the VQVAE. We leverage TOTEM’s pretrained, learnt, discrete codes as a the input data representation and train a transformer encoder. We add positional embeddings along the time dimension, and use linear layers before the
Figure 2 : Forecaster Modeling. The forecasting task requires modeling beyond the VQVAE. We leverage TOTEM’s pretrained, learnt, discrete codes as a the input data representation and train a transformer encoder. We add positional embeddings along the time dimension, and use linear layers before the

이 논문 읽기

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

누빈트에서 이 논문 읽기

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