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

SR-LLM:重新思考大语言模型中的结构化表示

SR-LLM: Rethinking the Structured Representation in Large Language Model

Westlake University(西湖大学);KMind Technology Co., Ltd.(科明科技有限公司);Tianjin University(天津大学);Beijing Jiaotong University, Weihai(北京交通大学威海校区);University of Toronto(多伦多大学);Tencent AI Lab(腾讯AI实验室)

Jiahuan Zhang, Tianheng Wang, Hanqing Wu, Ziyi Huang, Yulong Wu, Dongbai Chen, Linfeng Song, Yue Zhang, Guozheng Rao, Kaicheng Yu

AI总结:

针对大语言模型零样本集成结构化表示效果不佳的问题,提出SR-LLM框架,从免训练(提示词自然语言描述)和微调两种方案集成结构化表示,在多数据集上取得提升,首次证明结构化表示可大幅增强LLM推理能力。

摘要:

以抽象语义表示(Abstract Meaning Representation, AMR)为代表的结构化表示长期以来在计算语言学中占据核心地位,但在大语言模型(Large Language Models, LLMs)时代,其作用仍不明确。最初通过零样本设置将结构化表示集成到LLMs中的尝试效果不佳。我们假设这种性能下降源于结构信息以LLMs训练语料不熟悉的代码格式输入模型。为此,我们提出SR-LLM这一创新框架,设置两种方案从免训练和依赖训练两个角度探索结构化表示与LLMs的更优集成方式:前者通过LLM提示词中的自然语言描述融入结构信息,后者则通过对语言描述的结构化表示进行微调来增强模型的推理能力。在多个主流下游数据集上均观察到性能提升,其中在PAWS数据集上的增益尤为显著,分别达到3.17%和12.38%。据我们所知,本研究首次证明利用结构化表示可大幅提升LLMs的推理能力,希望能为未来通过结构化数据增强LLMs的推理与互操作性的研究提供启发。

英文摘要:

Structured representations, exemplified by Abstract Meaning Representation (AMR), have long been pivotal in computational linguistics. However, their role remains ambiguous in the Large Language Models (LLMs) era. Initial attempts to integrate structured representation into LLMs via a zero-shot setting yielded inferior performance. We hypothesize that such a decline stems from the structure information being passed into LLMs in a code format unfamiliar to LLMs' training corpora. Consequently, we propose SR-LLM, an innovative framework with two settings to explore a superior way of integrating structured representation with LLMs from training-free and training-dependent perspectives. The former integrates structural information through natural language descriptions in LLM prompts, whereas its counterpart augments the model's inference capability through fine-tuning on linguistically described structured representations. Performance improvements were observed in widely downstream datasets, with particularly notable gains of 3.17% and 12.38% in PAWS. To the best of our knowledge, this work represents the pioneering demonstration that leveraging structural representations can substantially enhance LLMs' inference capability. We hope that our work sheds light and encourages future research to enhance the reasoning and interoperability of LLMs by structure data.

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

↑