Introduction
Passage-level answer selection is a critical task in natural language processing where a system must rank the correct answer at the top of a candidate pool for a given question. This task presents significant challenges due to semantic complexity, where questions and answers may have low lexical overlap, and length mismatch, where short questions are paired with long, noisy answer passages. Traditional models like Convolutional Neural Networks (CNNs) excel at local pattern recognition but miss long-range dependencies, while Recurrent Neural Networks (RNNs) like LSTMs capture context but may overlook salient local interactions. This paper proposes hybrid architectures and an attention mechanism to bridge these gaps.
Methodology
The authors introduce four primary architectures to improve representation learning for QA matching:
- QA-LSTM (Baseline): Employs a bidirectional LSTM (biLSTM) to process questions and answers independently, followed by pooling to generate fixed-size vectors for cosine similarity calculation.
- Convolutional-pooling LSTM: Enhances the biLSTM by feeding its hidden states into a CNN layer to capture richer local information.
- Convolution-based LSTM: Reverses the order, using a CNN for initial feature extraction followed by a biLSTM for global context.
- Attentive LSTM: The core contribution of this work. It introduces a "one-way" attention mechanism where the question's representation influences the weights assigned to the answer's hidden states during pooling. This allows the model to filter out noise in long answer passages and focus on relevant segments.
Experimental Setup
The models were evaluated on two benchmarks:
- InsuranceQA: A large-scale non-factoid dataset characterized by short questions and long, descriptive answers.
- TREC-QA: A classic factoid QA benchmark based on Text REtrieval Conference data.
Results and Discussion
The experimental results demonstrate that the Attentive LSTM consistently outperforms baseline and hybrid models. On the InsuranceQA Test Set 1, the Attentive LSTM (max-pooling) achieved a Top-1 accuracy of 69.0%, surpassing the previous CNN-based state-of-the-art of 65.3%.
Key findings include:
- Max-Pooling vs. Average Pooling: Max-pooling was found to be superior in the QA-LSTM framework, likely due to its ability to select the most salient features.
- Impact of Attention: The benefit of the attention mechanism is most pronounced for longer answers, where it effectively filters irrelevant information that would otherwise dilute the representation.
- Hybrid Efficiency: Combining CNN and RNN structures allows the model to capture both local coherence and global context with fewer parameters than more complex pure-CNN architectures.
Conclusion
This research highlights the effectiveness of combining biLSTMs with attention mechanisms for passage-level answer selection. By making answer representations "aware" of the question, the models achieve state-of-the-art performance on challenging benchmarks. Future work may explore bidirectional attention and the integration of these hybrid components into a unified framework.
Summary updated