Scoped Semantic Invariance as a Foundation for LLM Reliability

Impact 7 arXiv cs.AI

Summary

  • The paper formalizes LLM consistency as semantic invariance over equivalence classes of queries, noting that invariance under arbitrary transformations is undecidable.
  • The authors introduce scoped semantic invariance, utilizing knowledge graphs to define local semantic constraints and grounding contexts.
  • Experiments across the MITRE D3FEND ontology and Wikidata-derived domains show that model inconsistencies are structured in localized hotspot subgraphs.
  • Selective and layered graph grounding strategies improve correctness and cross-model consistency compared to indiscriminate grounding.

Why it matters

This research provides a structured approach to improving LLM reliability and consistency through knowledge graph grounding, offering actionable strategies for developers building robust AI systems.

Who should care