Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

TimeExpert: Boosting Long Time Series Forecasting with Temporal Mix of Experts

About

Transformer-based architectures dominate time series modeling by enabling global attention over all timestamps, yet their rigid 'one-size-fits-all' context aggregation fails to address two critical challenges in real-world data: (1) inherent lag effects, where the relevance of historical timestamps to a query varies dynamically; (2) anomalous segments, which introduce noisy signals that degrade forecasting accuracy. To resolve these problems, we propose the Temporal Mix of Experts (TMOE), a novel attention-level mechanism that reimagines key-value (K-V) pairs as local experts (each specialized in a distinct temporal context) and performs adaptive expert selection for each query via localized filtering of irrelevant timestamps. Complementing this local adaptation, a shared global expert preserves the Transformer's strength in capturing long-range dependencies. We then replace the vanilla attention mechanism in popular time-series Transformer frameworks (i.e., PatchTST and Timer) with TMOE, without extra structural modifications, yielding our specific version TimeExpert and general version TimeExpert-G. Extensive experiments on seven real-world long-term forecasting benchmarks demonstrate that TimeExpert and TimeExpert-G outperform state-of-the-art methods. Code is available at https://github.com/xwmaxwma/TimeExpert.

Xiaowen Ma, Shuning Ge, Fan Yang, Xiangyu Li, Yun Chen, Mengting Ma, Wei Zhang, Zhipeng Liu• 2025

Related benchmarks

TaskDatasetResultRank
Multivariate ForecastingETTh1
MSE0.43
830
Multivariate Time-series ForecastingETTm1
MSE0.389
686
Multivariate Time-series ForecastingETTm2
MSE0.283
539
Multivariate Time-series ForecastingWeather
MSE0.251
409
Multivariate Time-series ForecastingTraffic
MSE0.5
310
Multivariate Time-series ForecastingExchange
MAE0.398
262
Multivariate Time-series ForecastingETTh2
MSE0.374
198
Multivariate Time-series ForecastingILI
MSE2.471
33
Showing 8 of 8 rows

Other info

Follow for update