English

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

Computation and Language 2024-05-31 v3

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.

Keywords

Cite

@article{arxiv.2305.12392,
  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},
  journal= {arXiv preprint arXiv:2305.12392},
  year   = {2024}
}

Comments

Our code and data are at https://github.com/Jiuzhouh/PiVe (accepted to ACL 2024 Findings)

R2 v1 2026-06-28T10:40:24.474Z