Patch Attention Wisely: Understanding Patch Length in Attention-Based Forecasting

Junyu Chen, Likai Chen, Weining Wang
11/5/2026
stat.MLcs.LGecon.EM

No confident code implementation found for this paper.

Abstract

Attention-based time series forecasters commonly group consecutive observations into patches. Patch length is known to have a substantial impact on forecasting performance, yet its selection remains largely empirical.

Show full abstract

We develop a theoretical framework that explains why patch length matters for forecasting accuracy and provides a principled basis for its selection. For linear state-space models, we derive an exact factorization of the forecasting coefficient matrix that separates forecast dynamics from filtering dynamics. We show that dominance of a single forecast component at long horizons does not generally imply a rank-one representation. This explains why longer horizons alone need not reduce representational complexity. We combine the factorization with estimation bounds to develop a patch-selection criterion that balances representation and estimation errors under temporal dependence. Our analysis establishes conditions under which balanced patching is justified and clarifies how predictive structure, head count, training sample size, and long-run dependence enter the selection criterion.

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{chen2026patch,
  title  = {Patch Attention Wisely: Understanding Patch Length in Attention-Based Forecasting},
  author = {Junyu Chen and Likai Chen and Weining Wang},
  year   = {2026},
  eprint = {2611.08160},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.08160v1}
}

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

Discussion