An Integrated Framework for Contextual Personalized LLM-Based Food Recommendation
Ali Rostami
TL;DR
The work tackles the fragmentation and data-imbalance challenges in personalized Food-RecSys by proposing an integrated framework that synergizes domain-specific data components with Large Language Models. Central to the approach are the Multimedia Food Logger, the World Food Atlas, and the Food Recommendation as Language Processing (F-RLP) paradigm, which combines context generation, counterfactually retrained prompts, and query-stage personalization to deliver contextual, health-aware recommendations. Key contributions include a formal Personal Food Model (PFM) composed of Biological and Preferential components, an extendable data ecosystem (PFM, FKG, WFA), and a CFG-enabled LLM training loop that mitigates hallucinations and improves relevance. The framework demonstrates how location, context, and rich multimodal data can be integrated to produce precise, real-world food recommendations, with potential impacts on health outcomes and dietary behavior. Future work envisions broader data sources, automated logging, expanded knowledge graphs, and explainable, scalable LLM-based nutrition guidance.
Abstract
Personalized food recommendation systems (Food-RecSys) critically underperform due to fragmented component understanding and the failure of conventional machine learning with vast, imbalanced food data. While Large Language Models (LLMs) offer promise, current generic Recommendation as Language Processing (RLP) strategies lack the necessary specialization for the food domain's complexity. This thesis tackles these deficiencies by first identifying and analyzing the essential components for effective Food-RecSys. We introduce two key innovations: a multimedia food logging platform for rich contextual data acquisition and the World Food Atlas, enabling unique geolocation-based food analysis previously unavailable. Building on this foundation, we pioneer the Food Recommendation as Language Processing (F-RLP) framework - a novel, integrated approach specifically architected for the food domain. F-RLP leverages LLMs in a tailored manner, overcoming the limitations of generic models and providing a robust infrastructure for effective, contextual, and truly personalized food recommendations.
