Skip to content
Cyber Science LabCanada Cyber Foundry, University of Guelph, Canada

Secure, Self-Healing Retrieval-Augmented LLM Platform for Food Safety Monitoring and Regulatory Compliance

A secure, self-healing RAG-LLM platform for evidence-grounded food safety monitoring and HACCP/PCP regulatory compliance, built with OMAFA.

2026–2029Natural Sciences and Engineering Research Council of Canada (NSERC) – Alliance Advantage

This project aims to develop a secure, intelligent, and self-healing Retrieval-Augmented Generation (RAG) platform powered by Large Language Models (LLMs) to improve food safety monitoring and regulatory compliance in the food-processing industry.

The proposed platform integrates regulatory knowledge, operational monitoring data, and food safety records to provide reliable, explainable, and evidence-grounded compliance assessments aligned with Hazard Analysis and Critical Control Point (HACCP) and Preventive Control Plan (PCP) requirements.

A central innovation is the integration of self-healing AI and cybersecurity resilience, enabling the system to detect and recover from data corruption, model drift, prompt injection, knowledge poisoning, and other adversarial threats. The platform combines domain-aware retrieval, automated compliance reasoning, anomaly detection, adaptive correction, and human-in-the-loop validation to maintain trustworthy performance in safety-critical environments.

In collaboration with the Ontario Ministry of Agriculture, Food and Agribusiness (OMAFA), the project will deliver a validated RAG-LLM prototype, self-healing monitoring and recovery mechanisms, cybersecurity safeguards, and audit-ready reporting tools. The anticipated outcomes will support food processors and regulatory authorities in improving compliance efficiency, strengthening food safety oversight, and reducing operational and cybersecurity risks.

Industry/government partner: Ontario Ministry of Agriculture, Food and Agribusiness (OMAFA).