Adaptafood: an intelligent system to adapt recipes to specialised diets and healthy lifestyles
This paper presents AdaptaFood, a system to adapt recipes to specific dietary constraints. This is a common societal issue due to various dietary needs arising from medical conditions, allergies, or nutritional preferences. AdaptaFood provides recipe adaptations from two inputs: a recipe image (a fine-tuned image-captioning model allows us to extract the ingredients) or a recipe object (we extract the ingredients from the recipe features). For the adaptation, we propose to use an attention-based language sentence model based on BERT to learn the semantics of the ingredients and, therefore, discover the hidden relations among them. Specifically, we use them to perform two tasks: (1) align the food items from several sources to expand recipe information; (2) use the semantic features embedded in the representation vector to detect potential food substitutes for the ingredients. The results show that the model successfully learns domain-specific knowledge after re-training it to the food computing domain. Combining this acquired knowledge with the adopted strategy for sentence representation and food replacement enables the generation of high-quality recipe versions and dealing with the heterogeneity of different-origin food data.
Authors
- Marı́a J. Martı́n-Bautista (ORCID: https://orcid.org/0000-0002-6973-477X)
- Karel Gutiérrez‐Batista (ORCID: https://orcid.org/0000-0003-2711-4625)
- Andrea Morales-Garzón (ORCID: https://orcid.org/0000-0002-3458-0694)
Institutions
- Universidad de Granada (ES)
Publication Details
- Journal
- Multimedia Systems
- Published
- 2025-02-01
- DOI
- https://doi.org/10.1007/s00530-025-01667-y
- Citations
- 3
- Primary Topic
- Culinary Culture and Tourism
- Type
- article
- Field-Weighted Citation Impact
- 3.49
Funders
- Consejería de Transformación Económica, Industria, Conocimiento y Universidades
- European Commission
- Universidad de Granada
- European Regional Development Fund
- Agencia Estatal de Investigación
- HORIZON EUROPE European Research Council