[論文レビュー] AutoTimes: Autoregressive Time Series Forecasters via Large Language Models
AutoTimes は凍結された大規模言語モデルを自己回帰型の時系列予測器として再利用し、トークン単位の prompting とマルチモーダル機能を活用できるようにすることで、モデル更新なしに可変長予測を可能にする。
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 のトークン遷移を活用する。
- トークン単位の prompting を介して任意の遡り長/予測長とマルチモーダル prompting を可能にする。
提案手法
- SeriesTokenizer を用いて時系列セグメントを言語風のトークンとしてトークン化し、それを LLM の埋め込み空間へ射影する。
- 凍結された Transformer ボトルネックを維持し、軽量な時系列トークナイザーとデトークナイザーを訓練する(パラメータの約0.1% 程度)。
- 訓練目標として次トークン予測を用い、自己回帰生成を保持する。
- セグメントごとのテキスト特性値(タイムスタンプ)を LLM のプロンプトに組み込み、最後のトークン埋め込みで集合化することでトークン単位 prompting を採用する。
- 時系列埋め込みとテキスト埋め込みを結合して各セグメントの入力 E_i を形成する: E_i = SE_i + TE_i。
- RoPE に基づく文脈適応性と共に、可変のコンテキスト長で自己回帰予測を実証する。
実験結果
リサーチクエスチョン
- RQ1既製の自己回帰型 LLM をパラメータ更新なしで時系列予測器として使用できるか?
- RQ2タイムスタンプ付きのトークン単位 prompting により、異なる horizon およびモダリティで予測精度は向上するか?
- RQ3再利用された LLM 予測器は時系列に対してゼロショット一般化およびイン-context 学習を示すか、モデルサイズとともにどのように拡張するか?
- RQ4AutoTimes は長期・短期・ゼロショット予測タスクで、最先端の深層予報器および他の LLM4TS 手法とどのように性能を比較するか?
主な発見
- AutoTimes はLLMを訓練せず、最小限の訓練可能パラメータで、最先端の予測器と競合する性能を達成する。
- 本手法は自己回帰生成により可変の遡り長と予測長をサポートし、ホライゾン特定の訓練を不要とする。
- タイムスタンプを用いたトークン単位 prompting は、データセットとホライズンを問わず一貫して予測を改善する。
- ゼロショットおよびイン-context 学習能力は、特にターゲット領域の時系列をプロンプトとして用いた場合に AutoTimes で顕著に現れる。
- より大きな LLM へスケールし、時間系列の指示/テキストを追加すると性能と汎用性が向上する。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。