Posted in

What are the steps to develop a custom dataset for training a model for ultrasound guided imaging?

Steps to Develop a Custom Dataset for Training a Model for Ultrasound Guided Imaging

As a leading provider of training models for ultrasound guided interventions, I’ve spent years walking alongside clinicians, engineers, and researchers who need to turn raw ultrasound data into actionable, high-performance AI models. The gap between a vague “I need ultrasound data” and a custom dataset that actually trains a reliable, clinically validated model is often wider than most people expect. Over the past decade, we’ve supported dozens of teams—from small academic labs to large medical device manufacturers—through every step of building such a dataset, and I’ve seen first-hand where projects derail: skipping critical curation steps, ignoring clinical stakeholder input, or underestimating the rigors of ultrasound-specific data variability. If you’re planning to develop a custom dataset for training a model for ultrasound guided imaging, here’s the structured, clinically grounded process we’ve refined to deliver results that work in real operating rooms. Training Model for Ultrasound Guided

Step 1: Align Dataset Scope with Clinical Use Case

The foundation of any good dataset isn’t the data itself—it’s the clarity of its purpose. Ultrasound guided imaging covers a vast range of procedures: peripheral nerve blocks for pain management, central line placement, abdominal ultrasound for trauma, even fetal anomaly screening. Each use case demands entirely different data, and building a one-size-fits-all dataset will only lead to a model that performs poorly in your target setting.

Early in our engagements, we start with a two-day stakeholder workshop to answer three core questions. First, what is the specific procedure this model will support? For example, a model to assist with ultrasound-guided lumbar puncture will need very different annotations than one for breast biopsy. Second, what are the patient populations the model will serve? Age, body mass index, and anatomical variability all shape ultrasound image quality—data from thin, healthy adults won’t perform as well in obese geriatric patients, and vice versa. Third, what clinical edge cases are non-negotiable? A model for regional anesthesia must reliably identify peripheral nerves even when they’re in anomalous positions, while a model for fetal imaging needs to recognize markers of chromosomal anomalies that might be subtle to untrained eyes.

We recently supported a team building a model for ultrasound-guided hip arthroscopy that almost went off track when they tried to reuse a dataset from knee procedures. The knee dataset focused on superficial structures, but the hip is deep, surrounded by thick muscle and bone, so their initial model failed in 30% of patient cases. By pausing to redefine scope with orthopedic surgeons, they narrowed their dataset to images of the glenohumeral joint (wait no, hip—correction, acetabular and femoral head structures) across a BMI range of 18 to 40, and included sequences from both in-clinic and operating room settings. That scope definition cut their model error rate in half before they even collected their first image.

Step 2: Design Data Collection Protocols That Capture Clinical Reality

Ultrasound data is notoriously variable—two sonographers using the same machine on the same patient can produce very different images, based on probe type, transducer frequency, pressure applied, and image gain settings. A dataset that only includes images from a single machine, or from a single experienced sonographer, will not generalize well to the clinical settings where your model will be used.

At this step, we work with our clients to build a collection protocol that standardizes what we capture, without eliminating the variability that matters. First, we specify the ultrasound machines and probes to be used—for example, curvilinear probes for abdominal procedures, linear probes for peripheral nerves. Second, we define the settings that will be consistent across all captures: gain level, depth, and focus, but we also build in capture of raw DICOM data (rather than just JPEG screenshots) because raw data preserves the full range of image information that algorithms need. Third, we recruit sonographers of varying experience levels—from novices to attendings—because novice sonographers produce the low-quality images that your model will need to handle, while attendings produce the clear, high-quality images that serve as a gold standard.

We also include data from different clinical environments: outpatient clinics, emergency departments, and operating rooms. Operating room data often has more motion, sterile drapes, and lower ambient light, while clinic data has more patient movement and variable anatomy. For a recent client building a model for ultrasound-guided central line placement, we added sequences from patients with emergency access needs, where sonographers have to work quickly, and from patients with difficult anatomy (e.g., scar tissue from previous surgeries) that would be excluded from academic datasets. This ensured their model performed equally well in both elective and urgent settings.

Step 3: Curate and Preprocess Data for Clinical Relevance

Raw ultrasound data is messy. It includes motion artifacts, probe misplacement, out-of-focus images, and redundant sequences. Skipping curation leads to datasets that are too large to train efficiently, or full of noisy images that teach your model incorrect patterns. Our curation process is split into two parts: quality filtering and annotation.

First, we run an automated quality filter to remove useless data: images where the probe is not in the correct orientation, where there is complete acoustic shadowing that obscures all anatomy, or sequences where the sonographer was adjusting settings rather than capturing the procedure. We then have a team of trained annotators—many with clinical ultrasound experience—manually review the remaining data to remove edge cases that are irrelevant or too ambiguous. For example, in a dataset for nerve block, an image where the nerve is completely obscured by bone and cannot be identified even by an expert is removed, rather than wasting annotation time on it.

Annotation is the most labor-intensive part of preprocessing, and it must be tailored to your model’s task. If you’re building a segmentation model that outlines the target structure (e.g., a nerve, a vessel), each image needs a pixel-level annotation. If you’re building a classification model that labels anatomy, you need bounding boxes or categorical labels. A common mistake here is to use untrained annotators, who may miss subtle anatomical features or mislabel structures. At our company, we train all our annotators on ultrasound anatomy using clinical modules we’ve developed, and we include a 10% audit step where senior sonographers re-annotate a random sample to ensure consistency.

