A Deterministic Engine Does Not Make a Deterministic Verdict: A Pilot Comparison of Two LLM Perception Layers in a Neuro-Symbolic Food-Label Compliance Checker

FoodCheck Jordan separates a probabilistic perception layer (a large language model that reads label photographs into structured JSON) from a deterministic judgment layer (a rules engine encoding Jordanian standards and Codex texts). The separation is often read as a guarantee that verdicts are reproducible. This pilot tests that reading. Two products that drew contested verdicts in production — a table-top sweetener and a vegetable-fat cooking-cream analogue — were re-extracted from the same photographs with the same prompt by two models (Claude Opus 4.8, in production, and Claude Opus 5.5), with 6–9 repeated runs per product–model cell, and every extraction was passed through the same frozen engine. Perception was scored on 10 checks per product against a ground truth fixed by a domain expert before final scoring. With Opus 4.8, the sweetener received two different final verdicts across six runs (FAIL ×5, PASS_WITH_NOTES ×1) because one dot-matrix code was read inconsistently; Opus 5.5 returned the same verdict in 6/6 runs. Mean perception scores were 6.0/10 vs 9.2/10 (sweetener) and 8.7/10 vs 9.5/10 (cream analogue). Opus 4.8 invented an undeclared additive function in 6/6 sweetener runs, masking a real labelling gap. The better model also hid an engine defect by accident, and switching models silently broke the production parser. We conclude that a deterministic engine bounds, but does not deliver, verdict stability; stability must be measured by repetition, and model changes must be treated as structural changes.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-11
DOI
https://doi.org/10.5281/zenodo.24144284
Primary Topic
Artificial Intelligence in Law
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A Deterministic Engine Does Not Make a Deterministic Verdict: A Pilot Comparison of Two LLM Perception Layers in a Neuro-Symbolic Food-Label Compliance Checker

Raafat Alhalaki
Zenodo (CERN European Organization for Nuclear Research)
Artificial Intelligence in Law
preprint

A Deterministic Engine Does Not Make a Deterministic Verdict: A Pilot Comparison of Two LLM Perception Layers in a Neuro-Symbolic Food-Label Compliance Checker

Raafat Alhalaki
preprint en

Abstract

FoodCheck Jordan separates a probabilistic perception layer (a large language model that reads label photographs into structured JSON) from a deterministic judgment layer (a rules engine encoding Jordanian standards and Codex texts). The separation is often read as a guarantee that verdicts are reproducible. This pilot tests that reading. Two products that drew contested verdicts in production — a table-top sweetener and a vegetable-fat cooking-cream analogue — were re-extracted from the same photographs with the same prompt by two models (Claude Opus 4.8, in production, and Claude Opus 5.5), with 6–9 repeated runs per product–model cell, and every extraction was passed through the same frozen engine. Perception was scored on 10 checks per product against a ground truth fixed by a domain expert before final scoring. With Opus 4.8, the sweetener received two different final verdicts across six runs (FAIL ×5, PASS_WITH_NOTES ×1) because one dot-matrix code was read inconsistently; Opus 5.5 returned the same verdict in 6/6 runs. Mean perception scores were 6.0/10 vs 9.2/10 (sweetener) and 8.7/10 vs 9.5/10 (cream analogue). Opus 4.8 invented an undeclared additive function in 6/6 sweetener runs, masking a real labelling gap. The better model also hid an engine defect by accident, and switching models silently broke the production parser. We conclude that a deterministic engine bounds, but does not deliver, verdict stability; stability must be measured by repetition, and model changes must be treated as structural changes.

Zenodo (CERN European Organization for Nuclear Research)
Artificial Intelligence in Law
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon