Sensors

WheatTrust-DG: A Foundation Model-Enhanced Domain Generalization Framework for Trustworthy Wheat Spike Detection and Counting in Unseen Agricultural Environments

Yu Sun, Yihang Qin, Haoran Sun, Wenhui Zhao, Wenhao Chen

Key points

From the paper's conclusion
  • Compared with YOLO11s, the proposed framework reduces counting MAE from 8.74 ± 0.42 to 5.42 ± 0.28 and decreases counting error from 8.9% to 5.0%, demonstrating improved robustness under unseen agricultural environments.

Abstract

Accurate wheat spike detection and counting are fundamental for automated phenotyping, yield estimation, and precision agriculture. However, the deployment of deep learning-based agricultural vision models remains challenging due to substantial domain shifts caused by geographic variations, crop diversity, growth stages, illumination changes, and heterogeneous imaging platforms. Existing detectors often achieve high performance under predefined datasets but experience considerable performance degradation when transferred to unseen agricultural environments, limiting their reliability in real-world applications. To address this challenge, this study proposes WheatTrust-DG, a foundation model-enhanced cross-domain perception framework for reliable wheat spike detection and counting. The proposed framework adopts YOLO11s as a lightweight detection backbone and introduces collaborative knowledge transfer from a general visual foundation model (DINOv2) and a wheat-specific foundation model (FoMo4Wheat). An adaptive general–specific knowledge fusion strategy is developed to integrate complementary semantic representations, enabling the detector to learn more transferable wheat-related features. Furthermore, a Structure-aware Counterfactual Domain Randomization strategy is designed to preserve wheat morphological invariance while perturbing environmental appearance factors, thereby reducing the model’s dependence on background and acquisition-specific appearance variations. Extensive experiments on GWHD2021 demonstrate that WheatTrust-DG achieves robust cross-domain wheat perception. Compared with YOLO11s, the proposed framework reduces counting MAE from 8.74 ± 0.42 to 5.42 ± 0.28 and decreases counting error from 8.9% to 5.0%, demonstrating improved robustness under unseen agricultural environments. The proposed framework provides a promising solution for developing robust, reliable, and deployable intelligent agricultural sensing systems.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

WheatTrust-DG: A Foundation Model-Enhanced Domain Generalization Framework for Trustworthy Wheat Spike Detection and Counting in Unseen Agricultural Environments — Science Skim