Compare splits
Overview
Compares each split of a dataset with a reference split, usually the one a model learns from, by what the images look like. For every other split it reports how many images have a copy in the reference split, and how many are unlike any image of it. The share of unlike images is set next to the same measure on a fresh split made of the reference’s own images, which is what a well-made split reaches.
The comparison uses the DINOv3 vector of every image, read from the AI index. A copy is an image in a group of Find copies (pixel-identical, flipped or rotated) that has an image in the reference split. Without a connected Find copies report no image counts as a copy, and the report says so; a report in which no image of the dataset appears (one of another dataset) is treated the same, with a warning in the log. A similar vector alone is never called a copy: how close two different pictures are in DINOv3 space depends on the dataset. Nothing in the dataset changes. The report carries findings.json for Dataset insights. The badge shows the share of unlike images per split.
Prerequisites
How it works
Reads the split tag and the DINOv3 vector of every image. The reference is the requested split, else the largest one.
Measures the distance (1 minus cosine similarity) of every reference image to its nearest neighbour outside its own cluster. The 95th percentile of these distances is the line past which an image counts as unlike the reference.
For every other split, measures the distance of each image to its nearest reference image and counts the images past the line (unlike) and the images with a copy in the reference.
Inputs
Dataset whose splits are compared. The split of an image is read from its split tag, and its images must already be indexed with DINOv3 by an AI Index Embeddings node. Key: DATASET.
Model the images were indexed with. Only DINOv3 is offered, a dataset that is not indexed with it stops the run. Key: EMBEDDING_MODEL.
Options:
- DINOv3 (
dinov3)
Split every other split is compared with, usually the one a model learns from. If the dataset has no split of this name, the largest split is used. Key: REFERENCE_SPLIT.
Report of Find copies. Only its copy groups (pixel-identical, flipped or rotated images) count as copies, and copies of one image are never used to judge how unlike each other two images are. Leave empty and no image counts as a copy. Key: COPY_REPORT.
Outputs
Copies and novelty of each split against the reference split, a nearest-image distance chart, an embedding map, the placement of copy groups, and findings.json for analytical nodes. Shown as an artifact. Key: REPORT_ID.
Share of images of each split that are unlike any image of the reference split. Shown on the node as a badge. Key: NOVEL_SHARE.
Report
The report holds index.md, split_novelty.parquet (per split: images, copies in the reference, novel images, shares, and the fresh-split shares), split_distance.json (cumulative share of images by distance to the nearest reference image), split_map.json (t-SNE scatter, one series per split), copy_placement.parquet, gallery_split_copies.json, split_metrics.json (the numbers behind the text) and findings.json.
The findings are splits.copies_in_reference.<split> (a violation, present when the split has an image with a copy in the reference) and splits.novelty.<split> (an observation). A dataset with one split gets the observation splits.single_split.
JSON config
Machine-readable node interface for automation and advanced usage.