CoolFace
Modelpublic

MufanQiu/chreode-pretrained

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes
Model Card

Chreode — pretrained backbone

Pretrained weights for Chreode, a one-step cell world model.

Paper: arXiv:2605.28111 · Code: github.com/mufanq/Chreode

Files

FileStageArchitectureSize
vae.ptStage 1scVI encoder–decoder; latent 128; hidden 512; 3 enc + 3 dec layers; Normal likelihood647 MB
dynamics_dit.ptStage 2Waddington-DiT (Small: hidden 384, depth 12, 6 heads, 4 register tokens); experiment g2a_m10_wdit_time2vecu_lowfreqcurl_uncertainty_adamw472 MB
static_dit.ptStage 2 controlSame architecture as dynamics_dit.pt but trained with reconstruction-only objective; used as the control arm for §5.3 (fate) and §5.4 (Norman)472 MB

How to use

python
from huggingface_hub import snapshot_download
import torch

ckpt_dir = snapshot_download(repo_id="WhenceFade/chreode-pretrained")

vae          = torch.load(f"{ckpt_dir}/vae.pt",          map_location="cpu", weights_only=False)
dynamics_dit = torch.load(f"{ckpt_dir}/dynamics_dit.pt", map_location="cpu", weights_only=False)
static_dit   = torch.load(f"{ckpt_dir}/static_dit.pt",   map_location="cpu", weights_only=False)

End-to-end loader and the full latent → prediction example are in the companion GitHub repo; see reproduce/01_pretrain.md for the exact config, and reproduce/00_setup.md for environment setup.

Pretraining data

  • 2,477,217 mouse embryonic cells from 7 public datasets, 10 leaf trajectories, 88 sampled timepoints (0 → 19 dpf).
  • Gene vocabulary: 16,520 mouse–human 1:1 orthologs (Ensembl BioMart, confidence=1).
  • Preprocessing: normalize_total(1e4) + log1p. Cached preprocessing artifacts: WhenceFade/chreode-phase0.

Training recipe

Stage 1 (VAE)Stage 2 (W-DiT)
Steps1,678 (≈ 2 epochs)3,356
Batch4,096512
OptimizerAdam (scvi-tools defaults)AdamW β=(0.9, 0.95), wd=0.01
LRscvi defaults3 × 10⁻⁴, 5% cosine warmup
LossELBO (Normal)MMD + Sinkhorn W₂ + drift + downhill (1 : 1 : 1 : 0.1)
Hardware1 × A1001 × A100
Wall-clock≈ 12 h≈ 18 h

Reported metrics (paper Tables 1–7)

When this backbone is plugged into the downstream evaluation in `mufanq/Chreode`:

TaskMetricChreodeBest baseline
Weinreb d6 fine-tuneSinkhorn W₂ ↓1.688 ± 0.036PI-SDE 1.840
Veres avg t1–t7 fine-tuneSinkhorn W₂ ↓2.617PI-SDE 2.830
Weinreb fate zero-shotPearson r ↑0.468scDiffEq 0.463
Norman GEARS embedding replaceDE20 MSE ↓0.18580 (−12.4%)GEARS 0.21208
Inference latency (A100 fp32 b1)ms / NFE65 ms / 1PRESCIENT 194 / many

Three downstream tasks include fine-tuning; the fate task is zero-shot.

Intended use

  • Predict population-level transitions $p(z{t+\Delta} \mid zt, \mathrm{do}(a))$ on single-cell transcriptomics, with a one-pass residual generator.
  • Use as a starting point for fine-tuning on new developmental or perturbation atlases that share the mouse–human 1:1 ortholog vocabulary.
  • Use as a gene-state embedding inside other perturbation predictors (e.g. GEARS).

Out-of-scope use

  • Not a general-purpose representation learner — for cell-type annotation, integration, or gene-network reasoning, prefer Geneformer / scGPT.
  • Trained only on mouse embryonic data. Cross-species transfer is mediated by 1:1 orthologs; adult-human tissues are out of distribution.
  • The fine-tuned Norman headline (DE20 MSE 0.18580) is a single-seed number; see `reproduce/known_issues.md`.

Bias, risks, and limitations

  • Training data is heavily biased toward early embryonic development; cell-state coverage in adult tissues is poor.
  • The model is a predictive generator, not a causal one, even though we condition on do(a) notationally. For mechanistic claims, treat predictions as hypotheses, not endpoints.
  • Same atlas-level confounders (batch / lab / donor heterogeneity) carry into latent space.

License

MIT — see the GitHub repository.

Citation

bibtex
@article{qiu2026chreode,
  title         = {Chreode: A Cell World Model for One-Step Temporal Dynamics and Perturbation Prediction},
  author        = {Qiu, Mufan and Zheng, Genhui and Xu, Yinuo and Zhang, Ruichen and Ding, Ying and Long, Qi and Chen, Tianlong},
  year          = {2026},
  eprint        = {2605.28111},
  archivePrefix = {arXiv},
  primaryClass  = {cs.LG},
  url           = {https://arxiv.org/abs/2605.28111}
}