CoGenCast: A Coupled Autoregressive-Flow Generative Framework for Time Series Forecasting
Yaguo Liu, Mingyue Cheng, Daoyu Wang, Xiaoyu Tao, Qi Liu
TL;DR
CoGenCast introduces a hybrid time series forecasting framework that unifies semantic reasoning and continuous stochastic dynamics by reconfiguring a pre-trained decoder-only LLM into an encoder–decoder backbone and coupling it with a flow-matching mechanism. The encoder-decoder captures rich contextual semantics, while the flow-matching module models temporal evolution via learnable average velocity, enabling one-step generation. Extensive experiments across ten real-world datasets show state-of-the-art performance and robust generalization, with notable gains over both LLM-based and diffusion-based baselines and strong evidence for cross-domain training benefits. The work provides a practical, efficient approach to uncertainty-aware forecasting and highlights the value of integrating large-language-model priors with continuous probabilistic generation for time series tasks.
Abstract
Time series forecasting can be viewed as a generative problem that requires both semantic understanding over contextual conditions and stochastic modeling of continuous temporal dynamics. Existing approaches typically rely on either autoregressive large language models (LLMs) for semantic context modeling or diffusion-like models for continuous probabilistic generation. However, neither method alone can adequately model both aspects simultaneously. In this work, we propose CoGenCast, a hybrid generative framework that couples pre-trained LLMs with flow-matching mechanism for effective time series forecasting. Specifically, we reconfigure pre-trained decoder-only LLMs into a native forecasting encoder-decoder backbone by modifying only the attention topology, enabling bidirectional context encoding and causal representation generation. Building on this, a flow-matching mechanism is further integrated to model temporal evolution, capturing continuous stochastic dynamics conditioned on the autoregressively generated representation. Notably, CoGenCast naturally supports multimodal forecasting and cross-domain unified training. Extensive experiments on multiple benchmarks show that CoGenCast consistently outperforms previous compared baselines. Code is available at https://github.com/liuyaguo/_CoGenCast.
