TL;DR
Instead of forcing expensive Large Language Models (LLMs) to act as time series generators, LeMoLE uses a frozen LLM purely as a text encoder to modulate an ensemble of fast, lightweight linear experts with diverse lookback horizons. By fusing global and dynamic text metadata through Feature-wise Linear Modulation (FiLM), LeMoLE outperforms complex deep networks and alignment-based time-series LLMs while maintaining high inference speed.
What Problem Does This Paper Address?
While deep learning models—especially Transformers—dominate long-term time series forecasting, recent empirical work has shown that simple linear models (e.g., DLinear, RLinear) often match or exceed their accuracy with minimal computational overhead. However, simple linear models struggle to capture complex non-linear dynamics and varying long-range dependencies.
To overcome this, recent approaches (such as Time-LLM, AutoTimes, and GPT4TS) have attempted to "reprogram" or align pre-trained LLMs to directly process and generate time series data. Unfortunately, using an LLM directly as the time-series predictor introduces massive computational costs, slow autoregressive decoding, and often degraded accuracy due to the fundamental syntactic mismatch between language tokens and continuous numerical time series. LeMoLE addresses this dilemma: Can we leverage the rich semantic knowledge of LLMs to guide forecasting without incurring the latency and parameter overhead of using an LLM as the forecasting engine?
Methods
LeMoLE (LLM-Enhanced Mixture of Linear Experts) separates semantic representation from temporal numerical forecasting:
- Mixture of Linear Experts with Multi-Scale Lookback: Instead of using identical lookback windows across experts, LeMoLE feeds $M$ sub-series of differing window lengths ($w_1 \ge w_2 \ge \dots \ge w_M$) to separate linear projections. This encourages different experts to specialize in distinct short-term and long-term patterns.
- Text Feature Extraction via Frozen LLM: A frozen language model (GPT-2) encodes two prompt modalities:
- Static Prompt ($P_S$): Contextual data source information (e.g., sensor locations, domain descriptions, variable semantics).
- Dynamic Prompt ($P_D$): Time-dependent metadata (textual timestamp sequences covering the lookback window).
- FiLM Conditioning and Fusion: Rather than concatenating or cross-attending tokens, LeMoLE uses lightweight linear layers to project the LLM embeddings into affine scaling ($\gamma$) and shifting ($\beta$) parameters via Feature-wise Linear Modulation (FiLM). The combined output of the linear experts is modulated sequentially by the static and dynamic text representations.
- Lightweight CNN Aggregator: A shallow convolutional neural network blends the conditioned representations to produce the final forecast horizon $\hat{Y}_{T+1:T+H}$.
- Frequency-Domain Variant (LeMoLE-F): The authors also explore replacing time-domain linear layers with complex-valued frequency interpolation (inspired by FITS) via Fast Fourier Transforms (FFT).
Datasets
The authors evaluate LeMoLE on four standard real-world forecasting benchmarks:
- ETTh1 and ETTm1: Electricity Transformer Temperature datasets recorded at 1-hour and 15-minute intervals, exhibiting non-stationary characteristics.
- Electricity (ECL): Hourly electricity consumption of 321 clients from 2012 to 2014, showing strong periodic behavior.
- Traffic: Hourly road occupancy rates along the San Francisco freeway network (2015–2016).
No new benchmarks are introduced; standard 7:1:2 train/validation/test splits are followed.
Key Insights and Ideas
- LLMs are better conditioners than forecasters: Passing time series tokens through multi-billion parameter LLMs adds immense compute for questionable predictive benefit. Using LLMs as contextual modulators for linear experts captures semantic priors while keeping inference fast and lightweight.
- Prompt roles depend on stationarity: Ablation experiments show that dynamic prompts (timestamps) are critical for non-stationary datasets (like ETT), providing local temporal context. Conversely, static dataset descriptions are more influential for highly periodic, stationary datasets (like Electricity).
- Time domain beats frequency domain for multi-scale experts: In comparisons with LeMoLE-F, time-domain linear experts performed better because frequency-interpolation baselines (like FITS) prioritize low frequencies, oversmoothing local variations across multi-window experts.
Key Results
- Full Long-Term Forecasting: Across horizons $H \in \{96, 192, 336, 720\}$, LeMoLE achieves the lowest overall average MSE of 0.115, outperforming:
- Mixture-of-experts linear baseline MoLE (0.135, a ~23.2% MSE reduction)
- TimeMixer (0.159)
- LLM-based models: AutoTimes (0.182, ~29.9% reduction), Time-LLM (0.172), and GPT4TS (0.137, ~11.8% reduction)
- Leading Transformer baselines like PatchTST (0.164) and iTransformer (0.178).
- Few-Shot Forecasting (10% Data): LeMoLE achieves an average MSE of 0.155, significantly outperforming AutoTimes (1.017), GPT4TS (0.520), and PatchTST (0.208).
- Inference Speed & Efficiency: At horizon $H=720$, LeMoLE-T achieves an inference time of 1.306 seconds, compared to 68.86s for AutoTimes and 22.87s for Time-LLM, while requiring only ~3.85M trainable parameters (vs. 58.55M for Time-LLM).
Limitations and Future Work
- Channel Independence: Following channel-independent conventions, the model operates on single channels without explicitly modeling inter-channel cross-correlations inside the linear experts.
- Reliance on Metadata Quality: The model relies on informative prompt design; forecasting performance is sensitive to the accuracy and granularity of both dataset descriptions and timestamps.
- Frequency-Domain Underperformance: The frequency-based variant (LeMoLE-F) lagged behind the time-domain variant, indicating that multi-resolution frequency interpolation requires further exploration.
Summary updated