Skip to main content
QUICK REVIEW

[Paper Review] Extracting Food Substitutes From Food Diary via Distributional Similarity

Palakorn Achananuparp, Ingmar Weber|arXiv (Cornell University)|Jul 29, 2016
Nutritional Studies and DietMedicine10 references14 citations
TL;DR

This paper proposes a distributional similarity approach to extract food substitutes from real-world food diary data using vector space models, leveraging co-occurrence patterns in meals to identify dietary substitutes. The method achieves high performance—especially with SVD at stricter thresholds—demonstrating that context-based similarity effectively captures substitute relationships without relying on external knowledge sources.

ABSTRACT

In this paper, we explore the problem of identifying substitute relationship between food pairs from real-world food consumption data as the first step towards the healthier food recommendation. Our method is inspired by the distributional hypothesis in linguistics. Specifically, we assume that foods that are consumed in similar contexts are more likely to be similar dietarily. For example, a turkey sandwich can be considered a suitable substitute for a chicken sandwich if both tend to be consumed with french fries and salad. To evaluate our method, we constructed a real-world food consumption dataset from MyFitnessPal's public food diary entries and obtained ground-truth human judgements of food substitutes from a crowdsourcing service. The experiment results suggest the effectiveness of the method in identifying suitable substitutes.

Motivation & Objective

  • To develop a data-driven method for identifying food substitutes from real-world self-reported food consumption data, avoiding reliance on external knowledge sources.
  • To investigate whether foods consumed in similar meal contexts are more likely to be dietary substitutes, based on the distributional hypothesis from NLP.
  • To evaluate the effectiveness of vector space models—specifically PPMI matrix and SVD—in ranking food substitute pairs using human-annotated ground truth.
  • To analyze the dietary patterns of users by examining co-occurrence and substitution behavior across food subcategories, particularly within protein groups.

Proposed method

  • Constructs a food-context matrix using Positive Pointwise Mutual Information (PPMI) to measure co-occurrence strength between food items and their meal contexts.
  • Applies Singular Value Decomposition (SVD) to reduce dimensionality and improve semantic similarity representation in the vector space model.
  • Uses cosine similarity between food item vectors to compute potential substitute relationships based on shared meal contexts.
  • Employs a crowdsourcing platform (CrowdFlower) to collect human-annotated ground-truth labels for 2,000 food pairs, with binary judgments based on thresholds (τ=3 or τ=4).
  • Evaluates performance using standard IR metrics: precision at 1 and 10 (prec@1, prec@10), mean average precision (MAP), and normalized discounted cumulative gain (NDCG).
  • Normalizes co-occurrence frequencies across food subcategories to visualize substitution patterns, particularly within protein groups.

Experimental results

Research questions

  • RQ1Can distributional similarity in meal-level co-occurrence patterns effectively identify food substitutes without external knowledge?
  • RQ2How do different vector space models (PPMI matrix vs. SVD) compare in ranking food substitute pairs based on human-annotated judgments?
  • RQ3Does applying a stricter threshold (τ=4) for human agreement improve the detectability of high-quality substitute pairs compared to a lenient threshold (τ=3)?
  • RQ4What are the dominant substitution patterns across major food subcategories, particularly within protein groups, as revealed by co-occurrence analysis?

Key findings

  • At τ=3, both PPMI matrix and SVD achieve comparable performance with prec@1 = 0.75 and 0.77, prec@10 = 0.777 for both, and MAP = 0.826 and 0.823 respectively.
  • At τ=4, SVD significantly outperforms PPMI matrix, achieving prec@1 = 0.69 (vs. 0.58), prec@10 = 0.696 (vs. 0.567), and MAP = 0.755 (vs. 0.673), indicating better robustness under stricter human judgment criteria.
  • PPMI matrix slightly outperforms SVD in NDCG (0.811 vs. 0.772), suggesting better ranking quality for top-10 lists despite lower precision at high thresholds.
  • Top-10 substitutes for 'Tim Bacon' identified by PPMI matrix are predominantly processed meats (e.g., sausages, bacon), indicating strong context-based similarity in protein group usage.
  • Co-occurrence analysis reveals that substitutions are most frequent between poultry items (e.g., chicken and turkey), and plant-based proteins are rarely used as meat substitutes.
  • The study identifies cultural bias in crowdsourced labels, as most workers were from non-US countries (e.g., Indonesia, India), potentially affecting cross-cultural generalizability of substitute judgments.

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.