Back to Templates

Dataset intelligence

Check a labeled detection dataset for copies, split leakage and suspicious labels, see how hard it is to learn, and get one report that ranks what to fix first.

, 18 nodes, 23 connections, 32 variables

Read-only preview

Used in case studies

Dataset intelligence: see your dataset from every side in one run
Dataset audit before training: what is wrong with PCB Component Detection

About this template

See a labeled detection dataset from every side in one run: copies and split leakage, suspicious labels found by a detector that never saw the image, how hard the dataset is to learn, and the statistics behind it, in one report that ranks what to fix first.

Main idea: every check writes its own report, and Dataset insights reads them all and lays them out as one page: issues first, then insights, difficulty and splits, statistics and how it was made. The numbers come from the checks; a language model only words the opening paragraph and the insights, and every number it writes is checked against the facts it was given.

Run it before you spend on training or relabeling: on a public dataset, a vendor delivery, or your own data after a big change.

Overview

  • Models: DINOv3 image embeddings for the similarity and split checks, DINOv3 object embeddings for the label outlier check; a YOLO26 detector trained three times, once per fold, for the label check
  • Task: Dataset audit for object detection
  • Input: A labeled image dataset with bounding boxes
  • Pipeline: dataset -> statistics, image and label quality, copies, image and object indexes, similar pairs, label outliers and split comparison -> K-fold loop (split, train, predict the held-out fold) -> label check -> Dataset insights
  • Output: A report from every check and one Dataset insights report

Setup

When you add the template, the setup wizard asks two questions:

Question What you do
Which dataset do you want to check? Pick a labeled detection dataset from your workspace.
Which detector should the label check train? Pick a YOLO26 model. YOLO26s is what our own runs use: on GWHD 2021 it finds about as many label problems as YOLO26m and trains several times faster.

Press Start and the whole graph runs. To bring a dataset in first, use Import from Dataset Ninja, Import from Supervisely or Import images by drag & drop.

The summary report is written by the language model of your OvalBee instance and charged to the workspace's credits.

How it works

Run flow starts the checks that need no training, side by side. Once Find copies and Similar pairs have finished, Kfold split starts the K-fold loop: it hands one fold at a time to Train fold and Predict fold, and after the last fold Kfold label check reads the held-out predictions. Compare splits and Dataset insights each wait until everything they read has finished.

Node What happens Docs
Your dataset The dataset you picked. Dataset
Dataset stats Class balance, boxes per image, object sizes, class mix per split. Compute stats
Image quality Unreadable files, blur and exposure measured against the dataset itself, resolutions. Image quality
Annotation quality Empty, degenerate, out-of-frame and duplicate boxes, images without labels, class names that look like typos. Annotation quality
Find copies Pixel copies of one image, flipped or rotated ones included, and file-name groups, so later nodes keep each group together. Find copies
Run flow Starts the checks that follow, so one press of Start runs them together. Run flow
Image index Embeds every image once with DINOv3, for Similar pairs and Compare splits. AI index
Object index Embeds every annotated object of 8 px or more once with DINOv3, for Label outliers. AI index
Similar pairs Near-identical and similar images, compared by their DINOv3 vectors. Similar pairs
Label outliers Labels whose 20 most similar objects carry another class (DINOv3), larger objects first, and classes that look alike. It does not catch errors on datasets where every image has augmented copies (flips, rotations): the copies vote for the label. Label diagnostics
Compare splits Copies of train images in validation and test, and how unlike train each split is, by the DINOv3 vectors of the images. Compare splits
Copies found Waits for Find copies and Similar pairs, so the folds are planned with both. Wait
Kfold split Splits the dataset into three folds, copies of an image always in the same fold, and hands out one fold at a time: training images (at most 5,000 per fold, so that big datasets train within the time budget), a small validation share taken from the training folds, and the held-out fold. Every image is still predicted by a model that did not see it. After the last fold it saves every held-out prediction in its report. Kfold split
Folds left? Sends the loop back to training while folds remain, and to the label check once all are done. Condition
Train fold Fine-tunes the detector on the fold's training images: 15 epochs at 640 px, batch 6, an optimizer step every 24 images, AdamW at learning rate 0.001, and keeps the model of the last epoch. The fold models are kept apart from the model you picked and removed once the predictions are saved. Train YOLO
Predict fold Predicts the held-out fold with that fold's model, keeping boxes down to a score of 0.01, and adds them to the held-out predictions. Predict YOLO
Kfold label check Compares the held-out predictions with the labels: objects not labelled, boxes too large or badly placed, labels with nothing under them; and how well the detector learns each class. Kfold label check
Dataset insights Reads every report and writes the summary. Dataset insights

Key concepts

Held out, not seen. Every suspicious label comes from a detector that never trained on that image or on a copy of it, so it cannot have memorised the label it questions. These are labels to look at; the report does not claim how many are wrong.

Copies decide what a score means. If validation or test images have copies in train, a detector's score on them measures memory, not generalisation. The report checks this first and says which splits are affected.

A cap on training images. A fold trains on at most 5,000 images; on a larger dataset the rest are left out of training only, and the label check still covers every image. The report says how many images were used.

One loop, any detector. The K-fold part is an ordinary loop of a train node and a predict node. Kfold split checks the wiring before every fold, so a held-out image never reaches training.

Results

  • Dataset insights. Issues ranked by severity, each opening its section with what to do; insights; learnability and split similarity; statistics; the method and which checks ran.
  • A report from every check, with its own charts and galleries.

Time and hardware

One 12 GB GPU is enough: YOLO26s trains at batch 6 and 640 px on a 12 GB card. The K-fold loop trains three times, 15 epochs each, on at most 5,000 images per fold, so the training time stops growing with the dataset beyond that size. The indexes, copies and the other checks run before the loop. A faster card shortens the run; a smaller one lengthens it.

Next steps