Rethinking Time Series Tokenization from a Frequency Perspective
Zelong Tian, Ming Jin, Bo Du, Shirui Pan
NeurIPS page · Open on the map
Category: Time Series, PDEs & Probabilistic ML › Time Series Foundation Models · Type: new method · Keywords: time series tokenization, frequency domain, spectral distortion, forecasting, anomaly detection
Areas: Time Series › Long-Horizon Forecasting Architectures › Efficient Long-Horizon Forecasting
Summary
TimeFT is a frequency-based tokenizer that eliminates spectral distortions in time series tokenization, leading to improved performance on forecasting, classification, and anomaly detection.
Explained to a 5-year-old
People cut up time series data into pieces to understand it. The current way of cutting makes the data lose some important patterns like trends and cycles. The new idea looks at the data's frequencies instead of just cutting it. By using frequencies, the new method keeps the important patterns intact. This helps models work better on tasks like predicting, classifying, and finding anomalies.
Explained to a 5-year-old, longer
Time series data is like a line that changes over time, such as temperature readings. To understand it, researchers split the line into small pieces called tokens. The usual way of splitting just looks at the values in order. This simple splitting can cause the important patterns, like overall trends or repeating cycles, to get mixed up. The new method looks at the data from a different angle, using its frequencies. Frequencies tell us how often certain patterns repeat, like a wave going up and down. By working in the frequency domain, the method can separate the different patterns more cleanly. It then creates tokens that keep the original patterns intact. The new tokens are made without learning any parameters, so they are simple and fast. This makes it easy to replace the old tokenizers without changing the rest of the model. Experiments show that using these new tokens helps models predict future values more accurately. It also improves classification of different types of events and detection of unusual behavior.
For a technical reader
Traditional tokenizers for time series cut the data into fixed-length windows, which can distort important frequency information. The authors analyze how this distortion affects model performance and derive conditions that cause it. Their solution processes the data in the frequency domain, using partitioning, shifting, and sampling to create tokens that preserve the original patterns. The method requires no trainable parameters and adds negligible computational cost, making it a drop-in replacement for existing tokenizers. Experiments across forecasting, classification, and anomaly detection show consistent performance gains.
Problem
Current time series tokenization methods that partition data into subsequences cause spectral distortions, making learned representations diverge from true patterns like trend and seasonality, which harms model performance.
Method
The approach tokenizes time series by operating in the frequency domain, performing frequency-domain partitioning, frequency shifting, and Nyquist sampling to obtain tokens without introducing spectral distortion. It requires no learnable parameters and has negligible computational overhead, allowing it to replace existing tokenizers directly.
Results
The approach shows consistent and significant performance improvements across forecasting, classification, and anomaly detection tasks.
Contributions
The paper identifies spectral distortion as a fundamental issue in time series tokenization and provides a theoretical analysis of its causes. It introduces a frequency-based tokenization method that eliminates this distortion, offering a parameter-free, low-complexity drop-in replacement for existing tokenizers.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction