CALF: Aligning LLMs for Time Series Forecasting via Cross-Modal Fine-Tuning

Abstract

Deep learning (e.g., Transformer) has been widely and successfully used in multivariate time series forecasting (MTSF). Unlike existing methods that focus on training models from a single modal of time series input, large language models (LLMs) based MTSF methods with cross-modal text and time series input have recently shown great superiority, especially with limited temporal data. However, current LLM-based MTSF methods usually focus on adapting and fine-tuning LLMs, while neglecting the distribution discrepancy between textual and temporal input tokens, thus leading to sub-optimal performance. To address this issue, we propose a novel Cross-Modal LLM Fine-Tuning (CALF) framework for MTSF by reducing the distribution discrepancy between textual and temporal data, which mainly consists of the temporal target branch with temporal input and the textual source branch with aligned textual input. To reduce the distribution discrepancy, we develop the cross-modal match module to first align cross-modal input distributions. Additionally, to minimize the modality distribution gap in both feature and output spaces, feature regularization loss is developed to align the intermediate features between the two branches for better weight updates, while output consistency loss is introduced to allow the output representations of both branches to correspond effectively. Thanks to the modality alignment, CALF establishes state-of-the-art performance for both long-term and short-term forecasting tasks with low computational complexity, and exhibits favorable few-shot and zero-shot abilities similar to that in LLMs.

Cite

Text

Liu et al. "CALF: Aligning LLMs for Time Series Forecasting via Cross-Modal Fine-Tuning." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I18.34082

Markdown

[Liu et al. "CALF: Aligning LLMs for Time Series Forecasting via Cross-Modal Fine-Tuning." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/liu2025aaai-calf/) doi:10.1609/AAAI.V39I18.34082

BibTeX

@inproceedings{liu2025aaai-calf,
  title     = {{CALF: Aligning LLMs for Time Series Forecasting via Cross-Modal Fine-Tuning}},
  author    = {Liu, Peiyuan and Guo, Hang and Dai, Tao and Li, Naiqi and Bao, Jigang and Ren, Xudong and Jiang, Yong and Xia, Shu-Tao},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {18915-18923},
  doi       = {10.1609/AAAI.V39I18.34082},
  url       = {https://mlanthology.org/aaai/2025/liu2025aaai-calf/}
}