Scoped Semantic Invariance as a Foundation for LLM Reliability
Rosario Uceda-Sosa, Maria Chang, Karthikeyan Natesan Ramamurthy, Moninder Singh
Key points
From the paper's conclusion- We formalize consistency as semantic invariance over equivalence classes of queries and show that invariance under arbitrary meaning-preserving transformations is undecidable in general.
Abstract
LLMs often answer semantically equivalent queries inconsistently, even when the underlying facts are known. We formalize consistency as semantic invariance over equivalence classes of queries and show that invariance under arbitrary meaning-preserving transformations is undecidable in general. This motivates scoped semantic invariance, where model behavior is evaluated relative to bounded semantic domains. We operationalize this framework using knowledge graphs (KGs), which act as explicit semantic control structures defining local semantic constraints and grounding contexts. Across the MITRE D3FEND ontology and eight Wikidata- derived domains, we show that inconsistencies are structured rather than random, concentrating in localized hotspot subgraphs organized around recurring TREE, STAR, and CYCLE patterns that remain stable across models and domains. We further show that selective graph grounding improves correctness and cross-model consistency, while indiscriminate grounding introduces regressions. A layered grounding strategy achieves the strongest monotonicity profile, preserving correct knowledge while reducing inconsistency. Finally, we show that hotspot structures discovered from simple consistency probes transfer to more realistic compositional reasoning tasks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Better Reasoning, Not Just Bigger Models: A Structure-Grounded Framework for Efficient and Reliable InferencearXiv · 2026
- GraphEcho: Structural Redundancy and Evidence Provenance in LLM Graph AgentsarXiv · 2026
- When Form Changes but Logic Doesn't: Building Logic-invariant LLMs through Logical StructurearXiv · 2026
- The Geometry of Ignorance: Detecting Suppressed Knowledge in LLMs through Activation FragmentationarXiv · 2026
- Generalization Is Stability, Not Accuracy: Multi-Axis Evaluation of LLMsarXiv · 2026
- LGMT: A Tool for Testing the Logical Reasoning Reliability of LLMsarXiv · 2026