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

评估与改进基于大型语言模型的图到文本生成

Evaluating and Improving Graph to Text Generation with Large Language Models

School of Informatics, University of Edinburgh(爱丁堡大学信息学院);College of Intelligence and Computing, Tianjin University(天津大学智能与计算学部);School of Computer Science and Informatics, Cardiff University(卡迪夫大学计算机科学与信息学院)

Jie He, Yijun Yang, Wanqiu Long, Deyi Xiong, Victor Gutierrez-Basulto, Jeff Z. Pan

AI总结:

本文评估开源 LLM 的图到文本生成能力,提出基于多样性-难度的少样本选择方法,并构建含重排序与归因子任务的 PlanGTG 数据集,显著提升少样本与微调效果。

摘要:

大型语言模型(LLM)已在各类任务中展现出巨大潜力。然而,探索和提升 LLM 解释图结构能力的研究仍然有限。为弥补这一空白,我们对当前开源 LLM 在图到文本生成任务上的提示方法进行了全面评估。尽管我们探索了最优提示策略,并提出了一种新颖且有效的、基于多样性-难度的少样本样本选择方法,但我们发现免调优方法带来的改进是渐进式的,因为 LLM 在复杂图(尤其是包含大量三元组的图)上的规划存在困难。为进一步提升 LLM 对图序列的规划能力和基于事实的落地能力,我们引入了一个新的图到文本数据集 PlanGTG,其标注包含两个子任务:重排序和归因。通过大量自动评估和人工评估,我们证明,使用 PlanGTG 数据集后,无论从少样本学习还是微调角度,生成文本的质量都取得了显著提升。本研究为图到文本生成的新研究方向铺平了道路。PlanGTG 数据集可在 https://github.com/probe2/kg_text 获取。

英文摘要:

Large language models (LLMs) have demonstrated immense potential across various tasks. However, research for exploring and improving the capabilities of LLMs in interpreting graph structures remains limited. To address this gap, we conduct a comprehensive evaluation of prompting current open-source LLMs on graph-to-text generation tasks. Although we explored the optimal prompting strategies and proposed a novel and effective diversity-difficulty-based few-shot sample selection method, we found that the improvements from tuning-free approaches were incremental, as LLMs struggle with planning on complex graphs, particularly those with a larger number of triplets. To further improve LLMs in planning with graph sequences and grounding in truth, we introduce a new graph-to-text dataset, PlanGTG, annotated with two sub-tasks: reordering and attribution. Through extensive automatic and human evaluations, we demonstrate significant improvements in the quality of generated text from both few-shot learning and fine-tuning perspectives using the PlanGTG dataset. Our study paves the way for new research directions in graph-to-text generation. PlanGTG datasets can be found in https://github.com/probe2/kg_text.

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

↑