Forging Time Series with Language: A Large Language Model Approach to Synthetic Data Generation
Cécile Rousseau, Tobia Boschi, Giandomenico Cornacchia, Dhaval Salwala, Alessandra Pascale, Juan Bernabe Moreno
TL;DR
SDForger tackles the challenge of generating high-quality multivariate time series in data-scarce settings by decoupling representation learning from generation. It converts time-series into compact tabular embeddings via Functional Principal Components or FastICA, encodes these embeddings as textual prompts, and fine-tunes lightweight autoregressive LLMs to generate new embedding rows, which are decoded back into time-series data. The approach yields synthetic sequences that preserve statistical properties and temporal dynamics, improving downstream forecasting without sacrificing diversity, and it scales efficiently with long windows due to the embedding-based representation. Extensive experiments across diverse domains show competitive or superior similarity and utility metrics compared with strong baselines, and results remain robust across ablations and LLM backbones. By enabling textual conditioning and multimodal extensions, SDForger offers a flexible pathway to integrating time series with natural language and other modalities in practical applications.
Abstract
SDForger is a flexible and efficient framework for generating high-quality multivariate time series using LLMs. Leveraging a compact data representation, SDForger provides synthetic time series generation from a few samples and low-computation fine-tuning of any autoregressive LLM. Specifically, the framework transforms univariate and multivariate signals into tabular embeddings, which are then encoded into text and used to fine-tune the LLM. At inference, new textual embeddings are sampled and decoded into synthetic time series that retain the original data's statistical properties and temporal dynamics. Across a diverse range of datasets, SDForger outperforms existing generative models in many scenarios, both in similarity-based evaluations and downstream forecasting tasks. By enabling textual conditioning in the generation process, SDForger paves the way for multimodal modeling and the streamlined integration of time series with textual information. The model is open-sourced at https://github.com/IBM/fms-dgt/tree/main/fms_dgt/public/databuilders/time_series.
