arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.19456cs.CLcs.AI
收藏

超越表面结构:大语言模型理解能力的因果评估

Beyond Surface Structure: A Causal Assessment of LLMs' Comprehension Ability

The University of Hong Kong(香港大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Tongji University(同济大学)

Yujin Han, Lei Xu, Sirui Chen, Difan Zou, Chaochao Lu

AI总结:

针对LLMs是依赖表面结构还是理解深层结构的争论,该研究通过因果中介分析提出ADCE和AICE指标,评估发现多数LLMs具备深层结构理解能力,闭源模型更依赖深层结构,开源模型表面敏感性随规模降低,为LLMs评估提供新方法。

摘要:

大语言模型(LLMs)在自然语言任务中展现出卓越能力,但关于它们是否真正理解深层结构(即核心语义)或仅依赖表面结构(如呈现格式)的争论仍在持续。先前研究观察到,当干预表面结构时,LLMs的性能会下降,认为它们的成功依赖于表面结构识别。然而,表面结构敏感性并不妨碍深层结构理解。严格评估LLMs的能力需要同时分析两者,但深层结构常被忽视。为此,我们使用因果中介分析评估LLMs的理解能力,旨在全面发现其同时使用深层和表面结构的能力。具体而言,我们将深层结构的理解表述为直接因果效应(DCE),将表面结构的理解表述为间接因果效应(ICE)。针对原始DCE和ICE因无法隔离深层与表面结构的相互影响而不可估计的问题,我们开发了相应的可量化替代指标,包括近似DCE(ADCE)和近似ICE(AICE)。我们进一步应用ADCE评估一系列主流LLMs,结果显示大多数模型表现出深层结构理解能力,且该能力随预测准确率提升而增强。对比ADCE和AICE表明,闭源LLMs更依赖深层结构,而开源LLMs对表面结构更敏感,且这种敏感性随模型规模增大而降低。理论上,ADCE是双向评估,既衡量深层结构变化导致输出变化的充分性,也衡量其必要性,因此比准确率(LLMs的常见评估指标)提供更全面的评估。我们的工作为LLMs的深层结构理解提供了新见解,并为LLMs评估提供了新方法。

英文摘要:

Large language models (LLMs) have shown remarkable capability in natural language tasks, yet debate persists on whether they truly comprehend deep structure (i.e., core semantics) or merely rely on surface structure (e.g., presentation format). Prior studies observe that LLMs' performance declines when intervening on surface structure, arguing their success relies on surface structure recognition. However, surface structure sensitivity does not prevent deep structure comprehension. Rigorously evaluating LLMs' capability requires analyzing both, yet deep structure is often overlooked. To this end, we assess LLMs' comprehension ability using causal mediation analysis, aiming to fully discover the capability of using both deep and surface structures. Specifically, we formulate the comprehension of deep structure as direct causal effect (DCE) and that of surface structure as indirect causal effect (ICE), respectively. To address the non-estimability of original DCE and ICE -- stemming from the infeasibility of isolating mutual influences of deep and surface structures, we develop the corresponding quantifiable surrogates, including approximated DCE (ADCE) and approximated ICE (AICE). We further apply the ADCE to evaluate a series of mainstream LLMs, showing that most of them exhibit deep structure comprehension ability, which grows along with the prediction accuracy. Comparing ADCE and AICE demonstrates closed-source LLMs rely more on deep structure, while open-source LLMs are more surface-sensitive, which decreases with model scale. Theoretically, ADCE is a bidirectional evaluation, which measures both the sufficiency and necessity of deep structure changes in causing output variations, thus offering a more comprehensive assessment than accuracy, a common evaluation in LLMs. Our work provides new insights into LLMs' deep structure comprehension and offers novel methods for LLMs evaluation.

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

↑