Food Critic: An Agentic Visualization System for Auditable Restaurant-Safety Reasoning

Arleth Salinas, Ishrat Jahan Eliza, Valerio PascucciarXiv 2026

TL;DR

Food Critic is an agentic visualization system that transforms "black box" LLM reasoning into a transparent, auditable visual state. By externalizing tool calls, regulatory retrievals, and structured evidence into a linked visual provenance, the system allows users to verify restaurant safety claims rather than simply trusting a fluent AI narrative.

What Problem Does This Paper Address?

As Generative AI agents are increasingly integrated into decision-support systems, a critical trust gap has emerged. While LLMs can summarize complex data and provide recommendations, they often produce "plausible but unsupported" judgments. In high-stakes domains like public health, a "fluent" answer isn't enough—users need to know if a safety claim is backed by a specific inspection record or a hallucinated sentiment from a crowd review.

The authors tackle the challenge of visual provenance: how to make an agent’s internal reasoning process—its database queries, its interpretation of regulations, and its underlying assumptions—inspectable and contestable by a human user.

Methods

The authors developed Food Critic, which uses a ReAct-style (Reasoning + Acting) agent loop to navigate restaurant data. The core of their research is the comparison of three "grounding" conditions:

  1. V1 (Database-only): The agent uses core tools like SQL queries and establishment searches.
  2. V2 (+ Regulatory RAG): Adds Retrieval-Augmented Generation, allowing the agent to search actual food-safety regulations (e.g., Utah Administrative Rule R392-100) to explain why a violation matters.
  3. V3 (+ Ontology-guided): The most advanced stage, where the agent must map its findings to a hand-authored reasoning ontology. This forces the agent to produce structured hypotheses (e.g., "reputation-inspection mismatch") and explicitly tag evidence as either "supporting" or "undermining" its claim.

The system's interface externalizes these steps into a Reasoning View, featuring a tool-call timeline and "evidence glyphs" that visually represent the data behind each candidate restaurant.

Fig. 1: Food Critic externalizes grounded LLM-agent reasoning as visual provenance. Across three grounding conditions, the system combines restaurant inspection records, crowd reviews, regulatory retrieval, and ontology-guided evidence. The Reasoning view turns the agent’s tool calls, candidate-set changes, retrieved regulations, and typed evidence into a linked visual state, allowing users to audit claims rather than accept a fluent narrative.

Datasets

The system integrates two primary data sources:

  • SLCHD Inspection Records: Official data from the Salt Lake County Health Department, including inspection scores and specific violations for 1,341 establishments.
  • Google Local Dataset: Metadata, ratings, and review text for 8,592 food-related places in Utah.
  • Regulatory Corpus: A vector index of Utah’s food service sanitation rules used for the RAG components.

A key challenge noted was entity resolution: only 1.6% (139) of the Google Local establishments had a matched official inspection record, highlighting the "sparse coverage" problem inherent in public health data.

Key Insights and Ideas

  • Grounding as a Design Problem: The authors argue that grounding isn't just a backend accuracy fix; it’s a visualization challenge. Even if an agent is accurate, the user needs to see the evidence structure to trust it.
  • Ontology as a Scaffold: Using a domain-specific ontology (V3) forces the LLM to move away from generic "AI-speak" and use professional vocabulary (e.g., "repeat critical violator"). This structure makes the reasoning "auditable claim-by-claim."
  • Visualizing the "Candidate Set": By showing how the list of restaurants changes at each step of the agent's search, the system reveals the "provenance" of the final recommendation.
  • The "Fluent Narrative" Trap: A major insight is that LLMs can easily mistake review sentiment for safety. The system is designed to explicitly flag when inspection data is missing, preventing the agent from implying a "clean" record just because a restaurant has 5 stars on Google.
Fig. 2: Hypothesis and evidence provided by V3 using Gemini 3.6 Flash to the question "STELLA GRILL’s inspection scores have fluctuated significantly over time. Should I be concerned? Answer with very detailed visual analytics."

Key Results

The authors evaluated five LLMs (including Claude, Gemini, and GPT variants) across 21 tasks:

  • Accuracy: Gemini achieved 100% factual accuracy across all conditions. Other models like GPT improved slightly as more grounding (V2, V3) was added.
  • Inspectability: While grounding didn't always change the final answer, it fundamentally changed the delivery. In V3, every claim included a source pointer (SQL row or regulatory section) that could be traced back in the visual interface.
  • Failures: The study revealed "schema-complexity failures." For instance, Claude failed on the V3 condition because the combination of the full tool set and the complex ontology-guided schema hit the model's structured-output limits.
  • Cost: GPT-4o (referred to as gpt-5.6-terra) was the most cost-effective, while Claude and Gemini were significantly more expensive per successful run.

Limitations and Future Work

  • Data Sparsity: The low match rate between crowd reviews and official inspections remains a hurdle. Future work aims to improve entity resolution to surface more safety data.
  • User Evaluation: This paper focused on system design and LLM performance; the authors plan to conduct user studies to see if these visual traces actually help people catch AI errors or "hallucinated" safety claims.
  • Model Constraints: The "brittleness" of structured output (JSON formatting errors) remains a system-level constraint for agentic visualization.
The visualization state generated by the agent, including charts and maps that support the reasoning process.

Summary updated

Abstract

Generative AI agents are increasingly being embedded into visualization systems that can search data, invoke tools, summarize evidence, and produce recommendations. However, when agents rely solely on their own knowledge, the visualization problem is not only whether the agent provides a useful answer, but also whether users can inspect how that answer is grounded. We present Food Critic, an agentic visualization system for diners' restaurant decision support that integrates public health inspection records with crowd review data. The system grounds agents under three conditions: a database-only ReAct agent, a retrieval- augmented agent with access to food-safety regulations, and an ontology-guided agent that produces structured hypotheses and typed evidence. Food Critic externalizes the agent's reasoning within these groundings as inspectable visual evidence. We evaluate LLM models with several use cases under each grounding of our agentic system. Our work positions restaurant choice as a concrete case for studying human-agent collaboration, visual provenance of agent reasoning, and the design of visual interfaces for grounded GenAI decision support.
BibTeX
@misc{salinas2026food,
  author = {Arleth Salinas and Ishrat Jahan Eliza and Valerio Pascucci},
  title = {{Food Critic: An Agentic Visualization System for Auditable Restaurant-Safety Reasoning}},
  year = {2026},
  eprint = {2611.15843},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.15843},
}
Figure