TimeSqueeze: Dynamic Patching for Efficient Time Series Forecasting
About
Transformer-based time series foundation models face a fundamental trade-off in choice of tokenization: point-wise embeddings preserve temporal fidelity but scale poorly with sequence length, whereas fixed-length patching improves efficiency by imposing uniform boundaries that may disrupt natural transitions and blur informative local dynamics. In order to address these limitations, we introduce TimeSqueeze, a dynamic patching mechanism that adaptively selects patch boundaries within each sequence based on local signal complexity. TimeSqueeze first applies a lightweight state-space encoder to extract full-resolution point-wise features, then performs content-aware segmentation by allocating short patches to information-dense regions and long patches to smooth or redundant segments. This variable-resolution compression preserves critical temporal structure while substantially reducing the token sequence presented to the Transformer backbone. Specifically for large-scale pretraining, TimeSqueeze attains up to 20x faster convergence and 8x higher data efficiency compared to equivalent point-token baselines. Experiments across long-horizon forecasting benchmarks show that TimeSqueeze consistently outperforms comparable architectures that use either point-wise tokenization or fixed-size patching.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Time Series Forecasting | ETTh1 | MSE0.359 | 729 | |
| Multivariate Forecasting | ETTh1 | MSE0.422 | 686 | |
| Time Series Forecasting | ETTh2 | MSE0.282 | 561 | |
| Multivariate Time-series Forecasting | ETTm1 | MSE0.362 | 466 | |
| Multivariate Time-series Forecasting | ETTm2 | MSE0.272 | 389 | |
| Multivariate Time-series Forecasting | Weather | MSE0.23 | 340 | |
| Time Series Forecasting | Weather | MSE0.167 | 295 | |
| Multivariate Time-series Forecasting | ETTh2 (test) | MSE0.347 | 187 | |
| Multivariate Time-series Forecasting | ETTh1 (test) | MSE0.432 | 150 | |
| Multivariate Time-series Forecasting | Weather (test) | MSE0.243 | 140 |