DATUM: A System of Syntactic Kernel and Semantic Wrapper for Trustworthy LLM Spatial Reasoning
Zhangyu Wang in Reasoning
Can “North” be right under one reading, wrong under another?
DATUM: A System of Syntactic Kernel and Semantic Wrapper for Trustworthy LLM Spatial Reasoning
One landmark, two readings of direction
In MapEval, GPT-4o says the Little Mermaid lies north and east of Copenhagen Central Station, then calls “North” the primary direction.
It tests “primary” as a 44.0° compass bearing on a local grid (North) or the larger raw-coordinate difference (East), returning Contingent.
The verifier exposes the meaning choice instead of hiding it.
From natural language to checkable claims
- 1
Type the inputs
LLM-assisted Binder types the question; LLM-assisted Transcriber types reasoning; deterministic Converter structures context.
- 2
Branch on meaning
IBS makes one branch for each declared reading of vague goals, values or statements.
- 3
Check and explain
Contracts screen schemas, quotes and operations; deterministic checks verify each branch and render a traceable exception report.
The architecture keeps language outside the kernel

Binder and Transcriber feed IBS; the deterministic kernel type-checks, recomputes relations and compares values before Reporter assembles a verdict.
Three checks make the kernel concrete
- 1
Type-check first
A distance needs two locations; CTS rejects a set of objects before calculation.
- 2
Recompute relations
GRE recomputes bearings, distances, nearness and containment from supplied spatial records.
- 3
Respect measurement accuracy
MIA preserves written precision and applies declared tolerances; GS-QA uses the larger of 5% or 0.5 km for distances.
Follow a claim back to its first error

For GS-QA T15/2270, dotted links show statements recomputed from context; solid links show dependencies. Tracing the conclusion's path finds s20 as the first error; off-path errors are warnings.
A wrong step need not mean a wrong answer
Researchers planted one error in each of 283 reasonings, while every conclusion in the test remained correct.
DATUM marked 254 errors (90%) with no false rejections; the step-level judge marked 229 but falsely rejected 68 correct answers.
Higher F1, greater coverage, lower expected cost
GPT-6 Sol; 585 GPT-4o reasonings, MapEval + GS-QA. F1 on decided cases; daily-use cost assumes $4 review and $40 per false negative.
Feedback repaired 103 of 124 wrong conclusions
GPT-4o used each verifier's feedback to repair 124 initially wrong conclusions; re-check FN counts wrong answers newly accepted.
Repair still needs a second check

With GPT-6 Sol, DATUM's first check rejected 133 cases but let 4 wrong answers through. Re-verification added 98 true negatives and 2 false negatives; 33 cases were still rejected.
Where DATUM still cannot make the call
Coverage
With GPT-6 Sol, DATUM could not decide 78 of 585 cases: 18 ill-posed, 2 contingent and 58 open.
Declared meanings
An ambiguity outside IBS's declared axes can pass unnoticed; admissible geographic conventions remain a human decision.
Outside the kernel
All four false negatives came from wrapper errors or corrupted data; contracts check form and traceability, not meaning.
Evaluation boundary
Six model results vary; no live GIS deployment is tested, and DATUM's source code is not public.
Why it matters
- Exposing interpretation turns some spatial answers into conditional, auditable verdicts.
- For supported tasks, recompute typed claims from supplied data and route undecided cases to human review.
- Which geographic conventions should count as admissible, and how should verification extend to live GIS code pipelines?
12 slides, 3 min
1 day ago