A State-transition Framework to Answer Complex Questions over Knowledge Base

Sen Hu, Lei Zou, Xinbo Zhang

Abstract

Knowledge Base Question Answering (KBQA) systems often struggle with complex queries involving multi-hop relations, co-references, and implicit constraints. This paper proposes a state-transition framework that iteratively constructs Semantic Query Graphs (SQG) using four primitive operations: expand, fold, connect, and merge. By departing from rigid, handcrafted templates, the framework achieves superior expressivity and sets new performance benchmarks on datasets such as QALD-6, WebQuestions, and ComplexQuestions.

Introduction

Answering simple factual questions (e.g., "Where was Einstein born?") over Knowledge Bases (KBs) like Freebase or DBpedia is a mature field. However, complex questions—those requiring multiple reasoning steps or handling implicit relations—remain a significant challenge. For instance, the question "Which Russian astronauts died in the same place they were born?" necessitates linking nationality, birthplace, and death place while resolving the co-reference "they."

Traditional approaches often rely on predefined templates or rigid graph structures, which fail to capture the diversity of natural language. This paper introduces a state-transition paradigm that treats query construction as a search problem over a space of graph transformations.

Methodology: The State-Transition Framework

The core of the proposed system is the iterative transformation of initial nodes into a complete Semantic Query Graph (SQG).

Node Recognition

The process begins by identifying potential nodes (entities, types, or variables) within the question. This is achieved through a combination of entity linking (S-MART) and a BLSTM-CRF model for sequence labeling.

Primitive Graph Operations

The framework defines four atomic operations to build and refine the SQG:

  1. Connect: Establishes a relation between two nodes using a Multi-Channel CNN (MCCNN) to identify the most likely KB relation.
  2. Merge: Resolves co-references by combining two nodes (e.g., merging "they" with "cosmonauts").
  3. Expand: Adds detail to a node by introducing a subgraph (e.g., specifying that "cosmonauts" must have the nationality "Russia").
  4. Fold: A corrective mechanism that removes redundant nodes and merges their relations, allowing the system to recover from initial recognition errors.
The four primitive operations: Connect, Merge, Expand, and Fold.

Search and Optimization

The system employs a greedy search algorithm to navigate the state space. A reward function, trained using an SVM ranking loss, evaluates candidate states based on node/edge confidence and the validity of the subgraph against the KB. To maintain efficiency, dependency parse trees are used to prune the search space by restricting connections to linguistically related nodes.

A complete Semantic Query Graph for the complex question: "Which cosmonauts died in the same place they were born in?"

Experimental Results

The framework (STF) was evaluated on three major benchmarks, demonstrating state-of-the-art performance:

  • ComplexQuestions: Achieved an F1 score of 54.3%, significantly outperforming previous models like QUINT (49.2%).
  • WebQuestions: Reached 53.6% F1, surpassing the STAGG framework.
  • QALD-6: Achieved an F1 of 0.80, the highest among automatic systems.

Discussion and Conclusion

The primary strength of the STF lies in its expressivity. Unlike template-based systems, the state-transition approach can generate an almost infinite variety of query structures. The "fold" operation is particularly noteworthy as it provides a robust way to handle noise in early processing stages.

However, limitations remain. The system is sensitive to the performance of initial entity linkers and struggles with complex mathematical aggregations (e.g., superlatives). Future work will focus on integrating more sophisticated aggregation logic and improving the robustness of relation extraction in low-resource settings.

Summary updated

BibTeX
@inproceedings{hu2018state,
  author = {Sen Hu and Lei Zou and Xinbo Zhang},
  title = {{A State-transition Framework to Answer Complex Questions over Knowledge Base}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-1234},
}
Figure