CTG Agent Challenge (ICASSP 2027 GC-9) β Week 14 consolidation run
Full results of the week-14 consolidation notebook (ctg-gc9-week14-consolidation.ipynb): executed notebook, summaries, result files, figures, paper tables, trained models and the self-contained inference package.
Run
| Mode | FULL (CTG_SMOKE=0), every stage recomputed from scratch (no earlier outputs restored) |
| Hardware | Google Cloud n1-standard-8 (8 vCPU, 30 GB RAM) + 1 Γ NVIDIA T4 16 GB |
| Software | Python 3.10, torch 2.9.1+cu129, numpy 2.2.6, scipy 1.15.3, scikit-learn 1.7.2, PyWavelets 1.8.0 |
| Wall time | 19.6 h (2026-11-27 13:37 β 2026-11-28 09:16 UTC), 143 stages, no failed cell, no retry |
| Data | wenlizeng/ctg-agent-fetal-assessment-baseline (downloaded by stage s01; not included here) |
| Holdout | locked; opened once for S8 only |
Only environment differences from the Kaggle setup: /kaggle/{tmp,working,input} are local directories and CTG_DEADLINE_H=72 instead of 11.25 (one T4 instead of Kaggle's session limit). The notebook code is unchanged.
The package stage (s51) and the summaries (s52, s53, s58) were rerun afterwards on a CPU machine because the first S12 check compared paths through a symlink (/kaggle β /data/kaggle) and reported self_contained = False; with /kaggle as a real path S12 passes. The dry-run timings in s51_package.json are therefore CPU timings. executed_run1_gpu.ipynb is the original GPU execution; executed.ipynb is the re-execution after the fix (all stages restored from cache).
Pre-registered gates
| gate | question | passed |
|---|---|---|
| S3 | T1 errors concentrated, selective policy viable | None |
| S6 (weeks 3-5) | learned g beats p_far | False |
| S6 (programme) | learned or ensemble score beats AutoFHR dispersion | True |
| S6 flow matching | flow matching dominates the ensemble at β€ 3Γ cost | False |
| S8 out of fold | g beats p_far on β₯ 4/5 folds | False |
| S8 holdout | frozen policy reduces big errors β₯ 30 % at 90/80 % coverage, calibrated, β₯ 4/5 replicates | True (5/5) |
| S10 | Shapley robust and propagation stable | True |
| C1 (bin-centre intervals) | recalibrated coverage within Β±0.02 | False (measurement error) |
| C1 v2 (interpolated quantiles) | same criterion, corrected measurement | True |
| P3 | record-calibrated, event-aware policy eligible | True |
| CC | cascade C beats A + uncertainty summaries | False |
| SC | no quality/acquisition shortcut behind the uncertainty signal | True (narrow margin) |
| FP | fingerprint detects exact overlaps | True |
| S12 | self-contained, offline, deterministic package | True |
Key results
- T1 (FHR from Doppler): 5-seed TCN ensemble RMSE 4.74 bpm, MAE 2.14, |e| > 10 bpm 2.9 % versus AutoFHR 8.62 / 4.38 / 8.4 %.
- Selective policy, locked holdout (426 records): 5/5 replicates pass; at 80 % coverage the big-error rate falls to ~6 % of estimating everywhere; selective risk ~0.47 % (target β€ 0.75 %) at ~84 % coverage.
- Calibration: 5-seed ensemble with isotonic PIT recalibration, max coverage deviation 0.015 (C1 v2).
- T4: AUROC 0.936 out of fold (B0+U), 0.91β0.93 on the holdout.
- T3: AUROC 0.836 (GBM + deep average).
- Article 1: reconstruction explains R share 0.776 [0.723, 0.832] of the chain loss; a 120-s gap during a deceleration costs Evidence F1 β0.172 versus β0.008 away from it.
- Negative results: learned residual risk, flow matching, cascade C and the sharp-target ensemble do not beat the distributional TCN output
p_far. - Shortcut control: uncertainty adds +0.0031 [0.0008, 0.0057] AUROC beyond reference physiology (threshold 0.005 on the upper bound) and nothing significant once reference missingness is included; present it as an empirical marker.
See ctg_runs/SUMMARY_FINAL.md for the corrected interpretations and open risks.
Contents
| path | content |
|---|---|
executed.ipynb |
notebook re-executed after the S12 fix, with all outputs |
executed_run1_gpu.ipynb |
original GPU execution |
ctg-gc9-week14-consolidation.ipynb, run_ctg.sh |
source notebook and launch script |
ctg_runs/SUMMARY_*.md |
summaries for weeks 3-5, 6-10, 11-13 and the final consolidated summary |
ctg_runs/results/ |
per-stage JSON/CSV results |
ctg_runs/paper/ |
paper tables (CSV), figures and reproducibility manifest |
ctg_runs/figures/ |
figures |
ctg_runs/models/ |
trained models (all folds and seeds) |
ctg_runs/package/, ctg_runs/ctg_package.tar.gz |
self-contained inference package (python -I predict.py --input <dir> --output <dir>), Dockerfile and build_and_test.sh |
ctg_runs/logs/, ctg_runs/state/ |
stage logs and completion markers |
ctg_runs/submission_template/ |
validation submission template (the validation phase opens on 1 January 2027) |
ctg_cache/ |
exported cache (derived signals, folds, out-of-fold predictions) used to resume without recomputing |
Rerunning
This repository contains everything the notebook needs to resume: ctg_runs/ (results, models, completion markers) and ctg_cache/ (the exported cache, 127 files, 11.4 GB).
- Download the repository, e.g.
hf download saar-lab/ctg-gc9-week14 --local-dir ctg_prev. - Point the restore stage at it:
export CTG_RESTORE_FROM=$PWD/ctg_prev(on Kaggle, attaching the folder under/kaggle/inputworks too). - Run the notebook with the same environment variables as
run_ctg.sh. Stage s00 copies the cache and run files back; completed stages are skipped. Stage s01 still downloads the raw data from the baseline repository.
Without the restore every stage is recomputed (~20 h on one T4). To rerun a single stage: PYTHONPATH=/kaggle/tmp/ctg_code python -m ctglib.cli <stage> --force.
Limitations
- No patient-level (N3) independence exists for GC-9; T3 independence holds for exact duplicates only.
- Policy v3 and competition choices are validated out of fold only.
- Generalisation to other sites or devices is unproven; the official output schema is unknown until the validation phase.