# Enhancing Foundation Models for Time Series Forecasting via Wavelet-based Tokenization

Source: [Enhancing Foundation Models for Time Series Forecasting via Wavelet-based Tokenization](<https://www.sota2.com/research/paper/68fa76141e209131cea6b4c2>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T03:47:33.330Z

Authors: Luca Masserano, Abdul Fatir Ansari, Boran Han, Xiyuan Zhang, Christos Faloutsos, Michael W. Mahoney, Andrew Gordon Wilson, Youngsuk Park, Syama Rangapuram, Danielle C. Maddix, Yuyang Wang

Published: 2024-12-06T18:22:59.000Z

## Abstract

How to best develop foundational models for time series forecasting remains an important open question. Tokenization is a crucial consideration in this effort: what is an effective discrete vocabulary for a real-valued sequential input? To address this question, we develop WaveToken, a wavelet-based tokenizer that allows models to learn complex representations directly in the space of time-localized frequencies. Our method first scales and decomposes the input time series, then thresholds and quantizes the wavelet coefficients, and finally pre-trains an autoregressive model to forecast coefficients for the forecast horizon. By decomposing coarse and fine structures in the inputs, wavelets provide an eloquent and compact language for time series forecasting that simplifies learning. Empirical results on a comprehensive benchmark, including 42 datasets for both in-domain and zero-shot settings, show that WaveToken: i) provides better accuracy than recently proposed foundation models for forecasting while using a much smaller vocabulary (1024 tokens), and performs on par or better than modern deep learning models trained specifically on each dataset; and ii) exhibits superior generalization capabilities, achieving the best average rank across all datasets for three complementary metrics. In addition, we show that our method can easily capture complex temporal patterns of practical relevance that are challenging for other recent pre-trained models, including trends, sparse spikes, and non-stationary time series with varying frequencies evolving over time.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Short-context classification on MOD seismic](<https://www.sota2.com/research/sota/short-context-classification-on-mod-seismic.md>): Short-context classification; MOD seismic; Accuracy: 53.58.

- [Short-context classification on PAMAP2 acc](<https://www.sota2.com/research/sota/short-context-classification-on-pamap2-acc.md>): Short-context classification; PAMAP2 acc; Accuracy (PAMAP2): 59.19.

- [Short-context classification on RWHAR gyro](<https://www.sota2.com/research/sota/short-context-classification-on-rwhar-gyro.md>): Short-context classification; RWHAR gyro; Accuracy: 49.51.

- [Short-context classification on RWHAR acc](<https://www.sota2.com/research/sota/short-context-classification-on-rwhar-acc.md>): Short-context classification; RWHAR acc; Accuracy: 35.89.

- [Short-context classification on PAMAP2 gyro](<https://www.sota2.com/research/sota/short-context-classification-on-pamap2-gyro.md>): Short-context classification; PAMAP2 gyro; Accuracy: 34.54.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2412.05244>)

[PDF](<https://arxiv.org/pdf/2412.05244.pdf>)
