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

PiVe:带有迭代验证的提示方法提升LLM基于图的生成能力

PiVe: Prompting with Iterative Verification Improving Graph-based Generative Capability of LLMs

Monash University(莫纳什大学);VinUniversity;University of Cambridge(剑桥大学)

Jiuzhou Han, Nigel Collier, Wray Buntine, Ehsan Shareghi

AI总结:

提出PiVe框架,通过训练小型语言模型作为验证器,利用细粒度纠正指令迭代提升LLM的图生成能力,并验证其在数据集上的改进及数据增强作用。

摘要:

大型语言模型(LLMs)在解决不同领域的各种自然语言任务方面展现了出色的能力。由于LLMs的训练目标和预训练数据,它们在处理涉及结构化数据生成的任务时能力不足。我们提出了一个框架,即带有迭代验证的提示方法(PiVe),以提升LLMs基于图的生成能力。我们展示了如何训练一个小型语言模型作为LLM(即ChatGPT、GPT-4)输出的验证器模块,并通过细粒度的纠正指令迭代地提升其性能。我们还展示了验证器模块如何针对文本到图生成任务离线应用迭代纠正,从而提供更具成本效益的解决方案。在三个基于图的数据集上的实验表明,通过PiVe获得了持续的改进。此外,我们创建了GenWiki-HIQ,并强调验证器模块可用作数据增强工具,以帮助提升自动生成的平行文本-图数据集的质量。

英文摘要:

Large language models (LLMs) have shown great abilities of solving various natural language tasks in different domains. Due to the training objective of LLMs and their pre-training data, LLMs are not very well equipped for tasks involving structured data generation. We propose a framework, Prompting with Iterative Verification (PiVe), to improve graph-based generative capability of LLMs. We show how a small language model could be trained to act as a verifier module for the output of an LLM~(i.e., ChatGPT, GPT-4), and to iteratively improve its performance via fine-grained corrective instructions. We also show how the verifier module could apply iterative corrections offline for a more cost-effective solution to the text-to-graph generation task. Experiments on three graph-based datasets show consistent improvement gained via PiVe. Additionally, we create GenWiki-HIQ and highlight that the verifier module can be used as a data augmentation tool to help improve the quality of automatically generated parallel text-graph datasets.

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

↑