Ants TS Direct DCT8

A small forecasting study, with the fitted states kept intact. Ants TS Direct DCT8 preserves thirteen dataset-specific MLP checkpoints that map 16 observations to a 96-step forecast through a rank-8 DCT-II output head. Each model carries its train-prefix preprocessing state and a same-seed recursive control, so the comparison can be followed back to the original run.

This release continues the Ants model archive after Periodic and Tiny AR. Tiny AR already includes earlier MLP models; Direct DCT8 records a later multi-step training recipe, not the project's first neural model.

Model index · Development selection · E45g representatives · 384 development endpoints · 480 later learned endpoints · Experiment dataset · Source and hashes

At a glance

Property This release
Fitted models 13 direct-head checkpoints, plus 13 matched recursive controls, in two distinct cohorts
Dataset coverage E45f-r1: four development datasets. E45g: ETTh2, ETTm2, ILI, Solar and AirQuality; four source families
Architecture Shared channel-wise width-8 tanh MLP, center-delta representation, rank-8 orthonormal DCT-II head
Context → output 16 observations → 96 forecast steps, in original channel units
Saved direct-model state 270–300 numeric values in the selected models, including preprocessing; 208 trainable values
Training Original server run, 9,600 SGD steps per endpoint; E45f-r1 seeds 1101–1148 and E45g seeds 1301–1348
Evaluation E45f-r1 development results; E45g original confirm-role archive with a separate evidence note. No new evaluation

Each checkpoint is tied to the dataset's channel order and fitted normalization. These are compact, dataset-specific research models rather than zero-shot forecasters.

Development selections · E45f-r1

Each development dataset has one checkpoint with the lowest recorded development H96 normalized MSE among its 48 direct-head seeds, and one lower-middle checkpoint (rank 24 of 48). The latter offers a representative saved initialization; it is not an average model. Both are selected after observing development results. Exchange is retained even where it does not beat last-value prediction.

Accession Dataset Curation role Seed Saved values H96 MSE / last value
Ants-TS-0009 etth1 Lowest dev MSE 1111 270 0.790692
Ants-TS-0010 etth1 Lower-middle dev MSE 1147 270 0.812146
Ants-TS-0011 ettm1 Lowest dev MSE 1110 270 0.705559
Ants-TS-0012 ettm1 Lower-middle dev MSE 1105 270 0.738484
Ants-TS-0013 weather Lowest dev MSE 1144 298 0.876923
Ants-TS-0014 weather Lower-middle dev MSE 1123 298 0.940187
Ants-TS-0015 exchange Lowest dev MSE 1144 272 0.969237
Ants-TS-0016 exchange Lower-middle dev MSE 1134 272 1.005044

The accession identifies the fitted artifact and will not change with a later ranking. The eight controls live under paired-controls/<accession> and are identified by their original case and hashes. They are not eight additional direct-head models.

Later fitted states · E45g

Five additional direct models preserve the next Ants research batch, paired with five recursive controls. Each uses seed 1301, the lowest registered seed, chosen during curation for consistent dataset coverage. No score was used to select these representatives; they are not claimed to be the best or median checkpoints.

Accession Dataset Source family Seed Direct saved values Recursive saved values
Ants-TS-0017 ETTh2 ETT 1301 270 193
Ants-TS-0018 ETTm2 ETT 1301 270 193
Ants-TS-0019 ILI Epidemic 1301 270 193
Ants-TS-0020 Solar Solar 1301 300 223
Ants-TS-0021 AirQuality AirQuality 1301 282 205

The original batch completed 240 paired cases: five datasets × 48 seeds, containing 480 learned endpoints. The confirm role is retained as historical provenance. All E45g seasonal-naive comparisons are withdrawn following the original leakage audit; the remaining scores are as-run descriptive outputs without independent raw-score recomputation. ILI H96 is a common-horizon diagnostic. The filtered endpoint table omits seasonal scores; frozen checkpoint JSON and metrics still contain the marked invalid historical field. Read the archive note and machine-readable evidence status.

