我们能信任大语言模型的逻辑吗?通过基于图的框架量化不确定性、连贯性和鲁棒性
Can We Trust LLM's Logic? Quantifying Uncertainty, Coherence, and Robustness via a Graph-Based Framework
AI总结:
研究大语言模型推理问题,引入基于图的GRAPHEVAL框架,提出GRCS度量和GSC解码策略,量化不确定性等,发现GRCS与推理忠实度负相关,证明GSC所选路径对推理的重要性。
摘要:
大语言模型(LLMs)容易出现有缺陷和不忠实的推理,像自一致性(SC)这样的解码策略在评估时只关注最终答案一致性,而忽略中间步骤的逻辑有效性,这引发了三个基本问题。为解决这些问题,我们引入GRAPHEVAL,一个基于图的推理框架,将不确定性量化(UQ)重新构建为一个整体推理保真度问题。我们提出一种新的UQ度量,图推理连贯分数(GRCS),量化推理空间的语义 - 结构共识。我们发现GRCS是唯一在更强大和较小模型中都与推理忠实度持续负相关的度量。此外,我们引入图自一致性(GSC),一种基于类中心的解码策略。最后,通过对抗性类中心消融,我们证明GSC选择的路径起到“承重路径”的作用。
英文摘要:
Large-Language Models (LLMs) can be prone to flawed and unfaithful reasoning that decoding strategies like Self-Consistency (SC) fail to detect as they evaluate only final-answer agreement while ignoring the logical validity of intermediate steps. This raises three fundamental questions: How can we reliably quantify uncertainty in LLM reasoning? Can semantic, structural, and causal awareness select more faithful reasoning compared to naïve majority voting? and How robust is reasoning topology under adversarial conditions? To address these questions, we introduce GRAPHEVAL, a graph-based reasoning framework that re-frames uncertainty quantification (UQ) as a holistic reasoning fidelity problem. We propose a novel UQ metric, Graph Reasoning Coherence Score (GRCS), that quantifies semantic-structural consensus of the reasoning space and captures pathological mode collapse and confident hallucinations. We find that GRCS is the only metric that is consistently negatively correlated with reasoning faithfulness across both more capable and smaller models. Additionally, we introduce Graph Self-Consistency (GSC), a medoid-based decoding strategy that trades nominal accuracy for reasoning fidelity, exposing the degree to which SC is inflated by unfaithful lucky guesses in smaller models, while preserving or improving accuracy in more capable ones. Finally, through adversarial medoid ablation, we demonstrate that the GSC-selected path acts as a "load-bearing path" and forcing models away from it degrades reasoning faithfulness and, in targeted cases, causes drops in accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。