Skip to main content
QUICK REVIEW

[Paper Review] Long-Tailed Continual Learning For Visual Food Recognition

Jiangpeng He, Zhang, Xiaoyan|arXiv (Cornell University)|Jul 1, 2023
Nutritional Studies and DietMedicine7 citations
TL;DR

This paper proposes an end-to-end framework for long-tailed continual learning in visual food recognition that combines feature-based knowledge distillation with a dual-prediction head to mitigate catastrophic forgetting and a CAM-CutMix data augmentation technique to improve generalization for rare food classes. The method achieves significant accuracy gains on Food101-LT, VFN-LT, VFN-INSULIN, and VFN-T2D benchmarks, outperforming existing approaches in long-tailed, incremental learning scenarios.

ABSTRACT

Deep learning-based food recognition has made significant progress in predicting food types from eating occasion images. However, two key challenges hinder real-world deployment: (1) continuously learning new food classes without forgetting previously learned ones, and (2) handling the long-tailed distribution of food images, where a few common classes and many more rare classes. To address these, food recognition methods should focus on long-tailed continual learning. In this work, We introduce a dataset that encompasses 186 American foods along with comprehensive annotations. We also introduce three new benchmark datasets, VFN186-LT, VFN186-INSULIN and VFN186-T2D, which reflect real-world food consumption for healthy populations, insulin takers and individuals with type 2 diabetes without taking insulin. We propose a novel end-to-end framework that improves the generalization ability for instance-rare food classes using a knowledge distillation-based predictor to avoid misalignment of representation during continual learning. Additionally, we introduce an augmentation technique by integrating class-activation-map (CAM) and CutMix to improve generalization on instance-rare food classes. Our method, evaluated on Food101-LT, VFN-LT, VFN186-LT, VFN186-INSULIN, and VFN186-T2DM, shows significant improvements over existing methods. An ablation study highlights further performance enhancements, demonstrating its potential for real-world food recognition applications.

Motivation & Objective

  • Address the dual challenge of catastrophic forgetting and class imbalance in continual food recognition under long-tailed data distributions.
  • Develop realistic benchmark datasets reflecting real-world food consumption patterns for individuals with type 2 diabetes and insulin users.
  • Design an end-to-end learning framework that effectively retains knowledge of previously learned food classes while adapting to new, rare food categories.
  • Improve generalization for instance-rare food classes through innovative data augmentation and representation distillation techniques.
  • Evaluate the method across multiple long-tailed datasets, including newly introduced VFN-INSULIN and VFN-T2D, to demonstrate robustness and real-world applicability.

Proposed method

  • Introduce a dual-prediction head mechanism in knowledge distillation that projects current representations back to past class spaces, reducing feature space misalignment during continual learning.
  • Apply feature-based knowledge distillation using a student-teacher framework where the student model learns from both current and past class representations.
  • Propose a novel data augmentation strategy combining class-activation maps (CAM) and CutMix to emphasize discriminative regions in rare food classes and enhance feature learning.
  • Use a memory buffer to store exemplar images for knowledge retention, with ablation studies on buffer capacity to assess scalability and privacy trade-offs.
  • Leverage pre-trained backbones (e.g., ResNet, EfficientNet, ViT) on ImageNet-1K and ImageNet-21K to improve initial feature representation before continual learning.
  • Train the model incrementally, updating only on new classes while preserving performance on previously seen classes through distillation and exemplar-based regularization.

Experimental results

Research questions

  • RQ1How can catastrophic forgetting be effectively mitigated in long-tailed continual learning for visual food recognition?
  • RQ2To what extent does integrating CAM-based attention with CutMix improve generalization for rare food classes in long-tailed distributions?
  • RQ3How does the proposed dual-prediction head mechanism improve representation alignment across incremental learning phases?
  • RQ4What is the impact of memory buffer size on performance in long-tailed continual learning, and where does the performance plateau occur?
  • RQ5How do pre-trained backbones from large-scale datasets affect downstream performance in long-tailed continual food recognition?

Key findings

  • The proposed method achieves large margin improvements in average accuracy over existing methods on Food101-LT, VFN-LT, VFN-INSULIN, and VFN-T2D benchmarks.
  • Performance improves consistently with increasing memory buffer capacity, though gains plateau beyond 50 exemplars, indicating a performance bottleneck due to class imbalance and forgetting.
  • Pre-training on ImageNet-1K and ImageNet-21K boosts average accuracy by over 20% compared to training from scratch, highlighting the importance of strong initial representations.
  • The CAM-CutMix augmentation technique significantly enhances generalization for instance-rare food classes, particularly in long-tailed settings.
  • Ablation studies confirm that both the dual-prediction head and the CAM-CutMix augmentation are essential components, with each contributing substantially to overall performance.
  • The framework demonstrates strong robustness across diverse real-world food consumption patterns, including those specific to diabetic and insulin-dependent populations.

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.