Manuscript Offprint
arXiv:2611.05851Risk Control Certifies Rates, Not Magnitudes: An Audit of Selective Fetal Biometry
Zhengshuai Yang¹, Linna Jiang¹, Changyun Li¹,*, and Guihu Zhao²,★
¹ College of Information and Intelligent Science and Technology, Hunan Agricultural University, Changsha 410128, China yhvguk@stu.hunau.edu.cn, 362330193@qq.com
² National Clinical Research Center for Geriatric Disorders, Xiangya Hospital, Central South University, Changsha 410008, China ghzhao@csu.edu.cn
Abstract. Prenatal ultrasound biometry must return a head circumference (HC) and refuse when the image cannot support one. Selective prediction trades coverage against error, but its finite-sample guarantees bound the rate of gross errors, not their magnitude. We audit a tool-grounded biometry pipeline on two separately pre-registered four-way splits of the 999 labelled HC18 images, retraining the segmenter three times on each. Calibrating the contour-completeness threshold by exact Clopper–Pearson risk control returns a certificate indistinguishable from a hand-set floor, yet the pipeline still emits a 271.3 mm error: a small, geometrically complete ring fitted to an image whose true HC is 324.6 mm. The accepted candidate scores 0.94 completeness, so the score cannot see the failure, and one outlier among ≈150 answers leaves the certified risk bound () intact. A second, untouched split reproduces the mechanism on a different image (233.3 mm). Constraining the admissibility region—the anatomical range in which the measurand is defined—removes the family instead: raising the lower bound from 50 to 55 mm costs 0.4 coverage points and cuts the worst-case error on both splits to 11.4 and 11.1 mm, whereas suppressing it through the completeness threshold costs 19.0 and 12.1 points. At an anatomically defined 70 mm the frozen tests give 1.91 and 1.81 mm MAE.
Keywords: selective prediction · distribution-free risk control · fetal ultrasound biometry · head circumference · failure-mode audit.
1 Introduction
An assistant that reports fetal head circumference (HC) from ultrasound must return a physically scaled measurement and refuse when the image cannot support one. HC, a routine indicator of fetal growth, can be estimated from a skull contour and the pixel spacing [11]; inside a vision-language model (VLM) the harder question is not how to compute the value but when it can be trusted.
- Corresponding authors.
Z. Yang et al.
Producing a reliable numeric measurement and deciding whether to trust it are distinct challenges that expose the limitations of current VLMs. A general end-to-end VLM often struggles with precise geometric biometry; it may omit a measurement, hallucinate a scale from pure visual features, or blindly accept an incorrect external observation. Conversely, a purely geometric tool lacks semantic understanding and can return a mathematically plausible ellipse fitted to the wrong anatomical structure. Consequently, evaluating only measurement error on a selected high-quality subset does not establish reliable biometry across a full clinical cohort.
We study PUMA (Prenatal Ultrasound Multimodal Assistant), a tool-grounded VQA system that separates geometric computation, candidate selection, and anatomical verification into auditable steps. PUMA computes the measurement before generating an answer: a contour segmenter and an ellipse-fitting tool compute HC in millimetres, a completeness gate filters partial candidates, additional views are considered if the initial view fails, and the VLM verifies the accepted observation or abstains. This design exposes an interpretable selection signal, allowing us to evaluate measurement error and the proportion of answered questions—and, as we show, to measure how far a calibrated selection rule can actually be trusted.
In summary, our main contributions are: 1) We audit PUMA, a tool-grounded biometry pipeline, on a curated prenatal benchmark (Sections 3 and 6.1): against 1/96 HC answers for a direct VLM, the delivered configuration answers 66/96 at 1.76 mm MAE, and the paired benchmark with an ablation shows that the geometric gate, not the language model, is the decisive component. 2) Across two pre-registered four-way splits with three retrained seeds each, exact Clopper–Pearson calibration of the completeness threshold is indistinguishable from a hand-set floor—and remains compatible with a 271.3 mm error, because at a single outlier barely moves a gross-error rate (Section 6.3). 3) We show that calibrating the anatomical admissibility region, rather than the score threshold, removes this family for 0.4 coverage points instead of 19, and confirm it with one-shot frozen-test evaluations on both splits (Section 6.3).
Medical VQA and tools. VQA-RAD, SLAKE and PMC-VQA support biomedical question answering [12,15,22] and multimodal assistants [14,16]. Retrieval supplies textual context [13]; biometry additionally requires geometry and scale. Unlike model-directed tool invocation [17,19], PUMA measures before generating and then requests verification.
Selective prediction. Reject-option methods trade answer coverage against error [6,8,9]. Calibration [10] and distribution-free risk control [1,2] formalise this tradeoff; we apply exact Clopper–Pearson bounds on a reserved calibration split.
3 Data: Curation and Split Audit
The catalogue holds 98,607 records across ten adapters, from HC18 (999 labelled images), FETAL_PLANES_DB, PMC-VQA, SLAKE, VQA-RAD and three obstetric text archives; MedDialog (17,152) is quarantined because its reuse terms are unverified. Connected groups link records by patient, examination or article identifiers, exact image hashes and normalised-text duplicates, and official test assignments take precedence. Only 126 native prenatal questions survive domain screening, and 82 PMC-VQA figures pass a caption rule requiring ultrasound terminology and prenatal context. HC18 has no patient identifiers, so its isolation is image-level.
4 Method
4.1 Answer Contract and Strategies
The benchmark shares one served generator (qwen3.8-flash, snapshot 2026-09-02), temperature 0, a 1,200-token budget and a 240s timeout. Protocol puma-v1.4 returns answer, abstained, limitations and evidence_ids: a short label, at most ten words, or a value in mm, with qualifications separate. The original benchmark counts empty successful responses as abstentions; later logs distinguish failed generation from refusal.
direct_vqa uses image and question; rag_vqa adds retrieval context; staged_agent allocates budgeted time to observation, answering, and verification; tool_vqa adds measurement and requests anatomical verification.
4.2 Deterministic Biometry Tool
The measurement pipeline in Fig. 1 separates contour estimation, physical conversion, and candidate selection before the VLM receives an observation. By isolating these steps, PUMA provides an auditable numeric measurement rather than relying on the VLM to estimate geometry.
Segmentation. To ground the final answer in physical pixels, a DeepLabV3-ResNet50 model [5] predicts skull contours. Images are non-uniformly resized to pixels, and predictions are mapped back to source coordinates. The network is trained on 736 HC18 images with physician masks using BCE plus Dice loss. The delivered v2 recipe further adds shadow-sector occlusion and boundary-band BCE to improve robustness on poor-quality scans. Any numeric answer therefore originates from a concrete image region rather than a VLM estimate.
Z. Yang et al.

