GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capability
<|reference_start|>GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capability: Evaluating and enhancing the general capabilities of large language models (LLMs) has been an important research topic. Graph is a common data structure in the real world, and understanding graph data is a crucial part for advancing general intelligence. To evaluate and enhance the graph understanding abilities of LLMs, in this paper, we propose a benchmark named GraphInstruct, which comprehensively includes 21 classical graph reasoning tasks, providing diverse graph generation pipelines and detailed reasoning steps. Based on GraphInstruct, we further construct GraphLM through efficient instruction-tuning, which shows prominent graph understanding capability. In order to enhance the LLM with graph reasoning capability as well, we propose a step mask training strategy, and construct a model named GraphLM+. As one of the pioneering efforts to enhance the graph understanding and reasoning abilities of LLMs, extensive experiments have demonstrated the superiority of GraphLM and GraphLM+ over other LLMs. We look forward to more researchers exploring the potential of LLMs in the graph data mining domain through GraphInstruct. Our code for generating GraphInstruct is released publicly at: https://github.com/CGCL-codes/GraphInstruct.<|reference_end|>
@article{luo2024graphinstruct:,
    title={GraphInstruct: Empowering Large Language Models with Graph Understanding
  and Reasoning Capability},
    author={Zihan Luo, Xiran Song, Hong Huang, Jianxun Lian, Chenhao Zhang, Jinqi
  Jiang, Xing Xie},
    journal={arXiv preprint arXiv:2403.04483},
    year={2024},
    archivePrefix={arXiv},
    eprint={2403.04483},
    primaryClass={cs.AI cs.CL}
}