Label-Free Deep Learning with Feature Adaptation for Crop Anomaly Detection on Small Datasets

Efficient crop health monitoring is crucial for global food security. Supervised deep learning approaches are often impractical due to the scarcity of large, labeled datasets. To address this limitation, this study adapts EfficientAD, an unsupervised, label-free anomaly detection framework originally designed for industrial inspection, for agricultural imagery on small datasets. The method utilizes a Patch Description Network (PDN) for localized feature extraction, a student network for local anomalies, and an autoencoder for global structural constraints. Benchmarked against AnoGAN, Pix2Pix, InTra, and Teacher–Student models, the framework demonstrated superior performance on the MVTec AD, PlantVillage, Coffee Leaf, and a custom real-world Sweet Potato dataset. The model achieved perfect area under the receiver operating characteristic curve (AUROC) scores of up to 100% in categories like “Pongamia”, “Potato”, and “Coffee Leaf”. While image-level classification was exceptionally robust, pixel-level localization (AUPRO) proved sensitive to complex agricultural backgrounds. To overcome this, a background interference analysis was conducted using Background Removed (BGRM) and out-of-distribution Background Replaced-Green (BGRP-G) strategies on the custom dataset. Notably, the BGRP-G strategy remarkably improved the image-level AUROC from 88.9% to 99.5% and substantially boosted the pixel-level AUPRO from 47.1% to 61.9%, successfully preserving the boundary integrity of severe structural defects. Achieving millisecond-level latency without complex data augmentation, this adapted label-free framework offers a versatile, highly efficient solution for real-time crop health diagnostics on resource-constrained Edge AI devices.

Authors

Institutions

Publication Details

Journal
Agriculture
Published
2026-04-12
DOI
https://doi.org/10.3390/agriculture16080854
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Label-Free Deep Learning with Feature Adaptation for Crop Anomaly Detection on Small Datasets

Hsin-Hung Tseng, Ming‐Der Yang, Yu‐Chun Hsu, Tung‐Ching Su et al.
Agriculture
Smart Agriculture and AI
article

Label-Free Deep Learning with Feature Adaptation for Crop Anomaly Detection on Small Datasets

Hsin-Hung Tseng, Ming‐Der Yang, Yu‐Chun Hsu, Tung‐Ching Su, Tzu-Han Lee
article en

Abstract

Efficient crop health monitoring is crucial for global food security. Supervised deep learning approaches are often impractical due to the scarcity of large, labeled datasets. To address this limitation, this study adapts EfficientAD, an unsupervised, label-free anomaly detection framework originally designed for industrial inspection, for agricultural imagery on small datasets. The method utilizes a Patch Description Network (PDN) for localized feature extraction, a student network for local anomalies, and an autoencoder for global structural constraints. Benchmarked against AnoGAN, Pix2Pix, InTra, and Teacher–Student models, the framework demonstrated superior performance on the MVTec AD, PlantVillage, Coffee Leaf, and a custom real-world Sweet Potato dataset. The model achieved perfect area under the receiver operating characteristic curve (AUROC) scores of up to 100% in categories like “Pongamia”, “Potato”, and “Coffee Leaf”. While image-level classification was exceptionally robust, pixel-level localization (AUPRO) proved sensitive to complex agricultural backgrounds. To overcome this, a background interference analysis was conducted using Background Removed (BGRM) and out-of-distribution Background Replaced-Green (BGRP-G) strategies on the custom dataset. Notably, the BGRP-G strategy remarkably improved the image-level AUROC from 88.9% to 99.5% and substantially boosted the pixel-level AUPRO from 47.1% to 61.9%, successfully preserving the boundary integrity of severe structural defects. Achieving millisecond-level latency without complex data augmentation, this adapted label-free framework offers a versatile, highly efficient solution for real-time crop health diagnostics on resource-constrained Edge AI devices.

AgricultureVol. 16(8)
National Chung Hsing University (TW), National Quemoy University (TW)
National Science and Technology Council
Zero hunger
Openalex Percentile: Top 25%
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.