TimeOmni-o1: Bidirectionally Coupling Time Series Foundation Models and LLMs for Multimodal Reasoning and Forecasting

Time series from real-world systems are often accompanied by text, such as a report on an event that affects them. Two common tasks on these series are understanding, e.g., answering questions about a series, and forecasting its future values. Both tasks require reasoning over the series and the text together.

来自现实世界系统的时间序列通常伴随着文本,例如关于影响这些序列的事件的报告。针对这些序列的两个常见任务是理解(例如回答有关序列的问题)和预测其未来值。这两个任务都需要对序列和文本进行联合推理。

Moreover, understanding outputs text while forecasting outputs a time series, so serving both requires a model that reads and generates both modalities. Large language models (LLMs) read time series as digit tokens and handle long series poorly. Time series foundation models (TSFMs) forecast well from large-scale pretraining but typically neither read nor generate text.

此外,理解任务输出文本,而预测任务输出时间序列,因此同时处理这两者需要一个能够读取和生成两种模态的模型。大型语言模型(LLMs)将时间序列读取为数字标记,且处理长序列的能力较差。时间序列基础模型(TSFMs)通过大规模预训练能够进行良好的预测,但通常既不能读取也不能生成文本。

Time series language models add a time series modality to the LLM but forecast on the LLM side, leaving the TSFM’s pretrained forecasting ability unused. We present TimeOmni-o1, which couples a pretrained TSFM and an LLM bidirectionally. In one direction, the TSFM encodes the series in compressed form for the LLM, which reasons over it together with the text.

时间序列语言模型为 LLM 增加了时间序列模态,但在 LLM 端进行预测,导致 TSFM 的预训练预测能力未被利用。我们提出了 TimeOmni-o1,它将预训练的 TSFM 和 LLM 双向耦合。在一个方向上,TSFM 将序列编码为压缩形式供 LLM 使用,LLM 将其与文本一起进行推理。

In the other, the LLM’s reasoning is fed back into the TSFM, which produces the forecast conditioned on it. One model architecture thus reads and generates both series and text, reasons in text, and draws on the TSFM’s pretrained forecasting ability. To train it, we build MMTR, a multimodal time series reasoning dataset with annotated reasoning traces, covering both tasks across 12 domains with 500k+ samples.

在另一个方向上,LLM 的推理结果被反馈给 TSFM,TSFM 据此生成预测。因此,该模型架构既能读取和生成序列与文本,又能进行文本推理,并利用了 TSFM 的预训练预测能力。为了训练该模型,我们构建了 MMTR,这是一个包含带注释推理轨迹的多模态时间序列推理数据集,涵盖了 12 个领域的两项任务,包含超过 50 万个样本。

On MMTR, TimeOmni-o1 outperforms existing models on both understanding and forecasting across most domains, as well as the LLM and the TSFM inside it when used individually. The gains carry over to three open benchmarks, where it outperforms the dedicated time series models.

在 MMTR 上,TimeOmni-o1 在大多数领域的理解和预测任务中均优于现有模型,同时也优于单独使用的 LLM 和 TSFM。这些优势延伸到了三个开放基准测试中,在这些测试中,它也优于专门的时间序列模型。