Anyone who has built segmentation for ultrasound knows the pattern. A model trained on breast lesions from one hospital falls apart on a different vendor’s probe, and a request for a new structure, say the cervix or an ovarian mass, means a new labeled dataset and a new training run. Prompt-based tools such as SAM-style models avoid retraining, but someone has to click on every image. Chen Ma and colleagues at the College of Biomedical Engineering, Fudan University, propose a third route in arXiv:2611.28740 (posted 21 November 2026). Their model, US-Seg, takes one annotated image as a reference, and then segments the same structure in every other image of the dataset, with no finetuning and no per-image clicks.
The reference defines the target. Give the model a contoured kidney and it segments kidneys. Give it a contoured anterior cervical lip on the same query image and it switches to that structure instead. The same weights handle organs that were never part of training.
What goes in and what comes out
At inference the model needs three things: a reference ultrasound image, a binary mask of the target on that reference, and the query image. The reference comes from a different patient than the query. Both images are resized to 448 x 448 pixels. The output is a binary mask on the query image. Because the reference is reused, one contour drawn once can drive segmentation for a whole cohort or a whole retrospective archive.
The study is limited to 2D B-mode images. Cine loops, 3D volumes and Doppler are listed as future work.
How it learns to follow a reference
Training is framed as mask completion. US-Seg learns to fill in missing pieces of a mask from a related image and its mask, instead of learning a fixed list of organ classes. During training it sees pairs of images from two different patients that share a target, from a pool of twelve public datasets covering seven organ groups: breast tumors, thyroid nodule and gland, left ventricle, myocardium and left atrium on echocardiography, multifidus muscle, brachial plexus, pubic symphysis and fetal head, and gastrointestinal stromal tumors. Each mask is cut into patches matching the image patches of a ViT-L encoder, and some of those label patches are hidden. The model has to reconstruct them.
Boundary-centric masking. Patches close to the edge of the structure are masked more often, with probability falling from 0.8 near the boundary to 0.4 far away. In ultrasound the edge is where the trouble is, with shadowing, weak contrast and speckle. Forcing the model to rebuild edges from surrounding context pushes it toward shape cues that carry over to other organs, instead of a memory of what a breast lesion looks like.
Two-way reference and query matching. The reference and query pass through the same encoder, and at several depths each one attends to the other with cross-attention. The query looks at the reference to find what to segment, and the reference looks at the query to adapt that cue to the new image’s appearance. A learned gate then decides, per location, how much to trust the query’s own pixels versus the reference’s guidance.
Iterative refinement. The decoder makes a first mask, feeds it back in, and corrects it three times. A gate limits each correction to regions that need it, so the update concentrates on uncertain edges. Only an internal state changes. The weights stay fixed, which keeps inference free of any per-dataset tuning.
In 20% of training steps the query mask is hidden completely, which matches what happens at inference. Training ran on a single NVIDIA A100 for 400 epochs.
What the comparison figure shows
The featured image is built from Fig. 4 of the paper. Each panel shows the expert contour in yellow and the model’s prediction in green, with the Dice score in the corner. The two top rows are cross-site cases: breast tumors and thyroid nodules from sites whose data were left out of training (the cross-site sets are BUS-UCLM and UDIAT for breast and TNSCUI for thyroid). The bottom rows are tasks the model never trained on at all: prostate on micro-ultrasound (MicroSeg) and ovarian tumors (MMOTU). SAMUS, an ultrasound-adapted SAM, gets one point click on every query image. UniverSeg, a well-known reference-based model, gets 16 annotated examples. US-Seg gets one. On the thyroid case SAMUS and UniverSeg both spill into the surrounding gland, while the US-Seg contour stays on the nodule. On the ovarian case UniverSeg outlines a small dark cyst inside the tumor instead of the tumor itself.
What the numbers say
Across the six out-of-domain tests (breast and thyroid at new sites, plus four new tasks), US-Seg reaches a mean Dice of 81.85% with one reference. SAMUS, with a point on every image, reaches 76.36%, and UniverSeg with 16 references reaches 57.55%. The authors also timed the human work. Drawing one full reference mask took 34.2 seconds on average, and placing a point took 1.7 seconds per image, so point prompting cost about 35.2 minutes per out-of-domain dataset, roughly 62 times the US-Seg cost. On in-domain data, the single jointly trained model also edged out nnU-Net and USFM models that were finetuned per dataset.
The authors checked whether results depend on picking a lucky reference. They used each of 100 annotated cases as the reference in turn. On the unseen ovary and prostate sets, the median Dice stayed at 76.68% and 78.19%, with interquartile ranges of 1.28 and 2.88 points, so an ordinary reference works about as well as a carefully chosen one.
Why an imaging platform team would care
For a DICOM viewer or an ultrasound reporting tool, the interaction model is the interesting part. The clinician contours one example of a structure, saves it as a template, and the tool applies it to the next fifty studies. That fits research database work, longitudinal follow-up, and new measurements a department wants to start tracking, the cases where nobody will fund a new labeled dataset. It also fits the reality of mixed fleets of ultrasound machines, since the cross-site results come from datasets acquired outside the training sources.
The template also gives a simple review loop. The user sees the reference next to each prediction, and a poor result can be fixed by swapping in a better reference instead of filing a retraining request.
Limits to keep in mind
- Everything is 2D B-mode still frames. There is no temporal consistency across a cine loop and no 3D support yet.
- All evaluation is retrospective on public datasets. The authors call for larger prospective multi-center validation.
- Outputs are binary masks, so a multi-structure result needs one reference and one pass per structure.
- The reference must show the same target. The paper reports no test where the query lacks the structure entirely, which matters for screening workflows where the lesion may be absent.
- Some baselines were retrained on the authors’ in-domain data to avoid leakage, while others used released weights, so the setup differs from method to method.
Code, weights and licence
When we checked on 25 November 2026, the paper did not link a code repository, and we found no public implementation or released weights on GitHub or Hugging Face. The study uses 19 previously published ultrasound datasets cited in the paper, each with its own access and licence terms, and releases no new data. The arXiv paper is distributed under the standard arXiv non-exclusive licence rather than a Creative Commons licence.
Source
Chen Ma, Yunshu Li, Shuyu Liang, Qin Wang, Junhu Fu, Zeju Li, Yi Guo and Yuanyuan Wang, “US-Seg: One Reference for Universal Ultrasound Segmentation”, arXiv:2611.28740 (v1 21 November 2026), preprint. Affiliation: College of Biomedical Engineering, Fudan University, Shanghai, China. Featured image: cross-site breast and thyroid panels and cross-task prostate and ovary panels for SAMUS, UniverSeg and US-Seg from Fig. 4 of the paper, with the figure’s ground truth and prediction contours and Dice values, cropped from the PDF, with labels added.