The fitted states, source, inventories and preprocessing remain byte-identical to the saved batch. They can be inspected independently of any claim about the historical benchmark.

Use the saved model

Install requirements.txt. The snippet downloads the archive and uses its original NumPy inference functions. Replace the zero context with 16 consecutive observations from the corresponding dataset channel, in its original units; use that channel's original index. Pin a Hub commit revision for repeatable use.

from pathlib import Path
import sys
import numpy as np
from huggingface_hub import snapshot_download

root = Path(snapshot_download("duj626/ants-ts-direct-dct8", revision="main"))
bundle = root / "checkpoints" / "Ants-TS-0009"
sys.path.insert(0, str(bundle / "source"))
from antslab.gyms.tiny_nn_multistep import load_checkpoint, forecast

arrays, record = load_checkpoint(bundle)  # checks the original file inventory
context = np.zeros((1, 16), dtype=np.float64)  # replace with your observed context
channel = np.array([0], dtype=np.int64)
prediction = forecast(arrays, record, context, channel)  # shape: (1, 96)

The example above uses E45f-r1. For E45g accessions 0017–0021, use the corresponding bundle in a fresh Python interpreter and replace its source import and forecast call with:

from pathlib import Path
import sys
import numpy as np
from huggingface_hub import snapshot_download

root = Path(snapshot_download("duj626/ants-ts-direct-dct8", revision="main"))
bundle = root / "checkpoints" / "Ants-TS-0017"
sys.path.insert(0, str(bundle / "source"))
from antslab.gyms.e45g_confirmation import load_checkpoint, model_forecast

arrays, record = load_checkpoint(bundle)
context = np.zeros((1, 16), dtype=np.float64)  # replace with observed ETTh2 values
channel = np.array([0], dtype=np.int64)
prediction = model_forecast(arrays, record, context, channel)  # shape: (1, 96)

Use one cohort’s bundled source per interpreter. E45g retains its own frozen implementation; source module names and forecast functions differ.

For the matched recursive model, change checkpoints to paired-controls while keeping the accession. The same source implements both arms. Loading performs no fitting; the complete bundle must be downloaded because the original inventory also verifies its source files. The historical reference run recorded NumPy 2.5.4. This publication checked bytes and source syntax, and did not rerun inference or assert new platform parity.

What the original study found

E45f-r1 completed 384/384 endpoints: four datasets × 48 paired initialization seeds × two training/deployment recipes. The following numbers are copied from the frozen descriptive analysis, not recomputed for this release and not metrics of the best checkpoint above.

Source family Direct / recursive H96 normalized MSE Direct / last-value H96 MSE
ETT (ETTh1 and ETTm1 combined) 0.825493 0.774545
Weather 0.021752 0.940933
Exchange 1.007847 1.005383

The registered family-level diagnostic and utility gates passed. Weather strongly drives the gain against the recursive recipe; Exchange is slightly worse. Two ETT datasets form one family, and 48 seeds are initialization repetitions. The comparison changes the complete target/training/output recipe, so it does not isolate the output head as a causal effect. The same development splits had been used before; these records do not establish independent confirmation or general superiority.

The original analysis is preserved at study/original_analysis.json. E45f's first admission attempt was rejected before any formal case ran; E45f-r1 has a separate registration and seeds. E45g is documented separately above. Its preserved fitted states do not alter the E45f-r1 development results, and no E45g seasonal-baseline or new confirmation claim is borrowed here.

Provenance and reuse

The release preserves the original final iterate, weights, metrics, inventories and source bytes. SOURCE.json binds them to the registration, run report, source snapshot and final archive. The registered code was a modified working-tree snapshot; the listed base Git commit alone is not a complete reconstruction. No raw time-series datasets or private operating logs are redistributed.

Use this archive to inspect a tiny forecasting recipe, reproduce a saved model interface, or study how direct and recursive formulations differ within a strict state budget. It does not introduce MLP forecasting or DCT as new methods. Source and release terms are described in LICENSE_SCOPE.md; the original Ants notice is retained.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including duj626/ants-ts-direct-dct8