Raw Produce Quality Detection with Shifted Window Self-Attention
Not on the map. Why?
Abstract (arXiv)
Global food insecurity is expected to worsen in the coming decades with the accelerated rate of climate change and the rapidly increasing population. In this vein, it is important to remove inefficiencies at every level of food production. The recent advances in deep learning can help reduce such inefficiencies, yet their application has not yet become mainstream throughout the industry, inducing economic costs at a massive scale. To this point, modern techniques such as CNNs (Convolutional Neural Networks) have been applied to RPQD (Raw Produce Quality Detection) tasks. On the other hand, Transformer's successful debut in the vision among other modalities led us to expect a better performance with these Transformer-based models in RPQD. In this work, we exclusively investigate the recent state-of-the-art Swin (Shifted Windows) Transformer which computes self-attention in both intra- and inter-window fashion. We compare Swin Transformer against CNN models on four RPQD image datasets, each containing different kinds of raw produce: fruits and vegetables, fish, pork, and beef. We observe that Swin Transformer not only achieves better or competitive performance but also is data- and compute-efficient, making it ideal for actual deployment in real-world setting. To the best of our knowledge, this is the first large-scale empirical study on RPQD task, which we hope will gain more attention in future works.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 29 references that are in the map. First posted on arXiv 24 Dec 2021.
Builds on
17 of 29 references.
References · 17
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 566
- 2015An open access repository of images on plant health to enable the development of mobile disease diagnosticscited by 132
- 2021Vision Transformers For Weeds and Crops Classification Of High Resolution UAV Imagescited by 5
5 more
- 2020Apple Defect Detection Using Deep Learning Based Object Detection For Better Post Harvest Handlingcited by 2
- 2020Evaluation of Model Selection for Kernel Fragment Recognition in Corn Silagecited by 1
- 2020Mobile-Based Deep Learning Models for Banana Diseases Detectioncited by 1
- 2020A Deep Learning Approach for Determining Effects of Tuta Absoluta in Tomato Plantscited by 1
- 2020Early Disease Diagnosis for Rice Cropcited by 1
Built on by
Not cited yet.