TARGA: Targeted Synthetic Data Generation for Practical Reasoning over Structured Data

Xiang Huang, Jiayu Shen, Shanshan Huang, Sitao Cheng, Xiaxia Wang +1 more
12/27/2024
cs.CLcs.AI

No official code found. Best implementation: cdhx/Targa (5 stars, last commit 2025-07-25).

Abstract

Semantic parsing, which converts natural language questions into logic forms, plays a crucial role in reasoning within structured environments. However, existing methods encounter two significant challenges: reliance on extensive manually annotated datasets and limited generalization capability to unseen examples. To tackle these issues, we propose Targeted Synthetic Data Generation (TARGA), a practical framework that dynamically generates high-relevance synthetic data without manual annotation. Starting from the pertinent entities and relations of a given question, we probe for the potential relevant queries through layer-wise expansion and cross-layer combination. Then we generate corresponding natural language questions for these constructed queries to jointly serve as the synthetic demonstrations for in-context learning. Experiments on multiple knowledge base question answering (KBQA) datasets demonstrate that TARGA, using only a 7B-parameter model, substantially outperforms existing non-fine-tuned methods that utilize close-sourced model, achieving notable improvements in F1 scores on GrailQA(+7.7) and KBQA-Agent(+12.2). Furthermore, TARGA also exhibits superior sample efficiency, robustness, and generalization capabilities under non-I.I.D. settings.

View on arXivView PDF

Code Implementations(1)

cdhx/TargaCommunity74%

Code and data for TARGA: Targeted Synthetic Data Generation for Practical Reasoning over Structured Data (ACL 2025)

50PythonJul 13, 20251 years ago

Similar Papers

Cite this paper

@article{huang2024targa,
  title  = {TARGA: Targeted Synthetic Data Generation for Practical Reasoning over Structured Data},
  author = {Xiang Huang and Jiayu Shen and Shanshan Huang and Sitao Cheng and Xiaxia Wang and Yuzhong Qu},
  year   = {2024},
  eprint = {2412.19544},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.19544v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.19544.svg)](https://codeofpaper.com/paper/2412.19544)

Discussion