Call Me When Necessary: LLMs can Efficiently and Faithfully Reason over Structured Environments
Cheng, Sitao, Zhuang, Ziyuan, Xu, Yong, Yang, Fangkai, Zhang, Chaoyun, Qin, Xiaoting, Huang, Xiang, Chen, Ling, Lin, Qingwei, Zhang, Dongmei, Rajmohan, Saravan, Zhang, Qi
–arXiv.org Artificial Intelligence
Large Language Models (LLMs) have shown potential in reasoning over structured environments, e.g., knowledge graph and table. Such tasks typically require multi-hop reasoning, i.e., match natural language utterance with instances in the environment. Previous methods leverage LLMs to incrementally build a reasoning path, where the LLMs either invoke tools or pick up schemas by step-by-step interacting with the environment. We propose Reasoning-Path-Editing (Readi), a novel framework where LLMs can efficiently and faithfully reason over structured environments. In Readi, LLMs initially generate a reasoning path given a query, and edit the path only when necessary. We instantiate the path on structured environments and provide feedback to edit the path if anything goes wrong. Experimental results on three KGQA and two TableQA datasets show the effectiveness of Readi, significantly surpassing previous LLM-based methods (by 9.1% Hit@1 on WebQSP, 12.4% on MQA-3H and 9.5% on WTQ), comparable with state-of-the-art fine-tuned methods (67% on CWQ and 74.7% on WebQSP) and substantially boosting the vanilla LLMs (by 14.9% on CWQ). Our code will be available on https://aka.ms/readi.
arXiv.org Artificial Intelligence
Jul-3-2024
- Country:
- Oceania > New Zealand
- North Island > Auckland Region > Auckland (0.04)
- North America
- Dominican Republic (0.04)
- United States
- District of Columbia > Washington (0.14)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Canada
- Ontario > Toronto (0.04)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- Europe
- France (0.06)
- Germany (0.04)
- Slovenia > Central Slovenia
- Municipality of Ljubljana > Ljubljana (0.04)
- Netherlands > Gelderland
- Nijmegen (0.05)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Bosnia and Herzegovina > Federation of Bosnia and Herzegovina
- Tuzla Canton > Tuzla (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- Singapore (0.04)
- Taiwan > Taiwan Province
- Taipei (0.04)
- Middle East
- Israel (0.04)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- Republic of Türkiye
- Konya Province > Konya (0.04)
- Kayseri Province > Kayseri (0.04)
- Bitlis Province > Bitlis (0.04)
- Ankara Province > Ankara (0.04)
- Aksaray Province > Aksaray (0.04)
- China
- Jiangsu Province > Nanjing (0.04)
- Beijing > Beijing (0.04)
- Africa > Rwanda
- Oceania > New Zealand
- Genre:
- Research Report (1.00)
- Industry:
- Leisure & Entertainment (1.00)
- Media > Film (0.67)
- Technology: