Evaluating and Improving Graph to Text Generation with Large Language Models

Jie He, Yijun Yang, Wanqiu Long, Deyi Xiong, Victor Gutierrez-Basulto +1 more
1/24/2025
cs.CL

Official code: probe2/kg_text (3 stars, last commit 2024-09-28).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

probe2/kg_textOfficial100%
30Sep 28, 20242 years ago

Similar Papers

Cite this paper

@article{he2025evaluating,
  title  = {Evaluating and Improving Graph to Text Generation with Large Language Models},
  author = {Jie He and Yijun Yang and Wanqiu Long and Deyi Xiong and Victor Gutierrez-Basulto and Jeff Z. Pan},
  year   = {2025},
  eprint = {2501.14497},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.14497v2}
}

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/2501.14497.svg)](https://codeofpaper.com/paper/2501.14497)

Discussion