StomataBench: Measuring Taxonomic Generalization in Stomatal Detection
Abstract
Stomatal density is widely measured in plant biology because it links cellular anatomy to photosynthesis, transpiration, water-use efficiency, and global change responses across Plantae. Recent work has addressed scalable stomatal phenotyping by training object detectors to localize and count stomata in microscopy images. Unfortunately, most existing stomatal datasets evaluate detectors within a single acquisition pipeline, leaving open whether their predictions remain reliable under out-of-distribution (OOD) deployment. This matters because detection counts are not the final scientific output. The resulting density measurement is the quantity used for biological interpretation. In contrast, StomataBench evaluates stomatal detection as a scientific measurement problem under structured OOD shift. StomataBench pairs a single training set, OD-Train, with four held-out test sets that separate taxonomic shift, imaging-system shift, annotator shift, and combined multi-source shift. OD-Train contains 21 woody species, 20 eudicots and one magnoliid, and no monocot, gymnosperm, or fern. To make OOD evaluation biologically meaningful, held-out species are arranged on a six-level OOD ladder grounded in taxonomic distance. Beyond stomatal localization, the evaluation tests whether detector outputs preserve calibrated species-level variation in stomatal density. StomataBench provides a benchmark for testing whether stomatal detectors remain useful as measurement tools under deployment-relevant biological and imaging shifts.