IMRouter: Imbalance-aware Temporal Pattern Routing for LLM-based Time Series Forecasting

Xin Yang, Cai Xu, Haishun Chen, Ying Liu, Jie Zhao +2 more
10/29/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Accurate time series forecasting (TSF) is essential for Web applications, such as traffic monitoring and online resource management. Recent advances in leveraging pre-trained large language models (LLMs) have shown promising performance in TSF.

Show full abstract

However, existing LLM-based TSF methods largely optimize the overall forecasting objective while overlooking temporal pattern imbalance (TPI), where different temporal patterns occur at highly unequal frequencies. Our empirical analysis reveals that TPI is prevalent across widely used TSF benchmarks, with substantially higher forecasting errors on less frequent patterns. To address this issue, we propose IMRouter (Imbalance-aware Temporal Pattern Routing), a novel framework that mitigates TPI-induced biases in both temporal representation learning and cross-modal alignment. Specifically, IMRouter introduces Pattern-Adaptive Temporal Representation Learning (PATR), which leverages gradient conflict and local gradient density to guide expert specialization. By penalizing incompatible expert assignments with density-aware weighting, PATR reduces the dominance of frequent optimization signals in router training. Furthermore, Routing-Guided Semantic Alignment (RGSA) transfers the pattern-specific knowledge learned by the router to cross-modal alignment through mutual information maximization, preserving distinctive temporal information across different patterns. Extensive experiments on benchmark datasets demonstrate the effectiveness of IMRouter, particularly in improving forecasting performance on less frequent temporal patterns.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2026imrouter,
  title  = {IMRouter: Imbalance-aware Temporal Pattern Routing for LLM-based Time Series Forecasting},
  author = {Xin Yang and Cai Xu and Haishun Chen and Ying Liu and Jie Zhao and Wei Zhao and Ziyu Guan},
  year   = {2026},
  eprint = {2610.39246},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.39246v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.39246.svg)](https://codeofpaper.com/paper/2610.39246)

Discussion