# Cooking Up Risks: Benchmarking and Reducing Food Safety Risks in Large Language Models

Source: [Cooking Up Risks: Benchmarking and Reducing Food Safety Risks in Large Language Models](<https://www.sota2.com/research/paper/69cf496d0636e5bf4afcd900>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-04-07T05:00:04.607Z

Authors: Weidi Luo, Xiaofei Wen, Tenghao Huang, Hongyi Wang, Zhen Xiang, Chaowei Xiao, Kristina Gligori\\'c, Muhao Chen

Published: 2026-04-01T22:38:38.000Z

## Abstract

Large language models (LLMs) are increasingly deployed for everyday tasks, including food preparation and health-related guidance. However, food safety remains a high-stakes domain where inaccurate or misleading information can cause severe real-world harm. Despite these risks, current LLMs and safety guardrails lack rigorous alignment tailored to domain-specific food hazards. To address this gap, we introduce FoodGuardBench, the first comprehensive benchmark comprising 3,339 queries grounded in FDA guidelines, designed to evaluate the safety and robustness of LLMs. By constructing a taxonomy of food safety principles and employing representative jailbreak attacks (e.g., AutoDAN and PAP), we systematically evaluate existing LLMs and guardrails. Our evaluation results reveal three critical vulnerabilities: First, current LLMs exhibit sparse safety alignment in the food-related domain, easily succumbing to a few canonical jailbreak strategies. Second, when compromised, LLMs frequently generate actionable yet harmful instructions, inadvertently empowering malicious actors and posing tangible risks. Third, existing LLM-based guardrails systematically overlook these domain-specific threats, failing to detect a substantial volume of malicious inputs. To mitigate these vulnerabilities, we introduce FoodGuard-4B, a specialized guardrail model fine-tuned on our datasets to safeguard LLMs within food-related domains.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Harmful Content Detection on FoodGuardBench (test)](<https://www.sota2.com/research/sota/harmful-content-detection-on-foodguardbench-test.md>): Harmful Content Detection; FoodGuardBench (test); FNR: 2.75.

- [Food Safety Evaluation on FoodGuardBench](<https://www.sota2.com/research/sota/food-safety-evaluation-on-foodguardbench.md>): Safety evaluation against malicious inputs; FoodGuardBench; Allergens ASR: not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2604.01444>)

[PDF](<https://arxiv.org/pdf/2604.01444.pdf>)
