eduKateSG · Why Science?
Separate known attributes from unknown cellular variation, then ask a counterfactual question—without mistaking a clean latent factor for biological proof
Reading routes
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 Cpa Compositional Perturbations Dose Response Prediction; Why Science Trvae Distribution Matching Conditional Out Of Sample Generation; Why Science Scgen Latent Space Arithmetic Cross Condition Perturbation Prediction; Why Science Perturbnet Unseen Chemical Structures Genetic Perturbation Responses; Education Hub; Singapore Secondary School Directory; Career Adulthood Hub; Science Learning Hub. It also keeps current school and public claims traceable to visible primary sources: biolord primary study; biolord PubMed record; Official biolord 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.
biolord, published by Piran and colleagues in Nature Biotechnology in 2024, is a deep generative framework that uses partial supervision to disentangle known attributes from unknown variation in single-cell data. The study applied that idea across modalities and biological systems, including predictions of drug and genetic perturbation responses and decoupling spatial, temporal and disease-associated signals. For science learning, it turns the word ‘factor’ into a testable modelling claim: useful separation can support counterfactual generation, but a named latent component is not automatically an isolated mechanism.
Inside this guide
1–12 · Foundations and models
- 1. Begin with mixed causes
- 2. Use partial supervision
- 3. Represent categorical attributes
- 4. Represent ordered attributes
- 5. Preserve unknown variation
- 6. Generate a counterfactual
- 7. Read the 2024 evidence in scope
- 8. Define each attribute
- 9. Build an attribute manifest
- 10. Map label availability
- 11. Split by biological unit
- 12. Protect the counterfactual target
13–24 · Evidence, testing and applications
- 13. Test attribute leakage
- 14. Test residual collapse
- 15. Practise with a fictional biolord table
- 16. Separate clean plots from evidence
- 17. Evaluate attribute swapping
- 18. Audit ordered trajectories
- 19. Audit rare groups
- 20. Run seed ensembles
- 21. Use strong baselines
- 22. Construct label nulls
- 23. Challenge label quality
- 24. Test across modalities carefully
25–36 · Learning, decisions and pathways
- 25. Compare with CPA
- 26. Build a counterfactual evidence card
- 27. Keep disease claims bounded
- 28. Design the next experiment
- 29. Connect biolord to school science
- 30. Try a factor-separation activity
- 31. Connect to mathematics
- 32. Connect to computing and AI literacy
- 33. Connect to school and career choices
- 34. Create a family factor habit
- 35. Use precise biolord language
- 36. Finish with an attribute-to-experiment bundle
Section 1 of 36
1. Begin with mixed causes
A cell profile combines type, condition, time, location and unmeasured history. biolord tries to separate labelled attributes from remaining variation.
biolord learns separate representations for supervised known attributes and residual unknown variation under partial supervision.
Archive known-attribute labels, missingness, specimens, preprocessing, model settings, random seeds, checkpoints and repository version.
Section 2 of 36
2. Use partial supervision
The model receives some known attributes while learning an additional unknown representation. Labels guide separation without explaining everything.
Known attributes can be categorical or ordered, while the unknown component is intended to retain variation not explained by those labels.
Hold out complete attribute combinations and biological units, keeping target measurements outside feature selection, tuning and interpretation choices.
Section 3 of 36
3. Represent categorical attributes
Cell type, treatment identity or disease group can be supplied as categories whose learned representations influence generation.
Counterfactual generation changes selected attributes while preserving an inferred cellular background; that preservation is a model assumption to test.
Compare ordinary autoencoding, conditional VAE, mean substitution and task-specific baselines such as CPA on the same evidence.
Section 4 of 36
4. Represent ordered attributes
Time or another ordered variable can be modelled with structure that respects progression instead of treating every value as unrelated.
Disentanglement is not uniquely identifiable from observations without assumptions, so stable factors and predictive utility matter more than tidy pictures.
Report reconstruction, attribute predictability, leakage, counterfactual error, subgroup performance and seed stability.
Section 5 of 36
5. Preserve unknown variation
A residual latent component aims to retain background differences not assigned to known labels. It should be tested for leakage and collapse.
The 2024 study applied biolord across single-cell modalities and biological systems, including perturbation, spatial, temporal and disease-associated tasks.
Build a disentanglement card with labels, residual scope, holdout combination, leakage tests, baselines, uncertainty and validation status.
Section 6 of 36
6. Generate a counterfactual
Change one known attribute while retaining the inferred unknown state, then decode the profile that the model predicts under that combination.
A latent factor may correlate with a biological process without isolating its mechanism or establishing causality.
Say model-separated attribute and generated counterfactual; do not call a latent coordinate a discovered pathway or proven cause.
Section 7 of 36
7. Read the 2024 evidence in scope
Piran and colleagues reported biolord in Nature Biotechnology and demonstrated disentanglement across perturbation and other single-cell tasks.
biolord learns separate representations for supervised known attributes and residual unknown variation under partial supervision.
Archive known-attribute labels, missingness, specimens, preprocessing, model settings, random seeds, checkpoints and repository version.
Section 8 of 36
8. Define each attribute
Write what every label means, how it was measured and which values are missing. Ambiguous labels create ambiguous factors.
Known attributes can be categorical or ordered, while the unknown component is intended to retain variation not explained by those labels.
Hold out complete attribute combinations and biological units, keeping target measurements outside feature selection, tuning and interpretation choices.
Section 9 of 36
9. Build an attribute manifest
Record specimen, cell type, perturbation, dose, time, spatial region, disease state, batch and assay with provenance.
Counterfactual generation changes selected attributes while preserving an inferred cellular background; that preservation is a model assumption to test.
Compare ordinary autoencoding, conditional VAE, mean substitution and task-specific baselines such as CPA on the same evidence.
Section 10 of 36
10. Map label availability
Show which attribute combinations exist. A model cannot demonstrate transfer if the target combination leaked into training.
Disentanglement is not uniquely identifiable from observations without assumptions, so stable factors and predictive utility matter more than tidy pictures.
Report reconstruction, attribute predictability, leakage, counterfactual error, subgroup performance and seed stability.
Section 11 of 36
11. Split by biological unit
Hold out donors, cultures, animals or slides where possible. Random cells share experimental and biological structure.
The 2024 study applied biolord across single-cell modalities and biological systems, including perturbation, spatial, temporal and disease-associated tasks.
Build a disentanglement card with labels, residual scope, holdout combination, leakage tests, baselines, uncertainty and validation status.
Section 12 of 36
12. Protect the counterfactual target
Keep the exact target combination sealed during optimisation. Reveal it once after model and baseline choices are frozen.
A latent factor may correlate with a biological process without isolating its mechanism or establishing causality.
Say model-separated attribute and generated counterfactual; do not call a latent coordinate a discovered pathway or proven cause.
Section 13 of 36
13. Test attribute leakage
Try to predict treatment from the unknown latent and background from the treatment factor. Unwanted predictability reveals incomplete separation.
biolord learns separate representations for supervised known attributes and residual unknown variation under partial supervision.
Archive known-attribute labels, missingness, specimens, preprocessing, model settings, random seeds, checkpoints and repository version.
Section 14 of 36
14. Test residual collapse
Confirm that the unknown component retains useful cell variation. Perfect invariance can be achieved by discarding information.
Known attributes can be categorical or ordered, while the unknown component is intended to retain variation not explained by those labels.
Hold out complete attribute combinations and biological units, keeping target measurements outside feature selection, tuning and interpretation choices.
Section 15 of 36
15. Practise with a fictional biolord table
This classroom table is invented and is not output from the biolord paper.
| Fictional holdout | Attribute leakage | Counterfactual error | Baseline error | Next check |
|---|---|---|---|---|
| Drug × cell A | 0.08 | 0.22 | 0.34 | New donor |
| Time × state B | 0.17 | 0.27 | 0.31 | Later time |
| Disease × rare C | 0.43 | 0.59 | 0.52 | Add samples |
Counterfactual generation changes selected attributes while preserving an inferred cellular background; that preservation is a model assumption to test.
Compare ordinary autoencoding, conditional VAE, mean substitution and task-specific baselines such as CPA on the same evidence.
Section 16 of 36
16. Separate clean plots from evidence
A tidy latent projection can be visually persuasive. Validate counterfactuals and leakage quantitatively on untouched biology.
Disentanglement is not uniquely identifiable from observations without assumptions, so stable factors and predictive utility matter more than tidy pictures.
Report reconstruction, attribute predictability, leakage, counterfactual error, subgroup performance and seed stability.
Section 17 of 36
17. Evaluate attribute swapping
Swap one factor at a time and check whether expected markers change while unrelated identity features remain stable.
The 2024 study applied biolord across single-cell modalities and biological systems, including perturbation, spatial, temporal and disease-associated tasks.
Build a disentanglement card with labels, residual scope, holdout combination, leakage tests, baselines, uncertainty and validation status.
Section 18 of 36
18. Audit ordered trajectories
For time or dose, test held-out intermediate and future values separately. Smoothness alone does not prove a biological trajectory.
A latent factor may correlate with a biological process without isolating its mechanism or establishing causality.
Say model-separated attribute and generated counterfactual; do not call a latent coordinate a discovered pathway or proven cause.
Section 19 of 36
19. Audit rare groups
A dominant cell type can drive average scores. Report reconstruction and counterfactual errors for every supported subgroup.
biolord learns separate representations for supervised known attributes and residual unknown variation under partial supervision.
Archive known-attribute labels, missingness, specimens, preprocessing, model settings, random seeds, checkpoints and repository version.
Section 20 of 36
20. Run seed ensembles
Repeat training to see whether the same attributes separate and whether generated effects agree at gene and pathway levels.
Known attributes can be categorical or ordered, while the unknown component is intended to retain variation not explained by those labels.
Hold out complete attribute combinations and biological units, keeping target measurements outside feature selection, tuning and interpretation choices.
Section 21 of 36
21. Use strong baselines
Compare condition means, conditional VAE and task-specific perturbation models. Disentanglement should improve a defined prediction problem.
Counterfactual generation changes selected attributes while preserving an inferred cellular background; that preservation is a model assumption to test.
Compare ordinary autoencoding, conditional VAE, mean substitution and task-specific baselines such as CPA on the same evidence.
Section 22 of 36
22. Construct label nulls
Shuffle a known attribute within biological units. The model should lose attribute-specific predictive power without inventing structure.
Disentanglement is not uniquely identifiable from observations without assumptions, so stable factors and predictive utility matter more than tidy pictures.
Report reconstruction, attribute predictability, leakage, counterfactual error, subgroup performance and seed stability.
Section 23 of 36
23. Challenge label quality
Repeat analyses with uncertain labels removed or grouped. Strong conclusions should not depend on one fragile annotation decision.
The 2024 study applied biolord across single-cell modalities and biological systems, including perturbation, spatial, temporal and disease-associated tasks.
Build a disentanglement card with labels, residual scope, holdout combination, leakage tests, baselines, uncertainty and validation status.
Section 24 of 36
24. Test across modalities carefully
RNA, protein and spatial measurements observe different signals. A shared idea does not make their noise models interchangeable.
A latent factor may correlate with a biological process without isolating its mechanism or establishing causality.
Say model-separated attribute and generated counterfactual; do not call a latent coordinate a discovered pathway or proven cause.
Section 25 of 36
25. Compare with CPA
CPA explicitly composes perturbation, dose and covariates; biolord targets broader known and unknown attribute disentanglement under partial supervision.
biolord learns separate representations for supervised known attributes and residual unknown variation under partial supervision.
Archive known-attribute labels, missingness, specimens, preprocessing, model settings, random seeds, checkpoints and repository version.
Section 26 of 36
26. Build a counterfactual evidence card
Record the changed factor, preserved background, holdout combination, leakage, baseline gain, uncertainty and experimental check.
Known attributes can be categorical or ordered, while the unknown component is intended to retain variation not explained by those labels.
Hold out complete attribute combinations and biological units, keeping target measurements outside feature selection, tuning and interpretation choices.
Section 27 of 36
27. Keep disease claims bounded
A disease-associated factor summarises modelled variation; it does not diagnose a person or prove a molecular cause.
Counterfactual generation changes selected attributes while preserving an inferred cellular background; that preservation is a model assumption to test.
Compare ordinary autoencoding, conditional VAE, mean substitution and task-specific baselines such as CPA on the same evidence.
Section 28 of 36
28. Design the next experiment
Measure combinations where attribute swapping is uncertain, leakage is high or competing models make different predictions.
Disentanglement is not uniquely identifiable from observations without assumptions, so stable factors and predictive utility matter more than tidy pictures.
Report reconstruction, attribute predictability, leakage, counterfactual error, subgroup performance and seed stability.
Section 29 of 36
29. Connect biolord to school science
Controlled variables, fair comparison and interacting factors become concrete when students see how mixed signals can be separated.
The 2024 study applied biolord across single-cell modalities and biological systems, including perturbation, spatial, temporal and disease-associated tasks.
Build a disentanglement card with labels, residual scope, holdout combination, leakage tests, baselines, uncertainty and validation status.
Section 30 of 36
30. Try a factor-separation activity
Mix colour, shape and size in a classroom dataset, hide combinations and test whether a model can swap one attribute without changing others.
A latent factor may correlate with a biological process without isolating its mechanism or establishing causality.
Say model-separated attribute and generated counterfactual; do not call a latent coordinate a discovered pathway or proven cause.
Section 31 of 36
31. Connect to mathematics
Vectors, conditional probability, invariance, residuals and identifiability explain why disentanglement needs assumptions and tests.
biolord learns separate representations for supervised known attributes and residual unknown variation under partial supervision.
Archive known-attribute labels, missingness, specimens, preprocessing, model settings, random seeds, checkpoints and repository version.
Section 32 of 36
32. Connect to computing and AI literacy
A model learns the labels and structure it is given. Partial supervision can clarify representations and also import annotation bias.
Known attributes can be categorical or ordered, while the unknown component is intended to retain variation not explained by those labels.
Hold out complete attribute combinations and biological units, keeping target measurements outside feature selection, tuning and interpretation choices.
Section 33 of 36
33. Connect to school and career choices
Learners who enjoy separating factors can explore biology, statistics, computing, medicine, imaging or data science.
Counterfactual generation changes selected attributes while preserving an inferred cellular background; that preservation is a model assumption to test.
Compare ordinary autoencoding, conditional VAE, mean substitution and task-specific baselines such as CPA on the same evidence.
Section 34 of 36
34. Create a family factor habit
When a chart names a latent factor, ask which labels trained it, what variation remains and how leakage was tested.
Disentanglement is not uniquely identifiable from observations without assumptions, so stable factors and predictive utility matter more than tidy pictures.
Report reconstruction, attribute predictability, leakage, counterfactual error, subgroup performance and seed stability.
Section 35 of 36
35. Use precise biolord language
Say partially supervised disentangled representation and generated counterfactual. Avoid isolated mechanism or causal pathway unless separately proven.
The 2024 study applied biolord across single-cell modalities and biological systems, including perturbation, spatial, temporal and disease-associated tasks.
Build a disentanglement card with labels, residual scope, holdout combination, leakage tests, baselines, uncertainty and validation status.
Section 36 of 36
36. Finish with an attribute-to-experiment bundle
Deliver manifests, combination holdouts, leakage and collapse tests, baselines, seed ensembles, cards and discriminating measurements.
A latent factor may correlate with a biological process without isolating its mechanism or establishing causality.
Say model-separated attribute and generated counterfactual; do not call a latent coordinate a discovered pathway or proven cause.
Did you know? A representation can look disentangled after a rotation even when the biological meaning is not unique. Counterfactual accuracy and leakage tests make the claim useful.
For human datasets, keep donor-aware evaluation, consent and access controls visible. Share code and derived diagnostics without assuming raw profiles can be released.
A strong final figure names which attribute was changed, which background was held fixed and which measured target tested the generated counterfactual.
Contents · Previous section · Continue to the Science Learning Hub
