@misc{10481/103761, year = {2025}, month = {2}, url = {https://hdl.handle.net/10481/103761}, abstract = {This paper presents AdaptaFood, a system to adapt recipes to specifc 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 fne-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. Specifcally, 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-specifc 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 diferent-origin food data.}, organization = {Ciencias de la Computación e Inteligencia Artificial}, organization = {ERDF/EU}, organization = {MICIU/AEI/10.13039/501100011033 PID2021-123960OB-I00, TED2021-129402B-C21}, organization = {European Union NextGenerationEU/PRTR}, organization = {Junta de Andalucí­a PREDOC_00298}, organization = {University of Granada CITIC-2024-06}, publisher = {Springer Nature}, keywords = {Food computing}, keywords = {Recipe Adaptation}, keywords = {Word embedding}, keywords = {Healthy diet}, keywords = {Natural language processing}, title = {Adaptafood: an intelligent system to adapt recipes to specialised diets and healthy lifestyles}, doi = {10.1007/s00530-025-01667-y}, author = {Morales Garzón, Andrea and Gutiérrez Batista, Karel and Martín Bautista, María José}, }