Baguan-TS: A Sequence-Native In-Context Learning Model for Time Series Forecasting with Covariates

Linxiao Yang, Xue Jiang, Gezheng Xu, Tian Zhou, Min Yang +7 more
3/18/2026
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Transformers enable in-context learning (ICL) for rapid, gradient-free adaptation in time series forecasting, yet most ICL-style approaches rely on tabularized, hand-crafted features, while end-to-end sequence models lack inference-time adaptation. We bridge this gap with a unified framework, Baguan-TS, which integrates the raw-sequence representation learning with ICL, instantiated by a 3D Transformer that attends jointly over temporal, variable, and context axes. To make this high-capacity model practical, we tackle two key hurdles: (i) calibration and training stability, improved with a feature-agnostic, target-space retrieval-based local calibration; and (ii) output oversmoothing, mitigated via context-overfitting strategy. On public benchmark with covariates, Baguan-TS consistently outperforms established baselines, achieving the highest win rate and significant reductions in both point and probabilistic forecasting metrics. Further evaluations across diverse real-world energy datasets demonstrate its robustness, yielding substantial improvements.

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{yang2026baguants,
  title  = {Baguan-TS: A Sequence-Native In-Context Learning Model for Time Series Forecasting with Covariates},
  author = {Linxiao Yang and Xue Jiang and Gezheng Xu and Tian Zhou and Min Yang and ZhaoYang Zhu and Linyuan Geng and Zhipeng Zeng and Qiming Chen and Xinyue Gu and Rong Jin and Liang Sun},
  year   = {2026},
  eprint = {2603.17439},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.17439v1}
}

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/2603.17439.svg)](https://codeofpaper.com/paper/2603.17439)

Discussion