arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.33267cs.AI
收藏

范围语义不变性:大语言模型可靠性的基础

Scoped Semantic Invariance as a Foundation for LLM Reliability

IBM T. J. Watson Research Center(IBM T. J. 沃森研究中心)

Rosario Uceda-Sosa, Maria Chang, Karthikeyan Natesan Ramamurthy, Moninder Singh

AI总结:

该研究提出范围语义不变性框架,利用知识图谱发现LLM不一致性的结构化热点,验证选择性图锚定可提升一致性,且热点结构可迁移至组合推理任务。

摘要:

大语言模型(LLM)即便已知底层事实,也常对语义等价的查询给出不一致的回答。我们将一致性形式化为查询等价类上的语义不变性,并证明任意保留语义的变换下的不变性在一般情况下是不可判定的。这催生了范围语义不变性,即模型行为在有界语义域内被评估。我们利用知识图谱(KGs)实现该框架,KG作为显式语义控制结构,定义局部语义约束并锚定上下文。在MITRE D3FEND本体及8个源自Wikidata的域中,我们发现不一致性是结构化的而非随机的,集中在围绕重复的树(TREE)、星(STAR)和环(CYCLE)模式组织的局部热点子图中,这些模式在模型和域间保持稳定。我们还表明,选择性图锚定可提升正确性和跨模型一致性,而无差别锚定则会导致性能倒退。分层锚定策略实现最强的单调性特征,在保留正确知识的同时减少不一致性。最后,我们证明从简单一致性探测中发现的热点结构可迁移到更现实的组合推理任务中。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