UniFlow improves speed and quality of multiscale time series generation
UniFlow: Unified Multi-Scale Flow Matching for Time Series Generation
Artificial Intelligence
Summary
Time series data, like weather or financial records, change in complicated ways over different time scales. The authors propose UniFlow, a new method that learns these different time scales together through a shared representation, making it easier and faster to generate realistic data. UniFlow avoids slow step-by-step prediction by generating sequences all at once, while keeping details consistent across time scales. Tests show it produces better and faster results than some existing methods.
What this means in practice
- •For data engineering teams: Generate realistic multi-resolution time series data faster for simulations or synthetic data augmentation pipelines.
- •For network operations teams: Rapidly synthesize consistent multi-scale network traffic patterns to test monitoring and anomaly detection systems.
Authors
Shibo Feng, Wei Li, Min Wu, Chunyan Miao, Peilin Zhao
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