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

Jiuzhou Han, Nigel Collier, Wray Buntine, Ehsan Shareghi
5/21/2023
cs.CL

No official code found. Best implementation: Jiuzhouh/PiVe (37 stars, last commit 2024-08-31).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Jiuzhouh/PiVeCommunity100%

This is the official code for paper: [PiVe: Prompting with Iterative Verification Improving Graph-based Generative Capability of LLMs]

371Shell, PythonMay 21, 20232 years ago

Similar Papers

Cite this paper

@article{han2023pive,
  title  = {PiVe: Prompting with Iterative Verification Improving Graph-based Generative Capability of LLMs},
  author = {Jiuzhou Han and Nigel Collier and Wray Buntine and Ehsan Shareghi},
  year   = {2023},
  eprint = {2305.12392},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.12392v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.12392.svg)](https://codeofpaper.com/paper/2305.12392)

Discussion