Fig. 1. Measurement runs before VLM generation. The original end-to-end runs use mm; offline audits and the second-family run also examine mm. The VLM may accept the observation or abstain.
Geometric Conversion. Converting a raw pixel contour to a continuous circumference measurement requires geometric fitting. After morphological closing, connected-component rims are fitted using a direct least-squares conic method [7]. The HC is computed as the Ramanujan ellipse perimeter multiplied by the DICOM pixel spacing. We also define contour completeness as the fraction of 16 angular bins around the fitted centre that are occupied by rim pixels. By computing this deterministic geometric metric, the system can interpret the quality of the observation independently of the VLM's semantic understanding.
Completeness Gate and Additional Views. A VLM might blindly accept a mathematically plausible but anatomically incorrect ellipse (e.g., fitted to a small artifact). To prevent this, a geometric gate filters candidates before VLM verification. A candidate is eligible only if its completeness and its HC lies in mm (the original runs use and mm). If the initial view yields no eligible component, the tool acts on four shifted and two zoomed views, reversing the zoom scale on the output perimeter. This hard gate prevents the VLM from answering when no valid contour exists, thereby lowering the risk of gross errors.
Structured Observations. Finally, the tool exports an observation state (measured, abstained, error, or unavailable) to the VLM. On accepted HC answers, the VLM copies the reported value exactly. This structured handoff reduces the VLM's role to verifying whether the proposed measurement semantically aligns with the question; the value is passed through rather than estimated.
5 Experimental Setup
The development benchmark has 200 validation questions over 163 groups: 97 plane, 96 HC and seven native prenatal questions, selected by stratified group round-robin. Brain sub-planes were excluded after a pilot. Interleaved strategies produced 800 answers without call errors; two retrieval usage-censored rows are excluded from the table.
We report exact match and token-F1 with group-bootstrap 95% CIs. MAE and median absolute error use returned measurements; answer rate uses all ques-
Table 1. Plane accuracy and HC metrics are conditional on answered questions; tokens are run totals in thousands and latency the run-record mean. Only the first four rows share one run, so only those support the paired tests; the delivered run holds the tool arm alone and its plane accuracy is unpaired. *HC biometry only. Offline replay of the same candidates with the L=50 mm floor gives 66 answers at 1.78 mm, so the language model adds no measurement.
| Strategy | Plane QA (n=97) | HC Biometry (n=96) | Tok. (k) | Lat. (s) | ||||
|---|---|---|---|---|---|---|---|---|
| Ans. | Acc. | Ans. | MAE | Med. | >7 mm | |||
| Paired benchmark: one interleaved four-arm run (89d79bf1) | ||||||||
| Direct | 88 | .841 | 1 | 41.0 | 41.0 | 1 | 290 | 9.3 |
| Retrieval | 92 | .880 | 9 | 12.7 | 13.3 | 6 | 432 | 17.9 |
| Staged | 77 | .766 | 0 | — | — | 0 | 1,424 | 43.0 |
| Tool VQA | 93 | .871 | 71 | 6.50 | 2.30 | 16 | 373 | 14.8 |
| Delivered run (98364160), tool arm only, not paired with the block above | ||||||||
| Tool VQA + floor* | 93 | .914 | 66 | 1.76 | 1.19 | 1 | 318 | 13.0 |
| Deterministic replay of the same stored candidates (no language model) | ||||||||
| Tool+Gate, L=25 mm | — | — | 67 | 5.74 | 1.19 | 2 | 0 | 1.2 |
| Tool+Gate, L=50 mm | — | — | 66 | 1.78 | 1.18 | 1 | 0 | 1.2 |
tions. Gross HC error means absolute error ≥ 7 mm, with rate among returned readings. The 2 mm hit threshold and ±2% rule are engineering criteria, not clinical tolerances.
A rebuilt three-judge panel reproduces 54/66 numeric acceptances (81.8%). Across 80 audited non-numeric responses, acceptance is 18/80 (22.5%) and Fleiss .
6 Results
6.1 Paired Strategy Benchmark
Tool grounding is what makes HC answers possible, and the corrected floor is what makes them accurate (Table 1). On 97 plane questions it holds 87.1% accuracy among 93 answered, matching retrieval's 88.0%. On the 96 HC questions the direct VLM abstains on 95/96 (its single attempt off by 41.0 mm) and retrieval answers nine at 12.7 mm MAE, whereas tool grounding answers 71 at 6.50 mm; the delivered run with the corrected floor answers 66 at 1.76 mm with one gross error.
Evaluating the deterministic tool without VLM verification yields 67 answers at 5.74 mm MAE because of one degenerate 28.1 mm ring; adding the 50 mm floor gives 66 answers at 1.78 mm, matching the delivered run's 66 at 1.76 mm. Within this benchmark the language model therefore changes nothing that the geometric gate does not already change—an ablation we revisit in Section 6.3.
Z. Yang et al.
Table 2. Frozen-test evaluation on two pre-registered splits, throughout, mean sd over three retrained seeds; worst case is the largest absolute error in the split. The second split was registered after the first failure was identified, so it is a confirmatory replication.
| Split / floor | Cov. | MAE (mm) | Gross ( mm) | Worst case (mm) | |
|---|---|---|---|---|---|
| Split 1, frozen test () | |||||
| mm | .722 | 112.7 | 2.39% | 271.3 | |
| mm | .718 | 112.0 | 1.82% | 11.4 | |
| Split 2, frozen test () | |||||
| mm | .750 | 114.0 | 1.41% | 233.3 | |
| mm | .748 | 113.7 | 1.10% | 11.1 | |
A second served family (gpt-6, snapshot 2026-09-12) reproduces the pattern: 64 HC readings at 1.80 mm MAE, with 14% abstention against 43%; 26 of 400 calls fail and are excluded.
6.2 Completeness Gating and Additional Views
With v2 weights, free VLM checking answers 77/96 at 6.49 mm MAE with 22 gross errors; gating gives 48 at 1.80 mm with one and the six-view fallback 66 at 1.76 mm with one. Fourteen of sixteen v1 gross errors involve incomplete contours (–), while the VLM rejects one high-completeness false contour worth 266.6 mm. These runs use the original 25 mm floor.
6.3 Admissibility Audit on Two Pre-Registered Splits
A whole-cohort replay already shows which family the pipeline fails on: among 999 labelled images, 45 readings below 50 mm with completeness account for 44 of 53 gross errors. We therefore audit twice whether raising the floor removes them under a clean, one-shot evaluation. Each four-way partition fixes a ratio (train/model selection/calibration/frozen test): calibration sets are (split 1) and (split 2). To prevent data leakage, split 2 was pre-registered with candidate floors mm fixed before its frozen test was evaluated. We evaluate using exact Clopper–Pearson binomial bounds with Bonferroni grid correction rather than asymptotic bounds, because at Hoeffding is excessively conservative ( yields 0.105 vs exact 0.022).
A reproducible failure mode. At the pipeline emits one error two orders of magnitude larger than the median in both splits, from two different images (Fig. 2): 977_HC.png (gold 324.6 mm, reported 53 mm; error 271.3 mm) and 945_HC.png (gold 284.9 mm, reported 52 mm; error 233.3 mm). Across the six retrained models the accepted candidates for these two images are reported at 51.6–54.9 mm with completeness 0.75–0.94, so a gate built on admits them and the 50 mm floor sits just below their band.

