TimeMKG: Knowledge-Infused Causal Reasoning for Multivariate Time Series Modeling

Yifei Sun, Junming Liu, Yirong Chen, Xuefeng Yan, Ding Wang
8/13/2025
cs.LGcs.AI

No official code found. Best implementation: YifeiSunEcust/TimeMKG (8 stars, last commit 2025-12-08).

Abstract

Multivariate time series data typically comprises two distinct modalities: variable semantics and sampled numerical observations. Traditional time series models treat variables as anonymous statistical signals, overlooking the rich semantic information embedded in variable names and data descriptions. However, these textual descriptors often encode critical domain knowledge that is essential for robust and interpretable modeling. Here we present TimeMKG, a multimodal causal reasoning framework that elevates time series modeling from low-level signal processing to knowledge informed inference. TimeMKG employs large language models to interpret variable semantics and constructs structured Multivariate Knowledge Graphs that capture inter-variable relationships. A dual-modality encoder separately models the semantic prompts, generated from knowledge graph triplets, and the statistical patterns from historical time series. Cross-modality attention aligns and fuses these representations at the variable level, injecting causal priors into downstream tasks such as forecasting and classification, providing explicit and interpretable priors to guide model reasoning. The experiment in diverse datasets demonstrates that incorporating variable-level knowledge significantly improves both predictive performance and generalization.

View on arXivView PDF

Code Implementations(1)

The repo is the official implementation for the paper: TimeMKG: Knowledge-Infused Causal Reasoning for Multivariate Time Series Modeling.

81PythonSep 29, 202510 months ago

Similar Papers

Cite this paper

@article{sun2025timemkg,
  title  = {TimeMKG: Knowledge-Infused Causal Reasoning for Multivariate Time Series Modeling},
  author = {Yifei Sun and Junming Liu and Yirong Chen and Xuefeng Yan and Ding Wang},
  year   = {2025},
  eprint = {2508.09630},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.09630v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.09630.svg)](https://codeofpaper.com/paper/2508.09630)

Discussion