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

重新思考大语言模型的语义解析:利用语义提示增强LLM性能

Rethinking Semantic Parsing for Large Language Models: Enhancing LLM Performance with Semantic Hints

National Key Laboratory for Multimedia Information Processing, Peking University(北京大学多媒体信息处理国家重点实验室);School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);Tsinghua University(清华大学)

Kaikai An, Shuzheng Si, Helan Hu, Haozhe Zhao, Yuchi Wang, Qingyan Guo, Baobao Chang

AI总结:

针对语义解析结果直接加入LLM会降低性能的问题,提出SENSE提示方法,将语义提示嵌入提示中,实验证明其能持续提升LLM在多种任务上的性能。

摘要:

语义解析旨在捕捉句子的含义并将其转换为逻辑化、结构化的形式。以往研究表明,语义解析能提升较小模型(如BERT)在下游任务上的性能。然而,这种提升是否同样适用于大语言模型(LLM)仍不明确。本文中,我们的实证发现揭示,与较小模型不同,直接将语义解析结果加入LLM会降低其性能。为克服这一问题,我们提出了SENSE,一种新颖的提示方法,将语义提示嵌入提示中。实验表明,SENSE在多种任务上持续提升LLM的性能,凸显了整合语义信息以增强LLM能力的潜力。

英文摘要:

Semantic Parsing aims to capture the meaning of a sentence and convert it into a logical, structured form. Previous studies show that semantic parsing enhances the performance of smaller models (e.g., BERT) on downstream tasks. However, it remains unclear whether the improvements extend similarly to LLMs. In this paper, our empirical findings reveal that, unlike smaller models, directly adding semantic parsing results into LLMs reduces their performance. To overcome this, we propose SENSE, a novel prompting approach that embeds semantic hints within the prompt. Experiments show that SENSE consistently improves LLMs' performance across various tasks, highlighting the potential of integrating semantic information to improve LLM capabilities.

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

↑