Hyperparameters
The active training workflow is configured through explicit CLI flags, primarily on bsvae-train and bsvae-sweep-k.
hyperparam.ini is not part of the active CLI path. The files in src/bsvae/hyperparam.ini and docs/hyperparam.ini are retained only for legacy context.
Model And Architecture
--n-modulesdefault20--latent-dimdefault32--hidden-dimsdefault[512, 256, 128]--dropoutdefault0.1--sigma-mindefault0.3--use-batch-norm/--no-batch-norm--normalize-input
Optimization And Schedule
--epochsdefault100--batch-sizedefault128--lrdefault5e-4--checkpoint-everydefault10--warmup-epochsdefault20--transition-epochsdefault10--freeze-gmm-epochsdefault0--collapse-thresholddefault0.5--collapse-noise-scaledefault0.5
Loss Terms
--betadefault1.0--free-bitsdefault0.0(bsvae-train),0.5(bsvae-sweep-k)--kl-warmup-epochsdefault0--kl-anneal-modelinearorcyclical--kl-cycle-lengthdefault50--sep-strengthdefault0.1--sep-alphadefault2.0--bal-strengthdefault0.1--bal-ema-blenddefault0.5--pi-entropy-strengthdefault0.0--hier-strengthdefault0.0--corr-strengthdefault0.0--latent-corr-strengthdefault0.0--masked-recon
Hierarchical And Isoform Options
--tx2genesupplies transcript-to-gene mappings--isoform-stratifiedchanges batch construction so related isoforms co-occur--p-multicontrols the probability of sampling multi-isoform features when stratified sampling is enabled
Practical Starting Points
Small pilot:
bsvae-train pilot \
--dataset data/expression.csv \
--n-modules 8 \
--latent-dim 12 \
--epochs 30
Typical baseline:
bsvae-train study1 \
--dataset data/expression.csv \
--n-modules 20 \
--latent-dim 32 \
--free-bits 0.5 \
--sep-strength 0.1 \
--bal-strength 0.01
Model-selection workflow:
bsvae-sweep-k sweep1 \
--dataset data/expression.csv \
--k-grid 8,12,16,24,32 \
--sweep-epochs 60 \
--stability-reps 5 \
--val-frac 0.1