Ontology-enhanced RAG for a personalised and sustainable food advisory system
Abstract
Supporting consumers in making autonomous food choices that are sustainable and nutritionally complete is an increasingly complex task, that must take into account several needs to foster eating habits of health-conscious consumers, while reducing food waste and environmental impact. While generative AI and Large Language Models (LLMs) show promising results in this domain due to their natural language processing capabilities, they suffer from critical limitations, including hallucinations, knowledge gaps, and a lack of handling factual information. To mitigate such limitations, Retrieval Augmented Generation (RAG), which retrieves relevant information from external sources to enhance the capabilities of LLMs, has shown effectiveness in many domains. However, existing RAG approaches typically operate on unstructured text that lacks sophisticated symbolic representations of complex domain knowledge. This work proposes an ontology-enhanced conversational food advisory system, that integrates a modular ontology, named FoCOSA (Food Consumer-Oriented Sustainability-Aware), within several key tasks of a RAG-based system, enhancing LLM reasoning with domain knowledge, while the LLM enhances the interpretation of user requests, thus improving retrieval effectiveness and interaction fluidity. Experimental evaluations demonstrate the efficacy of the approach, and the study concludes with guidelines for selecting appropriate settings for food recommendation scenarios considering the complexity of natural language queries and other contextual factors.
Fields of Study & Subjects
Consumer Attitudes and Food Labeling
Nutrition
Genetics
and Disease
Nutritional Studies and Diet
Publication details
- Journal / source
- Data & Knowledge Engineering
- Publisher
- Elsevier BV
- Volume
- 164
- Pages
- 102579–102579
- Publication date
- 20 February 2026
- Language
- EN