VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Why Science? | DeepSEM, Structural Equation Models and Single-Cell Regulatory Networks

Three students sit around open books and worksheets at a classroom table, reading, writing and discussing the work together.

eduKateSG · Why Science?

Learn a regulatory adjacency matrix together with a useful single-cell representation—while keeping reconstruction quality separate from biological mechanism

Full section index · Science Learning Hub

Science learning becomes useful when a familiar object or observation is turned into a system of quantities, mechanisms and claim limits. This guide owns one applied evidence-reading job inside eduKateSG’s wider Science estate. It connects naturally to Why Science Genie3 Tree Ensembles Gene Regulatory Network Inference Evidence; Why Science Grnboost2 Gradient Boosting Scalable Regulatory Network Evidence; Why Science Scenic Regulons Cis Regulatory Motifs Cell State Evidence; Why Science Scode Linear Ode Pseudotime Regulatory Network Inference; Education Hub; Singapore Secondary School Directory; Career Adulthood Hub. It also keeps current school and public claims traceable to visible primary sources: DeepSEM primary study; DeepSEM PubMed record; Official DeepSEM repository; 2026 Singapore–Cambridge O-Level Biology syllabus; MOE G2/G3 Lower Secondary Science syllabus; 2026 MOE G2 Computing syllabus. The sources describe the scientific scope; this article translates that scope into a calm route for Primary Science, PSLE Science, Secondary Science, O-Level Science, STEM exploration, school choices and career pathways without inventing admission or employment outcomes.

Shu and colleagues reported DeepSEM in Nature Computational Science in 2021. The deep generative model combines a neural-network version of a structural equation model with single-cell representation learning, aiming to infer gene-regulatory networks while supporting tasks such as visualisation, clustering and simulation. The study benchmarked the method and compared mouse-cortex marker-gene predictions with epigenetic evidence. A learned adjacency value is conditional on architecture, optimisation, data and priors; it is not direct proof of regulation.

Section 1 of 36

1. Begin with joint learning

DeepSEM learns a regulatory graph while also learning a compact representation of single-cell expression. The joint design can share useful structure, but errors in one objective can influence the other.

DeepSEM jointly learns a single-cell representation and a regulatory adjacency matrix, so embedding quality and network interpretation are coupled.

Archive raw and processed matrices, specimens, genes, model architecture, loss weights, optimiser, epochs, seeds, checkpoints and repository version.

Contents · Next section

Section 2 of 36

2. Understand structural equations

A structural equation represents each gene as depending on other genes plus residual variation. In DeepSEM, the adjacency matrix becomes a learnable network component rather than a final correlation table.

A structural equation layer makes relationships explicit inside the architecture, but observational fit does not uniquely identify biological causation.

Train a documented seed ensemble and report median rank, adjacency variability, sign or direction agreement and held-out reconstruction.

Contents · Previous section · Next section

Section 3 of 36

3. See the generative model

A variational autoencoder maps cells into a latent distribution and reconstructs expression. This supports embedding and simulation, while generated profiles remain model outputs rather than measurements.

Variational generative learning balances reconstruction and latent regularisation; hyperparameters change which information the model preserves.

Compare with correlation, GENIE3 or GRNBoost2 and a prior-aware method on the same genes and biological splits.

Contents · Previous section · Next section

Section 4 of 36

4. Keep the adjacency interpretable

An adjacency weight expresses how the trained architecture relates genes under its assumptions. Scaling, regularisation and candidate lists affect magnitudes and rankings.

Neural optimisation can reach different solutions from different starts, making seed ensembles and stability summaries essential evidence.

Use donor-level holdouts and matched nulls; random cell splits can leak nearly identical specimen structure into validation.

Contents · Previous section · Next section

Section 5 of 36

5. Understand optimisation uncertainty

Deep networks use iterative optimisation and can reach different solutions from different initial weights. The official repository recommends repeated training and averaging absolute adjacency matrices for GRN inference.

Epigenetic agreement can support plausibility in matching contexts, while accessibility or chromatin association remains distinct from direct regulation.

Build an edge card containing adjacency rank, ensemble stability, representation sensitivity, epigenetic support, binding and perturbation evidence.

Contents · Previous section · Next section

Section 6 of 36

6. Separate tasks and claims

Good clustering, visualisation or reconstruction does not automatically prove the regulatory graph. Evaluate each task with evidence appropriate to that claim.

The 2021 benchmarks support DeepSEM across evaluated tasks and datasets; new cell systems require local baselines, holdouts and experiments.

Say learned adjacency, model-predicted edge and prioritised regulator until independent experiments support direct mechanism.

Contents · Previous section · Next section

Section 7 of 36

7. Read the 2021 evidence in scope

