[Paper Review] Dual Ask-Answer Network for Machine Reading Comprehension
This paper proposes the Dual Ask-Answer Network (DAANet), a two-way neural sequence transduction model that jointly learns question answering (QA) and question generation (QG) by sharing architectural components and using hierarchical attention to model cross-modal interactions between context, questions, and answers. DAANet achieves state-of-the-art performance on four public MRC datasets, outperforming both mono-learning and prior joint learning models in both QA and QG tasks.
There are three modalities in the reading comprehension setting: question, answer and context. The task of question answering or question generation aims to infer an answer or a question when given the counterpart based on context. We present a novel two-way neural sequence transduction model that connects three modalities, allowing it to learn two tasks simultaneously and mutually benefit one another. During training, the model receives question-context-answer triplets as input and captures the cross-modal interaction via a hierarchical attention process. Unlike previous joint learning paradigms that leverage the duality of question generation and question answering at data level, we solve such dual tasks at the architecture level by mirroring the network structure and partially sharing components at different layers. This enables the knowledge to be transferred from one task to another, helping the model to find a general representation for each modality. The evaluation on four public datasets shows that our dual-learning model outperforms the mono-learning counterpart as well as the state-of-the-art joint models on both question answering and question generation tasks.
Motivation & Objective
- To address the limitations of mono-task models in machine reading comprehension by jointly learning question answering and question generation.
- To exploit the duality between QA and QG at the model architecture level rather than at the data or loss level.
- To improve generalization and representation learning by sharing components across QA and QG tasks through a symmetric, mirrored network structure.
- To demonstrate that cross-task knowledge transfer via architectural sharing enhances performance on both QA and QG tasks.
- To provide a unified framework that supports both answer generation and question generation using the same model architecture, without assuming span-based answers.
Proposed method
- The model uses a symmetric, two-way architecture with shared components across question answering and question generation tasks.
- It employs a hierarchical attention mechanism that captures interactions between context, questions, and answers at multiple levels.
- The network is structured in four layers: embedding, encoding, attention, and output, with shared encoders for context, questions, and answers.
- The pointer-generator network is shared between tasks to handle OOV (out-of-vocabulary) words and improve generation quality.
- During training, the model is fed question-context-answer triplets and learns both QA and QG tasks simultaneously via a shared loss function.
- During inference, the model autoregressively generates answers or questions based on the context and the counterpart modality (e.g., generate answer given question and context).
Experimental results
Research questions
- RQ1Can architectural sharing between question answering and question generation improve performance on both tasks?
- RQ2Does learning QA and QG jointly via a symmetric, shared architecture lead to better generalization than mono-learning or data-level joint learning?
- RQ3How effective is hierarchical attention in modeling cross-modal interactions among context, questions, and answers?
- RQ4Can the model generate fluent, accurate questions and answers without assuming span-based answers?
- RQ5Does the dual-learning paradigm at the architecture level transfer knowledge more effectively than data-level or loss-level joint learning?
Key findings
- DAANet achieves the highest F1 score of 37.28 on SQuAD, outperforming the mono-learning baseline and state-of-the-art joint models.
- On the SQuAD dataset, DAANet improves F1 by 10.46 points over the mono-learning model and 5.43 points over the best prior joint model.
- On the NewsQA dataset, DAANet achieves an F1 of 43.85, significantly outperforming the next-best model by 4.52 points.
- Ablation studies show that removing shared components—such as unshared question/answer encoders or no copy mechanism—leads to substantial performance drops, validating the importance of architectural sharing.
- Case studies demonstrate that DAANet generates more accurate and fluent questions and answers than mono-learning models, even when the gold answer is provided.
- Despite strong performance on QA, QG scores remain lower than QA under alignment-based metrics, indicating that QG remains a more challenging task, though DAANet still achieves the best reported results on QG among joint models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.