junidude14 commited on
Commit
bb5b6ee
·
verified ·
1 Parent(s): 99b051d

Archive 4 checkpoints (1-4)

Browse files
paper-releases/pbisc-diffusion/updates/20261002T085943Z-deck-restructure-contrast-metrics-zeroshot-len/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/data/sec09_cat_curves_slide_text.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "section": "09-cat",
3
+ "scripts": [
4
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/tools/sec09_cat_curves.py"
5
+ ],
6
+ "generated_from": "tools/sec09_cat_curves.py (rerun to refresh; do not edit by hand)",
7
+ "slides": [
8
+ {
9
+ "title": "Disease genes at every list length (CAT)",
10
+ "layout": "full",
11
+ "figures": [
12
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/figures/sec09_cat_curves.png"
13
+ ],
14
+ "keywords": [
15
+ "LoRA top model: 3/4 (5 donors), 2/4 (5-fold)",
16
+ "Broadcast above LoRA: Giroux",
17
+ "Chance at k = 100: 0.012–0.016"
18
+ ],
19
+ "footnote_short": "Same-sign overlap of observed and generated top-k genes per cell type; no FDR cut-off.",
20
+ "footnote": "Correspondence at the top (Irizarry et al. 2005): per cell type, every gene tested on both sides is ranked by |limma-voom moderated t| (case vs control, same donor x type pseudobulks as the DEG panels); CAT(k) = share of the observed top-k genes that are also in the generated top-k with the same logFC sign. Mean over T / B / Mono / NK; 5 donors = mean over 5 draws (scSemiProfiler: its 25 draws); 5-fold = pooled call. Broadcast = the input real bulk ranked the same way. Chance = k / (2G), G = genes tested on both sides (0.012–0.016 at k = 100). No significance threshold, so cohorts where few genes pass FDR (Giroux, Ji) still get a curve. Rank-biased overlap (Webber et al. 2010, p = 0.98) gives the same order: scores_contrast/{fewshot,pooled}_rbo.csv. Giroux: sex-linked genes excluded. Sepsis CAT100 5 donors LoRA 0.092 / scSemi 0.037 / calibration 0.069 / raw 0.028 / broadcast 0.069 / chance 0.012; 5-fold LoRA 0.163 / broadcast 0.075; Imperial CAT100 5 donors LoRA 0.243 / scSemi 0.133 / calibration 0.198 / raw 0.179 / broadcast 0.214 / chance 0.012; 5-fold LoRA 0.270 / broadcast 0.225; Giroux CAT100 5 donors LoRA 0.048 / scSemi 0.075 / calibration 0.050 / raw 0.048 / broadcast 0.176 / chance 0.016; 5-fold LoRA 0.068 / broadcast 0.145; Ji CAT100 5 donors LoRA 0.091 / scSemi 0.030 / calibration 0.021 / raw 0.021 / broadcast 0.043 / chance 0.014; 5-fold LoRA 0.152 / broadcast 0.068.",
21
+ "numbers": [
22
+ {
23
+ "value": "Sepsis CAT100 5 donors LoRA 0.092 / scSemi 0.037 / calibration 0.069 / raw 0.028 / broadcast 0.069 / chance 0.012; 5-fold LoRA 0.163 / broadcast 0.075; Imperial CAT100 5 donors LoRA 0.243 / scSemi 0.133 / calibration 0.198 / raw 0.179 / broadcast 0.214 / chance 0.012; 5-fold LoRA 0.270 / broadcast 0.225; Giroux CAT100 5 donors LoRA 0.048 / scSemi 0.075 / calibration 0.050 / raw 0.048 / broadcast 0.176 / chance 0.016; 5-fold LoRA 0.068 / broadcast 0.145; Ji CAT100 5 donors LoRA 0.091 / scSemi 0.030 / calibration 0.021 / raw 0.021 / broadcast 0.043 / chance 0.014; 5-fold LoRA 0.152 / broadcast 0.068",
24
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_contrast/fewshot_cat.csv; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_contrast/pooled_cat.csv"
25
+ }
26
+ ]
27
+ }
28
+ ]
29
+ }
paper-releases/pbisc-diffusion/updates/20261002T085943Z-deck-restructure-contrast-metrics-zeroshot-len/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/data/sec09_extra_slide_text.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "section": "09-extra",
3
+ "slides": [
4
+ {
5
+ "title": "5 donors: realism beyond precision/coverage",
6
+ "layout": "full",
7
+ "figures": [
8
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/figures/sec09_extra_fewpair.png"
9
+ ],
10
+ "keywords": [
11
+ "Classifier AUC: LoRA-5 best in 25/25 draws",
12
+ "E_N: LoRA-5 below scSemi-5 in 25/25 draws",
13
+ "Still separable: LoRA-5 AUC 0.89–0.95"
14
+ ],
15
+ "footnote": "Same 5-donor draws as the previous slides; every metric on exactly the scored cells (scores_extra/, tools/extra_metrics.py). Real side for AUC and MMD² = held-out real cells of the same samples (R2), projected like the generated cells; real vs real = R2 vs R3 (AUC 0.49–0.50). Classifier AUC: 5-fold CV ROC AUC of a kNN classifier (k = 5) separating real from generated cells, 0.5 = indistinguishable; bars start at 0.5. MMD²: unbiased, Gaussian kernel, bandwidth = median distance among real cells. E_N: scSemiProfiler's normalized error (Wang et al. 2024, eq. 17–18), their code's squared L2 on all cells, per-arm PCA-100; real vs real = within-sample half split (0.07–0.38); every generated arm is above 1. LoRA-5 best of the 4 arms in 25/25 draws on kNN AUC, 25/25 on RF AUC, 25/25 on 1-NN accuracy, 23/25 on MMD², 22/25 on E_N. LoRA-5 better than scSemi-5, zero-shot and zero-shot + calibration on both AUCs, 1-NN accuracy and coverage at k = 3, 5, 10 in every draw. E_N scSemi-5 vs LoRA-5 (cohort means): ImMicro 3.65 vs 1.55; Sepsis 3.83 vs 1.46; Imperial 2.04 vs 1.28; Giroux 3.79 vs 1.99; Ji 4.27 vs 2.60; LoRA-5 lower in 25/25 draws. Draws where LoRA-5 is worse (cohort means in brackets): vs zero-shot + calibration: Sepsis precision k5 1/5 (0.778 vs 0.752), precision k10 2/5 (0.906 vs 0.899); Imperial MMD² (σ = m) 1/5 (0.0156 vs 0.0218), MMD² (σ sum) 1/5 (0.0443 vs 0.0673), E_N (all cells) 3/5 (1.28 vs 1.22), precision k3 2/5 (0.610 vs 0.598), precision k5 2/5 (0.726 vs 0.719), precision k10 2/5 (0.853 vs 0.845); Giroux MMD² (σ = m) 1/5 (0.0178 vs 0.0257), MMD² (σ sum) 1/5 (0.0584 vs 0.0838), precision k5 1/5 (0.995 vs 0.981), precision k10 1/5 (1.000 vs 0.996). LoRA-5 AUC per draw 0.88–0.97 (kNN), RF cohort means 0.90–0.96: a classifier still tells generated from real cells. Scores: scores_extra/<cohort>/fewshot_n5/draw<j>/.",
16
+ "footnote_short": "E_N: scSemiProfiler's own error metric. Misses only vs calibration, e.g. Imperial E_N 1.28 vs 1.22.",
17
+ "numbers": [
18
+ {
19
+ "value": "LoRA-5 best of 4 arms (draws): kNN AUC 25/25, RF AUC 25/25, 1-NN 25/25, MMD² 23/25, E_N 22/25",
20
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
21
+ },
22
+ {
23
+ "value": "E_N LoRA-5 < scSemi-5 in 25/25 draws; cohort means scSemi-5 vs LoRA-5: ImMicro 3.65 vs 1.55; Sepsis 3.83 vs 1.46; Imperial 2.04 vs 1.28; Giroux 3.79 vs 1.99; Ji 4.27 vs 2.60",
24
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/en.csv (cellset all, distance sq)"
25
+ },
26
+ {
27
+ "value": "LoRA-5 kNN AUC cohort means: ImMicro 0.943, Sepsis 0.936, Imperial 0.918, Giroux 0.893, Ji 0.955; per draw 0.878–0.975",
28
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
29
+ },
30
+ {
31
+ "value": "real vs real: kNN AUC ImMicro 0.502, Sepsis 0.501, Imperial 0.498, Giroux 0.495, Ji 0.491; E_N ImMicro 0.382, Sepsis 0.100, Imperial 0.260, Giroux 0.145, Ji 0.073",
32
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
33
+ },
34
+ {
35
+ "value": "LoRA-5 worse than a comparator (draws): vs zero-shot + calibration: Sepsis precision k5 1/5 (0.778 vs 0.752), precision k10 2/5 (0.906 vs 0.899); Imperial MMD² (σ = m) 1/5 (0.0156 vs 0.0218), MMD² (σ sum) 1/5 (0.0443 vs 0.0673), E_N (all cells) 3/5 (1.28 vs 1.22), precision k3 2/5 (0.610 vs 0.598), precision k5 2/5 (0.726 vs 0.719), precision k10 2/5 (0.853 vs 0.845); Giroux MMD² (σ = m) 1/5 (0.0178 vs 0.0257), MMD² (σ sum) 1/5 (0.0584 vs 0.0838), precision k5 1/5 (0.995 vs 0.981), precision k10 1/5 (1.000 vs 0.996)",
36
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
37
+ },
38
+ {
39
+ "value": "cross-check: 720 cohort × arm × metric values equal scores_extra/{fewshot,pooled}_headline.csv",
40
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/fewshot_headline.csv; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/pooled_headline.csv"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "title": "5-fold: realism beyond precision/coverage",
46
+ "layout": "full",
47
+ "figures": [
48
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/figures/sec09_extra_fivefold.png"
49
+ ],
50
+ "keywords": [
51
+ "Every metric: LoRA first in 5/5 cohorts",
52
+ "Ji whole blood: E_N 1.9 vs 7.1–10.1",
53
+ "Still separable: LoRA AUC 0.87–0.94"
54
+ ],
55
+ "footnote": "Donor-level 5-fold CV; each pair scored once by the fold model that never trained on its donor (one pooled call per cohort, all cross-fitted pairs). Arms as on the 5-fold slide. Metric definitions as on the 5-donor realism slide. LoRA first among the 4 arms in all 5 cohorts on 12/12 headline metrics (kNN and RF AUC, 1-NN accuracy, MMD² at σ = m and summed, E_N all cells, precision and coverage at k = 3, 5, 10). LoRA kNN AUC ImMicro 0.941, Sepsis 0.886, Imperial 0.866, Giroux 0.881, Ji 0.908; real vs real ImMicro 0.505, Sepsis 0.506, Imperial 0.496, Giroux 0.501, Ji 0.494. E_N LoRA vs other arms: ImMicro 1.56 vs 1.77–4.83; Sepsis 1.20 vs 1.40–5.29; Imperial 1.13 vs 1.19–4.05; Giroux 1.70 vs 2.24–4.48; Ji 1.95 vs 7.08–10.13. scSemiProfiler 5-fold CV not available yet (no extra-metric unit with set scsemi__raw). Scores: scores_extra/<cohort>/pooled/.",
56
+ "footnote_short": "Donor-level 5-fold CV, one pooled call per cohort. E_N: scSemiProfiler's own error metric.",
57
+ "numbers": [
58
+ {
59
+ "value": "LoRA first among 4 arms in all 5 cohorts on 12/12 metrics",
60
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/pooled/{metrics,en}.csv"
61
+ },
62
+ {
63
+ "value": "Ji E_N: LoRA 1.948; Zero-shot, real bulk 10.125, Zero-shot + calibration 7.076, sc-only fine-tune (+ calibration) 7.215",
64
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/pooled/{metrics,en}.csv"
65
+ },
66
+ {
67
+ "value": "LoRA kNN AUC (pooled): ImMicro 0.941, Sepsis 0.886, Imperial 0.866, Giroux 0.881, Ji 0.908",
68
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/pooled/{metrics,en}.csv"
69
+ },
70
+ {
71
+ "value": "scSemiProfiler, 5-fold CV: not available",
72
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/data/sec09_extra_scsemi_status.csv"
73
+ }
74
+ ]
75
+ },
76
+ {
77
+ "title": "5 donors: precision/coverage at k = 3, 5, 10",
78
+ "layout": "full",
79
+ "figures": [
80
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/figures/sec09_extra_ksens.png"
81
+ ],
82
+ "keywords": [
83
+ "Smaller k lowers every set, real included",
84
+ "Coverage: LoRA-5 first at all k, 25/25",
85
+ "Precision: LoRA-5 first in 20–23/25 draws"
86
+ ],
87
+ "footnote": "Precision and coverage recomputed with k = 3, 5, 10 nearest-neighbour balls in the scorer's PCA-50 (k = 10 reproduces the main-slide values exactly). Means over the 5 draws per cohort; error bars = SD; grey = real vs real (R1 vs R2, same samples). Both metrics fall with smaller k for every set including the real control (real coverage at k = 3: 0.92–0.99), so compare arms with the real row, not with 1. Expected coverage of a perfect generator (Naeem et al. 2020, eq. 9) at k = 3/5/10: 0.88/0.97/1.00 in every cohort. LoRA-5 first on coverage at every k in 25/25 draws; on precision in 23/21/20 of 25 draws (k = 3/5/10); not first: Sepsis 0/1/2, Imperial 2/2/2, Giroux 0/1/1 draws at k = 3/5/10, beaten by zero-shot + calibration. 5-fold pooled design (not drawn): coverage ranking of the 4 arms across k unchanged; LoRA first at every k in 5/5 cohorts. Scores: scores_extra/<cohort>/fewshot_n5/draw<j>/metrics.csv.",
88
+ "footnote_short": "5 donors, 5 draws per cohort; error bars = SD over draws. k = 10 is the value on the main slides.",
89
+ "numbers": [
90
+ {
91
+ "value": "LoRA-5 first on coverage at k = 3, 5 and 10: 25/25 draws",
92
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
93
+ },
94
+ {
95
+ "value": "LoRA-5 first on precision (draws) at k = 3/5/10: 23/21/20 of 25",
96
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
97
+ },
98
+ {
99
+ "value": "real vs real coverage at k = 3: ImMicro 0.932, Sepsis 0.925, Imperial 0.919, Giroux 0.993, Ji 0.980",
100
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
101
+ },
102
+ {
103
+ "value": "every set falls with smaller k (cohort means): True",
104
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
105
+ }
106
+ ]
107
+ }
108
+ ],
109
+ "scripts": [
110
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/tools/sec09_extra_metrics.py"
111
+ ],
112
+ "generated_from": "tools/sec09_extra_metrics.py (rerun to refresh; do not edit by hand)",
113
+ "scsemi_cv_cohorts": []
114
+ }
paper-releases/pbisc-diffusion/updates/20261002T085943Z-deck-restructure-contrast-metrics-zeroshot-len/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/data/sec09_slide_text.json ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "section": "09",
3
+ "slides": [
4
+ {
5
+ "title": "Five paired cohorts",
6
+ "layout": "full",
7
+ "figures": [
8
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/figures/sec09_cohorts.png"
9
+ ],
10
+ "keywords": [
11
+ "403 paired samples, 275 donors",
12
+ "Only identity-pass pairs; donor-level splits",
13
+ "Ji bulk: whole blood, not PBMC"
14
+ ],
15
+ "footnote": "Usable pair = passed the pairing identity check and >= 200 cells (fold >= 0 in data/<cohort>/folds.csv); dropped 15 identity-fail, 11 borderline and 1 low-cell pairs of 430. ImMicro: no identity flag, all used. Imperial, Giroux, Ji: several pairs per donor. Case vs control = samples in scores/<cohort>/pooled/summary.json. Giroux 'moderate' = GEO 'severe' (paper term); its moderate vs mild subjects are 4F/0M vs 0F/5M (scored), so its disease metrics exclude sex-linked genes. Labels: data/<cohort>/QC_REPORT.md; ImMicro: GEO GSE314922/GSE314416.",
16
+ "footnote_short": "Usable pair = passed identity check and ≥ 200 cells: 403 of 430 pairs; donor-level splits.",
17
+ "numbers": [
18
+ {
19
+ "value": "403 paired samples (sum of usable rows)",
20
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/fewshot_n5/DRAWS.json (n_usable_rows)"
21
+ },
22
+ {
23
+ "value": "275 donors (sum of usable donors)",
24
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/fewshot_n5/DRAWS.json (n_usable_donors)"
25
+ },
26
+ {
27
+ "value": "dropped 15 identity-fail, 11 borderline, 1 < 200 cells, of 430",
28
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/features.npz (identity_pass, identity_check); samples.csv (n_cells); /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/tools/prepare_dataset.py (MIN_CELLS)"
29
+ },
30
+ {
31
+ "value": "ImMicro 107 pairs / 107 donors",
32
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/immicro/fewshot_n5/DRAWS.json"
33
+ },
34
+ {
35
+ "value": "Sepsis 82 pairs / 82 donors; sepsis 61 vs control 21",
36
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/ye2026_sepsis/fewshot_n5/DRAWS.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled/summary.json"
37
+ },
38
+ {
39
+ "value": "Imperial 157 pairs / 57 donors; COVID+ 113 vs COVID− 34 (+10 recovery, neither)",
40
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/imperial_eskd/fewshot_n5/DRAWS.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/imperial_eskd/pooled/summary.json"
41
+ },
42
+ {
43
+ "value": "Giroux 24 pairs / 9 donors; moderate 11 vs mild 13",
44
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/giroux2022/fewshot_n5/DRAWS.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/giroux2022/pooled/summary.json"
45
+ },
46
+ {
47
+ "value": "Ji 33 pairs / 20 donors; ChILI 18 vs ICI control 15",
48
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/ji2025_chili/fewshot_n5/DRAWS.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ji2025_chili/pooled/summary.json"
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "title": "5 donors: LoRA vs scSemiProfiler — cells",
54
+ "layout": "full",
55
+ "figures": [
56
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/figures/sec09_fewpair_cells.png"
57
+ ],
58
+ "keywords": [
59
+ "LoRA-5 > scSemi-5: coverage, precision 5/5",
60
+ "Beats zero-shot + calibration: coverage 5/5",
61
+ "Lower L1 than calibration: ImMicro only"
62
+ ],
63
+ "footnote": "Base f01 6k·1x·E16 (EMA, DDIM 50) + LoRA r=16, 3,000 steps. LoRA-5 / scSemi-5 = LoRA / scSemiProfiler trained on the same 5 donors (5–15 pairs); test = all other usable pairs. Zero-shot = base model without fine-tuning, fed each test pair's real bulk as measured; zero-shot + calibration = the same model fed that bulk after gene-wise calibration, alpha fitted on the same 5 training donors' pairs (both in the same call as LoRA-5). scSemi-5 scored in a separate call, same test set and reference (sha-checked); 25/25 draws. Verdict = better in >= 80% of shared draws. LoRA-5 lower L1 than scSemi-5 in 4/5 (Giroux split 3/5). LoRA-5 > zero-shot + calibration: coverage 5/5, precision 3/5, depth-matched 5/5 and 3/5 cohorts; > zero-shot (real bulk): coverage 5/5, precision 5/5, depth-matched 5/5 and 4/5. Depth-matched P/C vs scSemi-5: same ranking, coverage LoRA-5 0.83–0.97 vs scSemi-5 0.15–0.28. Composition L1, LoRA-5 minus zero-shot + calibration, per-donor Wilcoxon (gain = p < 0.05): ImMicro -0.03 (p 2e-10), Sepsis +0.02 (p 0.79), Imperial +0.02 (p 0.38), Giroux -0.06 (p 0.38), Ji -0.01 (p 0.70); minus zero-shot (real bulk): ImMicro -0.27 (p 2e-18), Sepsis -0.04 (p 0.15), Imperial -0.35 (p 2e-08), Giroux -0.11 (p 0.04), Ji -0.23 (p 0.02). scANVI labels; P/C = PCA-50, k=10 balls. Scores: scores/<cohort>/fewshot_n5/.",
64
+ "footnote_short": "5 draws per cohort; test = all other usable pairs. Calibration α from the same 5 donors. scANVI labels.",
65
+ "numbers": [
66
+ {
67
+ "value": "LoRA-5 vs scSemi-5 coverage (shared-draw means; LoRA-better draws/n; verdict): ImMicro 0.792 vs 0.036 (5/5, lora); Sepsis 0.694 vs 0.080 (5/5, lora); Imperial 0.737 vs 0.059 (5/5, lora); Giroux 0.961 vs 0.607 (5/5, lora); Ji 0.707 vs 0.145 (5/5, lora) -> LoRA verdicts 5/5",
68
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
69
+ },
70
+ {
71
+ "value": "LoRA-5 vs scSemi-5 precision (shared-draw means; LoRA-better draws/n; verdict): ImMicro 0.952 vs 0.518 (5/5, lora); Sepsis 0.906 vs 0.728 (5/5, lora); Imperial 0.853 vs 0.330 (5/5, lora); Giroux 1.000 vs 0.992 (5/5, lora); Ji 0.978 vs 0.840 (5/5, lora) -> LoRA verdicts 5/5",
72
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
73
+ },
74
+ {
75
+ "value": "LoRA-5 vs scSemi-5 comp_l1 (shared-draw means; LoRA-better draws/n; verdict): ImMicro 0.176 vs 0.233 (5/5, lora); Sepsis 0.466 vs 0.612 (5/5, lora); Imperial 0.503 vs 0.602 (5/5, lora); Giroux 0.256 vs 0.270 (3/5, split); Ji 0.513 vs 0.592 (4/5, lora) -> LoRA verdicts 4/5",
76
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
77
+ },
78
+ {
79
+ "value": "LoRA-5 vs scSemi-5 coverage_dm (shared-draw means; LoRA-better draws/n; verdict): ImMicro 0.966 vs 0.284 (5/5, lora); Sepsis 0.834 vs 0.158 (5/5, lora); Imperial 0.863 vs 0.152 (5/5, lora); Giroux 0.974 vs 0.238 (5/5, lora); Ji 0.908 vs 0.150 (5/5, lora) -> LoRA verdicts 5/5",
80
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
81
+ },
82
+ {
83
+ "value": "LoRA-5 vs scSemi-5 precision_dm (shared-draw means; LoRA-better draws/n; verdict): ImMicro 0.975 vs 0.829 (5/5, lora); Sepsis 0.914 vs 0.504 (5/5, lora); Imperial 0.881 vs 0.429 (5/5, lora); Giroux 0.995 vs 0.426 (5/5, lora); Ji 0.974 vs 0.564 (5/5, lora) -> LoRA verdicts 5/5",
84
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
85
+ },
86
+ {
87
+ "value": "LoRA-5 vs zero-shot + calibration coverage (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.792 vs 0.535 (5/5, lora); Sepsis 0.694 vs 0.428 (5/5, lora); Imperial 0.737 vs 0.634 (5/5, lora); Giroux 0.961 vs 0.944 (5/5, lora); Ji 0.707 vs 0.114 (5/5, lora) -> LoRA verdicts 5/5",
88
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_cal)"
89
+ },
90
+ {
91
+ "value": "LoRA-5 vs zero-shot + calibration precision (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.952 vs 0.904 (5/5, lora); Sepsis 0.906 vs 0.899 (3/5, split); Imperial 0.853 vs 0.845 (3/5, split); Giroux 1.000 vs 0.996 (4/5, lora); Ji 0.978 vs 0.782 (5/5, lora) -> LoRA verdicts 3/5",
92
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_cal)"
93
+ },
94
+ {
95
+ "value": "LoRA-5 vs zero-shot + calibration comp_l1 (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.176 vs 0.203 (5/5, lora); Sepsis 0.466 vs 0.446 (2/5, split); Imperial 0.503 vs 0.506 (2/5, split); Giroux 0.256 vs 0.288 (2/5, split); Ji 0.513 vs 0.514 (3/5, split) -> LoRA verdicts 1/5",
96
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_cal)"
97
+ },
98
+ {
99
+ "value": "LoRA-5 vs zero-shot + calibration coverage_dm (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.966 vs 0.780 (5/5, lora); Sepsis 0.834 vs 0.658 (5/5, lora); Imperial 0.863 vs 0.681 (5/5, lora); Giroux 0.974 vs 0.937 (5/5, lora); Ji 0.908 vs 0.357 (5/5, lora) -> LoRA verdicts 5/5",
100
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_cal)"
101
+ },
102
+ {
103
+ "value": "LoRA-5 vs zero-shot + calibration precision_dm (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.975 vs 0.940 (5/5, lora); Sepsis 0.914 vs 0.909 (3/5, split); Imperial 0.881 vs 0.868 (3/5, split); Giroux 0.995 vs 0.989 (5/5, lora); Ji 0.974 vs 0.658 (5/5, lora) -> LoRA verdicts 3/5",
104
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_cal)"
105
+ },
106
+ {
107
+ "value": "LoRA-5 vs zero-shot (real bulk) coverage (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.792 vs 0.190 (5/5, lora); Sepsis 0.694 vs 0.076 (5/5, lora); Imperial 0.737 vs 0.114 (5/5, lora); Giroux 0.961 vs 0.472 (5/5, lora); Ji 0.707 vs 0.066 (5/5, lora) -> LoRA verdicts 5/5",
108
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_raw)"
109
+ },
110
+ {
111
+ "value": "LoRA-5 vs zero-shot (real bulk) precision (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.952 vs 0.677 (5/5, lora); Sepsis 0.906 vs 0.625 (5/5, lora); Imperial 0.853 vs 0.500 (5/5, lora); Giroux 1.000 vs 0.980 (5/5, lora); Ji 0.978 vs 0.799 (5/5, lora) -> LoRA verdicts 5/5",
112
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_raw)"
113
+ },
114
+ {
115
+ "value": "LoRA-5 vs zero-shot (real bulk) comp_l1 (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.176 vs 0.445 (5/5, lora); Sepsis 0.466 vs 0.510 (5/5, lora); Imperial 0.503 vs 0.806 (5/5, lora); Giroux 0.256 vs 0.351 (5/5, lora); Ji 0.513 vs 0.721 (5/5, lora) -> LoRA verdicts 5/5",
116
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_raw)"
117
+ },
118
+ {
119
+ "value": "LoRA-5 vs zero-shot (real bulk) coverage_dm (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.966 vs 0.213 (5/5, lora); Sepsis 0.834 vs 0.073 (5/5, lora); Imperial 0.863 vs 0.151 (5/5, lora); Giroux 0.974 vs 0.549 (5/5, lora); Ji 0.908 vs 0.199 (5/5, lora) -> LoRA verdicts 5/5",
120
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_raw)"
121
+ },
122
+ {
123
+ "value": "LoRA-5 vs zero-shot (real bulk) precision_dm (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.975 vs 0.671 (5/5, lora); Sepsis 0.914 vs 0.595 (5/5, lora); Imperial 0.881 vs 0.561 (5/5, lora); Giroux 0.995 vs 0.996 (2/5, split); Ji 0.974 vs 0.480 (5/5, lora) -> LoRA verdicts 4/5",
124
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_raw)"
125
+ },
126
+ {
127
+ "value": "coverage cohort means over all draws: LoRA-5 ImMicro 0.792, Sepsis 0.694, Imperial 0.737, Giroux 0.961, Ji 0.707; scSemi-5 ImMicro 0.036, Sepsis 0.080, Imperial 0.059, Giroux 0.607, Ji 0.145; zero-shot + calibration ImMicro 0.535, Sepsis 0.428, Imperial 0.634, Giroux 0.944, Ji 0.114; zero-shot ImMicro 0.190, Sepsis 0.076, Imperial 0.114, Giroux 0.472, Ji 0.066",
128
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
129
+ },
130
+ {
131
+ "value": "LoRA-5 minus zero-shot + calibration composition L1, per-donor Wilcoxon (draw-averaged): ImMicro -0.027, n=107, p=2.2e-10; Sepsis +0.018, n=82, p=0.79; Imperial +0.016, n=57, p=0.38; Giroux -0.065, n=8, p=0.38; Ji -0.012, n=20, p=0.7 -> gain in 1/5",
132
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/per_donor.csv; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/folds.csv"
133
+ },
134
+ {
135
+ "value": "LoRA-5 minus zero-shot (real bulk) composition L1, per-donor Wilcoxon (draw-averaged): ImMicro -0.270, n=107, p=2.2e-18; Sepsis -0.044, n=82, p=0.15; Imperial -0.348, n=57, p=1.6e-08; Giroux -0.107, n=8, p=0.039; Ji -0.232, n=20, p=0.017 -> gain in 4/5",
136
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/per_donor.csv; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/folds.csv"
137
+ },
138
+ {
139
+ "value": "scSemiProfiler draws used / LoRA draws: ImMicro 5/5, Sepsis 5/5, Imperial 5/5, Giroux 5/5, Ji 5/5",
140
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/data/sec09_scsemi_status.csv"
141
+ },
142
+ {
143
+ "value": "training pairs per draw: ImMicro 5, Sepsis 5, Imperial 12–15, Giroux 12–14, Ji 7–9; test pairs: ImMicro 102, Sepsis 77, Imperial 142–145, Giroux 10–12, Ji 24–26",
144
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/fewshot_n5/DRAWS.json (n_train_rows, n_test_rows)"
145
+ },
146
+ {
147
+ "value": "LoRA r = 16; 3000 fixed steps; base runs/f01_6k_1x_seed20260627/checkpoint_epoch_016.pt; sampling: test donors only, 1,500 cells each, seed 20260927, DDIM 50, EMA, Bernoulli read-out",
148
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/runs/immicro/fewshot_n5/draw0/lora/RUN.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/README.md"
149
+ },
150
+ {
151
+ "value": "P/C definition: precision/coverage/density (PCA-50 + k = 10 balls fitted on the scored donors' observed R1 cells); PCA components in every summary.json = 50",
152
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/tools/score_ft.py"
153
+ }
154
+ ]
155
+ },
156
+ {
157
+ "title": "5 donors: LoRA vs scSemiProfiler — disease signal",
158
+ "layout": "figure_keywords",
159
+ "figures": [
160
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/figures/sec09_fewpair_disease.png"
161
+ ],
162
+ "keywords": [
163
+ "LoRA-5 > scSemi-5: DEG 2/4, logFC r 2/4",
164
+ "Spearman or limma: broadcast ahead 3/4",
165
+ "Split-half ceiling 0.96–0.99: not limiting"
166
+ ],
167
+ "footnote": "Same draws and verdict rule as the previous slide; DEG tie = half the draws equal or mean gap < 1 gene. Rank and threshold-free checks (scores_contrast/, tools/contrast_extra.py): Spearman r of the same logFC vectors; split-half ceiling = observed cells of each scored sample split in two halves (5 seeds), r of half-A vs half-B logFC, Spearman-Brown corrected to full data (noise-free ceiling); limma-voom top-50 = edgeR TMM + voom + limma eBayes on the same donor x type pseudobulks, BH FDR < 0.05, top 50 by |logFC|; grey tick = chance overlap (hypergeometric mean) of that arm's lists. Repeated samples of one patient (Imperial, Giroux, Ji) enter both tests as separate samples, as in the scorer. Sepsis: Spearman LoRA-5 0.22 / scSemi-5 0.16 / broadcast 0.33, limma top-50 LoRA-5 16.2 / scSemi-5 11.4 / broadcast 35.4 (chance 2.2), ceiling 0.99; Imperial: Spearman LoRA-5 0.55 / scSemi-5 0.37 / broadcast 0.36, limma top-50 LoRA-5 102.0 / scSemi-5 35.2 / broadcast 59.6 (chance 3.1), ceiling 0.97; Giroux: Spearman LoRA-5 0.19 / scSemi-5 0.27 / broadcast 0.38, limma top-50 LoRA-5 0.8 / scSemi-5 1.6 / broadcast 14.8 (chance 0.5), ceiling 0.97; Ji: Spearman LoRA-5 0.29 / scSemi-5 0.09 / broadcast 0.12, limma top-50 LoRA-5 3.0 / scSemi-5 0.6 / broadcast 6.2 (chance 1.4), ceiling 0.96. Earlier slide lines: logFC r: LoRA-5 > calibrated zero-shot 4/4; Giroux: broadcast r beats all arms. logFC r = mean over T/B/Mono/NK of case-vs-control log2FC r (generated vs observed); top-50 DEG = Welch+BH overlap summed over 5 types (max 250; Giroux 1–63, Ji 75–250 per draw). Giroux test = 2 vs 2 subjects per draw. LoRA-5-better draws (verdict): vs scSemi-5 logFC r Sepsis split 3/5, Imperial lora 5/5, Giroux scSemi-5 0/5, Ji lora 5/5; DEG Sepsis lora 5/5, Imperial lora 5/5, Giroux tie 1/5, Ji tie 1/5. Vs zero-shot + calibration: logFC r Sepsis lora 4/5, Imperial lora 5/5, Giroux lora 4/5, Ji lora 5/5; DEG Sepsis lora 4/5, Imperial lora 5/5, Giroux tie 1/5, Ji tie 1/5. Vs zero-shot (real bulk): logFC r Sepsis lora 5/5, Imperial lora 5/5, Giroux split 3/5, Ji lora 5/5; DEG Sepsis lora 4/5, Imperial lora 5/5, Giroux tie 1/5, Ji tie 1/5. Broadcast = the input real bulk's own logFC. Giroux: moderate vs mild subjects are 4F/0M vs 0F/5M (scored; all paired subjects 4F/1M vs 0F/5M; sex from bulk chrY expression = sc = GEO), so its disease metrics (logFC r, partial r, top-50 DEG, broadcast) exclude 196 sex-linked genes (43 chrY non-PAR + 153 X-inactivation escape / variable-escape genes of Tukiainen et al. 2017; PAR genes kept), 65 of them scoring genes; same labels and cells as before (scores_nosex/giroux2022/). Scores: scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/.",
168
+ "footnote_short": "Giroux: sex-linked genes excluded (severity confounded with sex: 4F/0M vs 0F/5M). Top-50 DEG over 5 types.",
169
+ "numbers": [
170
+ {
171
+ "value": "Giroux sex by contrast arm (subjects, F/M): scored moderate 4F/0M vs mild 0F/5M; all paired 4F/1M vs 0F/5M",
172
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/giroux2022/features.npz (sex_bulk_expr = sex_sc_expr = sex_geo); /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/giroux2022/folds.csv"
173
+ },
174
+ {
175
+ "value": "Giroux sex-linked genes excluded from the disease metrics: 196 listed (43 chrY non-PAR + 153 X escape), 65 of 5563 scoring genes",
176
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/sex_linked_genes/sex_linked_genes_exclude.csv; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/sex_linked_genes/BUILD.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json (gene_exclusion)"
177
+ },
178
+ {
179
+ "value": "Top-50 DEG LoRA-5 vs scSemi-5 (shared-draw means; LoRA-better / tied draws; verdict): Sepsis 16.4 vs 5.2 (5/5, 0 tied, lora); Imperial 113.6 vs 46.8 (5/5, 0 tied, lora); Giroux 0.2 vs 0.0 (1/5, 4 tied, tie); Ji 0.2 vs 0.0 (1/5, 4 tied, tie)",
180
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
181
+ },
182
+ {
183
+ "value": "Top-50 DEG LoRA-5 vs zero-shot + calibration (shared-draw means; LoRA-better / tied draws; verdict): Sepsis 16.4 vs 9.4 (4/5, 0 tied, lora); Imperial 113.6 vs 103.8 (5/5, 0 tied, lora); Giroux 0.2 vs 0.0 (1/5, 4 tied, tie); Ji 0.2 vs 0.0 (1/5, 4 tied, tie)",
184
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
185
+ },
186
+ {
187
+ "value": "Top-50 DEG LoRA-5 vs zero-shot (real bulk) (shared-draw means; LoRA-better / tied draws; verdict): Sepsis 16.4 vs 10.0 (4/5, 0 tied, lora); Imperial 113.6 vs 105.6 (5/5, 0 tied, lora); Giroux 0.2 vs 0.0 (1/5, 4 tied, tie); Ji 0.2 vs 0.0 (1/5, 4 tied, tie)",
188
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
189
+ },
190
+ {
191
+ "value": "logFC r LoRA-5 vs scSemi-5 (shared-draw means; LoRA-better draws; verdict): Sepsis 0.350 vs 0.402 (3/5, split); Imperial 0.749 vs 0.562 (5/5, lora); Giroux 0.297 vs 0.397 (0/5, other); Ji 0.333 vs 0.153 (5/5, lora)",
192
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
193
+ },
194
+ {
195
+ "value": "logFC r LoRA-5 vs zero-shot + calibration (shared-draw means; LoRA-better draws; verdict): Sepsis 0.350 vs 0.096 (4/5, lora); Imperial 0.749 vs 0.676 (5/5, lora); Giroux 0.297 vs 0.228 (4/5, lora); Ji 0.333 vs 0.140 (5/5, lora)",
196
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
197
+ },
198
+ {
199
+ "value": "logFC r LoRA-5 vs zero-shot (real bulk) (shared-draw means; LoRA-better draws; verdict): Sepsis 0.350 vs -0.024 (5/5, lora); Imperial 0.749 vs 0.638 (5/5, lora); Giroux 0.297 vs 0.255 (3/5, split); Ji 0.333 vs 0.087 (5/5, lora)",
200
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
201
+ },
202
+ {
203
+ "value": "Sepsis broadcast logFC r 0.320 vs best arm 0.402; broadcast DEG 20.0 vs best arm 16.4 (means over all draws; arms: zero-shot, zero-shot + calibration, scSemi-5, LoRA-5)",
204
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/fewshot_n5/draw<j>{,_scsemi5}/summary.json"
205
+ },
206
+ {
207
+ "value": "Imperial broadcast logFC r 0.656 vs best arm 0.749; broadcast DEG 74.8 vs best arm 113.6 (means over all draws; arms: zero-shot, zero-shot + calibration, scSemi-5, LoRA-5)",
208
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/imperial_eskd/fewshot_n5/draw<j>{,_scsemi5}/summary.json"
209
+ },
210
+ {
211
+ "value": "Giroux broadcast logFC r 0.492 vs best arm 0.397; broadcast DEG 0.0 vs best arm 0.2 (means over all draws; arms: zero-shot, zero-shot + calibration, scSemi-5, LoRA-5)",
212
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/fewshot_n5/draw<j>{,_scsemi5}/summary.json"
213
+ },
214
+ {
215
+ "value": "Ji broadcast logFC r 0.234 vs best arm 0.333; broadcast DEG 1.0 vs best arm 0.2 (means over all draws; arms: zero-shot, zero-shot + calibration, scSemi-5, LoRA-5)",
216
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ji2025_chili/fewshot_n5/draw<j>{,_scsemi5}/summary.json"
217
+ },
218
+ {
219
+ "value": "DEG maximum per draw: Sepsis 250, Imperial 250, Giroux 1–63, Ji 75–250",
220
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (deg_top50_max; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex)"
221
+ },
222
+ {
223
+ "value": "Giroux test subjects per draw: 2 vs 2 (moderate vs mild); test pairs 10–12",
224
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/giroux2022/fewshot_n5/DRAWS.json (train_donors); /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/giroux2022/folds.csv (group)"
225
+ }
226
+ ]
227
+ },
228
+ {
229
+ "title": "5-fold CV: train on the other 4 folds",
230
+ "layout": "full",
231
+ "figures": [
232
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/figures/sec09_fivefold.png"
233
+ ],
234
+ "keywords": [
235
+ "LoRA tops coverage 5/5, logFC r 4/4",
236
+ "Ji whole blood: LoRA 0.86, others 0.06–0.11",
237
+ "Broadcast ahead: Sepsis, Giroux"
238
+ ],
239
+ "footnote": "Donor-level 5-fold CV; each pair scored once, by the fold model that never trained on its donor (one pooled call per cohort). LoRA r=16 on the real bulk of the other 4 folds' training donors, early stop on inner-val donors. Zero-shot = base model without fine-tuning, fed the test pair's real bulk as measured; zero-shot + calibration = the same model fed gene-wise calibrated bulk (alpha fitted on the fold's training donors); sc-only fine-tune (+ calibration) = full fine-tune on training donors' sc pseudobulk, fed calibrated bulk. Base f01 6k·1x·E16. LoRA best of 4 arms: coverage 5/5, logFC r 4/4, top-50 DEG 4/4. Broadcast = raw real bulk. Sepsis DEG from pooled_deg. Giroux: moderate vs mild subjects are 4F/0M vs 0F/5M (scored; all paired subjects 4F/1M vs 0F/5M; sex from bulk chrY expression = sc = GEO), so its disease metrics (logFC r, partial r, top-50 DEG, broadcast) exclude 196 sex-linked genes (43 chrY non-PAR + 153 X-inactivation escape / variable-escape genes of Tukiainen et al. 2017; PAR genes kept), 65 of them scoring genes; same labels and cells as before (scores_nosex/giroux2022/). Scores: scores/<cohort>/pooled/summary.json.",
240
+ "footnote_short": "Donor-level 5-fold CV. Giroux: sex-linked genes excluded (severity confounded with sex: 4F/0M vs 0F/5M).",
241
+ "numbers": [
242
+ {
243
+ "value": "LoRA best of 4 arms: coverage 5/5, logFC r 4/4, top-50 DEG 4/4",
244
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (Sepsis DEG: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled_deg/summary.json; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json)"
245
+ },
246
+ {
247
+ "value": "Ji coverage: zero-shot 0.055, zero-shot + calibration 0.106, sc-only (+ calibration) 0.113, LoRA 0.857",
248
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ji2025_chili/pooled/summary.json"
249
+ },
250
+ {
251
+ "value": "Giroux logFC r: broadcast 0.575 vs LoRA 0.461; DEG broadcast 5 vs LoRA 5",
252
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json"
253
+ },
254
+ {
255
+ "value": "LoRA logFC r vs broadcast: Sepsis 0.527 vs 0.316, Imperial 0.819 vs 0.661, Giroux 0.461 vs 0.575, Ji 0.479 vs 0.240",
256
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (Sepsis DEG: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled_deg/summary.json; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json)"
257
+ },
258
+ {
259
+ "value": "coverage LoRA / zero-shot + calibration / zero-shot / sc-only (+ calibration): ImMicro 0.784 / 0.527 / 0.192 / 0.623, Sepsis 0.829 / 0.431 / 0.067 / 0.726, Imperial 0.850 / 0.639 / 0.112 / 0.555, Giroux 0.928 / 0.906 / 0.281 / 0.908, Ji 0.857 / 0.106 / 0.055 / 0.113",
260
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (Sepsis DEG: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled_deg/summary.json; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json)"
261
+ },
262
+ {
263
+ "value": "logFC r LoRA / zero-shot + calibration / zero-shot / sc-only (+ calibration): Sepsis 0.527 / 0.123 / -0.012 / 0.296, Imperial 0.819 / 0.679 / 0.644 / 0.808, Giroux 0.461 / 0.269 / 0.334 / 0.344, Ji 0.479 / 0.142 / 0.084 / 0.245",
264
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (Sepsis DEG: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled_deg/summary.json; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json)"
265
+ },
266
+ {
267
+ "value": "top-50 DEG LoRA / zero-shot + calibration / zero-shot / sc-only (+ calibration): Sepsis 23 / 11 / 9 / 15, Imperial 143 / 111 / 106 / 129, Giroux 5 / 0 / 1 / 0, Ji 15 / 0 / 0 / 0",
268
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (Sepsis DEG: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled_deg/summary.json; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json)"
269
+ },
270
+ {
271
+ "value": "Pooled n (pairs / donors): ImMicro 107/107, Sepsis 82/82, Imperial 157/57, Giroux 24/9, Ji 33/20",
272
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (n_donors); /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/fewshot_n5/DRAWS.json"
273
+ },
274
+ {
275
+ "value": "early stopping: About 10 % of each fold's training donors are inner-validation, used only for early stopping",
276
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/README.md"
277
+ }
278
+ ]
279
+ }
280
+ ],
281
+ "scripts": [
282
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/tools/sec09_paired_validation.py"
283
+ ],
284
+ "generated_from": "tools/sec09_paired_validation.py (rerun to refresh; do not edit by hand)",
285
+ "scsemi_draws_used": "25/25"
286
+ }
paper-releases/pbisc-diffusion/updates/20261002T085943Z-deck-restructure-contrast-metrics-zeroshot-len/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/data/slides_spec.json ADDED
@@ -0,0 +1,1183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "deck": {
3
+ "output_pptx": "PBISC-Diffusion_paper_summary_20260930.pptx",
4
+ "paths": "figure paths are relative to the deck folder",
5
+ "note": "footnote = on-slide text (max 2 lines, may be a shortened copy); footnote_full = section author's full text, put in speaker notes when it differs. Generated slide text: section 9 main slides from data/sec09_slide_text.json (sec09_index), other generated slides from the file named in text_source (data/sec09_extra_slide_text.json, data/sec07_rank_sweep_slide_text.json); refresh with tools/sync_sec09_text.py after rerunning the scripts that write them."
6
+ },
7
+ "slides": [
8
+ {
9
+ "kind": "title",
10
+ "title": "PBISC-Diffusion: bulk-to-single-cell generation",
11
+ "subtitle": "Paper summary · 2026-09-30, updated 2026-10-02"
12
+ },
13
+ {
14
+ "kind": "agenda",
15
+ "title": "Outline",
16
+ "items": [
17
+ "Model overview: diffusion from bulk to cells",
18
+ "Backbone: SDD, scDiffusion, bulk conditioning",
19
+ "Architecture ablation: width, context, gene panel",
20
+ "How we score cells; SLE benchmark vs scSemiProfiler",
21
+ "Real bulk ≠ pseudobulk: why zero-shot fails",
22
+ "Fine-tuning on paired bulk–sc data; evaluation design",
23
+ "LoRA: compute, rank and K ablations",
24
+ "How many bulk–sc pairs are needed",
25
+ "Paired-cohort validation vs scSemiProfiler",
26
+ "Next: cohorts with a paired subset (planned)"
27
+ ]
28
+ },
29
+ {
30
+ "kind": "content",
31
+ "section": "1",
32
+ "section_label": "1 Model overview",
33
+ "title": "PBISC-Diffusion: bulk in, cells out",
34
+ "layout": "full",
35
+ "figures": [
36
+ "figures/sec01_slide_a.png"
37
+ ],
38
+ "keywords": [
39
+ "Train pair: K-cell pseudobulk → each member cell"
40
+ ],
41
+ "footnote": "Fig. 1b redraw. Final model corpus: 33.1M train cells; K = 1–4,000 cells per pseudobulk.",
42
+ "footnote_full": "Top: deck redraw of manuscript Fig. 1b (larger labels; cells differ by x_T and the Bernoulli support draw, Methods 'Support read-out'). Bottom: corpus of final run f01_6k_1x_seed20260627 (index fingerprint matches). Cells per dataset = base + overlay rows (Model 7 e2_full_source/e2_full_index manifests); 33.1M cells in the donor-level 80/10/10 train split. Registered K grid = 8,192 recipes/epoch. Plus 3,658 top-up recipes over 16 epochs (196-283 per epoch, K 1-4,000), so every train cell is a target once (ALLCELL_DATA_CONTRACT.json coverage_after_topup).",
43
+ "sources": "tools/sec01_overview.py; data/sec01_model_numbers.csv, data/sec01_corpus_datasets.csv, data/sec01_recipe_k.csv",
44
+ "refs": [
45
+ "Ostheimer 2025, arXiv",
46
+ "Song 2021, ICLR"
47
+ ],
48
+ "refs_full": [
49
+ "Ostheimer et al. Sparse Data Diffusion for scientific simulations in biology and physics. arXiv:2502.02448 (2025)",
50
+ "Song, Meng & Ermon. Denoising Diffusion Implicit Models. ICLR 2021"
51
+ ]
52
+ },
53
+ {
54
+ "kind": "content",
55
+ "section": "1",
56
+ "section_label": "1 Model overview",
57
+ "title": "Denoiser: joint value + support diffusion",
58
+ "layout": "diagram",
59
+ "figures": [
60
+ "figures/sec01_fig1a_denoiser.png"
61
+ ],
62
+ "keywords": [
63
+ "6,000 genes · 54.2M params · Bernoulli support draw"
64
+ ],
65
+ "footnote": "Fig. 1a redraw. Final model f01 6k 1x, epoch 16, EMA; 50 DDIM steps.",
66
+ "footnote_full": "Deck redraw of manuscript Fig. 1a (larger labels, legend dropped). Purple dashed = soft self-conditioning feedback; gold dashed = context to all blocks. Final model f01_6k_1x_seed20260627, checkpoint_epoch_016, EMA; 7 blocks 1024-1024-512-256-512-1024-1024 (effective_config.json, RUN_STATUS.json). Sampling: 50 DDIM steps, η = 0, drawn support read-out, keep gene if u < σ(logit) (methods.tex l.58, l.99). 16 epochs = 16 disjoint 8,192-recipe slots = one pass over the 131,072-recipe pool (manuscript: part 16).",
67
+ "sources": "tools/sec01_overview.py; data/sec01_model_numbers.csv, data/sec01_fig1_label_pt.csv",
68
+ "refs": [
69
+ "Ostheimer 2025, arXiv"
70
+ ],
71
+ "refs_full": [
72
+ "Ostheimer et al. Sparse Data Diffusion for scientific simulations in biology and physics. arXiv:2502.02448 (2025)"
73
+ ]
74
+ },
75
+ {
76
+ "kind": "content",
77
+ "section": "2",
78
+ "section_label": "2 Backbone",
79
+ "title": "Backbone: SDD → PBISC-Diffusion",
80
+ "layout": "diagram",
81
+ "figures": [
82
+ "figures/sec02_backbone_compare.png"
83
+ ],
84
+ "keywords": [
85
+ "Kept from SDD: value + bit, skip-MLP",
86
+ "Changed: bulk condition, masked loss, Bernoulli read-out"
87
+ ],
88
+ "footnote": "SDD: Ostheimer et al., arXiv 2502.02448. scDiffusion: Luo et al., Bioinformatics 2024.",
89
+ "sources": "tools/sec02_backbone.py; data/sec02_backbone_compare.csv, data/sec02_slide_text.csv, data/refs/",
90
+ "footnote_full": "Luo et al., Bioinformatics 2024; Ostheimer et al., arXiv 2502.02448 (code 1d5423c). PBISC: final model f01 6k 1x, part 16. σ = sigmoid; Bernoulli is the final read-out; the logit > 0 cut is also reported.",
91
+ "refs": [
92
+ "Ostheimer 2025, arXiv",
93
+ "Luo 2024, Bioinformatics"
94
+ ],
95
+ "refs_full": [
96
+ "Ostheimer et al. Sparse Data Diffusion for scientific simulations in biology and physics. arXiv:2502.02448 (2025)",
97
+ "Luo et al. scDiffusion: conditional generation of high-quality single-cell data using diffusion model. Bioinformatics 40(9):btae518 (2024)"
98
+ ]
99
+ },
100
+ {
101
+ "kind": "content",
102
+ "section": "2",
103
+ "section_label": "2 Backbone",
104
+ "title": "Bulk conditioning",
105
+ "layout": "diagram",
106
+ "figures": [
107
+ "figures/sec02_bulk_conditioning.png"
108
+ ],
109
+ "keywords": [
110
+ "Same bulk condition for every generated cell",
111
+ "Final: no cell types, proportions, sum constraint",
112
+ "18,006 → 512 context into every block"
113
+ ],
114
+ "footnote": "Final model f01 6k 1x. Bar heights schematic.",
115
+ "sources": "tools/sec02_backbone.py; data/sec02_bulk_conditioning.csv, data/sec02_slide_text.csv",
116
+ "footnote_full": "Final model f01 6k 1x, part 16. Bar heights schematic."
117
+ },
118
+ {
119
+ "kind": "content",
120
+ "section": "3",
121
+ "section_label": "3 Architecture ablation",
122
+ "title": "Width & context ablation: loss saturation",
123
+ "layout": "full",
124
+ "figures": [
125
+ "figures/sec03_width_loss.png"
126
+ ],
127
+ "keywords": [
128
+ "Trunk x4: val loss −31% (0.197 → 0.136)",
129
+ "ctx x4, prop hint: loss = 1x",
130
+ "1x flat E8; trunk x4 still falling"
131
+ ],
132
+ "footnote": "Old 6k panel (1% floor); one validation set. 16x: memory-floor stop after part 2.",
133
+ "say": "All arms share the 6k panel (1% floor), corpus, seed and schedule; validation = 192 recipes x 64 cells. ctx x4, both x4 and 16x were read from server_2 snapshots.",
134
+ "sources": "tools/sec03_width_loss.py; data/sec03_width_loss.csv, data/sec03_width_saturation.csv, data/sec03_width_loss_headline.csv"
135
+ },
136
+ {
137
+ "kind": "content",
138
+ "section": "3",
139
+ "section_label": "3 Architecture ablation",
140
+ "title": "Width & context ablation: benchmark",
141
+ "layout": "full",
142
+ "figures": [
143
+ "figures/sec03_width_bench.png"
144
+ ],
145
+ "keywords": [
146
+ "trunk x4: loss −31%, no DEG gain",
147
+ "Prop hint: oracle = predicted, L1 worse",
148
+ "1x kept: ties ctx x4, 54M vs 102M"
149
+ ],
150
+ "footnote": "SLE, 42 donors, 2,980 genes; old 6k panel. ctx x4: better L1 (0.161 vs 0.197).",
151
+ "say": "Bars = mean of parts 14-16 with the cut p > 0.5; diamonds = Bernoulli read-out (4 width arms only). Prop hint = 9 L1 cell-type proportions; older panel, not the final model.",
152
+ "sources": "tools/sec03_width_bench.py; data/sec03_width_bench.csv, data/sec03_width_bench_summary.csv, data/sec03_width_bench_headline.csv"
153
+ },
154
+ {
155
+ "kind": "content",
156
+ "section": "3",
157
+ "section_label": "3 Architecture ablation",
158
+ "title": "Gene context: 2k / 3k / 6k / 15k",
159
+ "layout": "full",
160
+ "figures": [
161
+ "figures/sec03_panel.png"
162
+ ],
163
+ "keywords": [
164
+ "6k ≈ 3k: 3k r, DEG inside 6k seed range",
165
+ "2k best L1; 15k worst r, L1",
166
+ "6k kept: first panel with CLEC9A (cDC1)"
167
+ ],
168
+ "footnote": "SLE, 42 donors, 1,006 genes in every panel. 6k: 5 seeds; base seed best of 5 on r and DEG.",
169
+ "say": "Runs f01_{2k,3k,6k,p15k}_1x, part 16, Bernoulli, EMA, DDIM 50. Different gene axis from the previous slide, so the two slides cannot be compared. Loss curves are divided by each panel's own part-16 value.",
170
+ "sources": "tools/sec03_panel.py; data/sec03_panel_bench.csv, data/sec03_panel_seeds.csv, data/sec03_panel_loss.csv, data/sec03_panel_headline.csv"
171
+ },
172
+ {
173
+ "kind": "content",
174
+ "section": "4",
175
+ "title": "How we score generated cells",
176
+ "layout": "full",
177
+ "figures": [
178
+ "figures/sec04_metrics_overview.png"
179
+ ],
180
+ "keywords": [
181
+ "Cells, composition and disease signal, separately",
182
+ "Every metric next to its control or ceiling",
183
+ "Same donors and reference cells for every method"
184
+ ],
185
+ "footnote": "Definitions follow the cited papers; scorers: tools/score_ft.py, extra_metrics.py, contrast_extra.py.",
186
+ "sources": "tools/sec04_metrics_overview.py; data/sec04_metrics_overview.csv",
187
+ "refs_full": [
188
+ "Kynkäänniemi et al. Improved precision and recall metric for assessing generative models. NeurIPS 2019",
189
+ "Naeem et al. Reliable fidelity and diversity metrics for generative models. ICML 2020",
190
+ "Lopez-Paz & Oquab. Revisiting classifier two-sample tests. ICLR 2017",
191
+ "Gretton et al. A kernel two-sample test. JMLR 13:723-773 (2012)",
192
+ "Wang et al. scSemiProfiler: advancing large-scale single-cell studies through semi-profiling with deep generative models and active learning. Nat Commun 15:5989 (2024). doi:10.1038/s41467-024-50150-1",
193
+ "Roohani, Huang & Leskovec. Predicting transcriptional outcomes of novel multigene perturbations with GEARS. Nat Biotechnol 42:927-935 (2024). doi:10.1038/s41587-023-01905-6",
194
+ "Viñas Torné et al. Systema: a framework for evaluating genetic perturbation response prediction beyond systematic variation. Nat Biotechnol 44:1050-1059 (2026). doi:10.1038/s41587-025-02777-8",
195
+ "Li et al. A systematic comparison of single-cell perturbation response prediction models. Sci Adv 12:eaed3414 (2026). doi:10.1126/sciadv.aed3414",
196
+ "Squair et al. Confronting false discoveries in single-cell differential expression. Nat Commun 12:5692 (2021). doi:10.1038/s41467-021-25960-2",
197
+ "Law, Chen, Shi & Smyth. voom: precision weights unlock linear model analysis tools for RNA-seq read counts. Genome Biol 15:R29 (2014)",
198
+ "Irizarry et al. Multiple-laboratory comparison of microarray platforms. Nat Methods 2:345-350 (2005). doi:10.1038/nmeth756"
199
+ ],
200
+ "section_label": "4 Metrics + SLE benchmark"
201
+ },
202
+ {
203
+ "kind": "content",
204
+ "section": "4",
205
+ "section_label": "4 Metrics + SLE benchmark",
206
+ "title": "SLE benchmark: PBISC vs scSemiProfiler",
207
+ "layout": "full",
208
+ "figures": [
209
+ "figures/sec04_sle_benchmark.png"
210
+ ],
211
+ "keywords": [
212
+ "42 held-out donors, sc-pseudobulk input",
213
+ "Beats scSemiProfiler on all three metrics",
214
+ "Bulk logFC alone scores higher (slide 13)"
215
+ ],
216
+ "footnote": "GSE135779, 42 held-out donors (30 SLE / 12 HC). PBISC: 5 seeds, mean ± SD; scSemiProfiler: 1 run.",
217
+ "sources": "tools/sec04_sle_benchmark.py; data/sec04_sle_benchmark.csv, data/sec04_sle_numbers.csv",
218
+ "footnote_full": "GSE135779, 42 held-out donors (30 SLE / 12 HC). PBISC f01 6k E16, 5 seeds (mean ± SD); baselines 1 draw. scSemiProfiler also gets real sc of 14 in-cohort donors (1,500 cells each). Dashed: input bulk logFC copied to every type (broadcast slide).",
219
+ "refs": [
220
+ "Wang 2024, Nat Commun",
221
+ "Xu 2021, Mol Syst Biol"
222
+ ],
223
+ "refs_full": [
224
+ "Wang et al. scSemiProfiler: advancing large-scale single-cell studies through semi-profiling with deep generative models and active learning. Nat Commun 15:5989 (2024). doi:10.1038/s41467-024-50150-1",
225
+ "Xu et al. Probabilistic harmonization and annotation of single-cell transcriptomics data with deep generative models. Mol Syst Biol 17:e9620 (2021)"
226
+ ]
227
+ },
228
+ {
229
+ "kind": "content",
230
+ "section": "4",
231
+ "section_label": "4 Metrics + SLE benchmark",
232
+ "title": "SLE benchmark: per cell type",
233
+ "layout": "full",
234
+ "figures": [
235
+ "figures/sec04_sle_per_celltype.png"
236
+ ],
237
+ "keywords": [
238
+ "Beats scSemiProfiler in T, B, Mono, NK",
239
+ "Loses in Other; DC r ties, fewer DEGs",
240
+ "DC: ~15 generated cells per donor"
241
+ ],
242
+ "footnote": "Same 42 donors, 1,006 genes. PBISC: 5 seeds, mean ± SD; scSemiProfiler: 1 run. Other: top-50 of 12.",
243
+ "say": "PBISC's DC top list in the base seed has only 13 genes, because few DC cells are generated.",
244
+ "sources": "tools/sec04_sle_benchmark.py; data/sec04_sle_per_celltype.csv, data/sec04_sle_numbers.csv",
245
+ "footnote_full": "Same 42 donors, 1,006 genes. PBISC 5 seeds (mean ± SD), baselines 1 draw. Tick %: share of 251,179 real cells. Other top-50 is out of 12 truth genes. Bulk copy: r 0.68, top-50 113 (broadcast slide).",
246
+ "refs": [
247
+ "Wang 2024, Nat Commun"
248
+ ],
249
+ "refs_full": [
250
+ "Wang et al. scSemiProfiler: advancing large-scale single-cell studies through semi-profiling with deep generative models and active learning. Nat Commun 15:5989 (2024). doi:10.1038/s41467-024-50150-1"
251
+ ]
252
+ },
253
+ {
254
+ "kind": "content",
255
+ "section": "4",
256
+ "section_label": "4 Metrics + SLE benchmark",
257
+ "title": "Bulk broadcast baseline",
258
+ "layout": "full",
259
+ "figures": [
260
+ "figures/sec04_sle_broadcast.png"
261
+ ],
262
+ "keywords": [
263
+ "Bulk logFC copied: r 0.68 vs 0.37",
264
+ "Type-specific part: partial r 0.21",
265
+ "scSemiProfiler: r 0.32, partial r 0.17"
266
+ ],
267
+ "footnote": "SLE, 42 donors, 1,006 genes. Partial r: both logFCs residualised on bulk logFC.",
268
+ "sources": "tools/sec04_sle_benchmark.py; data/sec04_sle_broadcast.csv, data/sec04_sle_numbers.csv",
269
+ "footnote_full": "SLE held-out, 42 donors, 1,006 genes; PBISC 5 seeds. Partial r: truth and method logFC residualised on bulk logFC. Broadcast has no residual, so it is not scored. Split-half and BayesPrism checks: sle_broadcast/RESULTS.md.",
270
+ "refs": [
271
+ "Viñas Torné 2026, Nat Biotechnol",
272
+ "Ahlmann-Eltze 2025, Nat Methods",
273
+ "Chu 2022, Nat Cancer"
274
+ ],
275
+ "refs_full": [
276
+ "Viñas Torné et al. Systema: a framework for evaluating genetic perturbation response prediction beyond systematic variation. Nat Biotechnol 44:1050-1059 (2026). doi:10.1038/s41587-025-02777-8",
277
+ "Ahlmann-Eltze, Huber & Anders. Deep-learning-based gene perturbation effect prediction does not yet outperform simple linear baselines. Nat Methods 22:1657-1661 (2025). doi:10.1038/s41592-025-02772-6",
278
+ "Chu et al. Cell type and gene expression deconvolution with BayesPrism enables Bayesian integrative analysis across bulk and single-cell RNA sequencing in oncology. Nat Cancer 3:505-517 (2022)"
279
+ ]
280
+ },
281
+ {
282
+ "kind": "content",
283
+ "section": "5",
284
+ "section_label": "5 Real bulk vs pseudobulk",
285
+ "title": "Real bulk ≠ pseudobulk (model input)",
286
+ "layout": "figure_keywords",
287
+ "figures": [
288
+ "figures/sec05_condition_space.png"
289
+ ],
290
+ "keywords": [
291
+ "Real bulk: 2.46 D from own pseudobulk",
292
+ "95% of squared offset is one shift",
293
+ "Shift removed (diagnostic): own donor 7.5% → 75.7%"
294
+ ],
295
+ "footnote": "ImMicro, 107 healthy donors. Model input space (log1p CPM). D = median donor-to-donor distance.",
296
+ "say": "The two pseudobulk clusters on PC1 are sc pools DB1-3 vs DB4-7, so the pairing lines cross mainly because of sc batch. Shift removal subtracts the mean offset of the other 106 donors; a bulk-only deployment would not have them.",
297
+ "sources": "tools/sec05_condition_space.py; data/sec05_condition_space_numbers.csv, data/sec05_condition_space_coords.csv",
298
+ "footnote_full": "ImMicro, 107 healthy donors. Model inputs (log1p CPM, 5,508 genes), not learned ctx. D = median donor-to-donor distance; PCA-30 values are lower bounds (full space 3.19 D, 0.91 shared). Shift removal is a diagnostic that uses paired pseudobulks. Pseudobulk PC1 is sc pool batch (pool R² 0.96 on PC1)."
299
+ },
300
+ {
301
+ "kind": "content",
302
+ "section": "5",
303
+ "section_label": "5 Real bulk vs pseudobulk",
304
+ "title": "Same shift in three paired cohorts",
305
+ "layout": "full",
306
+ "figures": [
307
+ "figures/sec05_shift_cohorts.png"
308
+ ],
309
+ "keywords": [
310
+ "Shared shift in all 3 cohorts"
311
+ ],
312
+ "footnote": "Model inputs only, no generation. PCA fitted per cohort on sc pseudobulks.",
313
+ "sources": "tools/sec05_shift_cohorts.py; data/sec05_shift_cohorts.csv",
314
+ "footnote_full": "Model inputs only, no generation. PCA is fitted on each cohort's sc pseudobulks (Arunachalam: 11 PCs, n = 12). D uses same-condition pairs only for Randolph and Arunachalam. Shift removal is a leave-one-out diagnostic."
315
+ },
316
+ {
317
+ "kind": "content",
318
+ "section": "5",
319
+ "section_label": "5 Real bulk vs pseudobulk",
320
+ "title": "Consequence: cells off-manifold",
321
+ "layout": "two_figures",
322
+ "figures": [
323
+ "figures/sec05_cells_umap.png",
324
+ "figures/sec05_cells_metrics.png"
325
+ ],
326
+ "keywords": [
327
+ "Monocytes: raw 30.6% vs real 16.7%",
328
+ "Same noise: 19% of T cells become monocytes",
329
+ "Precision: raw 0.36 vs pseudobulk 0.92"
330
+ ],
331
+ "footnote": "ImMicro, 107 donors; same starting noise for every input. Coverage: raw 0.08, sc pseudobulk 0.51.",
332
+ "footnote_full": "ImMicro, 107 donors. Final model f01 6k 1× E16 (DDIM 50, EMA); each cell starts from the same noise under every input. Precision/coverage from one scoring call. Composition L1: raw 0.455, pseudobulk 0.166, cohort-mean null 0.161. The UMAP is fitted on real cells and overstates overlap.",
333
+ "sources": "tools/sec05_cells_offmanifold.py; data/sec05_cells_metrics.csv, data/sec05_cells_umap_coords.csv",
334
+ "refs": [
335
+ "Kynkäänniemi 2019, NeurIPS",
336
+ "Naeem 2020, ICML"
337
+ ],
338
+ "refs_full": [
339
+ "Kynkäänniemi et al. Improved precision and recall metric for assessing generative models. NeurIPS 2019",
340
+ "Naeem et al. Reliable fidelity and diversity metrics for generative models. ICML 2020"
341
+ ]
342
+ },
343
+ {
344
+ "kind": "content",
345
+ "section": "5",
346
+ "section_label": "5 Real bulk vs pseudobulk",
347
+ "title": "Consequence: disease direction flips",
348
+ "layout": "figure_keywords",
349
+ "figures": [
350
+ "figures/sec05_behcet_direction.png"
351
+ ],
352
+ "keywords": [
353
+ "CD16 gap: raw −3.97 vs observed +4.94",
354
+ "C1Q flip vanishes at common depth",
355
+ "sc pseudobulk: right sign in 5/5 seeds"
356
+ ],
357
+ "footnote": "Behçet. Bulk GSE198533 (9 BD / 10 HC); sc GSE198616 (4 / 4, different people) gives observed and pseudobulk.",
358
+ "say": "Raw bulk gives the wrong sign for CD16 and C1Q in 5/5 seeds. At one common monocyte depth the C1Q gap is −0.08 ± 0.09 pp (1/5 seeds positive), so the C1Q flip is a depth effect; the CD16 flip stays at −3.59. sc pseudobulk of the 8 sc donors gives the observed sign in 5/5 seeds (CD16 +5.48, C1Q +1.82). Observed p is descriptive (4 vs 4). No paired data in this cohort, so no fine-tune here.",
359
+ "sources": "tools/sec05_behcet_direction.py; data/sec05_behcet_direction.csv",
360
+ "footnote_full": "Behçet, final model. Bulk GSE198533 (BD 9, HC 10), 5,000 cells per sample; observed = sc GSE198616 (BD 4, HC 4, different people; descriptive p). At common depth, raw CD16 is −3.59 (seed 0) and raw C1Q is −0.08 ± 0.09 pp."
361
+ },
362
+ {
363
+ "kind": "content",
364
+ "section": "6",
365
+ "section_label": "6 Paired fine-tuning",
366
+ "title": "Fine-tuning with paired bulk + sc",
367
+ "layout": "diagram",
368
+ "figures": [
369
+ "figures/sec06_ft_method.png"
370
+ ],
371
+ "keywords": [
372
+ "LoRA 2–14 min vs pretraining 15.9 h"
373
+ ],
374
+ "footnote": "Base: final model f01 6k 1x E16. Times from 40 LoRA runs on this host.",
375
+ "sources": "tools/sec06_finetune_method.py; data/sec06_ft_method.csv",
376
+ "footnote_full": "Receipts: immicro/fold0/real_lora and ye2026_sepsis/fewshot_n5/draw0/lora RUN.json. Base: f01_6k_1x E16. Times: 40 local LoRA runs.",
377
+ "refs": [
378
+ "Hu 2022, ICLR"
379
+ ],
380
+ "refs_full": [
381
+ "Hu et al. LoRA: Low-Rank Adaptation of Large Language Models. ICLR 2022"
382
+ ]
383
+ },
384
+ {
385
+ "kind": "content",
386
+ "section": "6",
387
+ "section_label": "6 Paired fine-tuning",
388
+ "title": "Evaluation design",
389
+ "layout": "full",
390
+ "figures": [
391
+ "figures/sec06_eval_design.png"
392
+ ],
393
+ "keywords": [
394
+ "Donor-level splits; test donors never trained",
395
+ "5-fold: other folds · few: 5 donors",
396
+ "Giroux few-pair trains 12–14 of 24 pairs"
397
+ ],
398
+ "footnote": "Bars: Ye 2026 sepsis. QC-failed pairs excluded.",
399
+ "sources": "tools/sec06_finetune_method.py; data/sec06_eval_design.csv, data/sec06_eval_design_sepsis_roles.csv",
400
+ "footnote_full": "Counts: data/<cohort>/folds.csv and fewshot_n5/DRAWS.json; QC-failed pairs (fold −1) excluded. Bars: Ye 2026 sepsis."
401
+ },
402
+ {
403
+ "kind": "content",
404
+ "section": "7",
405
+ "section_label": "7 LoRA ablations",
406
+ "title": "Full vs LoRA vs cond.-encoder-only",
407
+ "layout": "full",
408
+ "figures": [
409
+ "figures/sec07_ft_modes.png"
410
+ ],
411
+ "keywords": [
412
+ "LoRA ≈ full FT, 42× fewer params",
413
+ "Cond.-encoder-only ≈ ZS + cal. on ImMicro",
414
+ "LoRA beats both on coverage"
415
+ ],
416
+ "footnote": "Fold 0, cond.-enc. vs ZS + cal.: coverage 0.73 vs 0.73 / 0.74 vs 0.63, L1 p 0.06 / 0.93 (ImMicro / sepsis).",
417
+ "sources": "tools/sec07_ft_modes.py; data/sec07_ft_modes_accuracy.csv, data/sec07_ft_modes_compute.csv, data/sec07_ft_modes_wilcoxon.csv",
418
+ "footnote_full": "Base f01_6k_1x E16. ImMicro / sepsis; paired Wilcoxon on donor values, uncorrected. Full vs LoRA L1 p 0.25 / 0.71 (pooled); 42× fewer trainable params (1.3 M). Zero-shot + calibration: α_g = mean CPM(pseudobulk_g) / mean CPM(bulk_g) over the fold's 85–86 / 65–66 paired training donors (train + inner-val); bulk CPM × α, renormalised. The sc-only FT never saw real bulk, so it is fed calibrated bulk. Raw → calibrated zero-shot (pooled): L1 0.45 → 0.20 / 0.51 → 0.40, coverage 0.19 → 0.53 / 0.07 → 0.43, sepsis logFC r −0.01 → 0.12. LoRA vs ZS + cal. (pooled): coverage 0.78 vs 0.53 / 0.83 vs 0.43 (p 7e-19 / 4e-15); L1 0.16 vs 0.20 (p 2e-7) / 0.36 vs 0.40 (p 0.19); logFC r 0.53 vs 0.12. Fold 0, cond.-enc. vs ZS + cal.: L1 0.20 vs 0.17 (p 0.06) / 0.38 vs 0.39 (p 0.93), coverage 0.73 vs 0.73 (p 0.68) / 0.74 vs 0.63 (p 7e-4). Fold 0, LoRA: coverage 0.91 / 0.86; vs cond.-enc. p 4e-5 / 1e-3, vs ZS + cal. p 6e-5 / 3e-4; L1 vs cond.-enc. p 3e-5 / 0.52, vs ZS + cal. p 0.29 / 0.96. sc-only FT (+ cal.), pooled: coverage 0.62 / 0.73, logFC r 0.30. Open = fold-0 pilot; compare same marker only. Per-step time: runs early-stop differently.",
419
+ "refs": [
420
+ "Hu 2022, ICLR"
421
+ ],
422
+ "refs_full": [
423
+ "Hu et al. LoRA: Low-Rank Adaptation of Large Language Models. ICLR 2022"
424
+ ]
425
+ },
426
+ {
427
+ "kind": "content",
428
+ "section": "7",
429
+ "section_label": "7 LoRA ablations",
430
+ "text_source": {
431
+ "file": "data/sec07_rank_sweep_slide_text.json",
432
+ "index": 0
433
+ },
434
+ "title": "LoRA rank: r = 4, 16, 64",
435
+ "layout": "full",
436
+ "figures": [
437
+ "figures/sec07_rank_sweep.png"
438
+ ],
439
+ "keywords": [
440
+ "ImMicro r64 vs r16: coverage 0.78 → 0.82",
441
+ "ImMicro r4 vs r16: L1 0.162 → 0.186",
442
+ "Kept r16; r64 precision 0.92 → 0.90"
443
+ ],
444
+ "footnote": "Sepsis, 58–59 pairs/fold: r64 logFC r 0.53 → 0.55, DEG 23 → 26; r4 0.48, DEG 18. Pooled 5-fold scores.",
445
+ "footnote_full": "LoRA fine-tune of the final model (f01 6k·1x·E16) with rank r and alpha = r, same recipe as the deck's r = 16 runs (early stop on 7–8 inner-val pairs, 20k step cap); n = training pairs, nested subsets; donor-level 5-fold CV, each pair scored once by its fold model (pooled call). Trainable parameters r4 324,056, r16 1,296,224, r64 5,184,896. ImMicro n = 5: r4: L1 0.162, P/C 0.937 / 0.789 (L1 vs r16 -0.009, Wilcoxon p 0.00088, 107 donors); r16: L1 0.171, P/C 0.946 / 0.839; r64: L1 0.177, P/C 0.946 / 0.847 (L1 vs r16 +0.005, Wilcoxon p 0.0076, 107 donors) | ImMicro n = 20: r4: L1 0.171, P/C 0.925 / 0.715 (L1 vs r16 -0.001, Wilcoxon p 0.32, 107 donors); r16: L1 0.172, P/C 0.920 / 0.755; r64: L1 0.172, P/C 0.905 / 0.794 (L1 vs r16 -0.001, Wilcoxon p 0.66, 107 donors) | ImMicro n = 78–79 (every training donor of the fold): r4: L1 0.186, P/C 0.933 / 0.712 (L1 vs r16 +0.024, Wilcoxon p 9.8e-09, 107 donors); r16: L1 0.162, P/C 0.924 / 0.784; r64: L1 0.161, P/C 0.904 / 0.816 (L1 vs r16 -0.001, Wilcoxon p 0.89, 107 donors) | Sepsis n = 5: r4: L1 0.426, P/C 0.907 / 0.742, logFC r 0.27, DEG 2 (L1 vs r16 -0.002, Wilcoxon p 0.97, 82 donors); r16: L1 0.428, P/C 0.911 / 0.767, logFC r 0.29, DEG 5; r64: L1 0.429, P/C 0.906 / 0.766, logFC r 0.31, DEG 1 (L1 vs r16 +0.001, Wilcoxon p 0.66, 82 donors) | Sepsis n = 20: r4: L1 0.378, P/C 0.929 / 0.769, logFC r 0.31, DEG 14 (L1 vs r16 -0.003, Wilcoxon p 0.58, 82 donors); r16: L1 0.380, P/C 0.927 / 0.807, logFC r 0.37, DEG 18; r64: L1 0.376, P/C 0.911 / 0.808, logFC r 0.43, DEG 18 (L1 vs r16 -0.004, Wilcoxon p 0.046, 82 donors) | Sepsis n = 58–59 (every training donor of the fold): r4: L1 0.363, P/C 0.923 / 0.789, logFC r 0.48, DEG 18 (L1 vs r16 +0.002, Wilcoxon p 0.77, 82 donors); r16: L1 0.362, P/C 0.926 / 0.829, logFC r 0.53, DEG 23; r64: L1 0.367, P/C 0.907 / 0.824, logFC r 0.55, DEG 26 (L1 vs r16 +0.005, Wilcoxon p 0.66, 82 donors). r64 vs r16 brings small gains in coverage and disease signal but slightly lower precision and no composition change; r4 is worse with many pairs; at n = 5 the ranks are mixed. r = 16 is kept. Scores: scores/<cohort>/lora_rank_20261001/pooled (r4, r64) and scores/<cohort>/pooled{,_deg} (r16); table: scores/<cohort>/rankcal_20261001.md.",
446
+ "sources": "tools/sec07_rank_sweep.py; data/sec07_rank_sweep.csv, data/sec07_rank_sweep_runs.csv; plans/paired_finetune_intradataset_20260927/scores/<cohort>/rankcal_20261001.md",
447
+ "numbers": [
448
+ {
449
+ "value": "ImMicro 78–79 pairs/fold coverage r16 0.784 -> r64 0.816; precision 0.924 -> 0.904; L1 r16 0.162, r4 0.186 (Wilcoxon p 9.8e-09)",
450
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/immicro/pooled/summary.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/immicro/lora_rank_20261001/pooled/summary.json, per_donor.csv"
451
+ },
452
+ {
453
+ "value": "Sepsis 58–59 pairs/fold logFC r r16 0.527, r64 0.553, r4 0.476; DEG 23 / 26 / 18",
454
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled_deg/summary.json, contrast.csv; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/lora_rank_20261001/pooled/summary.json, contrast.csv"
455
+ },
456
+ {
457
+ "value": "trainable parameters: r4 324056, r16 1296224, r64 5184896",
458
+ "source": "runs/<cohort>/fold<k>/<arm>/RUN.json (trainable.n_trainable)"
459
+ }
460
+ ],
461
+ "refs": [
462
+ "Hu 2022, ICLR"
463
+ ],
464
+ "refs_full": [
465
+ "Hu et al. LoRA: Low-Rank Adaptation of Large Language Models. ICLR 2022"
466
+ ]
467
+ },
468
+ {
469
+ "kind": "content",
470
+ "section": "7",
471
+ "section_label": "7 LoRA ablations",
472
+ "title": "K diversification: no gain",
473
+ "layout": "figure_keywords",
474
+ "figures": [
475
+ "figures/sec07_k_aug.png"
476
+ ],
477
+ "keywords": [
478
+ "No gain; keep single K 1000",
479
+ "Multi-K slightly worse on ImMicro (p 0.04)",
480
+ "Inner-val loss Δ ≤ 1.2e-4"
481
+ ],
482
+ "footnote": "LoRA r16, 5-fold pooled. p = paired Wilcoxon on donor L1, uncorrected.",
483
+ "sources": "tools/sec07_k_aug.py; data/sec07_k_aug.csv, data/sec07_k_aug_wilcoxon.csv, data/sec07_k_aug_inner_val_delta.csv",
484
+ "footnote_full": "LoRA r16 on f01_6k_1x E16, 5-fold pooled. p: paired Wilcoxon, donor L1 vs plain LoRA, uncorrected. Recipes arm: K 1000 real bulk + ½-batch pretraining pseudobulk, no multi-K."
485
+ },
486
+ {
487
+ "kind": "content",
488
+ "section": "8",
489
+ "section_label": "8 Pairs needed",
490
+ "title": "Pairs needed: composition, coverage, training steps",
491
+ "layout": "full",
492
+ "figures": [
493
+ "figures/sec08_pairs_realism.png"
494
+ ],
495
+ "keywords": [
496
+ "No pairs: coverage 0.19 / 0.07; length fix 0.50 / 0.40",
497
+ "Calibration from n pairs: flat at 0.53 / 0.43",
498
+ "LoRA with 5 pairs: coverage 0.84 / 0.77"
499
+ ],
500
+ "footnote": "ImMicro / sepsis, 5-fold CV (107 / 82 donors). 0 = no pairs; squares = calibration fitted on the same n pairs.",
501
+ "footnote_full": "ImMicro / sepsis, donor-level 5-fold CV, pooled scoring (107 / 82 donors). x = LoRA training pairs per fold; each run also early-stops on 7–8 paired inner-val donors; the last point is every training donor of the fold (78–79 / 58–59; the other four folds minus inner-val, never the test fold). x = 0 uses no paired data: the base model fed the real bulk as measured (pale) and after exon-length correction (sand: counts divided by Ensembl union-exon kb before the CPM step; scores/<cohort>/zeroshot_tpm_20261002/pooled). Squares: zero-shot + gene-wise calibration with alpha fitted on exactly the pairs that LoRA point saw (cal_budget_20261001; the last square uses every training pair of the fold). Coverage ImMicro / sepsis: as measured 0.19 / 0.07, length-corrected 0.50 / 0.40, calibration 0.52–0.53 / 0.43–0.44 at every n, LoRA 5 pairs 0.84 / 0.77, every training donor 0.78 / 0.83. Composition L1: length correction does not fix it (ImMicro 0.45 → 0.42, sepsis 0.51 → 0.56).",
502
+ "say": "Keywords say +7; 2 of 5 sepsis folds use 8 inner-val pairs.",
503
+ "sources": "tools/sec08_pairs_needed.py; data/sec08_pairs_realism.csv, data/sec08_selected_steps.csv, data/sec08_slide_numbers.csv",
504
+ "refs": [
505
+ "Kynkäänniemi 2019, NeurIPS",
506
+ "Naeem 2020, ICML"
507
+ ],
508
+ "refs_full": [
509
+ "Kynkäänniemi et al. Improved precision and recall metric for assessing generative models. NeurIPS 2019",
510
+ "Naeem et al. Reliable fidelity and diversity metrics for generative models. ICML 2020"
511
+ ]
512
+ },
513
+ {
514
+ "kind": "content",
515
+ "section": "8",
516
+ "section_label": "8 Pairs needed",
517
+ "title": "Pairs needed: donor and disease signal",
518
+ "layout": "figure_keywords",
519
+ "figures": [
520
+ "figures/sec08_pairs_signal.png"
521
+ ],
522
+ "keywords": [
523
+ "No pairs or calibration only: logFC r ≤ 0.12",
524
+ "LoRA logFC r above broadcast from 10 pairs",
525
+ "LoRA top-50 DEG ≥ broadcast from 40 pairs"
526
+ ],
527
+ "footnote": "Sepsis: 61 case vs 21 control. logFC r = mean over T / B / Mono / NK. 0 = no pairs.",
528
+ "footnote_full": "Sepsis 61 case vs 21 control, pooled 5-fold scoring. Disease logFC r: as measured −0.01, length-corrected 0.11, calibration from the same n pairs 0.08–0.12, LoRA 0.29 / 0.42 / 0.37 / 0.48 / 0.53 at 5 / 10 / 20 / 40 / 58–59 pairs; broadcast 0.32; zero-shot from sc pseudobulk 0.47. Top-50 DEG (Welch, sum over 5 types): as measured 9, length-corrected 11, calibration 7–12, LoRA 5 / 8 / 18 / 22 / 23, broadcast 21. ImMicro donor NK fraction r: as measured 0.49, length-corrected 0.49, calibration 0.50–0.53, LoRA 0.20 → 0.70.",
529
+ "sources": "tools/sec08_pairs_needed.py; data/sec08_pairs_signal.csv, data/sec08_slide_numbers.csv",
530
+ "refs": [
531
+ "Roohani 2024, Nat Biotechnol",
532
+ "Li 2026, Sci Adv"
533
+ ],
534
+ "refs_full": [
535
+ "Roohani, Huang & Leskovec. Predicting transcriptional outcomes of novel multigene perturbations with GEARS. Nat Biotechnol 42:927-935 (2024). doi:10.1038/s41587-023-01905-6",
536
+ "Li et al. A systematic comparison of single-cell perturbation response prediction models. Sci Adv 12:eaed3414 (2026). doi:10.1126/sciadv.aed3414"
537
+ ]
538
+ },
539
+ {
540
+ "kind": "content",
541
+ "section": "9",
542
+ "section_label": "9 Paired validation",
543
+ "sec09_index": 0,
544
+ "title": "Five paired cohorts",
545
+ "layout": "full",
546
+ "figures": [
547
+ "figures/sec09_cohorts.png"
548
+ ],
549
+ "keywords": [
550
+ "403 paired samples, 275 donors",
551
+ "Only identity-pass pairs; donor-level splits",
552
+ "Ji bulk: whole blood, not PBMC"
553
+ ],
554
+ "footnote": "Usable pair = passed identity check and ≥ 200 cells: 403 of 430 pairs; donor-level splits.",
555
+ "footnote_full": "Usable pair = passed the pairing identity check and >= 200 cells (fold >= 0 in data/<cohort>/folds.csv); dropped 15 identity-fail, 11 borderline and 1 low-cell pairs of 430. ImMicro: no identity flag, all used. Imperial, Giroux, Ji: several pairs per donor. Case vs control = samples in scores/<cohort>/pooled/summary.json. Giroux 'moderate' = GEO 'severe' (paper term); its moderate vs mild subjects are 4F/0M vs 0F/5M (scored), so its disease metrics exclude sex-linked genes. Labels: data/<cohort>/QC_REPORT.md; ImMicro: GEO GSE314922/GSE314416.",
556
+ "sources": "tools/sec09_paired_validation.py; data/sec09_cohorts.csv, data/sec09_quoted_numbers.csv, data/sec09_slide_text.json",
557
+ "numbers": [
558
+ {
559
+ "value": "403 paired samples (sum of usable rows)",
560
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/fewshot_n5/DRAWS.json (n_usable_rows)"
561
+ },
562
+ {
563
+ "value": "275 donors (sum of usable donors)",
564
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/fewshot_n5/DRAWS.json (n_usable_donors)"
565
+ },
566
+ {
567
+ "value": "dropped 15 identity-fail, 11 borderline, 1 < 200 cells, of 430",
568
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/features.npz (identity_pass, identity_check); samples.csv (n_cells); /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/tools/prepare_dataset.py (MIN_CELLS)"
569
+ },
570
+ {
571
+ "value": "ImMicro 107 pairs / 107 donors",
572
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/immicro/fewshot_n5/DRAWS.json"
573
+ },
574
+ {
575
+ "value": "Sepsis 82 pairs / 82 donors; sepsis 61 vs control 21",
576
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/ye2026_sepsis/fewshot_n5/DRAWS.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled/summary.json"
577
+ },
578
+ {
579
+ "value": "Imperial 157 pairs / 57 donors; COVID+ 113 vs COVID− 34 (+10 recovery, neither)",
580
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/imperial_eskd/fewshot_n5/DRAWS.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/imperial_eskd/pooled/summary.json"
581
+ },
582
+ {
583
+ "value": "Giroux 24 pairs / 9 donors; moderate 11 vs mild 13",
584
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/giroux2022/fewshot_n5/DRAWS.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/giroux2022/pooled/summary.json"
585
+ },
586
+ {
587
+ "value": "Ji 33 pairs / 20 donors; ChILI 18 vs ICI control 15",
588
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/ji2025_chili/fewshot_n5/DRAWS.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ji2025_chili/pooled/summary.json"
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ "kind": "content",
594
+ "section": "9",
595
+ "section_label": "9 Paired validation",
596
+ "sec09_index": 1,
597
+ "title": "5 donors: LoRA vs scSemiProfiler — cells",
598
+ "layout": "full",
599
+ "figures": [
600
+ "figures/sec09_fewpair_cells.png"
601
+ ],
602
+ "keywords": [
603
+ "LoRA-5 > scSemi-5: coverage, precision 5/5",
604
+ "Beats zero-shot + calibration: coverage 5/5",
605
+ "Lower L1 than calibration: ImMicro only"
606
+ ],
607
+ "footnote": "5 draws per cohort; test = all other usable pairs. Calibration α from the same 5 donors. scANVI labels.",
608
+ "footnote_full": "Base f01 6k·1x·E16 (EMA, DDIM 50) + LoRA r=16, 3,000 steps. LoRA-5 / scSemi-5 = LoRA / scSemiProfiler trained on the same 5 donors (5–15 pairs); test = all other usable pairs. Zero-shot = base model without fine-tuning, fed each test pair's real bulk as measured; zero-shot + calibration = the same model fed that bulk after gene-wise calibration, alpha fitted on the same 5 training donors' pairs (both in the same call as LoRA-5). scSemi-5 scored in a separate call, same test set and reference (sha-checked); 25/25 draws. Verdict = better in >= 80% of shared draws. LoRA-5 lower L1 than scSemi-5 in 4/5 (Giroux split 3/5). LoRA-5 > zero-shot + calibration: coverage 5/5, precision 3/5, depth-matched 5/5 and 3/5 cohorts; > zero-shot (real bulk): coverage 5/5, precision 5/5, depth-matched 5/5 and 4/5. Depth-matched P/C vs scSemi-5: same ranking, coverage LoRA-5 0.83–0.97 vs scSemi-5 0.15–0.28. Composition L1, LoRA-5 minus zero-shot + calibration, per-donor Wilcoxon (gain = p < 0.05): ImMicro -0.03 (p 2e-10), Sepsis +0.02 (p 0.79), Imperial +0.02 (p 0.38), Giroux -0.06 (p 0.38), Ji -0.01 (p 0.70); minus zero-shot (real bulk): ImMicro -0.27 (p 2e-18), Sepsis -0.04 (p 0.15), Imperial -0.35 (p 2e-08), Giroux -0.11 (p 0.04), Ji -0.23 (p 0.02). scANVI labels; P/C = PCA-50, k=10 balls. Scores: scores/<cohort>/fewshot_n5/.",
609
+ "sources": "tools/sec09_paired_validation.py; data/sec09_fewpair_cells.csv, data/sec09_scsemi_status.csv, data/sec09_slide_text.json",
610
+ "numbers": [
611
+ {
612
+ "value": "LoRA-5 vs scSemi-5 coverage (shared-draw means; LoRA-better draws/n; verdict): ImMicro 0.792 vs 0.036 (5/5, lora); Sepsis 0.694 vs 0.080 (5/5, lora); Imperial 0.737 vs 0.059 (5/5, lora); Giroux 0.961 vs 0.607 (5/5, lora); Ji 0.707 vs 0.145 (5/5, lora) -> LoRA verdicts 5/5",
613
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
614
+ },
615
+ {
616
+ "value": "LoRA-5 vs scSemi-5 precision (shared-draw means; LoRA-better draws/n; verdict): ImMicro 0.952 vs 0.518 (5/5, lora); Sepsis 0.906 vs 0.728 (5/5, lora); Imperial 0.853 vs 0.330 (5/5, lora); Giroux 1.000 vs 0.992 (5/5, lora); Ji 0.978 vs 0.840 (5/5, lora) -> LoRA verdicts 5/5",
617
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
618
+ },
619
+ {
620
+ "value": "LoRA-5 vs scSemi-5 comp_l1 (shared-draw means; LoRA-better draws/n; verdict): ImMicro 0.176 vs 0.233 (5/5, lora); Sepsis 0.466 vs 0.612 (5/5, lora); Imperial 0.503 vs 0.602 (5/5, lora); Giroux 0.256 vs 0.270 (3/5, split); Ji 0.513 vs 0.592 (4/5, lora) -> LoRA verdicts 4/5",
621
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
622
+ },
623
+ {
624
+ "value": "LoRA-5 vs scSemi-5 coverage_dm (shared-draw means; LoRA-better draws/n; verdict): ImMicro 0.966 vs 0.284 (5/5, lora); Sepsis 0.834 vs 0.158 (5/5, lora); Imperial 0.863 vs 0.152 (5/5, lora); Giroux 0.974 vs 0.238 (5/5, lora); Ji 0.908 vs 0.150 (5/5, lora) -> LoRA verdicts 5/5",
625
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
626
+ },
627
+ {
628
+ "value": "LoRA-5 vs scSemi-5 precision_dm (shared-draw means; LoRA-better draws/n; verdict): ImMicro 0.975 vs 0.829 (5/5, lora); Sepsis 0.914 vs 0.504 (5/5, lora); Imperial 0.881 vs 0.429 (5/5, lora); Giroux 0.995 vs 0.426 (5/5, lora); Ji 0.974 vs 0.564 (5/5, lora) -> LoRA verdicts 5/5",
629
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
630
+ },
631
+ {
632
+ "value": "LoRA-5 vs zero-shot + calibration coverage (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.792 vs 0.535 (5/5, lora); Sepsis 0.694 vs 0.428 (5/5, lora); Imperial 0.737 vs 0.634 (5/5, lora); Giroux 0.961 vs 0.944 (5/5, lora); Ji 0.707 vs 0.114 (5/5, lora) -> LoRA verdicts 5/5",
633
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_cal)"
634
+ },
635
+ {
636
+ "value": "LoRA-5 vs zero-shot + calibration precision (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.952 vs 0.904 (5/5, lora); Sepsis 0.906 vs 0.899 (3/5, split); Imperial 0.853 vs 0.845 (3/5, split); Giroux 1.000 vs 0.996 (4/5, lora); Ji 0.978 vs 0.782 (5/5, lora) -> LoRA verdicts 3/5",
637
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_cal)"
638
+ },
639
+ {
640
+ "value": "LoRA-5 vs zero-shot + calibration comp_l1 (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.176 vs 0.203 (5/5, lora); Sepsis 0.466 vs 0.446 (2/5, split); Imperial 0.503 vs 0.506 (2/5, split); Giroux 0.256 vs 0.288 (2/5, split); Ji 0.513 vs 0.514 (3/5, split) -> LoRA verdicts 1/5",
641
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_cal)"
642
+ },
643
+ {
644
+ "value": "LoRA-5 vs zero-shot + calibration coverage_dm (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.966 vs 0.780 (5/5, lora); Sepsis 0.834 vs 0.658 (5/5, lora); Imperial 0.863 vs 0.681 (5/5, lora); Giroux 0.974 vs 0.937 (5/5, lora); Ji 0.908 vs 0.357 (5/5, lora) -> LoRA verdicts 5/5",
645
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_cal)"
646
+ },
647
+ {
648
+ "value": "LoRA-5 vs zero-shot + calibration precision_dm (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.975 vs 0.940 (5/5, lora); Sepsis 0.914 vs 0.909 (3/5, split); Imperial 0.881 vs 0.868 (3/5, split); Giroux 0.995 vs 0.989 (5/5, lora); Ji 0.974 vs 0.658 (5/5, lora) -> LoRA verdicts 3/5",
649
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_cal)"
650
+ },
651
+ {
652
+ "value": "LoRA-5 vs zero-shot (real bulk) coverage (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.792 vs 0.190 (5/5, lora); Sepsis 0.694 vs 0.076 (5/5, lora); Imperial 0.737 vs 0.114 (5/5, lora); Giroux 0.961 vs 0.472 (5/5, lora); Ji 0.707 vs 0.066 (5/5, lora) -> LoRA verdicts 5/5",
653
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_raw)"
654
+ },
655
+ {
656
+ "value": "LoRA-5 vs zero-shot (real bulk) precision (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.952 vs 0.677 (5/5, lora); Sepsis 0.906 vs 0.625 (5/5, lora); Imperial 0.853 vs 0.500 (5/5, lora); Giroux 1.000 vs 0.980 (5/5, lora); Ji 0.978 vs 0.799 (5/5, lora) -> LoRA verdicts 5/5",
657
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_raw)"
658
+ },
659
+ {
660
+ "value": "LoRA-5 vs zero-shot (real bulk) comp_l1 (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.176 vs 0.445 (5/5, lora); Sepsis 0.466 vs 0.510 (5/5, lora); Imperial 0.503 vs 0.806 (5/5, lora); Giroux 0.256 vs 0.351 (5/5, lora); Ji 0.513 vs 0.721 (5/5, lora) -> LoRA verdicts 5/5",
661
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_raw)"
662
+ },
663
+ {
664
+ "value": "LoRA-5 vs zero-shot (real bulk) coverage_dm (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.966 vs 0.213 (5/5, lora); Sepsis 0.834 vs 0.073 (5/5, lora); Imperial 0.863 vs 0.151 (5/5, lora); Giroux 0.974 vs 0.549 (5/5, lora); Ji 0.908 vs 0.199 (5/5, lora) -> LoRA verdicts 5/5",
665
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_raw)"
666
+ },
667
+ {
668
+ "value": "LoRA-5 vs zero-shot (real bulk) precision_dm (same-draw means; LoRA-better draws/n; verdict): ImMicro 0.975 vs 0.671 (5/5, lora); Sepsis 0.914 vs 0.595 (5/5, lora); Imperial 0.881 vs 0.561 (5/5, lora); Giroux 0.995 vs 0.996 (2/5, split); Ji 0.974 vs 0.480 (5/5, lora) -> LoRA verdicts 4/5",
669
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (arms lora5, zs_raw)"
670
+ },
671
+ {
672
+ "value": "coverage cohort means over all draws: LoRA-5 ImMicro 0.792, Sepsis 0.694, Imperial 0.737, Giroux 0.961, Ji 0.707; scSemi-5 ImMicro 0.036, Sepsis 0.080, Imperial 0.059, Giroux 0.607, Ji 0.145; zero-shot + calibration ImMicro 0.535, Sepsis 0.428, Imperial 0.634, Giroux 0.944, Ji 0.114; zero-shot ImMicro 0.190, Sepsis 0.076, Imperial 0.114, Giroux 0.472, Ji 0.066",
673
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json and draw<j>_scsemi5/summary.json"
674
+ },
675
+ {
676
+ "value": "LoRA-5 minus zero-shot + calibration composition L1, per-donor Wilcoxon (draw-averaged): ImMicro -0.027, n=107, p=2.2e-10; Sepsis +0.018, n=82, p=0.79; Imperial +0.016, n=57, p=0.38; Giroux -0.065, n=8, p=0.38; Ji -0.012, n=20, p=0.7 -> gain in 1/5",
677
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/per_donor.csv; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/folds.csv"
678
+ },
679
+ {
680
+ "value": "LoRA-5 minus zero-shot (real bulk) composition L1, per-donor Wilcoxon (draw-averaged): ImMicro -0.270, n=107, p=2.2e-18; Sepsis -0.044, n=82, p=0.15; Imperial -0.348, n=57, p=1.6e-08; Giroux -0.107, n=8, p=0.039; Ji -0.232, n=20, p=0.017 -> gain in 4/5",
681
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/per_donor.csv; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/folds.csv"
682
+ },
683
+ {
684
+ "value": "scSemiProfiler draws used / LoRA draws: ImMicro 5/5, Sepsis 5/5, Imperial 5/5, Giroux 5/5, Ji 5/5",
685
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/data/sec09_scsemi_status.csv"
686
+ },
687
+ {
688
+ "value": "training pairs per draw: ImMicro 5, Sepsis 5, Imperial 12–15, Giroux 12–14, Ji 7–9; test pairs: ImMicro 102, Sepsis 77, Imperial 142–145, Giroux 10–12, Ji 24–26",
689
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/fewshot_n5/DRAWS.json (n_train_rows, n_test_rows)"
690
+ },
691
+ {
692
+ "value": "LoRA r = 16; 3000 fixed steps; base runs/f01_6k_1x_seed20260627/checkpoint_epoch_016.pt; sampling: test donors only, 1,500 cells each, seed 20260927, DDIM 50, EMA, Bernoulli read-out",
693
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/runs/immicro/fewshot_n5/draw0/lora/RUN.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/README.md"
694
+ },
695
+ {
696
+ "value": "P/C definition: precision/coverage/density (PCA-50 + k = 10 balls fitted on the scored donors' observed R1 cells); PCA components in every summary.json = 50",
697
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/tools/score_ft.py"
698
+ }
699
+ ],
700
+ "refs": [
701
+ "Kynkäänniemi 2019, NeurIPS",
702
+ "Naeem 2020, ICML",
703
+ "Wang 2024, Nat Commun"
704
+ ],
705
+ "refs_full": [
706
+ "Kynkäänniemi et al. Improved precision and recall metric for assessing generative models. NeurIPS 2019",
707
+ "Naeem et al. Reliable fidelity and diversity metrics for generative models. ICML 2020",
708
+ "Wang et al. scSemiProfiler: advancing large-scale single-cell studies through semi-profiling with deep generative models and active learning. Nat Commun 15:5989 (2024). doi:10.1038/s41467-024-50150-1"
709
+ ]
710
+ },
711
+ {
712
+ "kind": "content",
713
+ "section": "9",
714
+ "section_label": "9 Paired validation",
715
+ "text_source": {
716
+ "file": "data/sec09_extra_slide_text.json",
717
+ "index": 0
718
+ },
719
+ "title": "5 donors: realism beyond precision/coverage",
720
+ "layout": "full",
721
+ "figures": [
722
+ "figures/sec09_extra_fewpair.png"
723
+ ],
724
+ "keywords": [
725
+ "Classifier AUC: LoRA-5 best in 25/25 draws",
726
+ "E_N: LoRA-5 below scSemi-5 in 25/25 draws",
727
+ "Still separable: LoRA-5 AUC 0.89–0.95"
728
+ ],
729
+ "footnote": "E_N: scSemiProfiler's own error metric. Misses only vs calibration, e.g. Imperial E_N 1.28 vs 1.22.",
730
+ "footnote_full": "Same 5-donor draws as the previous slides; every metric on exactly the scored cells (scores_extra/, tools/extra_metrics.py). Real side for AUC and MMD² = held-out real cells of the same samples (R2), projected like the generated cells; real vs real = R2 vs R3 (AUC 0.49–0.50). Classifier AUC: 5-fold CV ROC AUC of a kNN classifier (k = 5) separating real from generated cells, 0.5 = indistinguishable; bars start at 0.5. MMD²: unbiased, Gaussian kernel, bandwidth = median distance among real cells. E_N: scSemiProfiler's normalized error (Wang et al. 2024, eq. 17–18), their code's squared L2 on all cells, per-arm PCA-100; real vs real = within-sample half split (0.07–0.38); every generated arm is above 1. LoRA-5 best of the 4 arms in 25/25 draws on kNN AUC, 25/25 on RF AUC, 25/25 on 1-NN accuracy, 23/25 on MMD², 22/25 on E_N. LoRA-5 better than scSemi-5, zero-shot and zero-shot + calibration on both AUCs, 1-NN accuracy and coverage at k = 3, 5, 10 in every draw. E_N scSemi-5 vs LoRA-5 (cohort means): ImMicro 3.65 vs 1.55; Sepsis 3.83 vs 1.46; Imperial 2.04 vs 1.28; Giroux 3.79 vs 1.99; Ji 4.27 vs 2.60; LoRA-5 lower in 25/25 draws. Draws where LoRA-5 is worse (cohort means in brackets): vs zero-shot + calibration: Sepsis precision k5 1/5 (0.778 vs 0.752), precision k10 2/5 (0.906 vs 0.899); Imperial MMD² (σ = m) 1/5 (0.0156 vs 0.0218), MMD² (σ sum) 1/5 (0.0443 vs 0.0673), E_N (all cells) 3/5 (1.28 vs 1.22), precision k3 2/5 (0.610 vs 0.598), precision k5 2/5 (0.726 vs 0.719), precision k10 2/5 (0.853 vs 0.845); Giroux MMD² (σ = m) 1/5 (0.0178 vs 0.0257), MMD² (σ sum) 1/5 (0.0584 vs 0.0838), precision k5 1/5 (0.995 vs 0.981), precision k10 1/5 (1.000 vs 0.996). LoRA-5 AUC per draw 0.88–0.97 (kNN), RF cohort means 0.90–0.96: a classifier still tells generated from real cells. Scores: scores_extra/<cohort>/fewshot_n5/draw<j>/.",
731
+ "sources": "tools/sec09_extra_metrics.py; data/sec09_extra_fewpair.csv, data/sec09_extra_quoted_numbers.csv; plans/paired_finetune_intradataset_20260927/scores_extra/ (README.md, TABLES.md)",
732
+ "numbers": [
733
+ {
734
+ "value": "LoRA-5 best of 4 arms (draws): kNN AUC 25/25, RF AUC 25/25, 1-NN 25/25, MMD² 23/25, E_N 22/25",
735
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
736
+ },
737
+ {
738
+ "value": "E_N LoRA-5 < scSemi-5 in 25/25 draws; cohort means scSemi-5 vs LoRA-5: ImMicro 3.65 vs 1.55; Sepsis 3.83 vs 1.46; Imperial 2.04 vs 1.28; Giroux 3.79 vs 1.99; Ji 4.27 vs 2.60",
739
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/en.csv (cellset all, distance sq)"
740
+ },
741
+ {
742
+ "value": "LoRA-5 kNN AUC cohort means: ImMicro 0.943, Sepsis 0.936, Imperial 0.918, Giroux 0.893, Ji 0.955; per draw 0.878–0.975",
743
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
744
+ },
745
+ {
746
+ "value": "real vs real: kNN AUC ImMicro 0.502, Sepsis 0.501, Imperial 0.498, Giroux 0.495, Ji 0.491; E_N ImMicro 0.382, Sepsis 0.100, Imperial 0.260, Giroux 0.145, Ji 0.073",
747
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
748
+ },
749
+ {
750
+ "value": "LoRA-5 worse than a comparator (draws): vs zero-shot + calibration: Sepsis precision k5 1/5 (0.778 vs 0.752), precision k10 2/5 (0.906 vs 0.899); Imperial MMD² (σ = m) 1/5 (0.0156 vs 0.0218), MMD² (σ sum) 1/5 (0.0443 vs 0.0673), E_N (all cells) 3/5 (1.28 vs 1.22), precision k3 2/5 (0.610 vs 0.598), precision k5 2/5 (0.726 vs 0.719), precision k10 2/5 (0.853 vs 0.845); Giroux MMD² (σ = m) 1/5 (0.0178 vs 0.0257), MMD² (σ sum) 1/5 (0.0584 vs 0.0838), precision k5 1/5 (0.995 vs 0.981), precision k10 1/5 (1.000 vs 0.996)",
751
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
752
+ },
753
+ {
754
+ "value": "cross-check: 720 cohort × arm × metric values equal scores_extra/{fewshot,pooled}_headline.csv",
755
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/fewshot_headline.csv; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/pooled_headline.csv"
756
+ }
757
+ ],
758
+ "refs": [
759
+ "Lopez-Paz 2017, ICLR",
760
+ "Gretton 2012, JMLR",
761
+ "Wang 2024, Nat Commun"
762
+ ],
763
+ "refs_full": [
764
+ "Lopez-Paz & Oquab. Revisiting classifier two-sample tests. ICLR 2017",
765
+ "Gretton et al. A kernel two-sample test. JMLR 13:723-773 (2012)",
766
+ "Wang et al. scSemiProfiler: advancing large-scale single-cell studies through semi-profiling with deep generative models and active learning. Nat Commun 15:5989 (2024). doi:10.1038/s41467-024-50150-1"
767
+ ]
768
+ },
769
+ {
770
+ "kind": "content",
771
+ "section": "9",
772
+ "section_label": "9 Paired validation",
773
+ "text_source": {
774
+ "file": "data/sec09_extra_slide_text.json",
775
+ "index": 2
776
+ },
777
+ "title": "5 donors: precision/coverage at k = 3, 5, 10",
778
+ "layout": "full",
779
+ "figures": [
780
+ "figures/sec09_extra_ksens.png"
781
+ ],
782
+ "keywords": [
783
+ "Smaller k lowers every set, real included",
784
+ "Coverage: LoRA-5 first at all k, 25/25",
785
+ "Precision: LoRA-5 first in 20–23/25 draws"
786
+ ],
787
+ "footnote": "5 donors, 5 draws per cohort; error bars = SD over draws. k = 10 is the value on the main slides.",
788
+ "footnote_full": "Precision and coverage recomputed with k = 3, 5, 10 nearest-neighbour balls in the scorer's PCA-50 (k = 10 reproduces the main-slide values exactly). Means over the 5 draws per cohort; error bars = SD; grey = real vs real (R1 vs R2, same samples). Both metrics fall with smaller k for every set including the real control (real coverage at k = 3: 0.92–0.99), so compare arms with the real row, not with 1. Expected coverage of a perfect generator (Naeem et al. 2020, eq. 9) at k = 3/5/10: 0.88/0.97/1.00 in every cohort. LoRA-5 first on coverage at every k in 25/25 draws; on precision in 23/21/20 of 25 draws (k = 3/5/10); not first: Sepsis 0/1/2, Imperial 2/2/2, Giroux 0/1/1 draws at k = 3/5/10, beaten by zero-shot + calibration. 5-fold pooled design (not drawn): coverage ranking of the 4 arms across k unchanged; LoRA first at every k in 5/5 cohorts. Scores: scores_extra/<cohort>/fewshot_n5/draw<j>/metrics.csv.",
789
+ "sources": "tools/sec09_extra_metrics.py; data/sec09_extra_ksens.csv; plans/paired_finetune_intradataset_20260927/scores_extra/",
790
+ "numbers": [
791
+ {
792
+ "value": "LoRA-5 first on coverage at k = 3, 5 and 10: 25/25 draws",
793
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
794
+ },
795
+ {
796
+ "value": "LoRA-5 first on precision (draws) at k = 3/5/10: 23/21/20 of 25",
797
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
798
+ },
799
+ {
800
+ "value": "real vs real coverage at k = 3: ImMicro 0.932, Sepsis 0.925, Imperial 0.919, Giroux 0.993, Ji 0.980",
801
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
802
+ },
803
+ {
804
+ "value": "every set falls with smaller k (cohort means): True",
805
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/fewshot_n5/draw<j>/{metrics,en}.csv"
806
+ }
807
+ ],
808
+ "refs": [
809
+ "Naeem 2020, ICML",
810
+ "Khayatkhoei 2023, ICML"
811
+ ],
812
+ "refs_full": [
813
+ "Naeem et al. Reliable fidelity and diversity metrics for generative models. ICML 2020",
814
+ "Khayatkhoei & AbdAlmageed. Emergent asymmetry of precision and recall for measuring fidelity and diversity of generative models in high dimensions. ICML 2023"
815
+ ]
816
+ },
817
+ {
818
+ "kind": "content",
819
+ "section": "9",
820
+ "section_label": "9 Paired validation",
821
+ "text_source": {
822
+ "file": "data/sec09_scsemi_representative_slide_text.json",
823
+ "index": 0
824
+ },
825
+ "title": "scSemiProfiler copies its representative",
826
+ "layout": "full",
827
+ "figures": [
828
+ "figures/sec09_scsemi_representative.png"
829
+ ],
830
+ "keywords": [
831
+ "scSemi-5 never beats copying its representative: 5/5",
832
+ "Its error tracks the representative's: rho 0.57–0.93",
833
+ "LoRA-5 below the copy error in 4/5 cohorts"
834
+ ],
835
+ "footnote": "Copy = composition of the one training sample scSemiProfiler assigns to each test sample.",
836
+ "sources": "plans/paired_finetune_intradataset_20260927/scsemi/tools/representative_dependence.py; tools/sec09_scsemi_representative.py; data/sec09_scsemi_representative.csv",
837
+ "footnote_full": "Same 25 five-donor draws. scSemiProfiler gives every test sample exactly one representative, the nearest training sample in its bulk PCA (assignment.json), and runs its encoder on that representative's cells. Copy = composition L1 between the test sample's and its representative's observed cells (same frozen scANVI labels as the scorer). Bars: mean over draws of the per-draw mean; dots = draws. scSemi vs copy: paired Wilcoxon over test samples (ImMicro p 1e-33, Sepsis p 0.014, Imperial p 0.91, Giroux p 0.0073, Ji p 0.46). Upstream's own representative choice (KMeans on the same bulk PCA, the sample nearest each centre; proxy, not a rerun) gives a lower copy error than our 5-donor draws in Imperial, Giroux and Ji, where our draws hold all visits of 5 donors and KMeans spreads the same number of samples over as many donors; equal or higher in ImMicro and sepsis. Copy error: ImMicro (5 samples) ours 0.19, KMeans 0.18, random samples 0.19; Sepsis (5 samples) ours 0.58, KMeans 0.61, random samples 0.58; Imperial (14 samples) ours 0.61, KMeans 0.53, random samples 0.56; Giroux (13 samples) ours 0.25, KMeans 0.16, random samples 0.23; Ji (8 samples) ours 0.57, KMeans 0.46, random samples 0.51. Source: plans/paired_finetune_intradataset_20260927/scsemi/analysis/representative_dependence_20261002/.",
838
+ "numbers": [
839
+ {
840
+ "value": "ImMicro: copy 0.187, scSemi-5 0.233 (Wilcoxon vs copy p 1e-33), LoRA-5 0.176; rho scSemi 0.57, LoRA 0.35",
841
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scsemi/analysis/representative_dependence_20261002/summary.csv"
842
+ },
843
+ {
844
+ "value": "Sepsis: copy 0.580, scSemi-5 0.612 (Wilcoxon vs copy p 0.014), LoRA-5 0.466; rho scSemi 0.88, LoRA 0.56",
845
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scsemi/analysis/representative_dependence_20261002/summary.csv"
846
+ },
847
+ {
848
+ "value": "Imperial: copy 0.608, scSemi-5 0.602 (Wilcoxon vs copy p 0.91), LoRA-5 0.503; rho scSemi 0.93, LoRA 0.55",
849
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scsemi/analysis/representative_dependence_20261002/summary.csv"
850
+ },
851
+ {
852
+ "value": "Giroux: copy 0.253, scSemi-5 0.267 (Wilcoxon vs copy p 0.0073), LoRA-5 0.258; rho scSemi 0.81, LoRA 0.08",
853
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scsemi/analysis/representative_dependence_20261002/summary.csv"
854
+ },
855
+ {
856
+ "value": "Ji: copy 0.570, scSemi-5 0.591 (Wilcoxon vs copy p 0.46), LoRA-5 0.511; rho scSemi 0.72, LoRA 0.39",
857
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scsemi/analysis/representative_dependence_20261002/summary.csv"
858
+ },
859
+ {
860
+ "value": "KMeans proxy, copy error: ImMicro (5 samples) ours 0.19, KMeans 0.18, random samples 0.19; Sepsis (5 samples) ours 0.58, KMeans 0.61, random samples 0.58; Imperial (14 samples) ours 0.61, KMeans 0.53, random samples 0.56; Giroux (13 samples) ours 0.25, KMeans 0.16, random samples 0.23; Ji (8 samples) ours 0.57, KMeans 0.46, random samples 0.51",
861
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scsemi/analysis/representative_dependence_20261002/kmeans_proxy.csv"
862
+ }
863
+ ],
864
+ "refs": [
865
+ "Wang 2024, Nat Commun"
866
+ ],
867
+ "refs_full": [
868
+ "Wang et al. scSemiProfiler: advancing large-scale single-cell studies through semi-profiling with deep generative models and active learning. Nat Commun 15:5989 (2024). doi:10.1038/s41467-024-50150-1"
869
+ ]
870
+ },
871
+ {
872
+ "kind": "content",
873
+ "section": "9",
874
+ "section_label": "9 Paired validation",
875
+ "sec09_index": 2,
876
+ "title": "5 donors: LoRA vs scSemiProfiler — disease signal",
877
+ "layout": "full",
878
+ "figures": [
879
+ "figures/sec09_fewpair_disease.png"
880
+ ],
881
+ "keywords": [
882
+ "LoRA-5 > scSemi-5: DEG 2/4, logFC r 2/4",
883
+ "Spearman or limma: broadcast ahead 3/4",
884
+ "Split-half ceiling 0.96–0.99: not limiting"
885
+ ],
886
+ "footnote": "Giroux: sex-linked genes excluded (severity confounded with sex: 4F/0M vs 0F/5M). Top-50 DEG over 5 types.",
887
+ "footnote_full": "Same draws and verdict rule as the previous slide; DEG tie = half the draws equal or mean gap < 1 gene. Rank and threshold-free checks (scores_contrast/, tools/contrast_extra.py): Spearman r of the same logFC vectors; split-half ceiling = observed cells of each scored sample split in two halves (5 seeds), r of half-A vs half-B logFC, Spearman-Brown corrected to full data (noise-free ceiling); limma-voom top-50 = edgeR TMM + voom + limma eBayes on the same donor x type pseudobulks, BH FDR < 0.05, top 50 by |logFC|; grey tick = chance overlap (hypergeometric mean) of that arm's lists. Repeated samples of one patient (Imperial, Giroux, Ji) enter both tests as separate samples, as in the scorer. Sepsis: Spearman LoRA-5 0.22 / scSemi-5 0.16 / broadcast 0.33, limma top-50 LoRA-5 16.2 / scSemi-5 11.4 / broadcast 35.4 (chance 2.2), ceiling 0.99; Imperial: Spearman LoRA-5 0.55 / scSemi-5 0.37 / broadcast 0.36, limma top-50 LoRA-5 102.0 / scSemi-5 35.2 / broadcast 59.6 (chance 3.1), ceiling 0.97; Giroux: Spearman LoRA-5 0.19 / scSemi-5 0.27 / broadcast 0.38, limma top-50 LoRA-5 0.8 / scSemi-5 1.6 / broadcast 14.8 (chance 0.5), ceiling 0.97; Ji: Spearman LoRA-5 0.29 / scSemi-5 0.09 / broadcast 0.12, limma top-50 LoRA-5 3.0 / scSemi-5 0.6 / broadcast 6.2 (chance 1.4), ceiling 0.96. Earlier slide lines: logFC r: LoRA-5 > calibrated zero-shot 4/4; Giroux: broadcast r beats all arms. logFC r = mean over T/B/Mono/NK of case-vs-control log2FC r (generated vs observed); top-50 DEG = Welch+BH overlap summed over 5 types (max 250; Giroux 1–63, Ji 75–250 per draw). Giroux test = 2 vs 2 subjects per draw. LoRA-5-better draws (verdict): vs scSemi-5 logFC r Sepsis split 3/5, Imperial lora 5/5, Giroux scSemi-5 0/5, Ji lora 5/5; DEG Sepsis lora 5/5, Imperial lora 5/5, Giroux tie 1/5, Ji tie 1/5. Vs zero-shot + calibration: logFC r Sepsis lora 4/5, Imperial lora 5/5, Giroux lora 4/5, Ji lora 5/5; DEG Sepsis lora 4/5, Imperial lora 5/5, Giroux tie 1/5, Ji tie 1/5. Vs zero-shot (real bulk): logFC r Sepsis lora 5/5, Imperial lora 5/5, Giroux split 3/5, Ji lora 5/5; DEG Sepsis lora 4/5, Imperial lora 5/5, Giroux tie 1/5, Ji tie 1/5. Broadcast = the input real bulk's own logFC. Giroux: moderate vs mild subjects are 4F/0M vs 0F/5M (scored; all paired subjects 4F/1M vs 0F/5M; sex from bulk chrY expression = sc = GEO), so its disease metrics (logFC r, partial r, top-50 DEG, broadcast) exclude 196 sex-linked genes (43 chrY non-PAR + 153 X-inactivation escape / variable-escape genes of Tukiainen et al. 2017; PAR genes kept), 65 of them scoring genes; same labels and cells as before (scores_nosex/giroux2022/). Scores: scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/.",
888
+ "sources": "tools/sec09_paired_validation.py; data/sec09_fewpair_disease.csv, data/sec09_slide_text.json",
889
+ "numbers": [
890
+ {
891
+ "value": "Giroux sex by contrast arm (subjects, F/M): scored moderate 4F/0M vs mild 0F/5M; all paired 4F/1M vs 0F/5M",
892
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/giroux2022/features.npz (sex_bulk_expr = sex_sc_expr = sex_geo); /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/giroux2022/folds.csv"
893
+ },
894
+ {
895
+ "value": "Giroux sex-linked genes excluded from the disease metrics: 196 listed (43 chrY non-PAR + 153 X escape), 65 of 5563 scoring genes",
896
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/sex_linked_genes/sex_linked_genes_exclude.csv; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/sex_linked_genes/BUILD.json; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json (gene_exclusion)"
897
+ },
898
+ {
899
+ "value": "Top-50 DEG LoRA-5 vs scSemi-5 (shared-draw means; LoRA-better / tied draws; verdict): Sepsis 16.4 vs 5.2 (5/5, 0 tied, lora); Imperial 113.6 vs 46.8 (5/5, 0 tied, lora); Giroux 0.2 vs 0.0 (1/5, 4 tied, tie); Ji 0.2 vs 0.0 (1/5, 4 tied, tie)",
900
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
901
+ },
902
+ {
903
+ "value": "Top-50 DEG LoRA-5 vs zero-shot + calibration (shared-draw means; LoRA-better / tied draws; verdict): Sepsis 16.4 vs 9.4 (4/5, 0 tied, lora); Imperial 113.6 vs 103.8 (5/5, 0 tied, lora); Giroux 0.2 vs 0.0 (1/5, 4 tied, tie); Ji 0.2 vs 0.0 (1/5, 4 tied, tie)",
904
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
905
+ },
906
+ {
907
+ "value": "Top-50 DEG LoRA-5 vs zero-shot (real bulk) (shared-draw means; LoRA-better / tied draws; verdict): Sepsis 16.4 vs 10.0 (4/5, 0 tied, lora); Imperial 113.6 vs 105.6 (5/5, 0 tied, lora); Giroux 0.2 vs 0.0 (1/5, 4 tied, tie); Ji 0.2 vs 0.0 (1/5, 4 tied, tie)",
908
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
909
+ },
910
+ {
911
+ "value": "logFC r LoRA-5 vs scSemi-5 (shared-draw means; LoRA-better draws; verdict): Sepsis 0.350 vs 0.402 (3/5, split); Imperial 0.749 vs 0.562 (5/5, lora); Giroux 0.297 vs 0.397 (0/5, other); Ji 0.333 vs 0.153 (5/5, lora)",
912
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
913
+ },
914
+ {
915
+ "value": "logFC r LoRA-5 vs zero-shot + calibration (shared-draw means; LoRA-better draws; verdict): Sepsis 0.350 vs 0.096 (4/5, lora); Imperial 0.749 vs 0.676 (5/5, lora); Giroux 0.297 vs 0.228 (4/5, lora); Ji 0.333 vs 0.140 (5/5, lora)",
916
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
917
+ },
918
+ {
919
+ "value": "logFC r LoRA-5 vs zero-shot (real bulk) (shared-draw means; LoRA-better draws; verdict): Sepsis 0.350 vs -0.024 (5/5, lora); Imperial 0.749 vs 0.638 (5/5, lora); Giroux 0.297 vs 0.255 (3/5, split); Ji 0.333 vs 0.087 (5/5, lora)",
920
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>{,_scsemi5}/summary.json and contrast.csv (Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/)"
921
+ },
922
+ {
923
+ "value": "Sepsis broadcast logFC r 0.320 vs best arm 0.402; broadcast DEG 20.0 vs best arm 16.4 (means over all draws; arms: zero-shot, zero-shot + calibration, scSemi-5, LoRA-5)",
924
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/fewshot_n5/draw<j>{,_scsemi5}/summary.json"
925
+ },
926
+ {
927
+ "value": "Imperial broadcast logFC r 0.656 vs best arm 0.749; broadcast DEG 74.8 vs best arm 113.6 (means over all draws; arms: zero-shot, zero-shot + calibration, scSemi-5, LoRA-5)",
928
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/imperial_eskd/fewshot_n5/draw<j>{,_scsemi5}/summary.json"
929
+ },
930
+ {
931
+ "value": "Giroux broadcast logFC r 0.492 vs best arm 0.397; broadcast DEG 0.0 vs best arm 0.2 (means over all draws; arms: zero-shot, zero-shot + calibration, scSemi-5, LoRA-5)",
932
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/fewshot_n5/draw<j>{,_scsemi5}/summary.json"
933
+ },
934
+ {
935
+ "value": "Ji broadcast logFC r 0.234 vs best arm 0.333; broadcast DEG 1.0 vs best arm 0.2 (means over all draws; arms: zero-shot, zero-shot + calibration, scSemi-5, LoRA-5)",
936
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ji2025_chili/fewshot_n5/draw<j>{,_scsemi5}/summary.json"
937
+ },
938
+ {
939
+ "value": "DEG maximum per draw: Sepsis 250, Imperial 250, Giroux 1–63, Ji 75–250",
940
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/fewshot_n5/draw<j>/summary.json (deg_top50_max; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex)"
941
+ },
942
+ {
943
+ "value": "Giroux test subjects per draw: 2 vs 2 (moderate vs mild); test pairs 10–12",
944
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/giroux2022/fewshot_n5/DRAWS.json (train_donors); /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/giroux2022/folds.csv (group)"
945
+ }
946
+ ],
947
+ "refs": [
948
+ "Roohani 2024, Nat Biotechnol",
949
+ "Viñas Torné 2026, Nat Biotechnol",
950
+ "Li 2026, Sci Adv",
951
+ "Law 2014, Genome Biol"
952
+ ],
953
+ "refs_full": [
954
+ "Roohani, Huang & Leskovec. Predicting transcriptional outcomes of novel multigene perturbations with GEARS. Nat Biotechnol 42:927-935 (2024). doi:10.1038/s41587-023-01905-6",
955
+ "Viñas Torné et al. Systema: a framework for evaluating genetic perturbation response prediction beyond systematic variation. Nat Biotechnol 44:1050-1059 (2026). doi:10.1038/s41587-025-02777-8",
956
+ "Li et al. A systematic comparison of single-cell perturbation response prediction models. Sci Adv 12:eaed3414 (2026). doi:10.1126/sciadv.aed3414",
957
+ "Law, Chen, Shi & Smyth. voom: precision weights unlock linear model analysis tools for RNA-seq read counts. Genome Biol 15:R29 (2014)"
958
+ ]
959
+ },
960
+ {
961
+ "kind": "content",
962
+ "section": "9",
963
+ "section_label": "9 Paired validation",
964
+ "text_source": {
965
+ "file": "data/sec09_cat_curves_slide_text.json",
966
+ "index": 0
967
+ },
968
+ "title": "Disease genes at every list length (CAT)",
969
+ "layout": "full",
970
+ "figures": [
971
+ "figures/sec09_cat_curves.png"
972
+ ],
973
+ "keywords": [
974
+ "LoRA top model: 3/4 (5 donors), 2/4 (5-fold)",
975
+ "Broadcast above LoRA: Giroux",
976
+ "Chance at k = 100: 0.012–0.016"
977
+ ],
978
+ "footnote": "Same-sign overlap of observed and generated top-k genes per cell type; no FDR cut-off.",
979
+ "sources": "tools/sec09_cat_curves.py; data/sec09_cat_curves.csv",
980
+ "refs": [
981
+ "Irizarry 2005, Nat Methods",
982
+ "Webber 2010, ACM TOIS",
983
+ "Squair 2021, Nat Commun"
984
+ ],
985
+ "refs_full": [
986
+ "Irizarry et al. Multiple-laboratory comparison of microarray platforms. Nat Methods 2:345-350 (2005). doi:10.1038/nmeth756",
987
+ "Webber, Moffat & Zobel. A similarity measure for indefinite rankings. ACM Trans Inf Syst 28(4):20 (2010). doi:10.1145/1852102.1852106",
988
+ "Squair et al. Confronting false discoveries in single-cell differential expression. Nat Commun 12:5692 (2021). doi:10.1038/s41467-021-25960-2"
989
+ ],
990
+ "footnote_full": "Correspondence at the top (Irizarry et al. 2005): per cell type, every gene tested on both sides is ranked by |limma-voom moderated t| (case vs control, same donor x type pseudobulks as the DEG panels); CAT(k) = share of the observed top-k genes that are also in the generated top-k with the same logFC sign. Mean over T / B / Mono / NK; 5 donors = mean over 5 draws (scSemiProfiler: its 25 draws); 5-fold = pooled call. Broadcast = the input real bulk ranked the same way. Chance = k / (2G), G = genes tested on both sides (0.012–0.016 at k = 100). No significance threshold, so cohorts where few genes pass FDR (Giroux, Ji) still get a curve. Rank-biased overlap (Webber et al. 2010, p = 0.98) gives the same order: scores_contrast/{fewshot,pooled}_rbo.csv. Giroux: sex-linked genes excluded. Sepsis CAT100 5 donors LoRA 0.092 / scSemi 0.037 / calibration 0.069 / raw 0.028 / broadcast 0.069 / chance 0.012; 5-fold LoRA 0.163 / broadcast 0.075; Imperial CAT100 5 donors LoRA 0.243 / scSemi 0.133 / calibration 0.198 / raw 0.179 / broadcast 0.214 / chance 0.012; 5-fold LoRA 0.270 / broadcast 0.225; Giroux CAT100 5 donors LoRA 0.048 / scSemi 0.075 / calibration 0.050 / raw 0.048 / broadcast 0.176 / chance 0.016; 5-fold LoRA 0.068 / broadcast 0.145; Ji CAT100 5 donors LoRA 0.091 / scSemi 0.030 / calibration 0.021 / raw 0.021 / broadcast 0.043 / chance 0.014; 5-fold LoRA 0.152 / broadcast 0.068.",
991
+ "numbers": [
992
+ {
993
+ "value": "Sepsis CAT100 5 donors LoRA 0.092 / scSemi 0.037 / calibration 0.069 / raw 0.028 / broadcast 0.069 / chance 0.012; 5-fold LoRA 0.163 / broadcast 0.075; Imperial CAT100 5 donors LoRA 0.243 / scSemi 0.133 / calibration 0.198 / raw 0.179 / broadcast 0.214 / chance 0.012; 5-fold LoRA 0.270 / broadcast 0.225; Giroux CAT100 5 donors LoRA 0.048 / scSemi 0.075 / calibration 0.050 / raw 0.048 / broadcast 0.176 / chance 0.016; 5-fold LoRA 0.068 / broadcast 0.145; Ji CAT100 5 donors LoRA 0.091 / scSemi 0.030 / calibration 0.021 / raw 0.021 / broadcast 0.043 / chance 0.014; 5-fold LoRA 0.152 / broadcast 0.068",
994
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_contrast/fewshot_cat.csv; /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_contrast/pooled_cat.csv"
995
+ }
996
+ ]
997
+ },
998
+ {
999
+ "kind": "content",
1000
+ "section": "9",
1001
+ "section_label": "9 Paired validation",
1002
+ "text_source": {
1003
+ "file": "data/sec09_time_to_apply_slide_text.json",
1004
+ "index": 0
1005
+ },
1006
+ "title": "5 donors: time to apply",
1007
+ "layout": "full",
1008
+ "figures": [
1009
+ "figures/sec09_time_to_apply.png"
1010
+ ],
1011
+ "keywords": [
1012
+ "LoRA-5: 3–11 min per draw, every test sample",
1013
+ "scSemiProfiler-5: 1.0–4.1 h per draw",
1014
+ "11–63× less GPU time, same 5 donors"
1015
+ ],
1016
+ "footnote": "One GB10 GPU; mean of 5 draws. Data prep and scoring not counted. PBISC pretraining (15.9 h) is done once.",
1017
+ "sources": "tools/sec09_time_to_apply.py; data/sec09_time_to_apply.csv, data/sec09_time_to_apply_runs.csv",
1018
+ "footnote_full": "Same 25 draws as the previous slides (5 cohorts x 5 draws; same 5 training donors and test samples for both methods). GPU time on one GB10, every step alone on the GPU (shared lock). LoRA-5: fine-tune = RUN.json wall_seconds of the 3,000-step LoRA; generate = wall clock of the sampling job in the queue log (model load + DDIM 50, 1,500 cells per test sample). scSemiProfiler-5 (upstream c2aea02, default budget): stage 1 + stage 2 pretraining of every representative (model receipts) + its per-target inference (5 ministages x 150 epochs, export receipt total_target_seconds). Not counted on either side: CPU data preparation, scoring, work lost to interruptions, and PBISC's one-time pretraining (15.9 h, slide 15), which every cohort reuses. scSemiProfiler time grows with the number of test samples because it trains one model per sample. Per-draw ratio scSemiProfiler / LoRA: ImMicro 15–19×; Sepsis 26–47×; Imperial 19–26×; Giroux 54–63×; Ji 11–20×.",
1019
+ "numbers": [
1020
+ {
1021
+ "value": "ImMicro: LoRA-5 8.4 min (fine-tune 1.9 + generate 6.5), scSemiProfiler-5 141 min (representatives 15 + per-sample models 126); 15–19× per draw; per test sample 4.9 s vs 83 s",
1022
+ "source": "data/sec09_time_to_apply.csv"
1023
+ },
1024
+ {
1025
+ "value": "Sepsis: LoRA-5 6.7 min (fine-tune 1.8 + generate 4.9), scSemiProfiler-5 244 min (representatives 30 + per-sample models 214); 26–47× per draw; per test sample 5.2 s vs 190 s",
1026
+ "source": "data/sec09_time_to_apply.csv"
1027
+ },
1028
+ {
1029
+ "value": "Imperial: LoRA-5 10.8 min (fine-tune 1.8 + generate 9.0), scSemiProfiler-5 229 min (representatives 32 + per-sample models 197); 19–26× per draw; per test sample 4.5 s vs 96 s",
1030
+ "source": "data/sec09_time_to_apply.csv"
1031
+ },
1032
+ {
1033
+ "value": "Giroux: LoRA-5 2.6 min (fine-tune 1.9 + generate 0.7), scSemiProfiler-5 156 min (representatives 117 + per-sample models 38); 54–63× per draw; per test sample 14.8 s vs 872 s",
1034
+ "source": "data/sec09_time_to_apply.csv"
1035
+ },
1036
+ {
1037
+ "value": "Ji: LoRA-5 3.4 min (fine-tune 1.8 + generate 1.6), scSemiProfiler-5 57 min (representatives 24 + per-sample models 33); 11–20× per draw; per test sample 8.1 s vs 137 s",
1038
+ "source": "data/sec09_time_to_apply.csv"
1039
+ }
1040
+ ],
1041
+ "refs": [
1042
+ "Wang 2024, Nat Commun"
1043
+ ],
1044
+ "refs_full": [
1045
+ "Wang et al. scSemiProfiler: advancing large-scale single-cell studies through semi-profiling with deep generative models and active learning. Nat Commun 15:5989 (2024). doi:10.1038/s41467-024-50150-1"
1046
+ ]
1047
+ },
1048
+ {
1049
+ "kind": "content",
1050
+ "section": "9",
1051
+ "section_label": "9 Paired validation",
1052
+ "sec09_index": 3,
1053
+ "title": "5-fold CV: train on the other 4 folds",
1054
+ "layout": "full",
1055
+ "figures": [
1056
+ "figures/sec09_fivefold.png"
1057
+ ],
1058
+ "keywords": [
1059
+ "LoRA tops coverage 5/5, logFC r 4/4",
1060
+ "Ji whole blood: LoRA 0.86, others 0.06–0.11",
1061
+ "Broadcast ahead: Sepsis, Giroux"
1062
+ ],
1063
+ "footnote": "Donor-level 5-fold CV. Giroux: sex-linked genes excluded (severity confounded with sex: 4F/0M vs 0F/5M).",
1064
+ "footnote_full": "Donor-level 5-fold CV; each pair scored once, by the fold model that never trained on its donor (one pooled call per cohort). LoRA r=16 on the real bulk of the other 4 folds' training donors, early stop on inner-val donors. Zero-shot = base model without fine-tuning, fed the test pair's real bulk as measured; zero-shot + calibration = the same model fed gene-wise calibrated bulk (alpha fitted on the fold's training donors); sc-only fine-tune (+ calibration) = full fine-tune on training donors' sc pseudobulk, fed calibrated bulk. Base f01 6k·1x·E16. LoRA best of 4 arms: coverage 5/5, logFC r 4/4, top-50 DEG 4/4. Broadcast = raw real bulk. Sepsis DEG from pooled_deg. Giroux: moderate vs mild subjects are 4F/0M vs 0F/5M (scored; all paired subjects 4F/1M vs 0F/5M; sex from bulk chrY expression = sc = GEO), so its disease metrics (logFC r, partial r, top-50 DEG, broadcast) exclude 196 sex-linked genes (43 chrY non-PAR + 153 X-inactivation escape / variable-escape genes of Tukiainen et al. 2017; PAR genes kept), 65 of them scoring genes; same labels and cells as before (scores_nosex/giroux2022/). Scores: scores/<cohort>/pooled/summary.json.",
1065
+ "sources": "tools/sec09_paired_validation.py; data/sec09_fivefold.csv, data/sec09_slide_text.json",
1066
+ "numbers": [
1067
+ {
1068
+ "value": "LoRA best of 4 arms: coverage 5/5, logFC r 4/4, top-50 DEG 4/4",
1069
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (Sepsis DEG: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled_deg/summary.json; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json)"
1070
+ },
1071
+ {
1072
+ "value": "Ji coverage: zero-shot 0.055, zero-shot + calibration 0.106, sc-only (+ calibration) 0.113, LoRA 0.857",
1073
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ji2025_chili/pooled/summary.json"
1074
+ },
1075
+ {
1076
+ "value": "Giroux logFC r: broadcast 0.575 vs LoRA 0.461; DEG broadcast 5 vs LoRA 5",
1077
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json"
1078
+ },
1079
+ {
1080
+ "value": "LoRA logFC r vs broadcast: Sepsis 0.527 vs 0.316, Imperial 0.819 vs 0.661, Giroux 0.461 vs 0.575, Ji 0.479 vs 0.240",
1081
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (Sepsis DEG: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled_deg/summary.json; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json)"
1082
+ },
1083
+ {
1084
+ "value": "coverage LoRA / zero-shot + calibration / zero-shot / sc-only (+ calibration): ImMicro 0.784 / 0.527 / 0.192 / 0.623, Sepsis 0.829 / 0.431 / 0.067 / 0.726, Imperial 0.850 / 0.639 / 0.112 / 0.555, Giroux 0.928 / 0.906 / 0.281 / 0.908, Ji 0.857 / 0.106 / 0.055 / 0.113",
1085
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (Sepsis DEG: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled_deg/summary.json; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json)"
1086
+ },
1087
+ {
1088
+ "value": "logFC r LoRA / zero-shot + calibration / zero-shot / sc-only (+ calibration): Sepsis 0.527 / 0.123 / -0.012 / 0.296, Imperial 0.819 / 0.679 / 0.644 / 0.808, Giroux 0.461 / 0.269 / 0.334 / 0.344, Ji 0.479 / 0.142 / 0.084 / 0.245",
1089
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (Sepsis DEG: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled_deg/summary.json; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json)"
1090
+ },
1091
+ {
1092
+ "value": "top-50 DEG LoRA / zero-shot + calibration / zero-shot / sc-only (+ calibration): Sepsis 23 / 11 / 9 / 15, Imperial 143 / 111 / 106 / 129, Giroux 5 / 0 / 1 / 0, Ji 15 / 0 / 0 / 0",
1093
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (Sepsis DEG: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/ye2026_sepsis/pooled_deg/summary.json; Giroux: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_nosex/giroux2022/pooled/summary.json)"
1094
+ },
1095
+ {
1096
+ "value": "Pooled n (pairs / donors): ImMicro 107/107, Sepsis 82/82, Imperial 157/57, Giroux 24/9, Ji 33/20",
1097
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores/<cohort>/pooled/summary.json (n_donors); /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/<cohort>/fewshot_n5/DRAWS.json"
1098
+ },
1099
+ {
1100
+ "value": "early stopping: About 10 % of each fold's training donors are inner-validation, used only for early stopping",
1101
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/README.md"
1102
+ }
1103
+ ],
1104
+ "refs": [
1105
+ "Viñas Torné 2026, Nat Biotechnol",
1106
+ "Li 2026, Sci Adv",
1107
+ "Law 2014, Genome Biol"
1108
+ ],
1109
+ "refs_full": [
1110
+ "Viñas Torné et al. Systema: a framework for evaluating genetic perturbation response prediction beyond systematic variation. Nat Biotechnol 44:1050-1059 (2026). doi:10.1038/s41587-025-02777-8",
1111
+ "Li et al. A systematic comparison of single-cell perturbation response prediction models. Sci Adv 12:eaed3414 (2026). doi:10.1126/sciadv.aed3414",
1112
+ "Law, Chen, Shi & Smyth. voom: precision weights unlock linear model analysis tools for RNA-seq read counts. Genome Biol 15:R29 (2014)"
1113
+ ]
1114
+ },
1115
+ {
1116
+ "kind": "content",
1117
+ "section": "9",
1118
+ "section_label": "9 Paired validation",
1119
+ "text_source": {
1120
+ "file": "data/sec09_extra_slide_text.json",
1121
+ "index": 1
1122
+ },
1123
+ "title": "5-fold: realism beyond precision/coverage",
1124
+ "layout": "full",
1125
+ "figures": [
1126
+ "figures/sec09_extra_fivefold.png"
1127
+ ],
1128
+ "keywords": [
1129
+ "Every metric: LoRA first in 5/5 cohorts",
1130
+ "Ji whole blood: E_N 1.9 vs 7.1–10.1",
1131
+ "Still separable: LoRA AUC 0.87–0.94"
1132
+ ],
1133
+ "footnote": "Donor-level 5-fold CV, one pooled call per cohort. E_N: scSemiProfiler's own error metric.",
1134
+ "footnote_full": "Donor-level 5-fold CV; each pair scored once by the fold model that never trained on its donor (one pooled call per cohort, all cross-fitted pairs). Arms as on the 5-fold slide. Metric definitions as on the 5-donor realism slide. LoRA first among the 4 arms in all 5 cohorts on 12/12 headline metrics (kNN and RF AUC, 1-NN accuracy, MMD² at σ = m and summed, E_N all cells, precision and coverage at k = 3, 5, 10). LoRA kNN AUC ImMicro 0.941, Sepsis 0.886, Imperial 0.866, Giroux 0.881, Ji 0.908; real vs real ImMicro 0.505, Sepsis 0.506, Imperial 0.496, Giroux 0.501, Ji 0.494. E_N LoRA vs other arms: ImMicro 1.56 vs 1.77–4.83; Sepsis 1.20 vs 1.40–5.29; Imperial 1.13 vs 1.19–4.05; Giroux 1.70 vs 2.24–4.48; Ji 1.95 vs 7.08–10.13. scSemiProfiler 5-fold CV not available yet (no extra-metric unit with set scsemi__raw). Scores: scores_extra/<cohort>/pooled/.",
1135
+ "sources": "tools/sec09_extra_metrics.py; data/sec09_extra_fivefold.csv, data/sec09_extra_scsemi_status.csv; plans/paired_finetune_intradataset_20260927/scores_extra/",
1136
+ "numbers": [
1137
+ {
1138
+ "value": "LoRA first among 4 arms in all 5 cohorts on 12/12 metrics",
1139
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/pooled/{metrics,en}.csv"
1140
+ },
1141
+ {
1142
+ "value": "Ji E_N: LoRA 1.948; Zero-shot, real bulk 10.125, Zero-shot + calibration 7.076, sc-only fine-tune (+ calibration) 7.215",
1143
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/pooled/{metrics,en}.csv"
1144
+ },
1145
+ {
1146
+ "value": "LoRA kNN AUC (pooled): ImMicro 0.941, Sepsis 0.886, Imperial 0.866, Giroux 0.881, Ji 0.908",
1147
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scores_extra/<cohort>/pooled/{metrics,en}.csv"
1148
+ },
1149
+ {
1150
+ "value": "scSemiProfiler, 5-fold CV: not available",
1151
+ "source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/presentations/2026-09-30--paper-summary--r00/data/sec09_extra_scsemi_status.csv"
1152
+ }
1153
+ ],
1154
+ "refs": [
1155
+ "Lopez-Paz 2017, ICLR",
1156
+ "Gretton 2012, JMLR"
1157
+ ],
1158
+ "refs_full": [
1159
+ "Lopez-Paz & Oquab. Revisiting classifier two-sample tests. ICLR 2017",
1160
+ "Gretton et al. A kernel two-sample test. JMLR 13:723-773 (2012)"
1161
+ ]
1162
+ },
1163
+ {
1164
+ "kind": "content",
1165
+ "section": "10",
1166
+ "section_label": "10 Paired-subset cohorts",
1167
+ "title": "Next: cohorts with a paired subset (planned)",
1168
+ "layout": "figure_keywords",
1169
+ "figures": [
1170
+ "figures/sec10_paired_subset_cohorts.png"
1171
+ ],
1172
+ "keywords": [
1173
+ "Train LoRA on pairs, generate bulk-only",
1174
+ "Sepsis controls: 21 paired + 54 bulk-only",
1175
+ "ChILI pre-ICI: 11 bulk, 4 unpaired sc"
1176
+ ],
1177
+ "footnote": "Counts from pairing manifests. Model: f01 6k 1x E16 + LoRA r16.",
1178
+ "say": "Planned: no LoRA cells exist yet for any bulk-only sample. Ji bulk is PAXgene whole blood. Only 7 of the Arunachalam pairs are strict same-visit pairs. Asan is omitted because it has no donor map.",
1179
+ "sources": "tools/sec10_paired_subset_cohorts.py; data/sec10_cohort_counts.csv, data/sec10_bulk_only_groups.csv, data/sec10_quoted_numbers.csv",
1180
+ "footnote_full": "Counts from pairing manifests. QC = identity check (Imperial also >=200 cells); sex-flag = bulk sex differs from metadata or is ambiguous. Not shown: Asan (no donor map), Giroux (24 pairs, 17 bulk-only; broadcast beats LoRA). Model: f01 6k 1x E16 + LoRA r16."
1181
+ }
1182
+ ]
1183
+ }