arXiv:2608.27051cs.CVAug 2026

Manuscript Offprint

arXiv:2608.27051

Anatomy-Guided Foundation Model Adaptation with Within-Case Prototype Supervision for Standard Plane Detection in Fetal Ultrasound Blind Sweeps

Yuzhe Zhao

Yuzhe Zhao

School of Computing, University of Leeds, Leeds, UK

clawspeaker@gmail.com

Abstract. Detecting the fetal abdominal circumference standard plane in low-cost obstetric blind sweeps is a highly imbalanced frame-classification problem in which positive frames account for less than 3% of a sequence, form short contiguous segments, and are poorly handled by off-the-shelf ultrasound and vision foundation models. We propose AnatoProto, a lightweight sequence-level framework that adapts a frozen BiomedCLIP encoder to fetal blind sweeps through four complementary components: (i) an anatomy-weighted spatial pooling that uses nnU-Net abdominal-region probabilities as a low-dimensional spatial prior to reweight BiomedCLIP patch tokens, so that the frozen semantic features are aggregated onto anatomically meaningful regions; (ii) a within-case prototype loss that pulls each frame embedding toward the mean of the positive frames of the same sweep, exploiting case-level structure that is unavailable at the frame level; (iii) a three-stage cascade refinement (frame→segment→case-level rejecter) that lifts the prediction unit from noisy frames to structurally-constrained segments; and (iv) a hybrid prediction head that jointly models per-frame stability and inter-frame boundary transitions to suppress boundary false positives. On the ACOUSLIC-AI benchmark, AnatoProto reaches a test F1 of 67.72, outperforming the strongest external foundation-model baseline (FetalCLIP + PRS, F1 = 54.52) by +13.20 F1 and the strongest video temporal-action-detection baseline (TriDet + PRS) by +15.76 F1. A dedicated synergy study, backed by pre- and post-training embedding geometry and paired-bootstrap confidence intervals, shows that the prototype loss and the anatomy-weighted pooling are not additive: applied alone the prototype loss significantly reduces recall by 12 points, but combined with the anatomy-weighted pooling the same loss significantly increases recall by 6.5 points – a sign-flip that we trace to the accuracy of the within-case prototype, using recall and embedding-geometry evidence rather than F1 alone.

Keywords: Fetal ultrasound · Standard plane detection · Blind sweeps · Foundation models · BiomedCLIP · ACOUSLIC-AI.

Y. Zhao

1 Introduction

Accurate measurement of the fetal abdominal circumference (AC) at the standard plane is one of the most important biometric indicators of intrauterine growth restriction and low birth weight, yet in low- and middle-income settings the sonographic expertise required to acquire this plane is scarce [1]. To close this gap, low-cost obstetric blind-sweep protocols acquire a fixed set of freehand ultrasound sweeps that non-experts can perform, and rely on downstream algorithms to locate the AC standard plane within the recorded video [1,11].

The MICCAI 2024 ACOUSLIC-AI challenge [1] formalises this problem as frame-level classification: given an 840-frame blind sweep, each frame must be labelled as optimal, suboptimal or background with respect to the AC standard plane. Two properties of this task make it very different from conventional standard-plane detection on curated clips [3,5]: (a) fewer than 3% of frames are positive, and (b) positive frames form short contiguous segments driven by the physical trajectory of the probe. Any credible solution must therefore reason at the sweep level, not the frame level.

A natural attempt is to replace the challenge's segmentation baseline [11] with a strong foundation-model (FM) representation and a temporal head. In our internal comparison (Section 4.3) we find that this fails in a very characteristic way: single-frame FMs (BiomedCLIP [18], FetalCLIP [8], USFM [16], SonoCLIP [14], DINOv3 [9]) with a linear probe or LoRA fine-tuning saturate below F1 = 55, and off-the-shelf temporal action detectors (ActionFormer [17], TriDet [12]) with post-processing also saturate around F1 = 52. The gap is not one of capacity; it is that none of these approaches uses the two forms of prior that the blind-sweep setting readily provides: an anatomical prior on where the fetal abdomen lies, and a case-level prior that positive frames within one sweep are near-duplicates of each other.

Motivated by these observations, we propose AnatoProto, a lightweight sequence-level framework built around a frozen BiomedCLIP encoder. Concretely, we make the following contributions:

– Anatomy-weighted spatial pooling. We train a single-organ (fetal abdomen) nnU-Net [7] on the ACOUSLIC segmentation ground truth ( ∼\sim 617 annotated frames from the 210 training sweeps) and use its per-frame 7×77 \times 7 probability map as a fixed, parameter-free spatial weight over the last four layers of BiomedCLIP patch tokens. Methodologically this follows the same paradigm as Alpha-CLIP [15], which uses SAM-generated masks to steer CLIP towards a region of interest; here we steer BiomedCLIP towards the fetal abdomen. In isolation this pool raises F1 by +4.21 over the baseline.

– Within-case prototype loss. For each sweep we form a positive prototype as the mean embedding of its ground-truth positive frames and add a margin loss that pulls positives closer to and pushes negatives away from this prototype. In isolation this loss slightly hurts F1 (-0.07) because it significantly reduces recall (-12 points, 95% CI does not cross zero); combined with the anatomy-weighted pooling the same loss significantly increases recall by +6.5 points. Section 4.4 traces this sign-flip to the accuracy of the within-case prototype and provides pre- and post-training embedding-geometry evidence.

– Coarse-to-fine inference pipeline with a segment-level rejecter. We stack three stages that lift the prediction unit progressively: frame probabilities from the temporal head, PRS-style temporal smoothing that groups frames into structurally-constrained segments, and a logistic-regression segment rejecter that summarises the stability and boundary head outputs of each candidate segment into eight scalar features and rejects those unlikely to be real plane sub-sequences. Unlike Cascade R-CNN [4], no stage refines localisation coordinates; the “cascade” is a unit-lifting pipeline that turns noisy per-frame scores into filtered per-segment decisions.

– Hybrid stability–boundary prediction. We augment the frame classifier with (a) a stability head that scores inter-frame consistency and (b) a boundary head that scores plane-transition frames. Together with the segment rejecter this adds +2.69 F1 over the D-3 configuration and yields the final 67.72 F1.

Evaluated on our held-out case-level split of the ACOUSLIC-AI training set (210/45/45; see Sec. 4), the full AnatoProto system reaches F1 = 67.72, +13.20 over the strongest external FM baseline (FetalCLIP + PRS, 54.52) and +30.33 over a BiomedCLIP linear probe (37.39). We report Precision and Recall throughout in addition to F1, and are explicit about which of the reported gaps reach statistical significance under a paired-bootstrap test on the 45 test cases.