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

大型语言模型能否解释并利用结构化的语言表示?一项基于AMR的案例研究

Can LLMs Interpret and Leverage Structured Linguistic Representations? A Case Study with AMRs

University of Colorado Boulder(科罗拉多大学博尔德分校);Northwestern University(西北大学)

Ankush Raut, Xiaofeng Zhu, Maria Leonor Pacheco

AI总结:

本文研究了大型语言模型在结构化语言表示下的表现,发现短文任务中添加AMR会降低性能,但长文任务如对话摘要能提升模型表现,尤其在大模型中效果更显著。

摘要:

本文评估了大型语言模型(LLMs)利用结构化语言表示进行上下文信息处理的能力。具体而言,我们通过抽象意义表示(AMR)结构编码短和长上下文,分析其在多种语言任务中的影响。我们使用8位量化和指令微调的Llama 3.1(8B)、Phi-3和Mistral 7B模型进行分析。结果显示,在涉及短上下文的任务中,添加原始语言上下文的AMR通常会降低底层LLM的性能。然而,在涉及长上下文的任务,如SAMSum数据集中的对话摘要任务中,这种增强提高了LLM的性能,例如将Llama 3.1的零样本余弦相似度得分从66%提高到76%。这种改进在较新和较大的LLM中更为明显,但不适用于较旧或较小的模型。此外,我们还观察到,LLM可以从线性化的AMR中有效重建原始文本,在最佳情况下,余弦相似度可达81%。

英文摘要:

This paper evaluates the ability of Large Language Models (LLMs) to leverage contextual information in the form of structured linguistic representations. Specifically, we examine the impact of encoding both short and long contexts using Abstract Meaning Representation (AMR) structures across a diverse set of language tasks. We perform our analysis using 8-bit quantized and instruction-tuned versions of Llama 3.1 (8B), Phi-3, and Mistral 7B. Our results indicate that, for tasks involving short contexts, augmenting the prompt with the AMR of the original language context often degrades the performance of the underlying LLM. However, for tasks that involve long contexts, such as dialogue summarization in the SAMSum dataset, this enhancement improves LLM performance, for example, by increasing the zero-shot cosine similarity score of Llama 3.1 from 66% to 76%. This improvement is more evident in the newer and larger LLMs, but does not extend to the older or smaller ones. In addition, we observe that LLMs can effectively reconstruct the original text from a linearized AMR, achieving a cosine similarity of 81% in the best-case scenario.

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

↑