Risk-Calibrated Conformal Prediction and Cost-Sensitive Spray Decision Support for Cross-Crop Foliar Disease Diagnosis
Background: Deep crop disease classifiers reach high accuracy on curated laboratory benchmarks, yet automated spray decisions require calibrated confidence estimates and cost-aware triage under field imaging shift. Standard top-1 argmax predictions ignore asymmetric yield losses and expose underrepresented smallholder crops and unfamiliar plant species to silent miscalibration. Results: Across eight vision models spanning 79,782 to 134,416,230 parameters evaluated on a deduplicated 35,420-image eight-crop testbed, six physical corruptions, 2,226 wild-field PlantDoc images, and 696 open-set unseen-crop images, laboratory accuracy failed to predict field safety. Although in-distribution expected calibration error remained low (0.58% to 1.29%), 32.19% to 75.61% of test errors carried confidence of at least 0.90, and uncalibrated field calibration error rose to 41.53%-70.68%. Under pooled conformal calibration, coverage dropped to 50.00%-77.78% on minority rice; crop-conditional calibration restored worst-crop coverage to 90.92%-93.15% at 0.952 to 0.966 classes per set. Zero-shot laboratory thresholds collapsed on PlantDoc (6.29% to 19.90% coverage), whereas calibrating on 200 field images restored 95% coverage with 8.97 classes for CropGuardNet-RawRGB against 30.10 to 34.65 classes for unconditioned networks. Standard out-of-distribution scores separated unseen field crops from laboratory test leaves (up to 0.9902 area under the receiver operating characteristic curve), but dropped to 0.4969-0.6301 when distinguishing unseen field species from field in-domain leaves. Mapping 38 diseases onto four farm actions via Action-Consistent Conformal Triage reduced wild-field spray excess regret by 69.8% versus blanket fungicide and 66.9% versus naive argmax (p < 0.0001 on the independent canonical test set), winning all 100 Monte Carlo splits against matched confidence deferral (431.24 versus 508.22 regret per 1,000 leaves) with 1.97% unnecessary spray and 0.02% missed infections. Post hoc host-crop logit masking compressed unconditioned sets to 4.42-5.26 classes, lowering crop-masked regret to 399.26-456.55 across generic backbones. Conclusions: Risk-calibrated action unanimity and few-shot field temperature scaling turn overconfident plant disease models into dependable agricultural decision support, whereas naive point predictions and laboratory-only checks fail silently under field shift.
Authors
- Innocent Nyalala (ORCID: https://orcid.org/0000-0002-7969-437X)
Institutions
- Indian Institute of Technology Madras, Zanzibar (TZ)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-25
- DOI
- https://doi.org/10.21203/rs.3.rs-11847600/v1
- Primary Topic
- Smart Agriculture and AI
- Type
- preprint