Agriculture (May 2023)

MLFAnet: A Tomato Disease Classification Method Focusing on OOD Generalization

  • Dasen Li,
  • Zhendong Yin,
  • Yanlong Zhao,
  • Wudi Zhao,
  • Jiqing Li

DOI
https://doi.org/10.3390/agriculture13061140
Journal volume & issue
Vol. 13, no. 6
p. 1140

Abstract

Read online

Tomato disease classification based on images of leaves has received wide attention recently. As one of the best tomato disease classification methods, the convolutional neural network (CNN) has an immense impact due to its impressive performance. However, better performance is verified by independent identical distribution (IID) samples of tomato disease, which breaks down dramatically on out-of-distribution (OOD) classification tasks. In this paper, we investigated the corruption shifts, which was a vital component of OOD, and proposed a tomato disease classification method to improve the performance of corruption shift generalization. We first adopted discrete cosine transform (DCT) to obtain the low-frequency components. Then, the weight of the feature map was calculated by multiple low-frequency components, in order to reduce the influence of high-frequency variation caused by corrupted perturbation. The proposed method, termed as a multiple low-frequency attention network (MLFAnet), was verified by the benchmarking of ImageNet-C. The accuracy result and generalization performance confirmed the effectiveness of MLFAnet. The satisfactory generalization performance of our proposed classification method provides a reliable tool for the diagnosis of tomato disease.

Keywords