Scribble Once, Segment the Sequence: Bidirectional Temporal Consistency for Weakly Supervised Segmentation in Echocardiography Sequences

Vincent Li Weixin, Chen Jingkun, Vicente GrauarXiv 2026 · arXiv

TL;DR

This paper introduces a framework that can segment entire echocardiography (ultrasound) sequences using only a single frame annotated with simple scribbles. By combining a frozen vision foundation model (DINOv3) with parameter-efficient tuning and a bidirectional temporal consistency loss, the authors decouple the cost of annotation from the length of the video sequence while outperforming existing weakly-supervised methods.

What Problem Does This Paper Address?

Segmenting medical image sequences—like watching a heart beat in an ultrasound—is critical for tracking anatomical changes. However, the "annotation bottleneck" is a major hurdle. Standard deep learning models require dense, pixel-perfect masks for every single frame, which is prohibitively expensive and time-consuming for experts to produce.

While "weakly-supervised" methods (using scribbles or points instead of full masks) help, most still require these annotations on every frame of a sequence. Furthermore, ultrasound images are notoriously difficult to segment due to "speckle noise" and blurry boundaries between tissues. This paper asks: Can we annotate just one frame with a few scribbles and have the model accurately segment the rest of the video?

Methods

The authors propose a framework that leverages the "spatial common sense" of large-scale vision models to do the heavy lifting.

  1. Foundation Model Backbone: They use a frozen DINOv3 encoder. Because DINOv3 was pretrained on massive datasets, it already "understands" shapes and structures. To make it work for medical images without retraining the whole thing, they use LoRA (Low-Rank Adaptation), adding a tiny number of trainable parameters (only 0.03% of the total) to adapt the features to ultrasound.
  2. Mean-Teacher Architecture: The system uses two identical networks: a "Student" that learns via gradient descent and a "Teacher" that maintains a moving average of the student’s weights. This provides more stable "pseudo-labels" for the unlabeled frames.
  3. Bidirectional Propagation: Starting from a single "anchor" frame (usually the middle of the sequence) where the scribbles are provided, the model uses connectivity filtering. It identifies the predicted "blob" that touches the scribble and propagates that specific structure outward to adjacent frames.
  4. Anchor-Relative Temporal Loss ($L_{temp}$): This novel loss encourages the model to produce consistent masks across neighboring frames. Crucially, it allows for the natural "drifting" and deformation of the heart muscle while ensuring the segmentation doesn't suddenly jump or disappear.
  5. Refinement: A gated Conditional Random Field (CRF) loss is used to "snap" the predicted boundaries to the actual edges visible in the ultrasound image.
Figure 1. Overview of the proposed weakly-supervised temporal segmentation framework. A mean-teacher architecture with LoRA- adapted frozen DINOv3 encoders generates mixed connectivity-filtered pseudo-labels for dense Dice supervision. Partial cross-entropy supervises scribbles on the anchor frame, gated-CRF refines boundaries and an anchor-relative temporal loss enforces bidirectional consis- tency while allowing cardiac deformation

Datasets

The model was evaluated on two major publicly available datasets:

  • CAMUS: 500 patients, focusing on two-chamber (2CH) views. It includes annotations for the left-ventricular endocardium, epicardium, and left atrium.
  • CardiacNet: Includes two cohorts—Atrial Septal Defect (ASD) and Pulmonary Arterial Hypertension (PAH). These are more challenging due to pathological changes in heart shape.

Key Insights and Ideas

  • Decoupling Cost from Length: By requiring only one annotated frame, the effort to label a 10-frame sequence is the same as a 100-frame sequence.
  • The Power of Priors: Even though DINOv3 wasn't trained on medical images, its pretrained spatial representations are robust enough that a tiny bit of adaptation (LoRA) allows it to outperform specialized medical models trained from scratch.
  • Precision vs. Recall: A major "aha moment" in the paper is the analysis of why other weakly-supervised methods fail. Most existing methods suffer from massive over-segmentation (high recall, but very low precision), where the model labels half the image as "heart." This framework uses connectivity filtering and temporal consistency to keep the predictions tightly localized to the actual anatomy.

Key Results

The proposed method significantly outperformed baselines like CutMix, ScribFormer, and HELPNet across almost all metrics.

  • Accuracy: On the CAMUS dataset, the model achieved a Dice score of 0.784, compared to 0.441 for a standard U-Net and 0.687 for the best baseline (CutMix).
  • Boundary Quality: The HD95 metric (which measures the distance between predicted and true boundaries) dropped from over 100 pixels in some baselines to just 31.25 pixels with the proposed method.
  • Precision Jump: As shown in the table below, the model's precision is nearly double that of some competitors, meaning it produces far fewer "false positive" segments.
Table 2. Precision / recall (↑), averaged over the structures of each cohort. ASD and PAH are the two CardiacNet cohorts.

Qualitatively, the difference is stark. While other models produce "messy" masks that bleed into the background, this method produces clean, anatomically plausible shapes that follow the heart's motion.

Qualitative comparison showing how the proposed method (right) produces much cleaner masks than baselines.

Limitations and Future Work

The authors note that the Gated-CRF loss, which helps snap boundaries to edges, is a double-edged sword. While it improved results on the CAMUS dataset, it slightly reduced performance on the CardiacNet-PAH cohort. This suggests that boundary-aware regularization is highly dependent on the image quality and the clarity of the anatomical cues.

Future work could explore making the system even more robust to extremely noisy images or extending the "scribble once" philosophy to 3D+time (4D) ultrasound data.

Summary updated

Abstract

Temporal medical image segmentation relies on pixel-wise annotations, which are prohibitively expensive for long image sequences. Existing weakly-supervised methods reduce the annotation burden per frame but still require repeated annotations across the sequence. Furthermore, sparse supervision can result in temporally unstable representations. Addressing both challenges requires a model that can leverage strong spatial priors from large-scale pretraining while minimizing reliance on dense annotations. Frozen 2D vision foundation models provide a promising basis for this by offering transferable spatial representations with low trainable parameters. However, their lack of explicit temporal modeling limits their ability to propagate reliable information across anatomical sequences. To address this, we present a weakly-supervised framework for temporal segmentation from a single scribble-annotated frame, with all remaining frames left unlabeled. The framework combines parameter-efficient adaptation of DINOv3 encoders present in the mean-teacher architecture. Furthermore, a set of complementary losses, including a temporal loss helps generate reliable segmentation priors for the unlabeled frames. This formulation decouples annotation costs from sequence length while retaining the transferable spatial knowledge of the pretrained encoder. Extensive experiments on the publicly available CAMUS and CardiacNet datasets demonstrate that our approach outperforms other scribble-supervised methods. These results show that accurate and temporally consistent segmentation can be achieved from extremely sparse supervision, substantially reducing annotation requirements for temporal echocardiographic segmentation and providing a practical framework for scalable clinical deployment.
BibTeX
@misc{weixin2026scribble,
  author = {Vincent Li Weixin and Chen Jingkun and Vicente Grau},
  title = {{Scribble Once, Segment the Sequence: Bidirectional Temporal Consistency for Weakly Supervised Segmentation in Echocardiography Sequences}},
  year = {2026},
  eprint = {2611.21137},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.21137},
}
Figure