AI
New framework merges language models with Bayesian state-space methods for unified time-series and text forecasting
Researchers combine large language models with probabilistic state-space modeling to forecast both numerical sequences and natural language summaries from mixed data sources.
A research team has unveiled a novel approach to temporal prediction that bridges two previously separate modeling paradigms: it integrates large language models with Bayesian state-space methods to handle forecasting tasks that involve both structured numerical data and unstructured text.
The Problem with Existing Methods#
Real-world forecasting often requires making sense of multiple data types simultaneously—time-series measurements alongside written context or commentary. However, current architectures struggle with this heterogeneous input, typically imposing rigid constraints on how far back into history they can look and how far ahead they can predict. More fundamentally, most existing systems lack principled ways to quantify their forecast uncertainty, leaving users without a sense of confidence in predictions.
How LBS Works#
The new framework, called LBS (LLM-integrated Bayesian State space models), tackles these limitations through a two-part design. First, a state-space model backbone tracks the evolution of hidden states over time, from which both numbers and text observations emerge. Second, a pretrained language model is adapted to convert raw textual input into state estimates for filtering and to generate readable textual summaries that align with the underlying temporal trajectory.
This dual-component architecture yields several practical advantages:
- Flexible windows — the model can adjust how much historical data it uses and how far into the future it projects
- Uncertainty quantification — the Bayesian framework naturally produces confidence bounds alongside point forecasts
- Improved generalization — state-space models' inductive biases suit them well to dynamical systems, helping the model transfer better to new datasets
Results and Significance#
On the TextTimeCorpus benchmark, LBS outperformed the previous best-known approach by a margin of 13.20%. Notably, the model outputs not only numerical forecasts but also human-readable textual descriptions of those predictions—a first for research unifying LLMs and SSMs in joint numerical-textual prediction.
The authors frame this work as a foundational step toward multimodal temporal reasoning, opening a new avenue for systems that must reason about time across different data modalities simultaneously.