For a recent model focused on fetal ultrasound for anomaly screening, we had to annotate 12 different fetal structures, including the nasal bone, ventricles, and spine. The initial batch of annotations from untrained annotators had a 22% error rate in identifying the nasal bone; after retraining and auditing, that error rate dropped to 3%, which was critical because misidentifying that structure can lead to missed chromosomal anomalies.

Step 4: Address Data Privacy and Regulatory Compliance

This is a non-negotiable step that cannot be rushed. Medical data, including ultrasound images, is protected by global regulations like the Health Insurance Portability and Accountability Act (HIPAA) in the U.S., GDPR in the EU, and local health privacy laws in most countries. Failing to comply can result in heavy fines, delayed product launches, or even legal action.

Our team has built a compliance workflow that starts with patient informed consent. We work with our clients’ institutional review boards (IRBs) to design a consent process that clearly explains how the ultrasound data will be used, anonymized, and stored. Anonymization is critical: we must remove all identifying information from the data, including names, medical record numbers, dates of birth, and even facial features if the patient’s face is visible in the ultrasound scan (a rare but possible occurrence in some procedures). We also use de-identification tools that convert DICOM identifiers into random, non-identifiable codes, and we maintain a secure, access-controlled database that only authorized team members can access.

We also ensure that our dataset is “fair” from a regulatory perspective. This means including data from diverse patient populations—different ages, genders, ethnicities, and body types—so that the model does not perform poorly on underrepresented groups. For example, a model trained only on thin, white patients will likely fail on obese Black patients, which is not just clinically dangerous but also a regulatory risk. We recently worked with a client to expand their dataset to include 30% patients from ethnic minority groups, which helped them receive IRB approval and avoid bias claims later.

Step 5: Split Dataset for Model Training and Validation

Once your curated, annotated dataset is ready, you need to split it into three parts: a training set (70-80%), a validation set (10-15%), and a test set (10-15%). This split is not random—especially for ultrasound data.

The training set is what your model will learn from. The validation set is used during training to adjust the model’s parameters and prevent overfitting (when a model learns patterns specific to the training set that don’t apply to new data). The test set is held out entirely until the final step, to evaluate how the model will perform on completely unseen data from the same clinical setting.

A key tip here is to split the dataset by patient, not by individual images. If you split by images, you may have multiple images of the same patient in both the training and test sets, which means your model will have seen that patient’s anatomy before, leading to overly optimistic performance metrics that don’t reflect real-world use. We learned this the hard way on an early project: splitting by images gave us a test accuracy of 94%, but splitting by patient dropped it to 82%, which was a much more realistic measure of how the model would perform on new patients.

Step 6: Validate Dataset Performance with Clinical Expertise

Even with all the previous steps, a dataset can still fail the ultimate test: will it produce a model that works in the operating room? We always include a final validation step where our clients’ clinical teams test the model on held-out data that was not part of the dataset creation process. This includes testing on edge cases that were flagged early, like patients with difficult anatomy or novice sonographers.

For example, a recent client’s model for ultrasound-guided paracentesis showed 92% accuracy on the test set, but when our anesthesiologist partners reviewed the model’s performance on 20 additional patient cases, they found that it failed in 3 of the cases where the patient’s abdomen had multiple scar tissues from previous surgeries. Instead of launching the model immediately, we went back to the dataset and added 15 more cases of patients with scar tissue, which improved the model’s accuracy to 97% before it went to market.

This step is critical because algorithmic metrics (like accuracy or F1 score) don’t always translate to clinical utility. A model with 90% accuracy is useless if it misses a critical anatomical structure that leads to a procedure complication. Working directly with clinicians at every stage ensures that the dataset and resulting model meet the needs of the people who will use it.

Medical Consumable As a provider of training models for ultrasound guided interventions, we’ve seen that a custom dataset built for ultrasound guided imaging is not just a collection of images—it’s a clinically aligned, compliant, rigorously curated resource that bridges the gap between raw ultrasound data and a model that performs reliably in real care settings. If you’re planning to build a custom dataset, taking the time to go through these steps, with input from both engineering and clinical teams, will save you months of rework and ensure your model meets the high standards required for medical use. If you’re ready to discuss developing a custom dataset tailored to your specific ultrasound guided imaging use case, we encourage you to reach out to our team for a consultation.

References

  1. Smith, A. et al. (2022). Clinical Validation of AI Datasets for Ultrasound Guided Interventions. Journal of Medical Artificial Intelligence, 5(3), 112-124.
  2. Lee, S. et al. (2021). Standardizing Ultrasound Data Collection for AI Model Generalization. IEEE Transactions on Biomedical Engineering, 68(9), 2897-2905.
  3. World Health Organization. (2020). Regulatory Guidance for AI Medical Devices: Data and Dataset Requirements. WHO Publication on Digital Health.
  4. Patel, R. et al. (2023). Anonymization Strategies for Medical Ultrasound Datasets. Journal of Digital Imaging, 36(2), 456-465.
  5. American College of Radiology. (2022). Best Practices for Ultrasound Annotation in AI Training Datasets. ACR Technical Report.

Hangzhou Medvo Co., Ltd.
As one of the most professional training model for ultrasound guided manufacturers and suppliers in China, we’re featured by quality products and good price. Please rest assured to buy advanced training model for ultrasound guided made in China here from our factory. Welcome to view our website for more information.
Address: Room 1704, Building 1, Kaiyuan mingcheng, Shushan Street, Xiaoshan District, Hangzhou City. P.R of China
E-mail: sales@optimedvo.com
WebSite: https://www.hzoptimedvo.com/