arXiv:2611.04825stat.MLNov 2026

Manuscript Offprint

arXiv:2611.04825

UniFlow: Unified Multi-Scale Flow Matching for Time Series Generation

Shibo Feng, Wei Li, Min Wu, Chunyan Miao, Peilin Zhao

Shibo Feng*, Wei Li*, Min Wu Senior Member, IEEE, Chunyan Miao† Fellow, IEEE, Peilin Zhao† Senior Member, IEEE

Abstract—Real-world time series exhibit complex dynamics across multiple temporal resolutions, yet effectively incorporating multi-scale information into generative modeling remains challenging without increasing generative complexity. We propose UniFlow, a unified framework that integrates multi-scale representation learning with efficient non-autoregressive generation through a shared-semantic discrete interface. Specifically, a multi-scale tokenizer employs shared-index voting to consolidate complementary temporal information into a single public-ID sequence, while scale-specific codebooks preserve the information required for reconstruction. Building on this unified representation, we develop geometry-aware categorical flow matching, which initializes transport from learned low-rank anchors and generates public identities non-autoregressively. This design captures multi-scale temporal structure without requiring multiple generative token streams or sequential token decoding. Experiments across four benchmarks and both short- and long-term settings demonstrate improved generative fidelity, strong cross-scale consistency, and substantial inference speedups over representative autoregressive and diffusion-based baselines. Code is available at https://github.com/William-Liwei/uniflow

Index Terms—Time Series, Vector Quantization, Flow Matching.

I. INTRODUCTION

Time-series generation aims to learn the underlying distribution of temporal processes, supporting applications such as simulation, data augmentation, privacy-preserving analysis, and downstream model development. Recent advances span adversarial generators [1, 2], variational latent models [3], diffusion-based approaches [4, 5, 6], and flow-based generative models [7]. Despite their progress in generative fidelity, effectively incorporating multiscale temporal information into a unified and efficient generation process remains an important challenge.

Real-world time series exhibit complex dynamics across multiple temporal resolutions, ranging from local fluctuations and periodic variations to long-term trends. These structures provide complementary information about the same underlying process, motivating multiscale representation learning in temporal modeling [8, 9, 10]. For generation, however,

capturing individual temporal patterns is not sufficient: the generated sequences must also preserve their relationships across scales. This raises a fundamental question: How can complementary multiscale information be integrated into a unified generative representation without introducing multiple token streams or excessive generation complexity? Addressing this question involves three key challenges.

  1. Capturing Complementary Multi-scale Dynamics. Temporal patterns exhibit different characteristics across resolutions, making it difficult for a single temporal view to explicitly distinguish local variations from broader temporal structures. An effective representation should capture complementary information at different scales while preserving their correspondence to the same underlying sequence.

  2. Unifying Multi-scale Semantics without Interface Expansion. Multi-scale representations naturally introduce multiple sets of latent features or discrete tokens. Directly generating separate scale-specific streams requires coordination across representations, while concatenating them increases the sequence length presented to the generator. The challenge is therefore to consolidate multi-scale information into shared semantic identities without expanding the generator-facing token sequence.

  3. Efficient Generation of Unified Token Sequences. Autoregressive token generation relies on sequential decoding, where predictions depend on previously generated tokens. Its teacher-forced training procedure also introduces a discrepancy between training and inference histories, potentially accumulating errors during generation [11, 12]. An alternative should generate the complete shared-token sequence non-autoregressively while effectively modeling the structure of its latent distribution.

To address these challenges, we propose UniFlow, a unified multi-scale time-series generation framework that connects shared-semantic tokenization with geometry-aware categorical flow matching. In Stage 1, aligned scale-specific encoders extract complementary temporal representations, while shared-index voting assigns a common public identity to each temporal position. Scale-specific codebooks retain reconstruction details, whereas the resulting public-ID sequence provides a single, length-LL generative interface regardless of the number of scales. In Stage 2, a learned low-rank anchor prior provides structured initialization for categorical flow matching, which models the complete public-ID trajectory through non-autoregressive continuous transport. This design integrates multi-scale representation learning with efficient generation without requiring multiple synchronized token streams.

Shibo Feng and Chuanyan Miao are with the College of Computing and Data Science, Nanyang Technological University, Singapore. Email: {shibo001,ascymiao}@ntu.edu.sg.

Wei Li is with Shanghai Jiao Tong University and Beijing Zhongguancun Academy, Shanghai, China. Email: liwei008009@163.com

Min Wu is with the Institute for Infocomm Research and AIMfg, A* STAR, Singapore 138634. Email: wumin@i2r.a-star.edu.sg.

Peilin Zhao is with the School of Artificial Intelligence, Shanghai Jiao Tong University, Shanghai, China. Email: peilinzhao@sjtu.edu.cn.

  • Authors contributed equally, † Corresponding author.

Our main contributions are summarized as follows:

  • Unified Multi-scale Semantic Tokenization. We introduce shared-index voting with scale-specific codebooks to integrate complementary temporal information into a single public-ID sequence, preserving multi-scale reconstruction information without expanding the generative interface.

  • Geometry-Aware Non-Autoregressive Generation. We develop a categorical flow framework that combines learned low-rank anchor initialization with parallel public-ID generation, avoiding sequential token decoding while leveraging the learned latent structure.

  • Generative Fidelity and Multi-scale Consistency. Extensive experiments across four benchmarks demonstrate improved generative fidelity and inference efficiency. Reconstruction, cross-scale consistency, and scale-aware statistical analyses further validate the effectiveness of the unified multi-scale representation.

References (33)