Logo-LLM: Local and Global Modeling with Large Language Models for Time Series Forecasting
Wenjie Ou, Zhishuo Zhao, Dongyue Guo, Yi Lin
TL;DR
Logo-LLM tackles time series forecasting by exploiting hierarchical representations in a pre-trained LLM: shallow layers encode local dynamics while deeper layers capture global trends. It decouples these signals via Local-Mixer and Global-Mixer modules and aligns them with patch-based temporal inputs, using a frozen GPT-2 backbone to maintain efficiency. Across long-term, few-shot, and zero-shot benchmarks, Logo-LLM achieves superior or competitive accuracy with low additional computation, demonstrating strong data efficiency and cross-domain generalization. This work highlights the value of multi-layer LLM semantics for multi-scale temporal modeling and opens avenues for more principled, layer-aware forecasting with frozen backbones.
Abstract
Time series forecasting is critical across multiple domains, where time series data exhibits both local patterns and global dependencies. While Transformer-based methods effectively capture global dependencies, they often overlook short-term local variations in time series. Recent methods that adapt large language models (LLMs) into time series forecasting inherit this limitation by treating LLMs as black-box encoders, relying solely on the final-layer output and underutilizing hierarchical representations. To address this limitation, we propose Logo-LLM, a novel LLM-based framework that explicitly extracts and models multi-scale temporal features from different layers of a pre-trained LLM. Through empirical analysis, we show that shallow layers of LLMs capture local dynamics in time series, while deeper layers encode global trends. Moreover, Logo-LLM introduces lightweight Local-Mixer and Global-Mixer modules to align and integrate features with the temporal input across layers. Extensive experiments demonstrate that Logo-LLM achieves superior performance across diverse benchmarks, with strong generalization in few-shot and zero-shot settings while maintaining low computational overhead.
