TL;DR
QUALS introduces a "corpus equilibrium" framework for universal time series forecasting that tackles both skewed pattern distributions and differences in pattern learnability. By combining deep vector quantization with reinforcement learning-based learnability synchronization, it allows foundation models to achieve superior zero-shot performance while using up to 16× less training data.
What Problem Does This Paper Address?
Time series foundation models (such as Chronos, MOIRAI, and Sundial) typically rely on a "blind scaling" paradigm—aggregating massive cross-domain datasets to induce emergent zero-shot forecasting capabilities. However, the authors identify a critical dual imbalance in these uncurated corpora:
- Pattern Skew: A few dominant domains or motifs (like climate data) occupy the vast majority of the dataset, creating a severe long-tail distribution where rare but important patterns are underrepresented.
- Learnability Discrepancy: Different temporal patterns vary wildly in complexity. Simple, regular motifs are learned rapidly, while non-stationary or multi-seasonal patterns take much longer to optimize.
Standard uniform or stratified sampling repeatedly exposes models to already-saturated easy patterns while leaving complex patterns under-trained, leading to massive computational waste.
Methods
QUALS solves these imbalances through a three-stage pipeline:
- Patch-Level Pattern Discretization (VQ-SwinTTS): Continuous time series are mapped into discrete codes using a hierarchical Swin Transformer encoder and a shared codebook. It applies a spherical constraint (via cosine similarity) and a rotation trick to ensure shape-invariant, collapse-resistant representations.
- Series-Level Pattern Binning: To handle non-uniform semantics, the codebook space is projected onto principal components via a Karhunen-Loève Transform (KLT). Using Empirical Cumulative Distribution Functions (ECDF), the space is divided into density-balanced "pattern bins," effectively flattening the long-tail distribution.
- Learnability Synchronization via GRPO: To account for varying difficulty, QUALS profiles the convergence speeds of these bins offline using a lightweight proxy model. It then applies Group Relative Policy Optimization (GRPO)—a reinforcement learning strategy—to dynamically adjust sampling weights. Bins that learn slowly receive higher weights, synchronizing the learning pace across the entire corpus.
Datasets
- Pre-training: The framework was evaluated using the massive GIFT-Eval Pretrain corpus (~239B points) as the raw data pool, and the BLAST corpus (81.1B tokens) to train the initial VQ-SwinTTS encoder.
- Evaluation: Models were tested across several diverse benchmarks: ARIES TEST (synthetic data with complex temporal properties), BLAST-configured GIFT-Eval (a strictly leakage-free subset), the full GIFT-Eval (97 tasks), TSFM-Bench, FEV-Bench, and standard LTSF datasets (ETT, Weather).
Key Insights and Ideas
- Data Curation > Data Scaling: Blindly adding more data points introduces massive redundancy. For instance, over 90% of tokens in standard large-scale datasets represent repetitive, easily learned patterns that offer diminishing returns.
- Synchronized Learning Pace: True corpus equilibrium requires balancing not just what patterns are in the data, but how those patterns are learned. Forcing the model to focus on "slow learners" drastically accelerates overall convergence.
- GPU-Accelerated Pipeline: Shifting from CPU-bound heuristic statistical feature extraction to a deep learning-driven quantization approach allows lossless processing of billion-scale datasets in hours instead of weeks.
Key Results
- Massive Data Efficiency: Pre-training TimeMoE-Base on QUALS achieved a lower MSE than the official baseline while using 16× fewer tokens (26.20B vs. 419.43B).
- Zero-Shot Superiority: QUALS-trained models consistently outperformed their baseline counterparts across all benchmarks. On the synthetic ARIES TEST, it reduced MOIRAI's zero-shot MSE by over 60%.
- Leakage-Free Robustness: Even when evaluated on benchmarks where official models had an unfair advantage due to downstream data leakage, QUALS models (trained on strictly leakage-free data) still delivered superior performance.
Limitations and Future Work
- Proxy Dependency: The learnability profiling relies on a lightweight proxy model (e.g., ChronosBolt-Small). If a target architecture's inductive biases differ drastically from the proxy, the estimated learnability profiles might be suboptimal.
- Bin Sensitivity: The number of pattern bins ($M$) is a fixed hyperparameter that requires careful tuning; too few bins cause under-fitting, while too many cause data sparsity.
- Static Profiling: The current framework uses an offline profiling phase. The authors note that future work could explore online, dynamic learnability synchronization that adapts concurrently with the target model's training.
Summary updated