Small but mighty: enhancing time series forecasting with lightweight LLMs

Haoran Fan, Bin Li, Yixuan Weng, Shoujun Zhou

Abstract

Recent advancements in Large Language Models (LLMs) have opened new frontiers in time series forecasting, yet their deployment remains hindered by massive computational requirements and the inherent gap between numerical and textual data. This paper introduces SMETimes, a framework that leverages Small Language Models (SLMs) with fewer than 3 billion parameters to achieve state-of-the-art forecasting performance. By integrating statistically enhanced prompting, adaptive fusion embeddings, and a dynamic Mixture-of-Experts (MoE) architecture, SMETimes outperforms 7B+ parameter models while requiring 5.2× less memory and training 3.8× faster.

Introduction

The application of Large Language Models (LLMs) to time series analysis has demonstrated remarkable "zero-shot" reasoning capabilities. However, the transition from research to real-world deployment faces significant bottlenecks. High-parameter models like Llama-7B demand substantial GPU resources, often exceeding 23GB of VRAM, which precludes their use in edge computing or real-time industrial applications. Furthermore, the "modality gap"—the difficulty of mapping continuous numerical signals to discrete linguistic tokens—limits the effectiveness of standard LLM backbones.

SMETimes addresses these challenges by proving that model scale is not the sole determinant of performance. By providing smaller models with the right structural and contextual tools, we can achieve superior accuracy with a fraction of the computational footprint.

The SMETimes Framework

The SMETimes architecture is built upon three primary innovations designed to bridge the gap between time series data and linguistic reasoning.

1. Statistically Enhanced Prompting

Rather than feeding raw numerical sequences directly into the model, SMETimes employs a dual-descriptor approach to help the LLM backbone leverage its pre-trained linguistic understanding of numerical trends:

  • Timestamp Descriptor: Provides essential temporal context, such as time of day or day of the week.
  • Statistical Descriptor: Converts data segments into natural language summaries. By describing trends using terms like "the mean is..." or "the change is...", the model bypasses the difficulty of interpreting long strings of raw floating-point numbers.

2. Adaptive Fusion Embedding

To handle the diversity of time series patterns, SMETimes utilizes two parallel processing paths. The Numerical Embedding captures raw temporal dynamics, while the Semantic Embedding is derived from the statistical prompts. A learnable gating parameter ($\theta$) dynamically balances these two modalities. During stable periods, the model may rely more on raw numerical patterns; during volatile or anomalous periods, it shifts focus toward the semantic statistical descriptions to maintain robustness.

3. Dynamic Mixture-of-Experts (MoE)

To enhance the capacity of Small Language Models without significantly increasing their parameter count, SMETimes incorporates a specialized MoE layer. This allows different "experts"—specialized parameter projections—to focus on specific data characteristics, such as seasonal cycles or transient anomalies. This architectural choice ensures that the model remains lightweight while possessing the nuance required for complex forecasting tasks.

Experimental Evaluation

The researchers evaluated SMETimes across seven diverse, real-world benchmarks, including the Electricity Transformer Temperature (ETT) subsets, Weather data, Electricity Consumption Load (ECL), and Solar-Energy records.

Performance and Efficiency

The results demonstrate a clear advantage for the SMETimes approach:

  • Accuracy: The 3B-parameter SMETimes achieved state-of-the-art (SOTA) results on five out of the seven primary datasets. Notably, it showed a 12.3% lower Mean Squared Error (MSE) than conventional LLM-based forecasters on the high-dimensional ECL dataset.
  • Resource Efficiency: Compared to 7B-parameter baselines like AutoTimes, SMETimes is 3.8× faster to train and utilizes 5.2× less memory.
  • Ablation Insights: The importance of the framework's components was confirmed through ablation studies. Removing statistical context resulted in a 9.2% degradation in accuracy, while removing the MoE structure led to a 12.4% average loss in performance.

Discussion and Future Work

SMETimes establishes that "small" models can indeed be "mighty" when augmented with domain-specific architectural enhancements. The use of statistics as a "universal language" allows the model to bypass traditional tokenization hurdles, while the MoE structure provides the necessary flexibility to handle non-stationary data.

Despite these gains, the authors note that the model faces capacity constraints in extremely long-horizon forecasting compared to massive models. Future research will focus on more sophisticated embedding designs and further optimization techniques, such as dynamic batching or mixed-precision training, to further enhance SMETimes for resource-constrained edge devices.

Conclusion

By shifting the focus from model size to architectural intelligence and modality alignment, SMETimes provides a scalable, efficient, and highly accurate solution for modern time series forecasting. It paves the way for the deployment of sophisticated reasoning models in environments where traditional LLMs are too resource-intensive to operate.

Summary updated

BibTeX
@article{fan2025small,
  author = {Haoran Fan and Bin Li and Yixuan Weng and Shoujun Zhou},
  title = {{Small but mighty: enhancing time series forecasting with lightweight LLMs}},
  journal = {Journal of Supercomputing},
  year = {2025},
  doi = {10.1007/s11227-025-07491-5},
}
Figure