arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.01083cs.CLcs.AIcs.CVcs.LG
收藏

大语言模型的推理逻辑能否被解耦为符号概念?

Can the Inference Logic of Large Language Models be Disentangled into Symbolic Concepts?

Shanghai Jiao Tong University(上海交通大学)

Wen Shen, Lei Cheng, Yuxiao Yang, Mingjie Li, Quanshi Zhang

AI总结:

本文提出将大语言模型在对话任务中的推理逻辑解耦为少量稀疏符号概念,验证了这些概念能有效估计推理分数、具备跨句迁移性,并可用于解释模型预测错误的确切原因。

摘要:

本文将大语言模型(LLM)的推理逻辑解释为一组符号概念。许多近期研究发现,传统DNN通常编码稀疏的符号概念。然而,由于LLM比传统DNN拥有更多参数,LLM是否也编码稀疏符号概念仍是一个开放问题。因此,本文提出将LLM在对话任务中的推理分数解耦为少量符号概念。我们验证了可以使用这些稀疏概念很好地估计LLM在输入句子所有任意掩码状态下的所有推理分数。我们还评估了LLM编码概念的迁移性,验证了符号概念通常在相似输入句子间表现出高迁移性。更关键的是,这些符号概念可用于解释导致LLM预测错误的确切原因。

英文摘要:

In this paper, we explain the inference logic of large language models (LLMs) as a set of symbolic concepts. Many recent studies have discovered that traditional DNNs usually encode sparse symbolic concepts. However, because an LLM has much more parameters than traditional DNNs, whether the LLM also encodes sparse symbolic concepts is still an open problem. Therefore, in this paper, we propose to disentangle the inference score of LLMs for dialogue tasks into a small number of symbolic concepts. We verify that we can use those sparse concepts to well estimate all inference scores of the LLM on all arbitrarily masking states of the input sentence. We also evaluate the transferability of concepts encoded by an LLM and verify that symbolic concepts usually exhibit high transferability across similar input sentences. More crucially, those symbolic concepts can be used to explain the exact reasons accountable for the LLM's prediction errors.

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

↑