Cross-crop domain generalization for static seed germination recognition using counterfactual consistency training
Recognizing whether a radicle is visible in static seed images can support high-throughput phenotyping of germination status and consistent screening across crop species. Although image-based deep learning methods can achieve high performance in germination detection, they are commonly evaluated using random within-crop or mixed-crop splits. Such evaluations cannot establish whether a model recognizes germination evidence, namely radicle visibility, rather than crop-specific cues such as color, texture, or background. We treat the three evaluated crop species as operational domains because their seed morphology and image appearance differ; this setup evaluates transfer to a held-out crop but does not separate biological variation from visual distribution shifts. We establish a three-fold leave-one-crop-out (LOCO) benchmark in which the Petri dish is the independent partitioning unit and dish-, image-, and ROI-level hash audits are used to exclude data leakage. Using a shared ConvNeXt V2-Pico backbone, we introduce Germination-State–Conditioned Counterfactual Consistency (GSCC), a training-time objective that applies the germination label to both the original ROI and a MixStyle-perturbed view and encourages their predictions to agree through Jensen–Shannon divergence. GSCC promotes prediction consistency under the specified perturbation, which we interpret only as label consistency; it does not demonstrate that biologically meaningful germination features are preserved. All three components are used only during training; the deployed model has the same ROI-classification inference graph as the empirical-risk-minimization (ERM) baseline. Across three held-out crops, the full model achieved a mean MCC of 0.846, Macro-F1 of 0.922, and AUPRC of 0.979, exceeding the ERM baseline (MCC 0.761) and the MixStyle-plus-Fishr baseline (MCC 0.817). The most difficult held-out crop, rye, attained an MCC of 0.772. B4 and the ERM baseline share the same inference graph and parameter count (8.554 M); for B4, the measured per-ROI inference latency was p50 4.85 ms and p95 4.94 ms. Within the three evaluated grain crops and controlled imaging conditions, GSCC is associated with improved static radicle-visibility recognition on held-out crops without changing the ROI-level classification inference graph.
Authors
- Zhuotong Zhang
- Tianyu Yang
- Xinlu Wang (ORCID: https://orcid.org/0009-0002-8479-6044)
- Qian Jia
- Li You
Institutions
- Hebei Agricultural University (CN)
- Baoding University of Technology (CN)
Publication Details
- Journal
- Frontiers in Plant Science
- Published
- 2026-11-30
- DOI
- https://doi.org/10.3389/fpls.2026.2019998
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00