DARA: Decomposition-Alignment-Reasoning Autonomous Language Agent for Question Answering over Knowledge Graphs

Haishuo Fang, Xiaodan Zhu, Iryna Gurevych

Introduction: The Grounding Gap in KGQA

Answering complex natural language questions using Knowledge Graphs (KGs) like Freebase or Wikidata requires a robust "neural-symbolic" bridge. The system must interpret ambiguous human language and map it to precise, executable logical forms (e.g., SPARQL or s-expressions). Current approaches generally fall into two categories: In-Context Learning (ICL) with massive models like GPT-4, which is expensive and often fails on multi-hop reasoning, and traditional "enumerate-and-rank" methods, which are rigid and do not scale well.

The authors identify a critical "grounding gap" where Large Language Models (LLMs) struggle to select the correct technical relationship from millions of facts. DARA (Decomposition-Alignment-Reasoning Agent) addresses this by enabling smaller, open-source LLMs to navigate complex graph schemas effectively.

The DARA Framework: Iterative Decomposition and Deep Reading

DARA utilizes a hierarchical, two-module framework designed for precision and adaptability. Instead of generating a complete reasoning plan upfront—a process prone to hallucinations—DARA employs Iterative Task Decomposition. It generates one subtask at a time, evaluating the results from the Knowledge Graph before determining the next logical step.

The DARA workflow illustrating iterative task decomposition and the skim-then-deep-reading strategy for schema alignment.

To bridge the grounding gap, DARA uses a Skim-then-Deep-Reading strategy. When searching for a relation, the agent first "skims" candidate relations and then "deeply reads" natural language descriptions of the top candidates. This ensures a semantic match even when relation names are counter-intuitive. The agent interacts with the KG via a specialized tool kit including functions like get_relations, get_neighbors, and get_descriptions.

Experimental Setup: Quality Over Quantity

DARA was evaluated on three major benchmarks: GrailQA (unseen schemas), GraphQ (multi-hop queries), and WebQSP (real-world search logs). A key finding of the research is that training data quality is more important than volume. DARA was fine-tuned on a small, high-quality dataset of only 768 human-verified reasoning trajectories. This proved more effective than using thousands of noisy, machine-generated examples from models like GPT-4, which often struggle with structured output formats and logical intent.

Performance and Efficiency Results

DARA demonstrates that open-source 7B-parameter models can outperform proprietary giants. Using Mistral-7B, DARA achieved a 69.47 F1 score on the GraphQ dataset, surpassing GPT-4’s 64.48.

Comparison of DARA against off-the-shelf LLM agents and specialized parsers across three major KGQA benchmarks.

Beyond accuracy, DARA offers significant operational advantages. In testing across approximately 4,500 examples, DARA was 60x cheaper (costing ~$30 vs. $1,300 for GPT-4) and 4x faster in inference. The model also exhibited strong zero-shot generalization, successfully navigating graph schemas it had never encountered during training.

Conclusion and Future Work

DARA represents a significant step toward efficient, autonomous agents for structured data reasoning. While highly effective, the current framework lacks a self-correction or backtracking mechanism; an early error in the reasoning chain can lead the agent astray. Future work aims to implement "reflexion" strategies and generalize the intermediate s-expression representation to other large-scale graphs like Wikidata.

Summary updated

BibTeX
@inproceedings{fang2024dara,
  author = {Haishuo Fang and Xiaodan Zhu and Iryna Gurevych},
  title = {{DARA: Decomposition-Alignment-Reasoning Autonomous Language Agent for Question Answering over Knowledge Graphs}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.203},
}
Figure