atlas

Research map / Large language models / Retrieval and knowledge

TrustUQA: A Trustful Framework for Unified Structured Data Question Answering

AAAI 2025 · Large language models › Retrieval and knowledge · approach: Explanatory and multiple-choice QA benchmarks · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes TrustUQA, a trustful NL2Query framework that unifies table, KG and temporal KG QA by translating data into a Condition Graph and querying it via LLM-written function calls, few-shot prompting, and dynamic demonstration retrieval.

Problem

Natural language QA over multiple types of structured data (tables, KGs, temporal KGs) is hard to unify: existing NL2Query methods are tied to one query language, while RAG-based unified methods are less trustworthy because answers rest on retrieved evidence exposed to the LLM.

Approach

Represent tables, KGs and temporal KGs in a unified Condition Graph of condition triples, have the LLM write simple get_information-style LLM queries with few-shot demonstrations, and translate them by fixed rules into executable queries; demonstrations are chosen dynamically by retrieving similar training questions whose executed queries match the gold answer.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add dynamic demonstration retrieval (ablation)TrustUQA · WikiSQLdenotation accuracy: 84.5 -> 85.9Helped
add dynamic demonstration retrieval (ablation)TrustUQA · WTQdenotation accuracy: 43.7 -> 44.2Helped
add dynamic demonstration retrieval (ablation)TrustUQA · MetaQAHit@1 (average of 1, 2, 3 hops): 98.1 -> 97.8Hurt
add dynamic demonstration retrieval (ablation)TrustUQA · WebQSPHit@1: 75.1 -> 83.5Helped
add dynamic demonstration retrieval (ablation)TrustUQA · CronQuestionsHits@1: 96.1 -> 97.2Helped
add two-layer query; translate LLM queries into execution queries (ablation)TrustUQA · WikiSQLdenotation accuracy: 84.4 -> 85.9Helped
add two-layer query; translate LLM queries into execution queries (ablation)TrustUQA · WTQdenotation accuracy: 44.2 -> 44.2No clear effect
add two-layer query; translate LLM queries into execution queries (ablation)TrustUQA · MetaQAHit@1 (average of 1, 2, 3 hops): 97.7 -> 97.8Helped
add two-layer query; translate LLM queries into execution queries (ablation)TrustUQA · WebQSPHit@1: 83.4 -> 83.5Helped
add two-layer query; translate LLM queries into execution queries (ablation)TrustUQA · CronQuestionsHits@1: 87.6 -> 97.2Helped
use TrustUQA instead of ReadiGPT-3.5 unified QA on WTQ · WTQdenotation accuracy: 66.7 -> 44.2Hurt
use TrustUQA instead of UniKGQAWebQSP QA · WebQSPHit@1: 75.1 -> 83.5Helped

Surprising findings

Limitations

Experimental setup

Datasets: WikiSQL WTQ WebQSP MetaQA CronQuestions

Benchmarks: WikiSQL WTQ WebQSP MetaQA CronQuestions

Metrics: denotation accuracy Hit@1 set comparison accuracy accuracy on mixed and across-source QA

Baselines: MAPO TAPAS UnifiedSKG TAPEX DATER StructGPT Readi KV-Mem GraftNet EmbedKGQA NSM UniKGQA

Builds on: StructGPT Readi SentenceBERT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy