Multi-label learning in food image recognition presents a promising avenue for understanding the visual composition of meals through joint ingredient prediction. In this article, we improve an existing GCN-based framework by replacing its standard co-occurrence matrix with a novel semantic variant, constructed using large language models (LLMs). Unlike traditional approaches that derive co-occurrence statistics solely from the training data which often introducing biases and limiting generalization, our method leverages prior knowledge extracted from LLMs to build an adjacency matrix that captures broader and more contextually grounded ingredient relationships. We evaluated our approach on the MAFood-121 and VireoFood-172 datasets, significantly outperforming the benchmark method that relies on dataset-conditioned co-occurrence graphs. On MAFood-121, our model improved the mean average precision (mAP) from 82.77% to 87.46%, while on VireoFood-172, it increased from 60.88% to 65.28%. The results demonstrate the effectiveness of integrating LLM-derived semantic structure into graph-based multi-label models for structured food recognition.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

LLM-Generated Semantic Co-occurrences for Multi-label Food Recognition

  • Daniel Ponte,
  • Eduardo Aguilar,
  • Mireia Ribera,
  • Petia Radeva

摘要

Multi-label learning in food image recognition presents a promising avenue for understanding the visual composition of meals through joint ingredient prediction. In this article, we improve an existing GCN-based framework by replacing its standard co-occurrence matrix with a novel semantic variant, constructed using large language models (LLMs). Unlike traditional approaches that derive co-occurrence statistics solely from the training data which often introducing biases and limiting generalization, our method leverages prior knowledge extracted from LLMs to build an adjacency matrix that captures broader and more contextually grounded ingredient relationships. We evaluated our approach on the MAFood-121 and VireoFood-172 datasets, significantly outperforming the benchmark method that relies on dataset-conditioned co-occurrence graphs. On MAFood-121, our model improved the mean average precision (mAP) from 82.77% to 87.46%, while on VireoFood-172, it increased from 60.88% to 65.28%. The results demonstrate the effectiveness of integrating LLM-derived semantic structure into graph-based multi-label models for structured food recognition.