Skip to main content
QUICK REVIEW

[Paper Review] Deep Learning for Classifying Food Waste

Amin Mazloumian, Matthias Rosenthal|arXiv (Cornell University)|Feb 6, 2020
Food Waste Reduction and SustainabilityAgricultural and Biological Sciences8 references5 citations
TL;DR

This paper proposes a deep learning approach using a dual-stream convolutional neural network with custom 'delta layers' to classify food waste from images captured before and after waste disposal in smart bins. By emphasizing feature changes after each disposal event, the model achieves 83.5% categorical accuracy in classifying 20 food waste categories from half a million images, despite lacking object localization or segmentation annotations.

ABSTRACT

One third of food produced in the world for human consumption -- approximately 1.3 billion tons -- is lost or wasted every year. By classifying food waste of individual consumers and raising awareness of the measures, avoidable food waste can be significantly reduced. In this research, we use deep learning to classify food waste in half a million images captured by cameras installed on top of food waste bins. We specifically designed a deep neural network that classifies food waste for every time food waste is thrown in the waste bins. Our method presents how deep learning networks can be tailored to best learn from available training data.

Motivation & Objective

  • To address the lack of individual consumer food waste data by enabling automated classification of food waste at the consumption stage.
  • To develop a deep learning model that classifies food waste from images captured by cameras on top of waste bins, even when multiple food items are present.
  • To design a neural network architecture that effectively learns from limited annotation, using only the class of the last food item thrown in the bin.
  • To overcome challenges in visual classification due to food variability, liquids, and overlapping textures by leveraging temporal differences in image features.

Proposed method

  • A dual-stream VGG16-based convolutional neural network extracts features from images captured before and after each waste disposal event.
  • Delta layers compute the ReLU-activated difference between feature volumes of the 'after' and a scaled 'before' image at each abstraction level, emphasizing new features introduced by the latest waste.
  • The scaled 'before' feature volume is learned via a trainable scaling constant λᶜ, allowing adaptive emphasis on relevant changes.
  • Feature maps from the delta layers are added to a third shared convolutional path at corresponding abstraction levels to integrate temporal changes.
  • The final feature volume is flattened and passed through three fully-connected layers to produce a 20-way classification output.
  • A U-Net is used in a pre-processing phase to perform background subtraction with 95.8% pixel-wise accuracy on a small annotated subset.

Experimental results

Research questions

  • RQ1Can a deep learning model accurately classify the last food waste item thrown into a bin using only image pairs before and after disposal?
  • RQ2How can a neural network effectively learn from limited training data when only the class of the most recent item is labeled?
  • RQ3To what extent can delta layers improve classification by focusing on features introduced after each waste disposal?
  • RQ4Can a model achieve high accuracy in classifying food waste without requiring object detection or semantic segmentation annotations?

Key findings

  • The proposed model achieved a categorical accuracy of 83.5% in classifying 20 distinct food waste categories using only image pairs and single-label annotations.
  • The U-Net pre-processing step achieved 95.8% pixel-wise accuracy in identifying food waste regions in images, enabling effective background subtraction.
  • The delta layer mechanism successfully emphasized new visual features introduced after each waste disposal, improving model sensitivity to recent additions.
  • The model effectively handled visual challenges such as overlapping food items, liquid waste, and texture variations by leveraging temporal differences in image features.
  • The architecture demonstrated that deep learning can be tailored to learn from sparse annotations by focusing on change detection between consecutive images.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.