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

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.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-11-26
DOI
https://doi.org/10.3390/s26237491
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

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

Yihang Qin, Yu Sun, Wenhao Chen, Haoran Sun et al.
Sensors
Smart Agriculture and AI
article

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

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

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.

SensorsVol. 26(23)
Changchun University (CN)
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon