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:
- V1 (Database-only): The agent uses core tools like SQL queries and establishment searches.
- 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.
- 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.
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.
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.
Summary updated