Shu and colleagues benchmarked DeepSEM and compared mouse-cortex marker-gene predictions with epigenetic evidence. The results support the architecture in studied settings rather than establishing every edge.

DeepSEM jointly learns a single-cell representation and a regulatory adjacency matrix, so embedding quality and network interpretation are coupled.

Archive raw and processed matrices, specimens, genes, model architecture, loss weights, optimiser, epochs, seeds, checkpoints and repository version.

Contents · Previous section · Next section

Section 8 of 36

8. Define the biological unit

State organism, tissue, cell type, condition and whether the desired graph is cell-type-specific or shared. Do not pool incompatible contexts for convenience.

A structural equation layer makes relationships explicit inside the architecture, but observational fit does not uniquely identify biological causation.

Train a documented seed ensemble and report median rank, adjacency variability, sign or direction agreement and held-out reconstruction.

Contents · Previous section · Next section

Section 9 of 36

9. Build a specimen manifest

Record donor or culture, batch, assay, quality filters, annotation, counts and gene mapping. Cell abundance does not replace independent biological replication.

Variational generative learning balances reconstruction and latent regularisation; hyperparameters change which information the model preserves.

Compare with correlation, GENIE3 or GRNBoost2 and a prior-aware method on the same genes and biological splits.

Contents · Previous section · Next section

Section 10 of 36

10. Perform transparent quality control

Inspect library size, detected genes, doublets, ambient RNA, stress and batch structure. Compare reasonable filters so rare states are not removed invisibly.

Neural optimisation can reach different solutions from different starts, making seed ensembles and stability summaries essential evidence.

Use donor-level holdouts and matched nulls; random cell splits can leak nearly identical specimen structure into validation.

Contents · Previous section · Next section

Section 11 of 36

11. Choose candidate genes deliberately

Document transcription-factor lists, target sets, variable-gene filters and mapping losses. A model cannot discover a regulator excluded before training.

Epigenetic agreement can support plausibility in matching contexts, while accessibility or chromatin association remains distinct from direct regulation.

Build an edge card containing adjacency rank, ensemble stability, representation sensitivity, epigenetic support, binding and perturbation evidence.

Contents · Previous section · Next section

Section 12 of 36

12. Scale expression reproducibly

Transformations and normalisation affect reconstruction and adjacency learning. Preserve the exact matrix and compare credible choices on a sensitivity set.

The 2021 benchmarks support DeepSEM across evaluated tasks and datasets; new cell systems require local baselines, holdouts and experiments.

Say learned adjacency, model-predicted edge and prioritised regulator until independent experiments support direct mechanism.

Contents · Previous section · Next section

Section 13 of 36

13. Split by specimen

Keep entire donors or cultures out of training. Random cell splits can reward memorisation of specimen-specific distributions and exaggerate generalisation.

DeepSEM jointly learns a single-cell representation and a regulatory adjacency matrix, so embedding quality and network interpretation are coupled.

Archive raw and processed matrices, specimens, genes, model architecture, loss weights, optimiser, epochs, seeds, checkpoints and repository version.

Contents · Previous section · Next section

Section 14 of 36

14. Predeclare the architecture

Record latent dimension, hidden layers, activation functions, SEM configuration and loss weights. Architecture search should stay inside training evidence.

A structural equation layer makes relationships explicit inside the architecture, but observational fit does not uniquely identify biological causation.

Train a documented seed ensemble and report median rank, adjacency variability, sign or direction agreement and held-out reconstruction.

Contents · Previous section · Next section

Section 15 of 36

15. Practise with a fictional DeepSEM table

This classroom table is invented and is not output from the DeepSEM paper.

Fictional edgeEnsemble rankSeed recurrenceHoldout supportNext check
TF-A → Gene-B390%StrongPerturb TF-A
TF-C → Gene-D152%WeakAudit batches
TF-E → Gene-F1184%ModerateChromatin + binding
Invented classroom data for comparison practice; not an operational, product-certification or safety dataset.

Variational generative learning balances reconstruction and latent regularisation; hyperparameters change which information the model preserves.

Compare with correlation, GENIE3 or GRNBoost2 and a prior-aware method on the same genes and biological splits.

Contents · Previous section · Next section

Section 16 of 36

16. Separate weight, rank and graph

A learned weight belongs to one trained model, a rank compares candidates and a threshold draws an edge. None is a calibrated probability of regulation.

Neural optimisation can reach different solutions from different starts, making seed ensembles and stability summaries essential evidence.

Use donor-level holdouts and matched nulls; random cell splits can leak nearly identical specimen structure into validation.

Contents · Previous section · Next section

Section 17 of 36

17. Train across seeds

Use the same documented pipeline across multiple initialisations. Plot edge-rank distributions and adjacency similarity rather than presenting only the best run.