Fig. 2. The two failures that passed the completeness gate. Green: physician annotation; red dashed: the accepted conic fit, magnified in the inset. Left (split 1): 977_HC.png, gold 324.6 mm, fit 53.3 mm at c=0.75, error 271.3 mm. Right (split 2): 945_HC.png, gold 284.9 mm, fit 51.7 mm at c=0.88, error 233.3 mm. Both fits sit on the bright specular arc at the skull boundary, which is smooth and therefore scores high completeness.
Risk control certifies rates, not magnitudes. Calibrating by exact Clopper–Pearson bounds at returns on split 1, below the hand-set 0.70; the calibrated and fixed operating points are then identical to the reported precision in two of three seeds, and MAE moves from 3.51 to 3.53 mm. On split 2 the same procedure selects in all three seeds, and all six calibration partitions certify it at (upper bounds 0.070–0.097)—including the two that already contain an error above 250 mm. The frozen test then still returns the 233.3 mm error. The certificate is not wrong: with answers, a single gross error leaves the upper bound on the gross-error rate below 10%. The guarantee constrains how often the pipeline is wrong, not how badly, so a certified operating point can still be catastrophically wrong once.
Constraining the admissibility region. Because this failure is defined by where the measurement is physically possible, the effective parameter is the admissibility region mm—the anatomical range in which the measurand is defined—not the score threshold. Raising from 50 to 55 mm costs 0.4 coverage points and reduces the worst-case error from 271.3 to 11.4 mm on split 1 and from 233.3 to 11.1 mm on split 2. Suppressing the same three errors through instead requires , the extreme of the score range, and costs 19.0 coverage points on the split-1 frozen tests and 12.1 on split 2. With the anatomically defined mm—below the range in which the trans-thalamic plane is used—the split-2 calibration partitions certify at for all three seeds (upper bounds 0.099, 0.057, 0.085) and the frozen tests give mm and mm MAE at 69.4% and 73.9% coverage.
6.4 Secondary Checks
Secondary checks. The segmenter reaches a mask-level contour MAE of 9.49 mm (median 3.03 mm) on the validation partition, against 10.31 mm for the v1 recipe;
Z. Yang et al.
these are training-diagnostic errors, and the end-to-end biometry MAE above is the system's operating performance. For context, human inter-observer difference on HC18 averages 2–3% (≈2–5 mm across gestations) [18,11], placing the delivered 1.76 mm MAE within expert variability while masking catastrophic gross failures. Forced to answer, the second family returns 31 numeric readings on the 96 HC questions at 4.18 mm MAE with six gross errors (19.4%); on 200 external plane questions 167 calls return at exact match 0.72 without abstaining.
7 Discussion and Limitations
What the audit establishes. The main result concerns the shape of the guarantee rather than the pipeline: selecting on a score with finite-sample risk control bounds how often the system is grossly wrong, not how badly. At the sample sizes a calibration partition affords, an operating point can be certified at and still return a 233 mm error, and threshold calibration cannot remove that possibility, because the offending candidate is geometrically complete. Against a direct VLM, tool grounding is what makes millimetre answers possible at all, and the geometric gate rather than the language model suppresses degenerate candidates.
Practical consequence. The parameter that matters is the admissibility region—the range in which the measurand is physically defined—and it should come from anatomy rather than from tuning. Here the admissibility bound removes the failure family for 0.4 coverage points, while the score threshold needs 0.94 and roughly twenty times as many. Such bounds are cheap to state and transfer to any target whose plausible size is known in advance; score thresholds are not.
Limitations. HC18 carries no patient identifier, so both splits are image-level and cannot exclude perceptual near-duplicates. The second split was registered after the failure was identified on the first, and the values tested on it were fixed before its evaluation, so it tests a pre-specified hypothesis rather than searching for one. The measurement is deterministic by design: the language model carries the answer contract and the refusal decision, not the number, which is why gating alone reproduces the delivered MAE. Assessment is retrospective and automated rather than clinical, and the served families are compared as deployed rather than at matched weights. On 335 unlabelled official-test images the single-view answer rate is 0.573, matching 0.573 on labelled images, so the operating behaviour is stable across the two cohorts.
8 Conclusion
PUMA separates geometric measurement, candidate selection and language-model verification. Auditing it on two pre-registered splits shows that calibrated rejection bounds the rate of gross errors but not their magnitude, and that the effective safeguard is an anatomically defined admissibility region rather than a tuned score threshold. The audit framework transfers directly to patient-level multi-centre data and to any measurand whose plausible range is known in advance.
Availability and data. Stored predictions, weights and scripts support these analyses; new generation needs API access. HC18, FETAL_PLANES_DB and SLAKE are CC-BY-4.0, VQA-RAD CC0-1.0, PMC-VQA CC-BY-SA, Huatuo26M-Lite Apache-2.0; records with unresolved reuse terms are excluded. No new patient data were collected. Data use. All data are existing public, de-identified archives; no ethics approval was required.
References
-
Angelopoulos, A.N., Bates, S.: Conformal prediction: A gentle introduction. Foundations and Trends in Machine Learning 16(4), 494–591 (2023)
-
Bates, S., Angelopoulos, A., Lei, L., et al.: Distribution-free, risk-controlling prediction sets. Journal of the ACM 68(6), 1–34 (2021)
-
Baumgartner, C.F., et al.: SonoNet: Real-time detection and localisation of fetal standard scan planes in freehand ultrasound. IEEE Transactions on Medical Imaging 36(11), 2204–2215 (2017)
-
Burgos-Artizzu, X.P., et al.: FETAL_PLANES_DB: Common maternal-fetal ultrasound images (2020)
-
Chen, L.C., Papandreou, G., Schroff, F., Adam, H.: Rethinking atrous convolution for semantic image segmentation. arXiv preprint arXiv:1706.05587 (2017)
-
Chow, C.: On optimum recognition error and reject tradeoff. IEEE Transactions on Information Theory 16(1), 41–46 (1970)
-
Fitzgibbon, A., Pilu, M., Fisher, R.B.: Direct least square fitting of ellipses. IEEE Transactions on Pattern Analysis and Machine Intelligence 21(5), 476–480 (1999)
-
Geifman, Y., El-Yaniv, R.: Selective classification for deep neural networks. In: Advances in Neural Information Processing Systems 30 (NeurIPS). pp. 4878–4887 (2017)
-
Geifman, Y., El-Yaniv, R.: Selectivenet: A deep neural network with an integrated reject option (2019)
-
Guo, C., Pleiss, G., Sun, Y., Weinberger, K.Q.: On calibration of modern neural networks (2017)
-
van den Heuvel, T., de Bruijn, D., de Korte, C.L., van Ginneken, B.: Automated measurement of fetal head circumference (HC18 dataset) (2018)
-
Lau, J.J., Gayen, S., Ben Abacha, A., Demner-Fushman, D.: A dataset of clinically generated visual questions and answers about radiology images. Scientific Data 5, 180251 (2018)
-
Lewis, P., Perez, E., Piktus, A., et al.: Retrieval-augmented generation for knowledge-intensive nlp tasks (2020)
-
Li, C., et al.: LLaVA-Med: Training a large language-and-vision assistant for biomedicine in one day. In: Advances in Neural Information Processing Systems 36 (NeurIPS) (2023)
-
Liu, B., Zhan, L.M., Xu, L., et al.: SLAKE: A semantically-labeled knowledge-enhanced dataset for medical visual question answering. In: Proceedings of the 18th IEEE International Symposium on Biomedical Imaging (ISBI). pp. 1650–1654 (2021)
-
Moor, M., Huang, Q., Wu, S., et al.: Med-flamingo: a multimodal medical few-shot learner (2023)
Z. Yang et al.
-
Schick, T., et al.: Toolformer: Language models can teach themselves to use tools (2023), arXiv:2302.04761
-
Sinclair, M., Baumgartner, C.F., Matthew, J., et al.: Human-level performance on automatic head biometrics in fetal ultrasound using fully convolutional neural networks. In: 2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC). pp. 714–717 (2018)
-
Yao, S., Zhao, J., Yu, D., et al.: React: Synergizing reasoning and acting in language models (2022)
-
Yaqub, M., Kelly, B., Papageorghiou, A.T., Noble, J.A.: A deep learning solution for automatic fetal neurosonographic diagnostic plane verification using clinical standard constraints. Ultrasound in Medicine & Biology 43(12), 2925–2933 (2017)
-
Zeng, W., Luo, J., Cheng, J., Lu, Y.: Efficient fetal ultrasound image segmentation for automatic head circumference measurement. Medical Physics 49(8), 5081–5092 (2022)
-
Zhang, X., et al.: PMC-VQA: Visual instruction tuning for medical visual question answering. arXiv preprint arXiv:2305.10415 (2023)