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

Auteurs : Jiuzhou Han, Nigel Collier, Wray Buntine, Ehsan Shareghi

Soumis à arXiv le 21 Mai. 2023
Licence : CC BY 4.0
Résumé scientifique

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 pretraining data, LLMs are not very well equipped for tasks involving structured data generation. We propose a framework, Prompting with Iterative Verification (PiVe), to improve graphbased 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), and to iteratively improve its performance via fine-grained corrective instructions. Additionally, we 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 highlight how the proposed verifier module can be used as a data augmentation tool to help improve the quality of automatically generated parallel text-graph datasets. Our code and data are available at https://github.com/Jiuzhouh/PiVe.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Très proche
    Evaluating and Improving Graph to Text Generation with Large Language Models
    Jie He, Yi-Jun Yang, Wanqiu Long et al. · 2025 · North American Chapter of the Association for Computational Linguistics · cité 9 fois · Pas encore résumé
    Résumé scientifique

    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 pla…

  2. Proche
    Ask and You Shall Receive (a Graph Drawing): Testing ChatGPT's Potential to Apply Graph Layout Algorithms
    Sara Di Bartolomeo, Giorgio Severi, Victor Schetinger et al. · 2023 · Human-Computer Interaction · cité 15 fois · Pas encore résumé
    Résumé scientifique

    Large language models (LLMs) have recently taken the world by storm. They can generate coherent text, hold meaningful conversations, and be taught concepts and basic sets of instructions - such as the steps of an algorithm. In this context, we are interested in exploring the application of LLMs to graph drawing algorithms by performing experiments on ChatGPT. These algorithms are used to improve the readability of graph visualizations. The probabilistic nature of LLMs presents challenges to implementing algorithms correctly, but we believe that LLMs' ability to learn from vast amounts of data and apply complex operations may lead to interesting graph drawing results. For example, we could en…

  3. Proche
    Large Language Models on Graphs: A Comprehensive Survey
    Bowen Jin, Gang Liu, Chi Han et al. · 2023 · Computation and Language · cité 379 fois · Résumé IA disponible
    Résumé scientifique

    Large language models (LLMs), such as ChatGPT and LLaMA, are creating significant advancements in natural language processing, due to their strong text encoding/decoding ability and newly found emergent capability (e.g., reasoning). While LLMs are mainly designed to process pure texts, there are many real-world scenarios where text data are associated with rich structure information in the form of graphs (e.g., academic networks, and e-commerce networks) or scenarios where graph data are paired with rich textual information (e.g., molecules with descriptions). Besides, although LLMs have shown their pure text-based reasoning ability, it is underexplored whether such ability can be generalize…

  4. Proche
    Enhancing Reasoning Capabilities of Large Language Models: A Graph-Based Verification Approach
    Lang Cao · 2023 · Artificial Intelligence · cité 25 fois · Pas encore résumé
    Résumé scientifique

    Large Language Models (LLMs) have showcased impressive reasoning capabilities, particularly when guided by specifically designed prompts in complex reasoning tasks such as math word problems. These models typically solve tasks using a chain-of-thought approach, which not only bolsters their reasoning abilities but also provides valuable insights into their problem-solving process. However, there is still significant room for enhancing the reasoning abilities of LLMs. Some studies suggest that the integration of an LLM output verifier can boost reasoning accuracy without necessitating additional model training. In this paper, we follow these studies and introduce a novel graph-based method to…

  5. Proche
    Prover-Verifier Games improve legibility of LLM outputs
    Jan Hendrik Kirchner, Yining Chen, Harri Edwards et al. · 2024 · Computation and Language · preprint, non relu par les pairs · cité 105 fois · Résumé IA disponible
    Résumé scientifique

    One way to increase confidence in the outputs of Large Language Models (LLMs) is to support them with reasoning that is clear and easy to check -- a property we call legibility. We study legibility in the context of solving grade-school math problems and show that optimizing chain-of-thought solutions only for answer correctness can make them less legible. To mitigate the loss in legibility, we propose a training algorithm inspired by Prover-Verifier Game from Anil et al. (2021). Our algorithm iteratively trains small verifiers to predict solution correctness, "helpful" provers to produce correct solutions that the verifier accepts, and "sneaky" provers to produce incorrect solutions that fo…

  6. Proche Cite cet article
    InstructGraph: Boosting Large Language Models via Graph-centric Instruction Tuning and Preference Alignment
    Jia-Ning Wang, Junda Wu, Yupeng Hou et al. · 2024 · Annual Meeting of the Association for Computational Linguistics · cité 85 fois · Pas encore résumé
    Résumé scientifique

    Do current large language models (LLMs) better solve graph reasoning and generation tasks with parameter updates? In this paper, we propose InstructGraph, a framework that empowers LLMs with the abilities of graph reasoning and generation by instruction tuning and preference alignment. Specifically, we first propose a structured format verbalizer to unify all graph data into a universal code-like format, which can simply represent the graph without any external graph-specific encoders. Furthermore, a graph instruction tuning stage is introduced to guide LLMs in solving graph reasoning and generation tasks. Finally, we identify potential hallucination problems in graph tasks and sample negati…

  7. Proche
    Graph-ToolFormer: To Empower LLMs with Graph Reasoning Ability via Prompt Augmented by ChatGPT
    Jiawei Zhang · 2023 · Artificial Intelligence · preprint, non relu par les pairs · cité 123 fois · Résumé IA disponible
    Résumé scientifique

    In this paper, we aim to develop a large language model (LLM) with the reasoning ability on complex graph data. Currently, LLMs have achieved very impressive performance on various natural language learning tasks, extensions of which have also been applied to study the vision tasks with multi-modal data. However, when it comes to the graph learning tasks, existing LLMs present very serious flaws due to their several inherited weaknesses in performing {multi-step logic reasoning}, {precise mathematical calculation} and {perception about the spatial and temporal factors}. To address such challenges, in this paper, we will investigate the principles, methodologies and algorithms to empower exis…

  8. Proche
    Evaluating Generative Models for Graph-to-Text Generation
    Shu-Zhou Yuan, Michael Färber · 2023 · Recent Advances in Natural Language Processing · cité 32 fois · Pas encore résumé
    Résumé scientifique

    Large language models (LLMs) have been widely employed for graph-to-text generation tasks. However, the process of finetuning LLMs requires significant training resources and annotation work. In this paper, we explore the capability of generative models to generate descriptive text from graph data in a zero-shot setting. Specifically, we evaluate GPT-3 and ChatGPT on two graph-to-text datasets and compare their performance with that of finetuned LLM models such as T5 and BART. Our results demonstrate that generative models are capable of generating fluent and coherent text, achieving BLEU scores of 10.57 and 11.08 for the AGENDA and WebNLG datasets, respectively. However, our error analysis …

