TimePerceiver: An Encoder-Decoder Framework for Generalized Time-Series Forecasting
Jaebin Lee, Hankook Lee
TL;DR
TimePerceiver introduces a unified encoder–decoder framework for generalized time-series forecasting that extends beyond predicting only the future. By formulating a generalized objective over arbitrary input and target temporal segments and coupling it with a patch-based embedding strategy, a latent bottleneck encoder, and a query-based decoder, the approach flexibly handles extrapolation, interpolation, and imputation. Empirical results across eight real-world datasets show consistent, state-of-the-art performance and strong efficiency due to the latent bottleneck reducing attention complexity. The work emphasizes aligning architectural design with the generalized forecasting task, offering a pathway toward more holistic, end-to-end time-series models with practical impact in diverse domains.
Abstract
In machine learning, effective modeling requires a holistic consideration of how to encode inputs, make predictions (i.e., decoding), and train the model. However, in time-series forecasting, prior work has predominantly focused on encoder design, often treating prediction and training as separate or secondary concerns. In this paper, we propose TimePerceiver, a unified encoder-decoder forecasting framework that is tightly aligned with an effective training strategy. To be specific, we first generalize the forecasting task to include diverse temporal prediction objectives such as extrapolation, interpolation, and imputation. Since this generalization requires handling input and target segments that are arbitrarily positioned along the temporal axis, we design a novel encoder-decoder architecture that can flexibly perceive and adapt to these varying positions. For encoding, we introduce a set of latent bottleneck representations that can interact with all input segments to jointly capture temporal and cross-channel dependencies. For decoding, we leverage learnable queries corresponding to target timestamps to effectively retrieve relevant information. Extensive experiments demonstrate that our framework consistently and significantly outperforms prior state-of-the-art baselines across a wide range of benchmark datasets. The code is available at https://github.com/efficient-learning-lab/TimePerceiver.
