NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TAT-Det: A Dataset for Testicular Appendage Torsion Detection and Segmentation in Ultrasound Images

Ying Jiang, Juntao Jiang, Linxuan Fan, Lingling Li, Yaqi Wang, Xiuzhen Yang, Yong Liu, Jiangning Zhang, Jingjing YearXiv 2026

TL;DR

When a young boy shows up to the ER with sudden scrotal pain, doctors have to rapidly distinguish between a true surgical emergency and a benign, far more common mimic called testicular appendage torsion (TAT). Until now, AI researchers couldn't help much because zero public ultrasound datasets existed for this condition. Enter TAT-Det: a meticulously curated dataset of 2,600 pediatric ultrasound images equipped with both bounding boxes and pixel-level masks—unlocking a challenging new playground for small-lesion medical computer vision.

What Problem Does This Paper Address?

Anatomy is full of evolutionary leftovers. Tucked at the top of the testis is a tiny, 7-to-8 millimeter remnant of embryonic tissue called the appendix testis. Because it hangs on a stalk, it can twist around itself, cutting off its own blood supply. This is testicular appendage torsion (TAT), and it accounts for up to two-thirds of acute scrotal emergencies in prepubertal boys.

Here is the clinical catch: TAT is benign and heals with rest, but its symptoms look nearly identical to testicular torsion—a surgical emergency where doctors have mere hours to save the organ. Physical exams alone have misdiagnosis rates as high as 45% among general practitioners. Ultrasound is the first-line defense, yet spotting a dynamic, millimeter-scale nodule amidst acoustic shadows and speckle noise is notoriously tough, especially in general ERs without specialized pediatric sonographers.

Computer-aided diagnosis could standardize this high-stakes triage. However, while deep learning has thrived on public ultrasound datasets for breasts, thyroids, and hearts, pediatric scrotal emergencies have been completely overlooked—leaving AI researchers without a single benchmark to train or test their models on.

Methods

Because this is a resource paper, the primary "method" is the rigorous data curation and multi-stage annotation pipeline designed to eliminate shortcuts and ensure gold-standard clinical labels.

First, raw DICOM files underwent strict two-stage de-identification and preprocessing: peripheral UI borders, color bars, and burned-in text were stripped away, leaving only the active acoustic window in lossless 8-bit PNG format so neural networks wouldn't cheat via shortcut learning.

TAT-Det Annotation Workflow showing independent bounding-box and mask delineations followed by senior consensus adjudication.

Next came a two-tier consensus annotation workflow:

  1. Detection Boxes: Two pediatric sonographers (>5 years experience) independently drew bounding boxes around lesions. A senior sonographer (>10 years experience) adjudicated them, triggering a joint three-expert review whenever overlap (Intersection-over-Union, or IoU) dropped below 0.5.
  2. Box-Guided Segmentation Masks: Using those finalized boxes as spatial anchors, two sonographers independently traced pixel-level masks while the Segment Anything Model (SAM) generated an auxiliary reference prompt. Again, the senior expert adjudicated the final mask (triggering group consensus if manual IoU < 0.5), followed by morphological post-processing to fill holes and remove stray outlier pixels.

Finally, the authors benchmarked standard deep learning baselines: 33 object detectors across seven YOLO generations (YOLOv5 through YOLO26) and 9 semantic segmentation models spanning CNNs (e.g., UNet), Transformers (e.g., TransUNet), and sequence-modeling architectures (e.g., RWKV-UNet).

Datasets

The paper introduces TAT-Det, the first open-access (controlled-request) dataset for pediatric acute scrotal emergencies.

  • Scale & Diversity: 2,600 B-mode ultrasound images from 1,203 patients (median age: 9.8 years), captured across six ultrasound models from three manufacturers (GE Healthcare, Philips, and Mindray). It includes 1,725 TAT-positive images and 875 lesion-free negative controls to teach models background suppression.
  • Leakage-Free Splits: Partitioned strictly at the patient level into training (2,021 images), validation (289), and test (290) sets, balanced across age, machine type, and lesion size.
Quantitative distributions of image resolutions, bounding box sizes, and mask areas, highlighting how tiny these lesions are relative to the full image.

Unlike existing ultrasound benchmarks like BUSI (780 breast images) or TN3K (3,493 thyroid images) that typically offer only masks or classification labels, TAT-Det couples spatially aligned bounding boxes and pixel-level masks on identical splits, directly supporting multi-task and localization-aware learning.

Key Insights and Ideas

  • Bigger models aren't better here—in fact, they often break: When localizing tiny, low-contrast ultrasound nodules (many taking up less than 0.5% of the image area), scaling up detector size routinely backfired. Across multiple YOLO families, extra-large variants underperformed nano and small ones, and newer architectures showed severe optimization instability.
  • Global context wins at fuzzy boundaries: Ultrasound speckle noise makes local edges ambiguous. In segmentation benchmarks, pure CNNs hit a ceiling, whereas hybrid and sequence-modeling networks that capture long-range global context delineated the torsed appendages noticeably better.
  • Boxes anchor better masks: Ultrasound boundaries can be subjective, evidenced by 9.3% of initial manual masks having an IoU < 0.5 between raters (despite a high median IoU of 0.938). Anchoring segmentation inside consensus bounding boxes kept tasks spatially consistent.

Key Results

  • Object Detection: YOLO11m took the crown with 90.20% [email protected] and 53.88% [email protected]:0.95, closely trailed by lightweight YOLOv8s (89.64% / 53.58%). Counterintuitively, legacy lightweight YOLOv5n (52.42% [email protected]:0.95) beat YOLOv5x (48.67%), YOLO11x (45.43%), and the entire YOLOv10 family (none reached 51%). Meanwhile, medium-sized YOLO26m suffered a training collapse down to 37.25%.
  • Semantic Segmentation: RWKV-UNet achieved the best overall delineation with a Dice score of 82.26%, IoU of 78.61%, and the sharpest boundary alignment (HD95 of 7.16 pixels), outperforming TransUNet (81.42% Dice) and standard UNet (76.83% Dice, 11.06 HD95).

Limitations and Future Work

The authors candidly note a few boundaries to keep in mind:

  • Single-Center Cohort: All data come retrospectively from one pediatric hospital in China; multi-center validation is needed to prove broader generalization.
  • Missing Blood Flow Cues: Clinicians rely heavily on color Doppler to confirm a nodule lacks blood flow, yet TAT-Det currently consists almost entirely of grayscale B-mode images.
  • Binary Framing: Negative samples are healthy/lesion-free tissue rather than explicitly labeled alternative emergencies (like true testicular torsion or epididymitis). Expanding future versions to multi-disease differential diagnosis and multi-institutional annotations is the natural next step.

Summary updated

BibTeX
@misc{jiang2026tat,
  author = {Ying Jiang and Juntao Jiang and Linxuan Fan and Lingling Li and Yaqi Wang and Xiuzhen Yang and Yong Liu and Jiangning Zhang and Jingjing Ye},
  title = {{TAT-Det: A Dataset for Testicular Appendage Torsion Detection and Segmentation in Ultrasound Images}},
  year = {2026},
  eprint = {2611.33940},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33940},
}
Figure