Using Multi-Label Classification for Improved Question Answering

Ricardo Usbeck, Michael Hoffmann, Michael Röder, Jens Lehmann, Axel-Cyrille Ngonga NgomoarXiv 2017

TL;DR

This paper introduces a "metasystem" for Question Answering (QA) over RDF data that uses multi-label classification to intelligently route queries to the most capable underlying engine. By extracting 14 key features from natural language questions, the authors achieved a 14.1% improvement in F-measure over the best standalone system on the QALD-6 benchmark.

What Problem Does This Paper Address?

Question Answering over Linked Data (RDF) has seen a surge in diverse approaches, but most systems are highly specialized. One engine might excel at simple conjunctive queries but fail miserably at superlatives (e.g., "What is the longest river?"), while another might handle complex linguistic structures but struggle with specific domains like geography.

The authors argue that this specialization—a "curse" for individual systems—is actually a "blessing" for a combined approach. The challenge lies in automatically determining which system is best suited for a specific, unseen question without the overhead of running every query through every engine.

Methods

The authors formulate the problem as a multi-label classification task. Instead of building a new QA engine from scratch, they build a supervisor that predicts which of six existing QA systems (including engines like KWGAnswer, SemGraphQA, and UTQA) will likely produce a correct answer (defined as an F1-score > 0).

The pipeline follows these steps:

  1. Feature Extraction: The system extracts 14 novel features from the input question, grouped into categories like Question Type (List, Boolean, etc.), Query Resource Type (Person, Location, etc.), and linguistic markers like the presence of comparatives or superlatives.
  2. Classification: They evaluated 16 different multi-label classifiers from the MEKA framework. The Pruned Sets with threshold (PSt) classifier emerged as the top performer.
  3. System Selection: The classifier outputs a ranking of the underlying QA systems. The metasystem then queries the highest-ranked engine to provide the final answer.
Fig. 1. Overview of the metasystem combining several QA systems. The training and test data are the feature vectors extracted from QALD-6 questions.

Datasets

The evaluation was conducted using the QALD-6 (Question Answering over Linked Data) benchmark, specifically Task 1 (multilingual question answering). This dataset consists of 100 test questions. The authors successfully integrated six participating systems from the QALD-6 challenge as their underlying engines.

Table showing the QA engines evaluated and the criteria for their inclusion or exclusion.

Key Insights and Ideas

  • Feature Synergy: The authors used Cramer’s V-coefficient to analyze which question features most strongly correlate with a system's success. They found that Query Resource Type, Question Word, and Number of Tokens were the most descriptive indicators of performance across the board.
  • Less is More: Surprisingly, using all 14 features resulted in a slightly lower F-measure (0.76) than using an optimized subset of just four features: Number of Tokens, Location, Question Word, and Query Resource Type (0.78). This suggests that adding too many handcrafted features can introduce noise, especially with smaller datasets.
  • Mapping Weaknesses: The analysis revealed specific "blind spots" in current tech. For instance, questions requiring "solution modifiers" (like sorting or limiting results) remain a significant hurdle for almost all existing RDF QA systems.
Fig. 2. Cramers V-coefficient of features and the system performances.

Key Results

  • Performance Boost: The best-performing metasystem configuration reached an F-measure of 0.78, significantly outperforming the best single system in the set, which scored 0.68. This represents a 14.1% relative improvement.
  • Closing the Gap: While the metasystem is a major step forward, there is still room for growth. A theoretical "optimal" selector (one that always picks the best possible system for every question) would achieve an F-measure of 0.89.
  • Classifier Efficiency: The PSt classifier proved particularly robust for this task, outperforming more standard approaches like Classifier Chains (CC) in the final "full" training setup.

Limitations and Future Work

The primary limitation acknowledged by the authors is the sparsity of training data. With only 100 questions in the QALD-6 benchmark, the risk of overfitting is high, and the classifier's ability to generalize to broader, more diverse queries is constrained.

Future work aims to:

  • Incorporate more training data as new benchmarks emerge.
  • Explore more influential features to further close the 0.11 gap between the current metasystem and the theoretical optimum.
  • Address the "solution modifier" problem, which remains a systemic weakness in the underlying QA engines.

Summary updated

Abstract

A plethora of diverse approaches for question answering over RDF data have been developed in recent years. While the accuracy of these systems has increased significantly over time, most systems still focus on particular types of questions or particular challenges in question answering. What is a curse for single systems is a blessing for the combination of these systems. We show in this paper how machine learning techniques can be applied to create a more accurate question answering metasystem by reusing existing systems. In particular, we develop a multi-label classification-based metasystem for question answering over 6 existing systems using an innovative set of 14 question features. The metasystem outperforms the best single system by 14% F-measure on the recent QALD-6 benchmark. Furthermore, we analyzed the influence and correlation of the underlying features on the metasystem quality.
BibTeX
@misc{usbeck2017using,
  author = {Ricardo Usbeck and Michael Hoffmann and Michael Röder and Jens Lehmann and Axel-Cyrille Ngonga Ngomo},
  title = {{Using Multi-Label Classification for Improved Question Answering}},
  year = {2017},
  eprint = {1710.08634},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.08634},
}
Figure