Ants TS Tiny AR
Ants TS Tiny AR provides autoregressive (AR) forecasting with ridge regression and a 16→8→1 tanh MLP. The release includes three ridge checkpoints and two MLP checkpoints, each using 16 historical observations to forecast up to 96 steps ahead. Original weights, saved preprocessing and NumPy inference accompany the recorded development measurements.
On the original E45e development evaluation, the selected ridge checkpoints record H96 standardized-MSE ratios of 0.701733 on ETTh1, 0.740864 on ETTm1 and 0.901586 on Weather, relative to last-value prediction. The table below also reports the selected MLPs and the H1/H24 trade-offs.
这批检查点来自 Ants 的 E45e 通道缩放研究,用于研究固定历史窗口下线性与非线性自回归模型的递归预测行为。模型、预处理、历史测量与原始选择范围一并保留。
Ants project · All 112 E45e endpoints and other study results · Ants periodic family
What each ID contains: Each accession from Ants-TS-0004 through Ants-TS-0008 identifies one dataset-specific fitted checkpoint. In the Periodic release, each accession identifies a configuration bundle containing 48 task checkpoints.
Performance at a glance
Each accession below identifies one dataset-specific fitted checkpoint, not a universal model. These are the original saved E45e final iterates. The release packages existing results and does not retrain them.
Ratios below compare recursive forecast MSE against repeating the last observed value. Both errors use training-channel-variance standardization; lower is better and 1 is the baseline. H96 was the curation target; H1 and H24 are also shown so the tradeoffs remain visible.
| Accession | Model | Dataset | H96 ratio | H24 ratio | H1 ratio | Saved values | SGD steps |
|---|---|---|---|---|---|---|---|
| Ants-TS-0004 | ridge | etth1 | 0.701733 | 0.639115 | 1.215353 | 65 | 0 |
| Ants-TS-0005 | ridge | ettm1 | 0.740864 | 0.869437 | 0.913563 | 65 | 0 |
| Ants-TS-0006 | ridge | weather | 0.901586 | 1.053201 | 1.682272 | 93 | 0 |
| Ants-TS-0007 | mlp | etth1 | 0.735982 | 0.945271 | 3.746453 | 193 | 38400 |
| Ants-TS-0008 | mlp | ettm1 | 0.802853 | 1.359529 | 1.773188 | 193 | 9600 |
In this development evaluation, ridge reduces H96 standardized MSE by about 29.8% on ETTh1, 25.9% on ETTm1 and 9.8% on Weather, relative to the last-value baseline. The selected neural checkpoints also beat that baseline at H96 on the two ETT datasets. The table compares the two model families on their common tasks, with their different sizes and training steps visible; it is not an equal-compute comparison. The selected MLPs have 145 learned weights plus 48 saved preprocessing values each. Ridge has 17 fitted coefficients plus preprocessing. The physical arrays are binary64: this is a count of numerical values, not an int4/int8 packed-weight or parameter-only size claim. models.json also gives actual NPZ file byte counts.
Use with NumPy
Download this repository (including its source/ and checkpoints/ folders), then run:
import numpy as np
from inference import load_model
model = load_model("Ants-TS-0004") # ETTh1 ridge
# Synthetic API example only; replace with real ETTh1 context in raw units.
# Each row is one original dataset channel, ordered oldest to newest.
contexts = np.zeros((7, 16), dtype=np.float64)
channel_indices = np.arange(7, dtype=np.int64)
forecast = model.predict(contexts, channel_indices, horizon=96)
assert forecast.shape == (7, 96)
Install the NumPy range in requirements.txt. No PyTorch, network calls, fitting or Hub remote-code execution is needed. A different downloaded root can be passed as load_model(asset_id, root="/path/to/repository"). The adapter verifies checkpoint hashes, shapes, scales and the archived inference kernel before use.
Inputs are (batch,16) histories in the original physical units; channel_indices names each row's original dataset column. Indices must match the original ETT or Weather numeric-column ordering; there is no automatic semantic channel mapping. Output is (batch,horizon), again in original units. Channel-wise and inner feature/target transformations are already saved. Do not fit them again or standardize a second time. predict_one_step evaluates each supplied observed context independently and must not be confused with the free-running recursive H96 forecast.
Where this fits in Ants
Ants is a research system for exploring models under explicit resource limits. This release preserves E45e's autoregressive models alongside the E44c periodic family. The sequence below follows the research questions; each study retains its own fitted artifacts and evaluation protocol:
- Periodic predictors: the earlier release preserves compact, analytically fitted seasonal models across several datasets, horizons and chronological folds.
- Tiny autoregressive baselines: ridge provides a closed-form linear reference; a 16→8→1 tanh MLP adds a nonlinear alternative trained with SGD.
- Make scale explicit: E45e saved each channel's training mean and scale alongside the model, and compared that transform with an identity control. This release selects H96 checkpoints from that completed study.
The release contains five original fitted checkpoints with 65–193 saved numerical values each, including preprocessing. The two MLPs have 145 learned weights each. These artifacts support study of model size, saved preprocessing and recursive forecasting behavior in their original evaluation context. Future Ants architectures receive separate identities.
How the examples were chosen
All models share weights across channels within their dataset. Ridge solves regularized least squares over 16 lags plus a bias. MLP uses a 16→8→1 tanh network trained with SGD at the registered learning rate; its original final iterate is retained. The chosen ETTh1 MLP uses level/channel_train, seed 651, 38,400 steps. The chosen ETTm1 MLP uses center_delta/pooled_raw, seed 652, 9,600 steps. Ridge winners all use level/channel_train, seed 651, zero SGD steps. Exact original choices remain in each checkpoint and models.json.
Curation was post hoc, over the complete frozen E45e matrix: 16 ridge and 96 MLP endpoints across ETTh1, ETTm1, Weather and Exchange. Within each (dataset, model family) group, take the endpoint with lowest original recursive H96 relative MSE; publish it only if the ratio is below 1. Ties use case-name order. Thus Weather MLP and both Exchange groups contribute no selected checkpoint. All 112 candidates, including the weaker groups, are retained in selection_candidates.csv and the public experiment-results dataset.
This is a selection of useful examples, not an unbiased estimate of expected performance. Each group had 4 ridge or 24 MLP candidates. Seeds and the two ETT datasets are not independent dataset replications. These endpoints do not establish a global historical optimum, SOTA, superiority of Ants' portfolio search, or a replacement for the registered E45e primary result. The original study did not pass its practical-adoption gate. Historical protocol and selection scope remain available.
Evaluation and provenance
The historical study trained on 1,024 windows from each development training prefix and evaluated 56 validation origins per ETT/Exchange dataset and 168 for Weather. H1/H24/H96 recursive errors, observed-context one-step errors, raw and standardized metrics remain in the original checkpoint metadata. Validation selected these showcased endpoints; no new held-out test was evaluated for publication. The original catalog loader parsed each full development container, but test-suffix values were not used for fitting or scoring; no confirmation/sealed data was accessed.
These H96 ratios use a last-value baseline. They cannot be ranked directly against the seasonal-naive, multi-horizon, multi-fold E44c aggregates in the periodic-model repository. Displaying a selected endpoint does not change the scientific outcome of either study.
Original weights, metadata, metrics and inventories were checked against the accepted full-archive manifest before copying. Eight unchanged original source modules are consolidated under source/. Original inventory paths refer to per-case source copies; in this derivative the same bytes reside once in that shared folder. Original byte preservation, release checksums and source-versus-adapter prediction parity are verified locally. SOURCE.json retains source and acceptance hashes; SHA256SUMS covers the release. Synthetic parity probes are engineering checks, not a fresh benchmark evaluation or a cross-platform bitwise reproducibility guarantee.
Stable identity and reuse
Ants-TS-0004 through Ants-TS-0008 are permanent accessions, not rank positions. A better future model gets its own accession; existing IDs stay attached to these exact fitted artifacts. Ants is the research system, while periodic, ridge, MLP and future architectures are its model families. A release version and Hugging Face Git commit identify the packaging separately. Release: 1.0.0.
The included LICENSE file contains Apache License, Version 2.0; the frozen Ants source package declares Apache-2.0. This documentation describes the preserved licence evidence and does not introduce or change component terms. Raw third-party datasets are not redistributed; consult their original sources and terms. The checkpoint metadata contains evaluation losses, indices and hashes, not the underlying raw time-series dataset. Use these dataset-specific checkpoints as reproducible research artifacts and autoregressive baselines, with dataset/channel and validation-selection scope preserved.