TL;DR
Museums are sitting on millions of digitized insect specimens, but most AI benchmarks treat bug identification like a simple closed-set multiple-choice test. InSpect is a new, curated dataset of 48,184 natural history insect images—complete with cropped specimens, label-derived metadata, and 1,859 fine-grained anatomical part masks. It reveals that while modern vision models can ace closed-set classification, they still struggle badly when asked to identify unseen species or localize tiny structures like antennae and stings.
What Problem Does This Paper Address?
If you've ever walked behind the scenes at a natural history museum, you know that specimens don't just sit in neat, studio-lit boxes. They are pinned alongside tiny, handwritten or printed paper labels containing taxonomic names, collection dates, and locations.
Existing insect datasets (like IP102 or BIOSCAN-5M) have pushed biodiversity AI forward, but they largely focus on closed-set classification—meaning the model only ever has to pick from species it has already seen during training. In the real world, however, entomologists constantly encounter rare or previously unseen taxa. Furthermore, knowing what a bug is isn't enough; biologists also need to measure morphology (the shapes and sizes of wings, legs, and antennae). Existing datasets lack the fine-grained anatomical masks needed to benchmark whether AI can actually "see" these structures.
Methods
To build a realistic benchmark without giving models an easy shortcut, the authors designed a pipeline that separates visual morphology from textual labels:
- Cropping Out the Cheating: Using Grounding DINO followed by manual inspection, the authors cropped the insect out of each original collection image. This prevents vision models from simply reading the species name off the physical paper label sitting next to the bug.
- Parsing Weak Context: They didn't throw the labels away, though. Using
gemma-4-31B-it, they parsed the physical labels into a structured key-value schema (locality, collector, date, sex, etc.). To prevent data leakage during metadata-assisted experiments, they stripped out all direct taxonomic fields (order, family, genus, species, authority, year). - Two Benchmark Settings:
- Open Taxonomic Recognition: Evaluates models on both seen and unseen taxa across the taxonomic hierarchy (order, family, genus, species). They test zero-shot Vision-Language Models (VLMs) alongside fine-tuned
SigLIP 2(using LoRA adapters) with and without metadata supervision. - Fine-grained Anatomical Part Segmentation: Evaluates both supervised segmentation models (like Mask2Former and U-Net) and text-guided open-vocabulary models (like CLIPSeg, Grounding DINO + SAM/SAM2, and SAM3) at two levels of difficulty: singular labels (e.g., "leg", "wing") and spatial-aware labels (e.g., "left_hindleg", "right_forewing").
Datasets
InSpect is curated from 125,982 indoor collection images from the Australian National Insect Collection (ANIC), narrowed down to 48,184 high-quality images spanning 653 taxa (6 orders, 18 families, 132 genera).
- Recognition Splits: 517 taxa (80%) are assigned to the seen group (27,082 train / 3,867 val / 7,759 test-seen), while 136 taxa (20%) are held out exclusively for test-unseen (9,476 images).
- Anatomical Subset: 1,859 images (covering 632 taxa) are annotated with 20,225 part masks using X-AnyLabeling with SAM-assisted manual refinement. Unlike whole-object datasets, these target structures are tiny: the median part mask occupies just 0.76% of the image area (e.g., 0.23% for antennae, 0.11% for cercus).
Key Insights and Ideas
- Closed-set accuracy is an illusion of competence: Standard supervised models easily clear 93% Top-1 accuracy when the species list is fixed. Yet when evaluated in an open-recognition setting, zero-shot VLMs—even domain-specific ones—plummet to single-digit species accuracy.
- Metadata is a double-edged sword: Using label-derived metadata (like location and collector) as auxiliary supervision during fine-tuning helps boost unseen-species recognition. However, the gains are unstable across splits, showing that sparse, real-world collection records can introduce noise and shortcut biases.
- Open-vocabulary models can't tell a leg from a background: Zero-shot text-guided segmentation models frequently merge thin insect parts with the main body or background. Even when fine-tuned, distinguishing left from right or fore from hind appendages remains a major hurdle.
Key Results
- Closed-Set Recognition:
DINOv3 L/16(fine-tuned) achieves 93.50% Top-1 and 99.24% Top-5 accuracy. - Open Taxonomic Recognition:
- Zero-shot
BioCLIP 2nails coarse taxonomy (99.27% / 99.66% order accuracy on test-seen/unseen) but struggles at the species level (5.13% / 11.37% Top-1). General-purpose VLMs like CLIP and SigLIP fare even worse (~2–5% species Top-1). - Fine-tuning
SigLIP 2ontest-unseenimproves species Top-1 from 4.93% (zero-shot) to 6.16% (image-only) and 11.07% (image + metadata), with Top-5 jumping from 14.86% to 32.32%. - Anatomical Part Segmentation:
- Supervised models (
Mask2Former) reach 50.25% mIoU on singular labels, but drop to 36.36% mIoU on spatial-aware labels. - Zero-shot text-guided models struggle:
CLIPSegscores 6.31% mIoU andGrounding DINO + SAMscores 13.81% mIoU on singular labels.SAM3zero-shot hits 44.28% mIoU on singular labels but drops to 14.17% mIoU on spatial-aware labels. Fine-tuningSAM3brings those numbers up to 84.12% mIoU (singular) and 62.07% mIoU (spatial-aware).
Limitations and Future Work
The authors note that InSpect's anatomical subset deliberately avoids severely blurred or heavily obscured specimens to ensure reliable mask boundaries, meaning real-world "hard cases" could be even tougher. Additionally, the natural long-tail distribution of museum collections and the sparsity of label metadata (such as missing sex or life-stage fields) remain open challenges. Future work should focus on building biodiversity models that can jointly reason over fine-grained visual morphology and noisy collection records without relying on closed-set shortcuts.
Summary updated