When and Where to Transfer: Learning Transferable Historical Contexts for Short-History Multivariate Time Series Forecasting
Organizations: School of Mathematics and Statistics, Donghua University · Department of Statistics & Actuarial Science, The University of Hong Kong
Abstract
Related sources can improve multivariate time series forecasting when the target history is short, but their usefulness varies across source groups and historical periods. A key challenge is to identify informative historical contexts from the sources. This paper proposes Hierarchical Context Transfer (HiCT), a framework that adaptively weights source groups and their historical contexts to determine both where and when to transfer. A shared context encoder and cross-attention are used to learn weights over source groups and historical contexts. These weights guide regularized transfer estimation, followed by an optional target-specific correction. This paper establishes a target excess-risk bound for the context-weighted transfer estimator. Experiments demonstrate competitive predictive performance across four multivariate forecasting datasets and a favorable accuracy--runtime trade-off against the evaluated baselines. Source-corruption ablations illustrate the roles of group-level and within-group weighting in adapting to unreliable source histories.
Figures & tables
| Stock | NY Taxi | PEMS-BAY | Electricity | |||||
|---|---|---|---|---|---|---|---|---|
| Method | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE |
| PatchTST | 1.6798 | 0.9902 | 0.4226 | 0.4464 | 0.1073 | 0.1966 | 0.1192 | 0.2242 |
| TimeMixer | 1.2410 | 0.8291 | 0.3655 | 0.4301 | 0.1301 | 0.2264 | 0.1363 | 0.2424 |
| AdaRNN | 1.0412 | 0.7654 | 0.3216 | 0.3987 | 0.2970 | 0.3446 | 0.3360 | 0.3592 |
| DTr-CNN | 0.8254 | 0.6276 | 0.3285 | 0.4001 | 0.1087 | 0.1844 | 0.1916 | 0.2841 |
| ROSE | 1.1456 | 0.7835 | 0.3119 | 0.3857 | 0.1081 | 0.1870 | 0.1045 | 0.2142 |
| Method | PatchTST | TimeMixer | AdaRNN | DTr-CNN | ROSE | HiCT-VAR | HiCT-RNN |
|---|---|---|---|---|---|---|---|
| Total (s) | 2942.6 | 29.5 | 4.3 | 56.9 | 527.5 | 9.3 | 10.9 |
| Source condition | Method | MSE | MAE |
|---|---|---|---|
| Unperturbed | Target-only | 0.9818 (0.00%) | 0.7308 (0.00%) |
| HiCT | 0.8457 (13.86%) | 0.6662 (8.84%) | |
| Industrials corrupted (entire history) | w/o | 0.8782 (10.55%) | 0.6824 (6.62%) |
| HiCT | 0.8696 (11.43%) | 0.6789 (7.10%) | |
| All sources corrupted (later half) | w/o | 0.9900 (-0.84%) | 0.7151 (2.15%) |
| HiCT | 0.9719 (1.01%) | 0.7086 (3.04%) |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Sector | Role | Start date | End date | ||
|---|---|---|---|---|---|
| Consumer Staples | Target | 56 | 277 | 2024-04-05 | 2025-08-15 |
| Financials | Source | 134 | 1,100 | 2021-01-25 | 2025-08-15 |
| Health Care | Source | 103 | 1,143 | 2020-09-28 | 2025-08-15 |
| Industrials | Source | 112 | 815 | 2022-04-06 | 2025-08-15 |
| Information Technology | Source | 126 | 760 | 2022-04-25 | 2025-08-15 |
| Borough | Role | Start date | End date | ||
|---|---|---|---|---|---|
| Staten Island | Target | 20 | 1,440 | 2025-11-02 | 2025-12-31 |
| Bronx | Source | 43 | 8,760 | 2025-01-01 | 2025-12-31 |
| Brooklyn | Source | 61 | 8,760 | 2025-01-01 | 2025-12-31 |
| Queens | Source | 69 | 8,760 | 2025-01-01 | 2025-12-31 |
| Manhattan | Source | 69 | 8,760 | 2025-01-01 | 2025-12-31 |
| Group | Role | Observation period | ||
|---|---|---|---|---|
| Region 5 | Target | 65 | 2,016 | June 24–30, 2017 |
| Regions 1–4, each | Source | 65 | 8,640 | June 1–30, 2017 |
| Customers | Role | Start date | End date | ||
|---|---|---|---|---|---|
| T262–T321 | Target | 60 | 1,440 | 2014-11-02 | 2014-12-31 |
| Group 1 | Source | 87 | 26,304 | 2012-01-01 | 2014-12-31 |
| Group 2 | Source | 87 | 26,304 | 2012-01-01 | 2014-12-31 |
| Group 3 | Source | 87 | 26,304 | 2012-01-01 | 2014-12-31 |
| Method | Train | Forecast | Total |
|---|---|---|---|
| PatchTST | 2940.3 | 2.379 | 2942.6 |
| TimeMixer | 29.5 | 0.058 | 29.5 |
| AdaRNN | 4.3 | 0.027 | 4.3 |
| DTr-CNN | 56.9 | 0.020 | 56.9 |
| ROSE | 526.8 | 0.718 | 527.5 |
| HiCT-VAR | 9.3 | 0.001 | 9.3 |
Time Series Forecasting
Time series forecasting predicts future values from ordered observations using statistical, neural, and probabilistic models to support decisions under uncertainty.
See all 966 papers