TL;DR
GALA introduces a novel two-stage framework for text-to-time-series generation that explicitly aligns natural language prompts with time-series data before synthesis. By combining contrastive learning with an auxiliary generative loss, GALA creates a "generation-aware" embedding space that breaks the traditional trade-off between synthesis realism and caption adherence, setting a new state-of-the-art on large-scale benchmarks.
What Problem Does This Paper Address?
Generating realistic time-series data from natural language descriptions (e.g., "an ECG showing a sudden spike in heart rate") is highly valuable for data augmentation, privacy-preserving data sharing, and simulations. However, existing text-conditioned generators suffer from a fundamental flaw: their text embeddings are poorly matched to the time-series modality.
Current models either use frozen text encoders (which have no concept of time-series signals) or fine-tune the text encoder purely via the generator's denoising loss (meaning alignment is just an accidental byproduct). This lack of deliberate cross-modal alignment forces a harsh trade-off: models either generate realistic-looking data that ignores the text prompt, or follow the prompt closely but produce low-quality, unrealistic signals. Furthermore, standard alignment techniques (like CLIP) focus only on coarse retrieval and ranking, discarding the fine-grained, reconstruction-level details a generator needs.
Methods
GALA (Generation-Aware cross-modaL Alignment) tackles this problem by decoupling alignment from generation into a two-stage approach:
- Stage 1: Generation-Aware Alignment: GALA maps text captions (via Embedding-Gemma-300M) and time-series fragments (via Chronos-2) into a shared embedding space. Both models are adapted using Low-Rank Adaptation (LoRA). Crucially, the alignment objective combines a standard contrastive loss (InfoNCE) with an auxiliary generative loss. A lightweight, temporary denoiser ensures that the text embedding retains enough fine-grained structural detail to actually reconstruct the time series, rather than just ranking it. GALA also replaces standard instance normalization with dataset-level global z-score normalization to preserve absolute magnitude information.
- Stage 2: Conditional Generation: The aligned text encoder from Stage 1 is frozen. Its embeddings are fed as the sole conditioning signal into a conditional flow-matching generator (a DiT-style diffusion transformer) that synthesizes the final time-series data from noise.
Datasets
The authors evaluate GALA on TSFragment-600K, a large-scale benchmark containing over 600,000 text-time-series pairs. The benchmark spans four distinct domains:
- ETTh1s (Electricity Transfer Hydrology, hourly)
- ETTm1 (Electricity Transfer Hydrology, minutely)
- Electricity (Power consumption load)
- Traffic (Road occupancy rates)
The experiments test three different fragment lengths: 24, 48, and 96 timestamps.
Key Insights and Ideas
- Generative Loss is Essential for Alignment: Pure contrastive alignment saturates once the model can easily tell positive and negative pairs apart, leading to coarse embeddings. Adding a generative term forces the embedding to remain a "sufficient statistic" for reconstruction, capturing fine-grained morphology.
- Tuning the Text Encoder Matters Most: Ablation studies showed that keeping the text encoder frozen while only training the time-series side completely collapses caption adherence. The text representation itself must be reshaped to understand the signal modality.
- Don't Normalize Away the Meaning: Standard time-series foundation models use instance normalization, which wipes out absolute scale. GALA uses global z-score normalization because captions frequently reference absolute values (e.g., "sudden high load"), which would otherwise be lost.
Key Results
- New State-of-the-Art: GALA achieves dominant performance, ranking first in 30 out of 36 metric columns across the TSFragment-600K benchmark.
- Superior Rankings: It achieves an average rank of 1.08, 1.08, and 1.42 at lengths 24, 48, and 96, significantly outperforming the strongest baseline, VerbalTS (which scored ranks of 1.92, 2.00, and 1.75).
- Breaking the Trade-off: GALA improves both fidelity (measured by FID) and caption adherence (measured by CTTP and JFTSD) simultaneously, proving that proper alignment eliminates the need to sacrifice realism for prompt accuracy.
Limitations and Future Work
- Thin Margins on Low-Diversity Data: GALA's performance margin was thinnest on the
trafficdataset. The authors discovered thattrafficis essentially a "one-waveform benchmark" where shapes are just phase-shifted versions of a single daily template. This lack of morphological diversity leaves less for a text-series alignment mechanism to exploit. - Future Directions: The authors note that promising future work includes scaling the framework to handle longer time-series signals and exploring text-conditional synthesis in other non-visual modalities.
Summary updated