Les travaux antérieurs sur lesquels il s’appuie

  1. Proche
    Large Language Models are Zero-Shot Reasoners
    Takeshi Kojima, Shixiang Shane Gu, Machel Reid et al. · 2022 · Computation and Language · cité 8 452 fois · Résumé IA disponible
    Résumé scientifique

    Pretrained large language models (LLMs) are widely used in many sub-fields of natural language processing (NLP) and generally known as excellent few-shot learners with task-specific exemplars. Notably, chain of thought (CoT) prompting, a recent technique for eliciting complex multi-step reasoning through step-by-step answer examples, achieved the state-of-the-art performances in arithmetics and symbolic reasoning, difficult system-2 tasks that do not follow the standard scaling laws for LLMs. While these successes are often attributed to LLMs' ability for few-shot learning, we show that LLMs are decent zero-shot reasoners by simply adding "Let's think step by step" before each answer. Experi…

  2. Apparenté Utilisé en profondeur par cet article Une méthode qu’il utilise
    Training Verifiers to Solve Math Word Problems
    K. Cobbe, V. Kosaraju, Mo Bavarian et al. · 2021 · arXiv.org · preprint, non relu par les pairs · cité 11 972 fois · Pas encore résumé
    Résumé scientifique

    State-of-the-art language models can match human performance on many tasks, but they still struggle to robustly perform multi-step mathematical reasoning. To diagnose the failures of current models and support research, we introduce GSM8K, a dataset of 8.5K high quality linguistically diverse grade school math word problems. We find that even the largest transformer models fail to achieve high test performance, despite the conceptual simplicity of this problem distribution. To increase performance, we propose training verifiers to judge the correctness of model completions. At test time, we generate many candidate solutions and select the one ranked highest by the verifier. We demonstrate th…

  3. Apparenté Une méthode qu’il utilise
    Self-Refine: Iterative Refinement with Self-Feedback
    Aman Madaan, Niket Tandon, Prakhar Gupta et al. · 2023 · Neural Information Processing Systems · cité 5 489 fois · Résumé IA disponible
    Résumé scientifique

    Like humans, large language models (LLMs) do not always generate the best output on their first try. Motivated by how humans refine their written text, we introduce Self-Refine, an approach for improving initial outputs from LLMs through iterative feedback and refinement. The main idea is to generate an initial output using an LLMs; then, the same LLMs provides feedback for its output and uses it to refine itself, iteratively. Self-Refine does not require any supervised training data, additional training, or reinforcement learning, and instead uses a single LLM as the generator, refiner, and feedback provider. We evaluate Self-Refine across 7 diverse tasks, ranging from dialog response gener…

  4. Apparenté
    Self-supervised Graph Masking Pre-training for Graph-to-Text Generation
    Jiuzhou Han, Ehsan Shareghi · 2022 · Conference on Empirical Methods in Natural Language Processing · cité 15 fois · Pas encore résumé
    Résumé scientifique

    Large-scale pre-trained language models (PLMs) have advanced Graph-to-Text (G2T) generation by processing the linearised version of a graph. However, the linearisation is known to ignore the structural information. Additionally, PLMs are typically pre-trained on free text which introduces domain mismatch between pre-training and downstream G2T generation tasks. To address these shortcomings, we propose graph masking pre-training strategies that neither require supervision signals nor adjust the architecture of the underlying pre-trained encoder-decoder model. When used with a pre-trained T5, our approach achieves new state-of-the-art results on WebNLG+2020 and EventNarrative G2T generation d…

  5. Apparenté Utilisé en profondeur par cet article
    GPT-4 Technical Report
    OpenAI, Josh Achiam, Steven Adler et al. · 2023 · cité 28 306 fois · Résumé IA disponible
    Résumé scientifique

    We report the development of GPT-4, a large-scale, multimodal model which can accept image and text inputs and produce text outputs. While less capable than humans in many real-world scenarios, GPT-4 exhibits human-level performance on various professional and academic benchmarks, including passing a simulated bar exam with a score around the top 10% of test takers. GPT-4 is a Transformer-based model pre-trained to predict the next token in a document. The post-training alignment process results in improved performance on measures of factuality and adherence to desired behavior. A core component of this project was developing infrastructure and optimization methods that behave predictably ac…