Epigenetic agreement can support plausibility in matching contexts, while accessibility or chromatin association remains distinct from direct regulation.

Build an edge card containing adjacency rank, ensemble stability, representation sensitivity, epigenetic support, binding and perturbation evidence.

Contents · Previous section · Next section

Section 18 of 36

18. Audit loss-weight trade-offs

Reconstruction, latent regularisation and structural objectives can compete. Track networks across plausible weights and state which task drove the chosen setting.

The 2021 benchmarks support DeepSEM across evaluated tasks and datasets; new cell systems require local baselines, holdouts and experiments.

Say learned adjacency, model-predicted edge and prioritised regulator until independent experiments support direct mechanism.

Contents · Previous section · Next section

Section 19 of 36

19. Check latent dimension

A small latent space may erase rare programmes; a large one may preserve nuisance variation. Evaluate biological and network stability together.

DeepSEM jointly learns a single-cell representation and a regulatory adjacency matrix, so embedding quality and network interpretation are coupled.

Archive raw and processed matrices, specimens, genes, model architecture, loss weights, optimiser, epochs, seeds, checkpoints and repository version.

Contents · Previous section · Next section

Section 20 of 36

20. Inspect reconstruction residuals

Plot residuals by gene, cell type, specimen and expression range. A graph inferred from systematic reconstruction error deserves caution.

A structural equation layer makes relationships explicit inside the architecture, but observational fit does not uniquely identify biological causation.

Train a documented seed ensemble and report median rank, adjacency variability, sign or direction agreement and held-out reconstruction.

Contents · Previous section · Next section

Section 21 of 36

21. Use specimen-level holdouts

Evaluate reconstructed distributions and edge stability on untouched donors or cultures. Never tune on the final holdout.

Variational generative learning balances reconstruction and latent regularisation; hyperparameters change which information the model preserves.

Compare with correlation, GENIE3 or GRNBoost2 and a prior-aware method on the same genes and biological splits.

Contents · Previous section · Next section

Section 22 of 36

22. Construct matched nulls

Shuffle genes within valid blocks or simulate covariance without directed regulation while preserving sparsity and count structure. Compare edge stability, not just training loss.

Neural optimisation can reach different solutions from different starts, making seed ensembles and stability summaries essential evidence.

Use donor-level holdouts and matched nulls; random cell splits can leak nearly identical specimen structure into validation.

Contents · Previous section · Next section

Section 23 of 36

23. Compare with tree ensembles

GENIE3 and GRNBoost2 use different predictive assumptions. Agreement can prioritise edges; disagreement reveals whether architecture or representation learning drives them.

Epigenetic agreement can support plausibility in matching contexts, while accessibility or chromatin association remains distinct from direct regulation.

Build an edge card containing adjacency rank, ensemble stability, representation sensitivity, epigenetic support, binding and perturbation evidence.

Contents · Previous section · Next section

Section 24 of 36

24. Compare with prior-aware evidence

SCENIC adds motif filtering and regulon activity. Keep its prior-based support separate from DeepSEM’s learned adjacency instead of merging scores into certainty.

The 2021 benchmarks support DeepSEM across evaluated tasks and datasets; new cell systems require local baselines, holdouts and experiments.

Say learned adjacency, model-predicted edge and prioritised regulator until independent experiments support direct mechanism.

Contents · Previous section · Next section

Section 25 of 36

25. Audit candidate hubs

Compare degree with expression variance, detection rate, batch association, stress and cell-cycle programmes. Broad predictiveness can arise from nuisance structure.

DeepSEM jointly learns a single-cell representation and a regulatory adjacency matrix, so embedding quality and network interpretation are coupled.

Archive raw and processed matrices, specimens, genes, model architecture, loss weights, optimiser, epochs, seeds, checkpoints and repository version.

Contents · Previous section · Next section

Section 26 of 36

26. Build a multi-task evidence card

Place adjacency rank beside seed stability, loss sensitivity, holdout reconstruction, epigenetic evidence, binding and perturbation.

A structural equation layer makes relationships explicit inside the architecture, but observational fit does not uniquely identify biological causation.

Train a documented seed ensemble and report median rank, adjacency variability, sign or direction agreement and held-out reconstruction.

Contents · Previous section · Next section

Section 27 of 36

27. Add epigenetic evidence carefully

Chromatin accessibility or histone marks can support regulatory plausibility. They are context-dependent and do not alone establish a direct functional edge.

Variational generative learning balances reconstruction and latent regularisation; hyperparameters change which information the model preserves.

Compare with correlation, GENIE3 or GRNBoost2 and a prior-aware method on the same genes and biological splits.

Contents · Previous section · Next section

