In-Context and Few-Shots Learning for Forecasting Time Series Data based on Large Language Models
Saroj Gopali, Bipin Chhetri, Deepika Giri, Sima Siami-Namini, Akbar Siami Namin

TL;DR
This paper evaluates the effectiveness of large language models and foundation models like TimesFM in forecasting time series data, comparing their performance with traditional deep learning models such as LSTM and TCN.
Contribution
It demonstrates that pre-trained time series foundation models, especially TimesFM, outperform traditional models in accuracy and inference time, highlighting their potential for real-time forecasting.
Findings
TimesFM achieves the lowest RMSE (0.3023) among tested models.
OpenAI's o4-mini performs well in zero-shot settings.
Foundation models show promise for scalable, real-time time series forecasting.
Abstract
Existing data-driven approaches in modeling and predicting time series data include ARIMA (Autoregressive Integrated Moving Average), Transformer-based models, LSTM (Long Short-Term Memory) and TCN (Temporal Convolutional Network). These approaches, and in particular deep learning-based models such as LSTM and TCN, have shown great results in predicting time series data. With the advancement of leveraging pre-trained foundation models such as Large Language Models (LLMs) and more notably Google's recent foundation model for time series data, {\it TimesFM} (Time Series Foundation Model), it is of interest to investigate whether these foundation models have the capability of outperforming existing modeling approaches in analyzing and predicting time series data. This paper investigates the performance of using LLM models for time series data prediction. We investigate the in-context…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsStock Market Forecasting Methods · Traffic Prediction and Management Techniques · Forecasting Techniques and Applications