Les articles qui le citent

  1. Proche Utilise cet article en profondeur
    A Survey of Large Language Models on Generative Graph Analytics: Query, Learning, and Applications
    Wenbo Shang, Xin Huang · 2024 · Computation and Language · cité 28 fois · Résumé IA disponible
    Résumé scientifique

    A graph is a fundamental data model to represent various entities and their complex relationships in society and nature, such as social networks, transportation networks, financial networks, and biomedical systems. Recently, large language models (LLMs) have showcased a strong generalization ability to handle various NLP and multi-mode tasks to answer users' arbitrary questions and specific-domain content generation. Compared with graph learning models, LLMs enjoy superior advantages in addressing the challenges of generalizing graph tasks by eliminating the need for training graph learning models and reducing the cost of manual annotation. In this survey, we conduct a comprehensive investig…

  2. Proche Utilise cet article en profondeur
    Improving Cross-Domain Low-Resource Text Generation through LLM Post-Editing: A Programmer-Interpreter Approach
    Zhuang Li, Levon Haroutunian, Raj Tumuluri et al. · 2024 · Findings · cité 7 fois · Pas encore résumé
    Résumé scientifique

    Post-editing has proven effective in improving the quality of text generated by large language models (LLMs) such as GPT-3.5 or GPT-4, particularly when direct updating of their parameters to enhance text quality is infeasible or expensive. However, relying solely on smaller language models for post-editing can limit the LLMs’ ability to generalize across domains. Moreover, the editing strategies in these methods are not optimally designed for text generation tasks. To address these limitations, we propose a neural programmer-interpreter approach that preserves the domain generalization ability of LLMs while editing their output. The editing actions in this framework are specifically devised…

  3. Proche
    Language is All a Graph Needs
    Ruo-Song Ye, Caiqi Zhang, Run-Hui Wang et al. · 2023 · Findings · cité 333 fois · Pas encore résumé
    Résumé scientifique

    The emergence of large-scale pre-trained language models has revolutionized various AI research domains. Transformers-based Large Language Models (LLMs) have gradually replaced CNNs and RNNs to unify fields of computer vision and natural language processing. Compared with independent data like images, videos or texts, graphs usually contain rich structural and relational information. Meanwhile, languages, especially natural language, being one of the most expressive mediums, excels in describing complex structures. However, existing work on incorporating graph problems into the generative language modeling framework remains very limited. Considering the rising prominence of LLMs, it becomes …

  4. Proche
    Can LLM Graph Reasoning Generalize beyond Pattern Memorization?
    Yizhuo Zhang, Heng Wang, Shang-Bin Feng et al. · 2024 · Conference on Empirical Methods in Natural Language Processing · cité 76 fois · Pas encore résumé
    Résumé scientifique

    Large language models (LLMs) demonstrate great potential for problems with implicit graphical structures, while recent works seek to enhance the graph reasoning capabilities of LLMs through specialized instruction tuning. The resulting 'graph LLMs' are evaluated with in-distribution settings only, thus it remains underexplored whether LLMs are learning generalizable graph reasoning skills or merely memorizing patterns in the synthetic training data. To this end, we propose the NLGift benchmark, an evaluation suite of LLM graph reasoning generalization: whether LLMs could go beyond semantic, numeric, structural, reasoning patterns in the synthetic training data and improve utility on real-wor…

  5. Proche
    Teaching Models to Improve on Tape
    L. Bezalel, Eyal Orgad, Amir Globerson · 2024 · AAAI Conference on Artificial Intelligence · cité 1 fois · Pas encore résumé
    Résumé scientifique

    Large Language Models (LLMs) often struggle when prompted to generate content under specific constraints. However, in such cases it is often easy to check whether these constraints are satisfied or violated. Recent works have shown that LLMs can benefit from such ``corrective feedback''. Here we claim that this skill of LLMs can be significantly enhanced via training. We introduce an RL framework for teaching models to use such rewards, by simulating interaction sessions, and rewarding the model according to its ability to satisfy the constraints. We refer to our method as CORGI (Controlled Generation with RL for Guided Interaction), and evaluate it on a variety of controlled generation task…

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 5 novembre 2026.

Le guide illustré des articles autour d’un article