YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
generator_v2 β SARIMA-compositional + chaotic + long-memory cascade generator
A cascade data generator that keeps the strong SARIMA-compositional backbone
of new_generator and adds the two classes of dynamics that backbone
structurally cannot produce, plus a bilinear nonlinear-AR family. It is a
genuine capability upgrade β new mechanisms, not just re-weighted knobs.
What's inside
| file | purpose |
|---|---|
generator.py |
class Generator(DataGenerator) β the entrypoint |
config.json |
length band, SARIMA caps, core-family weights, enrichment probs |
requirements.txt |
hash-locked, allowlisted deps (numpy, scipy) |
Core families (selected per series by core_weights)
- SARIMA-compositional (dominant, best single scorer) β regime-switching
SARIMA(p,d,q)(P,D,Q)_swith stochastic volatility, fat tails, integration. - Chaotic dynamical systems (new) β continuous chaotic flows integrated by RK4 (Lorenz, RΓΆssler, Thomas, Chen, driven Van der Pol) plus the Mackey-Glass delay system. Motivated by DynaMix (NeurIPS'25): a TSFM trained purely on a small library of chaotic attractors generalises zero-shot to real traffic/weather. These give deterministic-but-complex, broadband, long-range structure no ARMA prior contains.
- Long-memory / fractional (new) β (i) power-law
1/f^Ξ²colored-noise spectral synthesis (Ξ²β[-1,3]: anti-persistent β pink β Brownian), and (ii) ARFIMA(p,d,0) via truncated fractional-differencing (Hosking) coefficients. Fills the gap between SARIMA's I(0) and I(1) with genuine long-range dependence (Hurst β 0.5). - Bilinear nonlinear-AR (new) β
y_t = Ο y_{t-1} + b y_{t-1} e_{t-1} + ΞΈ e_{t-1} + e_t: bursty multiplicative autocorrelation distinct from SETAR/GARCH.
Every core then flows through the same enrichment stack as before β additive nested-calendar seasonality, trends, level shifts, spikes, nonlinear marginal warps, TSMixup and finalisation β so the new dynamics inherit the full compositional breadth.
Performance & stability
- The chaotic cores use a bounded scalar recursion capped at
chaos_max_steps(default 1200) integration steps and then resample to the target length, so cost stays linear and small even at length 4096. - Any core that diverges or returns non-finite falls back deterministically
to the SARIMA core; the final series is rescaled and hard-clipped to
max_abs_value. - SARIMA AR/MA roots are guaranteed outside the unit circle (Levinson-Durbin on
reflection coefficients); ARFIMA uses
d < 0.5for stationarity.
Determinism
The corpus is a pure function of (seed, n_series) via
np.random.SeedSequence sub-seeds. The chaotic/bilinear scalar recursions are
ordinary deterministic float arithmetic. No hash(), wall-clock, or unseeded
global RNG.
Verify
# from the cascade repo root, with deps installed and cascade importable
cascade verify ../generator_v2
Config knobs (config.json)
min_length/max_lengthβ per-series length band.core_weightsβ probability mass oversarima/chaotic/longmem/bilinearcores. SARIMA is kept dominant (strongest single scorer).chaos_min_steps/chaos_max_stepsβ chaotic integration-step budget (bounds cost; trajectories are resampled to the series length).max_ar/max_ma/max_seasonal_ar/max_seasonal_maβ SARIMA caps.d_weights/seasonal_d_weightsβ integration-order probability mass.seasonal_prob/student_t_prob/stoch_vol_probβ SARIMA innovations.regime_prob/max_regimesβ regime-switching frequency and count.trend_prob/calendar_prob/level_shift_prob/spike_probβ components.warp_prob/mixup_probβ nonlinear marginal warp / TSMixup probabilities.standardizeβ z-normalise each series (defaultfalse).max_abs_valueβ hard magnitude clip to keep output trainer-safe finite.
- Downloads last month
- 23