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

分析大语言模型时代语义表征的作用

Analyzing the Role of Semantic Representations in the Era of Large Language Models

University of Michigan(密歇根大学)

Zhijing Jin, Yuen Chen, Fernando Gonzalez, Jiarui Liu, Jiayi Zhang, Julian Michael, Bernhard Schölkopf, Mona Diab

AI总结:

本文通过提出AMRCoT提示方法并在五个NLP任务上实验,发现AMR语义表征在大语言模型时代整体弊大于利,并定位了主要错误来源,为未来研究指明了方向。

摘要:

传统上,自然语言处理(NLP)模型通常使用由语言学专业知识构建的丰富特征集,例如语义表征。然而,在大语言模型(LLM)时代,越来越多的任务被转化为通用的端到端序列生成问题。在本文中,我们研究了一个问题:语义表征在大语言模型时代的作用是什么?具体而言,我们研究了抽象意义表示(AMR)在五个不同的NLP任务中的效果。我们提出了一种AMR驱动的思维链提示方法,称之为AMRCoT,并发现它通常对性能的损害大于帮助。为了探究AMR在这些任务上可能提供的价值,我们进行了一系列分析实验。我们发现,很难预测AMR对哪些输入示例有帮助或有害,但错误往往出现在多词表达、命名实体以及最后的推理步骤中,即大语言模型必须将其对AMR的推理与其预测相连接。我们建议未来的大语言模型语义表征工作重点关注这些领域。我们的代码:https://github.com/causalNLP/amr_llm。

英文摘要:

Traditionally, natural language processing (NLP) models often use a rich set of features created by linguistic expertise, such as semantic representations. However, in the era of large language models (LLMs), more and more tasks are turned into generic, end-to-end sequence generation problems. In this paper, we investigate the question: what is the role of semantic representations in the era of LLMs? Specifically, we investigate the effect of Abstract Meaning Representation (AMR) across five diverse NLP tasks. We propose an AMR-driven chain-of-thought prompting method, which we call AMRCoT, and find that it generally hurts performance more than it helps. To investigate what AMR may have to offer on these tasks, we conduct a series of analysis experiments. We find that it is difficult to predict which input examples AMR may help or hurt on, but errors tend to arise with multi-word expressions, named entities, and in the final inference step where the LLM must connect its reasoning over the AMR to its prediction. We recommend focusing on these areas for future work in semantic representations for LLMs. Our code: https://github.com/causalNLP/amr_llm.

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

↑