A Flexible and Extensible Framework for Multiple Answer Modes Question Answering

Cheng-Chung Fan, Chia-Chih Kuo, Shang-Bao Luo, Pei-Jun Liao, Kuang-Yu Chang, Chiao-Wei Hsu, Meng-Tse Wu, Shih-Hong Tsai, Tzu-Man Wu, Aleksandra Smolka, Chao-Chun Liang, Hsin-Min Wang, Kuan-Yu Chen, Yu Tsao, Keh-Yih SuRocling 2021

TL;DR

This paper introduces a novel "divide-and-conquer" framework for question answering (QA) that can handle diverse answer types requiring different inference mechanisms. By employing specialized modules for answer generation and an aggregation layer, the framework achieves greater flexibility and extensibility compared to previous monolithic approaches, outperforming a strong baseline on a challenging QA dataset.

What Problem Does This Paper Address?

Traditional Question Answering (QA) systems often struggle with questions that require more than a single, straightforward inference mechanism. Many existing approaches are designed to handle only one type of answer generation (e.g., extracting a text span, answering yes/no). While some systems attempt to incorporate multiple answer generation modules, they often lack a robust mechanism to effectively merge the outputs from these diverse modules or become overly complex to implement. This limitation makes them ill-suited for datasets like the Formosa Grand Challenge (FGC) which demand a variety of reasoning capabilities, such as extraction, entailment judgment, and summarization, all within a single QA task. The paper aims to bridge this gap by proposing a flexible and extensible framework that can manage multiple answer modes simultaneously.

Methods

The core of the proposed solution is a "divide-and-conquer" framework composed of several key components:

  • Supporting Evidences Locating Module: This module first narrows down the search space by extracting relevant supporting evidence from the provided document.
  • Dispatch Module: This crucial component intelligently selects and activates a subset of appropriate answer generation modules based on the question's inferred answer mode and type. This prevents unnecessary computation and allows for dynamic adaptation.
  • Answer Generation Modules: A collection of specialized modules, each designed to handle a specific inference mechanism or answer mode (e.g., Single-Span-Extraction, Multi-Span-Extraction, Arithmetic-Operation, Entailment-Judgement, Summarization). These modules generate candidate answers.
  • Aggregation Module: This final layer merges the candidate answers from the activated generation modules and selects the most likely final answer. The paper explores both a rule-based merging approach and a neural network-based approach for aggregation.

The framework is designed for end-to-end, multi-task learning, making it amenable to modern neural network architectures.

Datasets

The primary dataset used for training and evaluation is the 2020 Formosa Grand Challenge (FGC) Contest dataset. This dataset is notable for its diversity of question types and answer modes. The authors utilized the FGC-2020-pre dataset for training, development, and testing, and also evaluated on the FGC-2020-final test set. The FGC dataset covers eight different answer modes and ten different answer types.

Key Insights and Ideas

  • Modularity is Key for Flexibility: The divide-and-conquer approach, by separating concerns into specialized modules, allows for greater flexibility in handling diverse question types and extensibility for adding new inference mechanisms in the future.
  • Intelligent Dispatching Saves Resources: The dispatch module's ability to select only relevant answer generation modules significantly reduces computational waste compared to systems that activate all modules regardless of relevance.
  • Aggregation Combines Strengths: The aggregation module is vital for leveraging the strengths of different inference mechanisms and mitigating the "error accumulation problem" where a single incorrect module choice can propagate errors.
  • Dataset Drift is a Major Challenge: The significant performance drop between the FGC-2020-pre and FGC-2020-final test sets highlights the challenge of dataset drift, particularly in answer mode and type distributions, suggesting that current BERT-based models may struggle with deep reasoning beyond surface-level cues.

Key Results

  • The proposed framework achieved an 11.4% improvement over the baseline RoBERTa-large model on the FGC-2020-pre test-set.
  • On the FGC-2020-pre test-set, the proposed model achieved an EM score of 70.5%, outperforming the baseline's 59.1%.
  • The dispatch layer demonstrated promising performance, with top-1 and top-2 accuracy rates for answer mode prediction at 98.9% and 100.0%, respectively.
  • However, performance on the more challenging FGC-2020-final test-set saw a significant drop, with an overall improvement of only 2.2% over the baseline (39.1% vs. 36.9%). This highlights the difficulty of the final test set.
  • Specific answer modes like Arithmetic-Operation and Multi-Span-Extraction showed particularly poor performance on the final test set, indicating areas for future improvement.

Limitations and Future Work

  • Dataset Mismatch: The authors acknowledge a significant mismatch problem in answer mode and answer type distributions between the FGC-2020-pre and FGC-2020-final test sets. This drift, coupled with the reliance of current models on surface-level cues, led to performance degradation.
  • Deep Reasoning Challenges: The paper suggests that current BERT-based approaches, while powerful, may not be sufficient for the deep reasoning required by complex QA tasks like those in the FGC dataset.
  • Specific Module Performance: The performance of certain answer generation modules, such as Multi-Span-Extraction, was found to be insufficient for the challenges presented in the final test set, indicating a need for more robust approaches for these specific tasks.
  • Future Work: The authors suggest that future work should focus on developing models capable of deeper reasoning and addressing the challenges posed by dataset drift. They also mention that their framework is extensible, allowing for the integration of new answer modes and types.

Summary updated

BibTeX
@inproceedings{fan2021flexible,
  author = {Cheng-Chung Fan and Chia-Chih Kuo and Shang-Bao Luo and Pei-Jun Liao and Kuang-Yu Chang and Chiao-Wei Hsu and Meng-Tse Wu and Shih-Hong Tsai and Tzu-Man Wu and Aleksandra Smolka and Chao-Chun Liang and Hsin-Min Wang and Kuan-Yu Chen and Yu Tsao and Keh-Yih Su},
  title = {{A Flexible and Extensible Framework for Multiple Answer Modes Question Answering}},
  booktitle = {Rocling},
  year = {2021},
}
Figure