TipPFN
TipPFN is a prior-fitted transformer that predicts how close a dynamical system is to a critical transition (tipping point) from a short observed time series, optionally conditioned in context on other episodes of the same system. These are the weights of the model in the NeurIPS 2026 paper In-context learning to predict critical transitions in dynamical systems. Paper: arXiv 2605.12308. Code, preprocessing and evaluation: https://github.com/kausable/tippfn-neurips26.
Files
| File | Content |
|---|---|
model.safetensors |
weights (fp32) |
config.json |
architecture, quantile levels, preprocessing constants, provenance |
reference_logits.npz |
reference outputs used by the code repository's parity test |
Checksums are in SHA256SUMS.
Model
- Transformer with
d_model1280, 8 layers, 8 heads, MLP ratio 4, up to 20 features, 16 actions and 512 time steps. - Output: 99 quantiles (levels
linspace(0, 1, 101)[1:-1]) of the relative distance to the critical point (RDTC) at each time step. RDTC decreases towards 0 as the system approaches its bifurcation and is negative after crossing it. - Inputs are preprocessed as in the paper (asinh feature scaling, tanh-scaled RDTC target); use
tippfn.preprocessrather than reimplementing it, since the column order and preprocessing constants are part of the input format.
from tippfn import from_pretrained
model = from_pretrained("kausable/tippfn-neurips26") # local folder or Hub repo id
Intended use
Research on early warning of critical transitions: scoring how close an observed system is to a bifurcation- or rate-induced tipping point, with zero or more context episodes from the same system. The model was trained only on simulated stochastic dynamical systems. It is not validated for operational or safety-critical decisions (for example clinical seizure warning, climate or ecosystem management) and should not be used for them without independent validation on the target domain.
Training data
kausable/tippfn-neurips26-train: 274,488 simulated samples of stochastic dynamical systems with fold, Hopf and transcritical bifurcations, K = 4 episodes of 256 steps per sample, in 167 shards.
No real-world data were used in training.
In each sample, the 14 auxiliary variables are driven by the driver state x, y, the forcing parameter λ and the RDTC target, each connected to each auxiliary variable with probability 0.8; with RDTC = 1 − normalised λ, these inputs carry a noisy, filtered readout of the forcing level.
Training recipe (as run)
| Setting | Value |
|---|---|
| Steps | 22,000, stopped early in a 200,000-step schedule |
| Learning-rate schedule | linear warmup over 2,000 steps, then linear decay towards 0.1 × peak at step 200,000 (the run stopped at step 22,000, early in the decay) |
| Optimiser | Muon (Nesterov momentum 0.95, 5 Newton–Schulz steps) for matrix parameters, AdamW (β = (0.9, 0.999), ε = 1e-7) for the rest; peak lr 0.01, weight decay 0.01 |
| Batch | 4 data ranks × 42 views = global batch 168 views per step |
| Context | K = 4 episodes per sample; 8 training views drawn per sample |
| Loss | quantile loss on RDTC (weight 1.0) plus auxiliary signal loss (weight 0.2) |
| Other | bf16, gradient clipping at 1.0, seed 0 |
The configuration is configs/train_paper.yaml in the code repository.
Evaluation
Mean class-balanced AUROC for separating episodes that approach a critical transition from those that do not, with 0, 1 or 2 context episodes (Table 1 of the paper, TipPFN columns).
Synthetic rows use the first 128 samples of each evaluation set, full windows only; see kausable/tippfn-neurips26-eval.
| Dataset | 0 context | 1 context | 2 context |
|---|---|---|---|
| B-Fold | 0.876 | 0.929 | 0.955 |
| B-Hopf | 0.861 | 0.935 | 0.952 |
| B-Trans. | 0.864 | 0.925 | 0.950 |
| B-Harv. | 0.846 | 0.958 | 0.974 |
| B-RM TC | 0.815 | 0.951 | 0.963 |
| B-RM Hopf | 0.769 | 0.829 | 0.904 |
| B-SEIRx | 0.582 | 0.822 | 0.905 |
| B-AMOC | 0.853 | 0.898 | 0.940 |
| R-Bautin | 0.308 | 0.543 | 0.700 |
| R-SN | 0.644 | 0.802 | 0.892 |
| R-Compost | 0.767 | 0.623 | 0.665 |
| R-AMOC | 0.257 | 0.782 | 0.913 |
| SWEC-iEEG | 0.444 | 0.512 | 0.506 |
| TAC | 0.532 | 0.508 | 0.517 |
| DaphniaExt | 0.500 | 0.717 | 0.832 |
B- rows are bifurcation-induced, R- rows rate-induced transitions; B-Fold/Hopf/Trans. are generic normal-form systems, the others semi-real reduced-order models. SWEC-iEEG (intracranial EEG before epileptic seizures), TAC (thermoacoustic combustor) and DaphniaExt (Daphnia extinction) are real-world and sim-to-real sets.
The SWEC-iEEG set is not redistributed; it is built from the recordings on the SWEC-ETHZ dataset page with scripts/swec_preprocess.py in the code repository.
Baseline columns and the commands that reproduce each number are in docs/reproduction.md of the code repository.
Limitations
- Trained only on simulated systems with fold, Hopf and transcritical bifurcations; transfer to other transition mechanisms is not guaranteed.
- Without context, rate-induced transitions are poorly separated (R-Bautin and R-AMOC are below chance at 0 context); performance depends strongly on relevant context episodes.
- On SWEC-iEEG and TAC the model is near chance in all context settings.
- On the synthetic evaluation sets, the auxiliary variables are driven by the forcing and the RDTC as well as by the state variables, so TipPFN (and TabPFN with 16 features) read information about the forcing level that the univariate baselines do not; part of the advantage in the paper's synthetic Table 1 rows comes from this. The paper's appendix reports results on sets with x, y-only drive. Real-world data contain no such columns.
- Real-world evaluation covers few systems and sessions (SWEC-iEEG with 18 patients, one TAC session, one Daphnia experiment); the AUROC estimates there have wide uncertainty.
- The checkpoint is from step 22,000 of a 200,000-step schedule, not a converged run.
- RDTC is defined relative to a known or observed critical point; on real data its definition follows the observed transition and is itself an approximation.
Licence
Weights: Apache-2.0. Training data: CC BY 4.0. Evaluation data: see the dataset card.
Citation
@inproceedings{sevinchan2026tippfn,
title = {In-context learning to predict critical transitions in dynamical systems},
author = {Sevinchan, Yunus and Nathaniel, Juan and Ueltzh{\"o}ffer, Kai and Roesch, Carla and Laschos, Vaios and Weber, Tobias and Fan, Hang and Ramien, Gregor and Haux, Johannes and Gentine, Pierre and Herdeanu, Benjamin},
booktitle = {Advances in Neural Information Processing Systems},
year = {2026},
eprint = {2605.12308},
archivePrefix = {arXiv}
}
- Downloads last month
- 20