Section 28 of 36

28. Design a perturbation and rescue

Perturb a predicted regulator, measure early and late target responses, include negative and related-factor controls and rescue where feasible.

Neural optimisation can reach different solutions from different starts, making seed ensembles and stability summaries essential evidence.

Use donor-level holdouts and matched nulls; random cell splits can leak nearly identical specimen structure into validation.

Contents · Previous section · Next section

Section 29 of 36

29. Connect DeepSEM to school science

DeepSEM shows how models, variables, controls and validation connect. Students can distinguish a useful representation from a proven mechanism.

Epigenetic agreement can support plausibility in matching contexts, while accessibility or chromatin association remains distinct from direct regulation.

Build an edge card containing adjacency rank, ensemble stability, representation sensitivity, epigenetic support, binding and perturbation evidence.

Contents · Previous section · Next section

Section 30 of 36

30. Try a reconstruction activity

Compress several measured features into two summaries, reconstruct the originals and compare what was lost. Then ask whether good reconstruction reveals cause.

The 2021 benchmarks support DeepSEM across evaluated tasks and datasets; new cell systems require local baselines, holdouts and experiments.

Say learned adjacency, model-predicted edge and prioritised regulator until independent experiments support direct mechanism.

Contents · Previous section · Next section

Section 31 of 36

31. Connect to mathematics

Matrices, equations, probability distributions, optimisation, regularisation and graph thresholds give concrete meaning to an AI pipeline.

DeepSEM jointly learns a single-cell representation and a regulatory adjacency matrix, so embedding quality and network interpretation are coupled.

Archive raw and processed matrices, specimens, genes, model architecture, loss weights, optimiser, epochs, seeds, checkpoints and repository version.

Contents · Previous section · Next section

Section 32 of 36

32. Connect to computing and AI literacy

DeepSEM demonstrates that an AI model can perform several tasks while each needs its own validation. Seeds and held-out data matter.

A structural equation layer makes relationships explicit inside the architecture, but observational fit does not uniquely identify biological causation.

Train a documented seed ensemble and report median rank, adjacency variability, sign or direction agreement and held-out reconstruction.

Contents · Previous section · Next section

Section 33 of 36

33. Connect to school and career choices

Students excited by learning systems can explore biology, mathematics, computing, statistics, medicine or data engineering.

Variational generative learning balances reconstruction and latent regularisation; hyperparameters change which information the model preserves.

Compare with correlation, GENIE3 or GRNBoost2 and a prior-aware method on the same genes and biological splits.

Contents · Previous section · Next section

Section 34 of 36

34. Create a family AI habit

When AI produces a network, ask what objective it optimised, what data were held out and whether the same result appears across runs.

Neural optimisation can reach different solutions from different starts, making seed ensembles and stability summaries essential evidence.

Use donor-level holdouts and matched nulls; random cell splits can leak nearly identical specimen structure into validation.

Contents · Previous section · Next section

Section 35 of 36

35. Use responsible deep-model language

Say model-predicted adjacency, ensemble-supported edge and generated profile. Reserve direct regulation for matched biological evidence.

Epigenetic agreement can support plausibility in matching contexts, while accessibility or chromatin association remains distinct from direct regulation.

Build an edge card containing adjacency rank, ensemble stability, representation sensitivity, epigenetic support, binding and perturbation evidence.

Contents · Previous section · Next section

Section 36 of 36

36. Finish with a model-to-test bundle

Deliver manifests, matrices, architecture, checkpoints, seed ensembles, loss and dimension sensitivity, holdouts, nulls, evidence cards and perturbations.

The 2021 benchmarks support DeepSEM across evaluated tasks and datasets; new cell systems require local baselines, holdouts and experiments.

Say learned adjacency, model-predicted edge and prioritised regulator until independent experiments support direct mechanism.

Did you know? Two neural networks can achieve similar reconstruction loss while learning noticeably different adjacency matrices. Repeated seeds are therefore scientific evidence, not merely an engineering detail.

Keep training, validation and final biological test sets separate. Hyperparameter tuning on the final evidence turns a claimed holdout into part of training.

Inspect whether generated profiles reproduce zeros, means, variances, correlations and rare populations. A realistic-looking embedding can conceal distributional failures.

For human data, respect consent and controlled access while sharing code, model cards, checkpoints where appropriate and derived rankings. Model reproducibility does not override privacy.

A strong figure places network stability beside reconstruction and clustering metrics rather than letting success on one task certify the others.

Select perturbations that discriminate stable consensus edges from alternative seed-specific models. An experiment is valuable when different outcomes change the model family. Publish negative results too, because a failed prediction is evidence about the architecture, candidate set and biological scope.

Contents · Previous section · Continue to the Science Learning Hub