Datasets:
Download README.md from w3joe/hypercast-tslib15-multi-benchmark: direct link, hf CLI and curl.
- Browser
- Download file 14.1 kB
-
https://huggingface.co/datasets/w3joe/hypercast-tslib15-multi-benchmark/resolve/main/README.md
- Command line
-
hf download hf://datasets/w3joe/hypercast-tslib15-multi-benchmark/README.md
-
curl -L -o README.md https://huggingface.co/datasets/w3joe/hypercast-tslib15-multi-benchmark/resolve/main/README.md
pretty_name: HyperCAST TSLib-15 Multi-Dataset HyperDense Benchmark Results
license: apache-2.0
task_categories:
- time-series-forecasting
tags:
- time-series
- forecasting
- hypercomplex
- quaternion
- octonion
- tslib
- benchmark
- hypercast
size_categories:
- 1K<n<10K
configs:
- config_name: fits
default: true
data_files:
- split: test
path: data/fits.parquet
- config_name: configs
data_files:
- split: test
path: data/configs.parquet
- config_name: validation_cells
data_files:
- split: test
path: data/validation_cells.parquet
- config_name: multilayer_fits
data_files:
- split: test
path: data/multilayer_fits.parquet
- config_name: multilayer_configs
data_files:
- split: test
path: data/multilayer_configs.parquet
- config_name: multilayer_validation_cells
data_files:
- split: test
path: data/multilayer_validation_cells.parquet
HyperCAST Part 1: Multi-Dataset TSLib-15 × HyperDense Benchmark (3,157 GPU Fits)
Benchmark Suite Navigation:
- Part 1 — Single-Site TSLib-15 Surgical Benchmark (
3,157fits, this dataset): Swaps 1 linear layer (1%–9%of weights) across 15 TSLib models (+0.23%median vs.real, p =0.048).- Part 2 — 10-Dataset Multi-Layer Cross-Channel Benchmark (
1,881fits): Replaces all cross-channel projections across stacked blocks (24%–94%of weights) across all 10 datasets (+0.88%median vs.real, p =0.00156, top-3 fixed operators all hypercomplex).
Complete experimental records, validation-selected statistical tests, and per-epoch training trajectories for the HyperCAST 9-Dataset × 15-Backbone × 8-Arm (tslib15-multi-20261119) benchmark evaluating structured hypercomplex projections (Complex 2D, Quaternion 4D, Octonion 8D) against unmodified TSLib (native), variance-matched Dense (real), and parameter-matched Low-Rank (lowrank2, lowrank4, lowrank8) controls.
Multi-Layer Cross-Channel Update (1,881 Additional Fits Across All 10 Datasets)
Following the single-site surgical study below, we ran Part 2 (w3joe/hypercast-multilayer-10ds-benchmark), routing channels into a learned hypercomplex basis and replacing all cross-channel mixing layers across stacked blocks (24%–94% of weights):
- ~4× Larger Median Lift & 30× Stronger Significance: Validation-selected Multi-Layer HyperDense beats Dense
realon31 / 48cells (64.6%, median+0.88%, mean+1.20%, Wilcoxon p =0.00156) while shrinking whole-model parameters by 36%–65%. - Top-3 Fixed Operators Overall Are All Hypercomplex: Without any validation selection,
Complex (2D)(+0.68%),Coquaternion (4D · split)(+0.63%,34/48 = 70.8%wins), andQuaternion (4D)(+0.55%) rank#1, #2, #3ahead of everyLowRankandBlockDiagarm. - Beats the #1 Best of All 15 Unmodified TSLib Models on 5 Datasets: Native
HyperChannelMixer(HyperRMSNorm+ boundedHyperGate) sets new overall bests onNYC Taxi (+3.39%),Weather (+1.32%),ETTm2 (+0.44%),ETTm1 (+0.39%), andETTh2 (+0.36%).
Part 1 Key Takeaways (Single-Site Surgical Study)
- Lossless 2×–8× Layer Compression Across Diverse Domains: Selecting the hypercomplex algebra strictly on inner validation MAE (zero test leakage) beats variance-matched dense
realon 79 / 131 cells (60.3%, Sign p =0.023, Wilcoxon p =0.048) while matching unmodifiednativeTSLib (51.9%, p =0.57) at 12.5%–50% of the replaced site's parameter budget. - Sharp High-Dimensional Regime Gain (
321–862Channels): On wide multivariate sensor grids (electricity321ch andtraffic862ch), structured compression yields+3.66%median (+4.25%mean) test MAE improvement overreal(+4.46%ontraffic, beating bothnativeandlowrank). - Clear Architectural Split (Spatial/Multi-Scale Mixers vs. Channel-Independent): Single-site HyperDense ties parameter-matched
Low-Rankoverall (48.9%vs.51.1%, p =0.74), because 12 of 15 default TSLib sites act purely along single-channel time steps. On multi-scale & spatial mixers, HyperDense consistently outperforms parameter-matchedLow-Rank(TimesNet+1.73%,LightTS+0.84%[7/9 wins],MICN+0.68%,Crossformer+0.36%,MSGNet+0.33%).
Pooled Zero-Leakage Statistical Summary (N = 131 Complete 8-Arm × 3-Seed Cells)
Algebra selection (complex, quaternion, octonion) and rank selection (lowrank2, lowrank4, lowrank8) are performed strictly on inner validation MAE before evaluating on held-out chronological test origins:
| Comparison | Cell Win Rate | Median Gain | Mean Gain | Wilcoxon p | Sign p |
|---|---|---|---|---|---|
Val-HyperDense vs. real (Dense) |
79 / 131 (60.3%) | +0.23% |
+0.92% |
0.0482 |
0.0227 |
Val-LowRank vs. real (Dense) |
75 / 131 (57.2%) | +0.25% |
+1.26% |
0.0557 |
0.115 |
Val-HyperDense vs. native (TSLib) |
68 / 131 (51.9%) | +0.04% |
+0.42% |
0.572 |
0.727 |
| Val-HyperDense vs. Val-LowRank | 64 / 131 (48.9%) | -0.06% |
-0.62% |
0.743 |
0.861 |
| Oracle 3v3 HyperDense vs. LowRank | 60 / 131 (45.8%) | -0.09% |
-0.64% |
0.435 |
0.382 |
Architecture Family Sensitivity
Single-Site Surgical Protocol: Exact Replaced Layer per Backbone
Every trial in this benchmark modifies exactly one projection submodule inside the TSLib model while verifying via SHA-256 digest (untouched_sha256) that 100% of all remaining weights and buffers are bit-for-bit identical across all 8 arms (native, real, complex, quaternion, octonion, lowrank2, lowrank4, lowrank8).
| TSLib Backbone | Exact Replaced Submodule (model.<site>) |
Shape (in → out) |
Site Params (real) |
% of Model (7ch) |
% of Model (321ch) |
Functional Role in Architecture |
|---|---|---|---|---|---|---|
| Crossformer | encoder.encode_blocks.0.encode_layers.0.time_attention.out_projection |
32 → 32 |
1,056 |
1.3% |
0.6% |
Block-0 temporal attention output (cross-dim untouched) |
| DLinear | Linear_Seasonal |
32 → 32 |
1,056 |
32.6% |
2.0% |
Shared temporal seasonal projection (T → T) |
| FiLM | spec_conv_1.0 |
512 → 512 (×8 modes) |
4,194,304 |
50.0% |
(skip) | Complex Legendre spectral convolution block |
| FreTS | fc.0 |
4096 → 256 |
1,048,832 |
93.3% |
89.3% |
Flattened frequency-embedded temporal MLP readout |
| iTransformer | encoder.attn_layers.0.attention.out_projection |
32 → 32 |
1,056 |
8.9% |
1.7% |
Variate-attention output projection (1 of 6 layers in block 0) |
| LightTS | layer_3.spatial_proj.0 |
16 → 16 |
272 |
7.3% |
0.2% |
Continuous/interval spatial / cross-channel projection |
| MICN | regression |
32 → 32 |
1,056 |
1.3% |
0.6% |
Temporal forecast alignment before multi-scale conv |
| MSGNet | seq2pred.seq2pred |
32 → 32 |
1,056 |
1.5% |
0.1% |
Final temporal sequence-to-prediction linear map |
| PatchTST | encoder.attn_layers.0.attention.out_projection |
32 → 32 |
1,056 |
7.3% |
1.6% |
Channel-independent patch attention output |
| SCINet | projection_1 |
32 → 64 (1×1 Conv1d) |
2,048 |
6.1% |
0.05% |
Temporal sequence expansion after binary tree |
| SegRNN | predict.1 |
32 → 8 |
264 |
3.2% |
0.4% |
Channel-independent segment decoder projection |
| TimeMixer | pdm_blocks.0.mixing_multi_scale_trend.up_sampling_layers.0.2 |
32 → 32 |
1,056 |
6.0% |
1.0% |
Multi-scale trend temporal upsampling layer |
| TimesNet | predict_linear |
32 → 64 |
2,112 |
1.4% |
0.9% |
Temporal length alignment feeding 2D period convs |
| TimeXer | encoder.layers.0.self_attention.out_projection |
32 → 32 |
1,056 |
5.1% |
1.3% |
Endogenous patch self-attention output projection |
| TSMixer | model.0.temporal.0 |
32 → 32 |
1,056 |
22.1% |
1.4% |
Block-0 temporal MLP (channel MLP untouched) |
Design Insight: Because
tslib15originally selected a single8-divisible (32 → 32or16 → 16) layer so arbitrary channel counts $C$ needed no channel padding, 12 of the 15 models modify<9%of weights (and<2%on 321-channelelectricity), primarily along the time axis rather than across multivariate channels. Notably, one of the few explicitly spatial/channel sites (LightTS: layer_3.spatial_proj.0) beat parameter-matched Low-Rank on 7 / 9 datasets (+0.84%median), motivating HyperCAST's multi-layer cross-channelHyperChannelMixer/*_ccextensions.
Complete 9 × 15 Benchmark Matrix
Every cell shows held-out test MAE gain (%) of Validation-Selected HyperDense vs. real averaged over 3 seeds (3301, 3302, 3303). Cells marked with ★ also outperform the validation-selected parameter-matched Low-Rank control:
Multi-Step Horizon Error Curves (t+1 → t+5) & Optimization Pareto
Per-Dataset Breakdown
All datasets use a strict 45% train / 15% inner-val / 20% development / 20% test chronological split (context=32, horizon=5, epochs=100, patience=20, batch_size=32, lr=0.001, training-only min–max scaling, and a 14,400-row chronological prefix cap on >14.4k datasets matching ETTh1):
| Dataset (Channels · Freq) | Val-HD > real (Median) |
Val-HD > lowrank |
#1 Overall Config (120 Arms) | Best Test MAE (× Persistence) |
|---|---|---|---|---|
| ILI (7ch · W) | 10/15 (+0.31%) |
11/15 |
Crossformer + octonion |
73922.2865 (0.831× pers.) |
| NYC Taxi (8ch · H) | 6/15 (-0.56%) |
7/15 |
TimesNet + native |
453.8645 (0.248× pers.) |
| Exchange (8ch · D) | 13/15 (+0.12%) |
9/15 |
SegRNN + lowrank4 |
0.0057 (1.008× pers.) |
| ETTh2 (7ch · H) | 10/15 (+1.02%) |
7/15 |
SegRNN + lowrank2 |
1.0053 (0.435× pers.) |
| ETTm1 (7ch · 15m) | 7/15 (-0.09%) |
4/15 |
SegRNN + quaternion |
0.6217 (1.013× pers.) |
| ETTm2 (7ch · 15m) | 10/15 (+0.59%) |
8/15 |
TSMixer + lowrank4 |
0.3096 (0.575× pers.) |
| Weather (21ch · 10m) | 6/15 (-0.64%) |
6/15 |
Crossformer + complex |
2.1004 (0.923× pers.) |
| Electricity (321ch · H) | 8/14 (+2.62%) |
5/14 |
Crossformer + lowrank2 |
146.1886 (0.528× pers.) |
| Traffic (862ch · H) | 9/12 (+4.46%) |
7/12 |
TimeMixer + complex |
0.0039 (0.274× pers.) |
Quick Load in Python
from datasets import load_dataset
# 1. Load all 3,157 individual GPU seed fits
fits = load_dataset("w3joe/hypercast-tslib15-multi-benchmark", "fits", split="test").to_pandas()
# 2. Load 1,054 seed-aggregated (dataset, backbone, arm) summaries
configs = load_dataset("w3joe/hypercast-tslib15-multi-benchmark", "configs", split="test").to_pandas()
# 3. Load 131 zero-leakage validation-selected (dataset, backbone) comparisons
cells = load_dataset("w3joe/hypercast-tslib15-multi-benchmark", "validation_cells", split="test").to_pandas()
print(cells[["dataset", "backbone", "val_selected_hd_arm", "val_hd_vs_real_pct", "val_hd_vs_val_lr_pct"]].head(10))
Repository Files
| Path | Description |
|---|---|
data/fits.parquet |
Default HF Dataset Viewer table (3157 rows — every seed fit, metrics, runtime, VRAM, SHA-256) |
data/configs.parquet |
Seed-aggregated (dataset, backbone, arm) summary table (1,054 rows) |
data/validation_cells.parquet |
Leak-free validation-selected cells (131 rows) |
assets/fig1..fig6_*.png |
High-resolution benchmark & surgical-scope visualizations (220 DPI) |
csv/ |
Plain CSV mirrors (raw-all-3157-fits.csv, all-datasets-summary.csv, validation-selected-cells.csv, per-dataset summary.csv) |
statistical-tests.json |
Exact Wilcoxon signed-rank and binomial sign-test JSON outputs |
archives/tslib15-multi-20261119-results.zip |
Complete raw trial archive (3157 result.json files with epoch-by-epoch curves and per-lead metrics) |









