OrangeTree: A Linear and Tree-based Time Series Forecasting Model Supporting Multiple Input and Output Lengths

Yiqi Tang, Zhichen Lai, Yuxuan Yang, Dalin Zhang, Jinpeng Chen +2 more
11/24/2026
cs.LG

Official code: Tang-Yiqi/OrangeTree (1 star, Python, last commit 2026-10-30).

Abstract

Time series forecasting (TSF) models suffer from a critical rigidity: the inability to handle Multiple Input and Output Lengths (MIOL) within a single architecture. Current workarounds, such as padding or autoregression, often incur computational redundancy or suffer from error accumulation.

Show full abstract

We propose OrangeTree, a linear and tree-based architecture that decouples model parameters from sequence lengths. It employs a Segment Tree Encoder and an Inverse Tree Decoder to translate multi-length input history into multi-length output predictions within a unified framework. Crucially, a Range Weighter and a Feature Fuser bridge these components, dynamically selecting and fusing relevant ranges into optimal contexts for forecasting. Experiments on six benchmarks confirm OrangeTree achieves the SOTA performance. In MIOL settings, it matches the accuracy of length-fixed models without substantial accuracy degradation or a substantial increase in inference latency typical of heuristic methods. Code is available at https://github.com/Tang-Yiqi/OrangeTree.

View on arXivView PDF

Code Implementations(1)

Code for the NeurIPS 2026 paper: OrangeTree: A Linear and Tree-based Time Series Forecasting Model Supporting Multiple Input and Output Lengths

11Python, ShellOct 30, 20261 months ago

Similar Papers

Cite this paper

@article{tang2026orangetree,
  title  = {OrangeTree: A Linear and Tree-based Time Series Forecasting Model Supporting Multiple Input and Output Lengths},
  author = {Yiqi Tang and Zhichen Lai and Yuxuan Yang and Dalin Zhang and Jinpeng Chen and Gang Chen and Huan Li},
  year   = {2026},
  eprint = {2611.31905},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.31905v1}
}

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

Discussion