Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

TrustUQA: A Trustful Framework for Unified Structured Data Question Answering (2406.18916v2)

Published 27 Jun 2024 in cs.CL and cs.AI

Abstract: Natural language question answering (QA) over structured data sources such as tables and knowledge graphs have been widely investigated, especially with LLMs in recent years. The main solutions include question to formal query parsing and retrieval-based answer generation. However, current methods of the former often suffer from weak generalization, failing to dealing with multi-types of sources, while the later is limited in trustfulness. In this paper, we propose TrustUQA, a trustful QA framework that can simultaneously support multiple types of structured data in a unified way. To this end, it adopts an LLM-friendly and unified knowledge representation method called Condition Graph(CG), and uses an LLM and demonstration-based two-level method for CG querying. For enhancement, it is also equipped with dynamic demonstration retrieval. We have evaluated TrustUQA with 5 benchmarks covering 3 types of structured data. It outperforms 2 existing unified structured data QA methods. In comparison with the baselines that are specific to one data type, it achieves state-of-the-art on 2 of the datasets. Further more, we have demonstrated the potential of our method for more general QA tasks, QA over mixed structured data and QA across structured data. The code is available at https://github.com/zjukg/TrustUQA.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (9)
  1. Wen Zhang (170 papers)
  2. Long Jin (36 papers)
  3. Yushan Zhu (11 papers)
  4. Jiaoyan Chen (85 papers)
  5. Zhiwei Huang (20 papers)
  6. Junjie Wang (164 papers)
  7. Yin Hua (4 papers)
  8. Lei Liang (37 papers)
  9. Huajun Chen (198 papers)
Citations (1)