StructGPT: A General Framework for Large Language Model to Reason over Structured Data

By Jinhao Jiang, Kun Zhou, Zican Dong, Keming Ye, Wayne Xin Zhao, Ji-rong Wen. Conference on Empirical Methods in Natural Language Processing, 2023

580 citations recorded by the source corpus.

In this paper, we study how to improve the zero-shot reasoning ability of large language models~(LLMs) over structured data in a unified way. Inspired by the study on tool augmentation for LLMs, we develop an \emph{Iterative Reading-then-Reasoning~(IRR)} approach for solving question answering tasks based on structured data, called \textbf{StructGPT}. In our approach, we construct the specialized function to collect relevant evidence from structured data (\ie \emph{reading}), and let LLMs concentrate the reasoning task based on the collected information (\ie \emph{reasoning}). Specially, we propose an \emph{invoking-linearization-generation} procedure to support LLMs in reasoning on the structured data with the help of the external interfaces. By iterating this procedures with provided interfaces, our approach can gradually approach the target answer to a given query. Extensive experiments conducted on three types of structured data demonstrate the effectiveness of our approach, which can significantly boost the performance of ChatGPT and achieve comparable performance against the full-data supervised-tuning baselines. Our codes and data are publicly available at~\url{https://github.com/RUCAIBox/StructGPT}.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

View Paper: https://www.semanticscholar.org/paper/e0f27336698c84709bd60b6b7f4ce588cbae66bf

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Wayne Xin Zhao
  2. Ji-rong Wen
  3. Yupeng Hou
  4. Hongyu Lu
  5. Kun Zhou
  6. Shirui Pan
  7. Bowen Zheng
  8. Yu Chen

In Computer Vision and Pattern Recognition

  1. Dacheng Tao
  2. Ji-rong Wen
  3. Wayne Xin Zhao
  4. Xindong Wu
  5. Kun Zhou
  6. Shirui Pan
  7. Jiawei Han
  8. Heng Ji

Citations in the corpus