Skip to main content
QUICK REVIEW

[논문 리뷰] AutoTimes: Autoregressive Time Series Forecasters via Large Language Models

Yong Liu, Qin Guo|arXiv (Cornell University)|2024. 02. 04.
Time Series Analysis and ForecastingComputer Science인용 수 21
한 줄 요약

AutoTimes는 고정된 대형 언어 모델을 자기회귀 시계열 예측기로 재목적화하여 토큰 단위 프롬프트와 다중 모달 기능으로 모델 업데이트 없이 가변 길이 예측을 가능하게 한다.

ABSTRACT

Foundation models of time series have not been fully developed due to the limited availability of time series corpora and the underexploration of scalable pre-training. Based on the similar sequential formulation of time series and natural language, increasing research demonstrates the feasibility of leveraging large language models (LLM) for time series. Nevertheless, the inherent autoregressive property and decoder-only architecture of LLMs have not been fully considered, resulting in insufficient utilization of LLM abilities. To fully revitalize the general-purpose token transition and multi-step generation capability of large language models, we propose AutoTimes to repurpose LLMs as autoregressive time series forecasters, which projects time series into the embedding space of language tokens and autoregressively generates future predictions with arbitrary lengths. Compatible with any decoder-only LLMs, the consequent forecaster exhibits the flexibility of the lookback length and scalability with larger LLMs. Further, we formulate time series as prompts, extending the context for prediction beyond the lookback window, termed in-context forecasting. By introducing LLM-embedded textual timestamps, AutoTimes can utilize chronological information to align multivariate time series. Empirically, AutoTimes achieves state-of-the-art with 0.1% trainable parameters and over $5 imes$ training/inference speedup compared to advanced LLM-based forecasters. Code is available at this repository: https://github.com/thuml/AutoTimes.

연구 동기 및 목표

  • 시계열을 위한 기본 모델의 필요성과 확장 가능한 사전 학습의 필요성을 제시한다.
  • 시간 시계열을 위한 자기회귀 예측기로 작동하도록 LLMs를 매개변수 없는 형태로 재목적화하는 것을 제안한다.
  • 시계열 토큰을 언어 모델 토큰과 정렬하여 LLM 토큰 전이의 이점을 활용한다.
  • 토큰 단위 프롬프트를 통해 임의의 회고 길이/예측 길이와 다중 모달 프롬팅을 처리할 수 있게 한다.

제안 방법

  • 시계열 구간을 언어 유사 토큰으로 토큰화하고 SeriesTokenizer를 사용하여 LLM 임베딩 공간으로 투사한다.
  • 고정된 Transformer 백본을 유지하고 가벼운 시계열 토크나이저/디토크나이저를 학습시킨다(매개변수의 약 0.1%).
  • 자연스러운 다음 토큰 예측을 학습 목표로 사용하여 자기회귀 생성을 보존한다.
  • 각 구간의 텍스트형 공변량(타임스탬프)을 LLM 프롬프트에 포함하여 토큰 단위 프롬팅을 채택하고 마지막 토큰 임베딩으로 집계한다.
  • 각 구간에 대한 입력 E_i를 만들기 위해 시계열 임베딩과 텍스트 임베딩을 결합한다: E_i = SE_i + TE_i.
  • 가변 컨텍스트 길이와 RoPE 기반 컨텍스트 적응성을 갖춘 자기회귀 예측을 시연한다.

실험 결과

연구 질문

  • RQ1매개변수 업데이트 없이 오프더셸프 자가회귀 LLM을 시계열 예측기로 사용할 수 있는가?
  • RQ2타임스탬프를 포함한 토큰 단위 프롬프팅이 다양한 수평선 및 모달리티 전반에 걸친 예측을 향상시키는가?
  • RQ3재목적화된 LLM 예측기가 시계열에 대해 제로샷 일반화와 인컨텍스트 학습을 보이는가, 그리고 모델 크기가 커질수록 어떻게 확장되는가?
  • RQ4장기/단기 및 제로샷 예측 작업에서 AutoTimes가 최첨단 심층 예측 모델 및 다른 LLM4TS 방법과 어떤 성능을 보이는가?

주요 결과

  • AutoTimes는 LLM을 학습시키지 않고도 최첨단 예측기와 경쟁력 있는 성능을 달성하며 학습 가능한 매개변수도 최소로 유지한다.
  • 이 방법은 자기회귀 생성을 통해 가변적인 lookback 및 예측 길이를 지원하여 수평별 학습이 필요 없이 가능하도록 한다.
  • 타임스탬프가 포함된 토큰 단위 프롬프팅은 데이터셋과 수평에 걸쳐 예측 성능을 일관되게 향상시킨다.
  • 타깃 도메인 시계열을 프롬프트로 사용할 때 특히 AutoTimes에서 제로샷 및 인컨텍스트 학습 능력이 나타난다.
  • 더 큰 LLM으로 확장하고 더 많은 시계열 지시사항/텍스트를 추가하는 것이 성능과 일반화를 향상시킨다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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