InstructGraph: Boosting Large Language Models via Graph-centric Instruction Tuning and Preference Alignment

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Wang, Jianing, Wu, Junda, Hou, Yupeng, Liu, Yao, Gao, Ming, McAuley, Julian
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909105350770688
author Wang, Jianing
Wu, Junda
Hou, Yupeng
Liu, Yao
Gao, Ming
McAuley, Julian
author_facet Wang, Jianing
Wu, Junda
Hou, Yupeng
Liu, Yao
Gao, Ming
McAuley, Julian
contents 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 negative instances for preference alignment, the target of which is to enhance the output's reliability of the model. Extensive experiments across multiple graph-centric tasks exhibit that InstructGraph can achieve the best performance and outperform GPT-4 and LLaMA2 by more than 13\% and 38\%, respectively.
format Preprint
id arxiv_https___arxiv_org_abs_2402_08785
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle InstructGraph: Boosting Large Language Models via Graph-centric Instruction Tuning and Preference Alignment
Wang, Jianing
Wu, Junda
Hou, Yupeng
Liu, Yao
Gao, Ming
McAuley, Julian
Computation and Language
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 negative instances for preference alignment, the target of which is to enhance the output's reliability of the model. Extensive experiments across multiple graph-centric tasks exhibit that InstructGraph can achieve the best performance and outperform GPT-4 and LLaMA2 by more than 13\% and 38\%, respectively.
title InstructGraph: Boosting Large Language Models via Graph-centric Instruction Tuning and Preference Alignment
topic Computation and Language
url https://arxiv.org/abs/2402.08785