StructGPT: A General Framework for Large Language Model to Reason over Structured Data
Jinhao Jiang, Kun Zhou, Zican Dong, Keming Ye, Xin Zhao, Ji-Rong Wen
摘要
In this paper, we aim to improve the reasoning ability of large language models (LLMs) over structured data in a unified way. Inspired by the studies on tool augmentation for LLMs, we develop an Iterative Reading-then-Reasoning (IRR) framework to solve question answering tasks based on structured data, called StructGPT. In this framework, we construct the specialized interfaces to collect relevant evidence from structured data (i.e., reading), and let LLMs concentrate on the reasoning task based on the collected information (i.e., reasoning). Specially, we propose an invokinglinearization-generation procedure to support LLMs in reasoning on the structured data with the help of the interfaces. By iterating this procedure with provided interfaces, our approach can gradually approach the target answers to a given query. Experiments conducted on three types of structured data show that StructGPT greatly improves the performance of LLMs, under the few-shot and zero-shot settings. Our codes and data are publicly available at https://github.com/RUCAIBox/StructGPT . Recently, large language models (LLMs) (Brown et al., 2020; Zhao et al., 2023) have made remarkable advancements in the NLP field. Existing work (Ouyang et al., 2022a; Zhang et al., 2022) has demonstrated that LLMs (e.g., ChatGPT or GPT-4 (OpenAI, 2023)) have strong zero-shot capability to solve a broad range of tasks using specially designed prompts, without task-specific fine-tuning. Despite the successes, recent work has also revealed that LLMs may generate unfaithful information in conflict with the factual knowledge (Li et al., 2023) , and also fall short of mastering domainspecific or real-time knowledge (Schick et al., 2023; Peng et al., 2023) . A direct solution to the above
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 110 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Adapting Large Language Models by Integrating Collaborative Semantics for Recommendation 引用了 Training language models to follow instructions with human feedback
- Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph 引用了 Language Models are Few-Shot Learners
- Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph 引用了 Training language models to follow instructions with human feedback
- G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering 引用了 Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph
- HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models 引用了 Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge Graphs 引用了 Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge Graphs 引用了 Language Models are Few-Shot Learners
- Training language models to follow instructions with human feedback 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper110
- HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language ModelsBernal Jimenez Gutierrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga 等NeurIPS 2024 · 395 次引用
- G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question AnsweringXiaoxin He, Yijun Tian, Yifei Sun, Nitesh V. Chawla 等NeurIPS 2024 · 384 次引用
- Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge GraphJiashuo Sun, Chengjin Xu, Lumingyuan Tang, Saizhuo Wang 等ICLR 2024 · 247 次引用
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge GraphsLiyi Chen, Panrong Tong, Zhongming Jin, Ying Sun 等NeurIPS 2024 · 160 次引用
- Adapting Large Language Models by Integrating Collaborative Semantics for RecommendationBowen Zheng, Yupeng Hou, Hongyu Lu, Yu Chen 等ICDE 2024 · 132 次引用
它引用的 Paper19
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Toolformer: Language Models Can Teach Themselves to Use ToolsTimo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu 等NeurIPS 2023 · 5,989 次引用
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad 等ACL 2020 · 1,224 次引用
- TabFact: A Large-scale Dataset for Table-based Fact VerificationWenhu Chen, Hongmin Wang, Jianshu Chen, Yunkai Zhang 等ICLR 2020 · 674 次引用
相关 Paper
- ChatCoT: Tool-Augmented Chain-of-Thought Reasoning on Chat-based Large Language ModelsZhipeng Chen, Kun Zhou, Beichen Zhang, Zheng Gong 等EMNLP Findings 2023 · 30 次引用
- Empirical Study of Zero-Shot NER with ChatGPTTingyu Xie, Qi Li, Jian Zhang, Yan Zhang 等EMNLP 2023 · 50 次引用
- Advancing Reasoning with Off-the-Shelf LLMs: A Semantic Structure PerspectivePengfei He, Zitao Li, Yue Xing, Yaliang Li 等EMNLP Findings 2025
- Structure Guided Prompt: Instructing Large Language Model in Multi-Step Reasoning by Exploring Graph Structure of the TextKewei Cheng, Nesreen K. Ahmed, Theodore L. Willke, Yizhou SunEMNLP 2024 · 6 次引用
- StructRAG: Boosting Knowledge Intensive Reasoning of LLMs via Inference-time Hybrid Information StructurizationZhuoqun Li, Xuanang Chen, Haiyang Yu, Hongyu Lin 等ICLR 2025
