以范围化语义不变性作为LLM可靠性基础:基于知识图谱的研究
Scoped Semantic Invariance as a Foundation for LLM Reliability
研究将LLM对语义等价查询的回答一致性形式化为语义不变性,并证明任意保义变换下的不变性一般不可判定,因而提出限定语义域的范围化语义不变性框架。在MITRE D3FEND本体和8个Wikidata衍生领域中,不一致性呈结构化分布,集中于围绕TREE、STAR、CYCLE模式组织的局部热点子图,且跨模型与领域稳定。选择性图接地可提升正确性与跨模型一致性,而分层接地策略取得最强单调性表现。
arXiv:2610.33267v2 Announce Type: replace 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org