A new take on measuring nutritional density: The feasibility of using a deep neural network to assess commercially-prepared puree concentrations

Kaylen J. Pfisterer, Robert Amelard, Audrey G. Chung, Alexander WongarXiv 2017

Introduction

Dysphagia, or difficulty swallowing, is a significant health concern affecting approximately 590 million people globally, particularly within the aging population. To mitigate choking risks, patients are often prescribed "modified texture" diets consisting of puréed foods. However, a critical challenge in clinical nutrition is "nutritional thinning." To achieve the necessary smooth consistency, caregivers frequently dilute food with water or thickeners, which can drastically reduce the caloric and nutrient density of the meal.

Currently, monitoring this dilution relies on subjective visual assessment, which is prone to error and inconsistency. This research explores the feasibility of an automated, non-invasive imaging system powered by deep neural networks (DNN) to objectively quantify the concentration of commercially prepared purées, serving as a reliable proxy for nutritional value.

Methodology

The proposed system integrates optical physics with advanced machine learning to detect subtle changes in food appearance caused by dilution.

Optical and Imaging Framework

The study is grounded in the Beer-Lambert law of light attenuation, which suggests that as food is diluted, its light absorption and scattering properties change in a predictable manner. To capture these changes, the researchers employed multispectral imaging using a DSLR camera equipped with specialized filters. By utilizing same-side reflectance and linear polarization (both horizontal and vertical), the system effectively separates surface texture information from internal color data. Images were captured at three different exposures to ensure the model remains robust against varying ambient lighting conditions.

Deep Learning Architecture

Rather than relying on standard supervised learning, which requires vast amounts of labeled data, the researchers implemented a architecture based on stacked autoencoders. This approach involves two primary phases:

  1. Unsupervised Pre-training: The model first learns to extract fundamental features—such as "dilution-ness"—from 13,230 image patches without initial knowledge of the food type.
  2. Fine-tuning: A final softmax activation layer is added to classify the extracted features into five distinct concentration levels: 20%, 40%, 60%, 80%, and 100%.
Figure 1: The end-to-end pipeline from image patch extraction and downscaling to the deep neural network architecture featuring stacked autoencoders and a softmax classification layer.

Dataset and Experimental Setup

The system was validated using a custom dataset of 390 samples derived from 13 types of commercially prepared purées. These included:

  • Fruits: Apple, apricot, banana, blueberry, mango, and strawberry.
  • Meats: Beef and chicken.
  • Vegetables: Carrot, butternut squash, parsnip, pea, and sweet potato.

Each flavor was prepared in a five-tier dilution series. These samples were then deconstructed into 13,230 auto-labeled patches for training and validation purposes.

Results and Discussion

The DNN-based system achieved an impressive overall top-1 accuracy of 92.2% ± 0.41%. It demonstrated high sensitivity (83.0% ± 15.0%) and specificity (95.0% ± 4.8%), outperforming or matching traditional machine learning models like Random Forests that rely on hand-crafted features.

Performance Variations

The model's performance varied significantly based on the food's physical characteristics:

  • High Entropy Success: Foods like blueberry and strawberry yielded near-perfect classification (up to 99.6%). The presence of seeds and skin flecks provided rich texture cues (high entropy) that the AI could easily distinguish across different concentrations.
  • The "Chicken Problem": The model struggled most with chicken purée (73.3% accuracy). Chicken is naturally high-saturation and low-entropy, appearing as a featureless white paste. This lack of visual "cues" makes it difficult for even advanced AI to differentiate between levels of dilution.

Conclusion and Future Work

This study demonstrates that a deep learning-based imaging system can accurately and objectively assess the concentration of puréed foods. By utilizing autoencoders, the system learns the "essence" of food textures and colors, making it more adaptable to new food types than traditional methods.

While the current model focused on water-based dilution in controlled environments, future research will aim to validate the system against real-world variables, such as different diluents (broth, milk) and varying temperatures. The ultimate goal is to develop a "smart" clinical tool that provides caregivers and dietitians with instant, objective reports on the nutritional density of a patient's meal, ensuring better health outcomes for those with dysphagia.

Summary updated

Abstract

Dysphagia affects 590 million people worldwide and increases risk for malnutrition. Pureed food may reduce choking, however preparation differences impact nutrient density making quality assurance necessary. This paper is the first study to investigate the feasibility of computational pureed food nutritional density analysis using an imaging system. Motivated by a theoretical optical dilution model, a novel deep neural network (DNN) was evaluated using 390 samples from thirteen types of commercially prepared purees at five dilutions. The DNN predicted relative concentration of the puree sample (20%, 40%, 60%, 80%, 100% initial concentration). Data were captured using same-side reflectance of multispectral imaging data at different polarizations at three exposures. Experimental results yielded an average top-1 prediction accuracy of 92.2+/-0.41% with sensitivity and specificity of 83.0+/-15.0% and 95.0+/-4.8%, respectively. This DNN imaging system for nutrient density analysis of pureed food shows promise as a novel tool for nutrient quality assurance.
BibTeX
@misc{pfisterer2017new,
  author = {Kaylen J. Pfisterer and Robert Amelard and Audrey G. Chung and Alexander Wong},
  title = {{A new take on measuring nutritional density: The feasibility of using a deep neural network to assess commercially-prepared puree concentrations}},
  year = {2017},
  eprint = {1707.07312},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1707.07312},
}
Figure