Methods
How it works, and how we check it
The main ideas, each with a picture. The numbers come from public fish retinal organoid data unless a section says otherwise.
Reading the numbers: ROC-AUC measures how well a model tells two outcomes apart. 0.5 is a coin flip, 1.0 is perfect.
01Prediction
From images to a call
Simple, well-understood models. Nothing is added to or changed in the images.
- ImagesThe brightfield pictures you already take, up to the decision time only
- Find each organoidOutlined automatically in every image
- Measure it17 shape, brightness and texture measures, and how they change over time
- Simple modelLogistic regression or gradient boosting, chosen on training data
- A callLikely fails, likely succeeds, or uncertain
Features from a general image model (DINOv2-small, used as it is) are tested as an extra input; the training data decides whether to use them.
02Testing
Every experiment is predicted by a model that never saw it
The data has 11 experiments. In each round, one is set aside and the model is built from the other ten. It then predicts the one it never saw. Eleven rounds, so every experiment gets predicted once.
- Builds the model
- Held out, then predicted
Every choice, including which model and which alert threshold, is made without the held-out experiment. Tests in the code fail if it leaks in.
After these results, the code and settings were fingerprinted and locked before any new data. Any change must be logged, or the code refuses to run.
Confidence intervals come from resampling whole experiments, not single organoids.
In a pilot, your report works the same way: one of your experiments (or batches) is held out at a time.
03Trust check
Could the model be right for the wrong reason?
A model can look accurate by spotting something that has nothing to do with biology. So before any accuracy is reported, separate tests try to predict the outcome from each of these alone:
- File detailsSize, bit depth, acquisition settings
- BackgroundThe empty area around the organoid, and the image border
- First imageTaken before development could show anything
- Plate, well, sessionOr treatment, experiment, cell line
- Whole groups held outDoes accuracy survive a plate or session it never saw?
If any of these predict the outcome, the accuracy is not real, and the report says so at the top.
✕ Failed A real example: V3Cell, human amniotic-sac organoids, 48 hours
Run exactly as preregistered, the forecast looked excellent from the very first frame: ROC-AUC 0.95 for “stable cavity” and 0.96 for “any cavity”. Source: organoid-qc, results/prereg/V3CELL.md
Then the trust check (the later rerun, outcome “any cavity”, simple image descriptor) predicted the outcome from things unrelated to biology. They should sit near 0.5:
Background alone
Image border alone
The very first image
Dashed line: chance (0.5). Source: organoid-qc, results/trust/v3cell_any_cavity.md
For “stable cavity”, the same rerun found weaker shortcuts (background 0.70, border 0.61, first image 0.75), but accuracy fell from 0.75 to 0.50 when clusters of similar-looking images were held out. Source: organoid-qc, results/trust/v3cell_stable_cavity.md
The original exploratory diagnostics, using the DINOv2 image model on the first frame, found the background alone reached 0.90 for “any cavity” and 0.75 for “stable cavity”. Source: organoid-qc, results/prereg/v3cell_diagnostics/DIAGNOSTICS.md
The groups were most likely imaged under different conditions, and plate, session and treatment were not recorded, so we do not count this dataset as evidence.
The fish retinal data passes only “with caution”: no shortcut was found, but the experiment alone predicts RPE (0.75), and some checks could not run because the images were already masked and plate, session and treatment were not recorded. This is why a pilot asks for those fields.
04Uncertainty
It can say “I don’t know”
Each organoid gets one of three calls. A call is made only when the data rules the other outcome out with 90% confidence.
At 12 hours, on experiments the model never saw (RPE):
91% of calls allowed the real outcome, against a 90% target
32% of organoids were called uncertain
87% right when it did commit to a call
Before 12 hours it calls most organoids uncertain, and the few calls it makes are flagged as unreliable. The software marks any decision time where committed calls were right less than 70% of the time. Dashed line: the 90% target.
05Segmentation
Finding organoids in raw images
Each organoid has to be outlined before it can be measured. The default method uses classic image processing, with no trained model, and flags any outline it is unsure about. Crowded fields switch to a model we trained ourselves.
0.956 overlap with experts’ outlines, human cerebral organoids from two labs
0.946 on cerebral organoids from another study
84–92% of organoids found in crowded intestinal and pancreatic fields
78% found when the mode is picked automatically, below our 80% target
Overlap is the median Dice score, where 1.0 is a perfect match, on images never used while building the method. Weak spots: day-2 brain organoids in a halo of loose cells (mostly flagged) and mouse intestinal fields at 4x. It could not be tested on the retinal data, which was published already outlined.
06Limits
What has not been shown yet
- One organoid type. All outcome results are fish retinal organoids from one lab.
- Human organoids. No human outcome forecast has held up yet.
- Weeks ahead. The longest horizon tested is about 72 hours.
- Raw images. The retinal images were already outlined by their authors.
- Live decisions. Everything so far looks back at finished experiments.
- Other microscopes. Simulated blur or rescaling cost about 0.06 ROC-AUC.