[Paper Review] aNMM: Ranking Short Answer Texts with Attention-Based Neural Matching Model
The paper proposes an attention-based neural matching model (aNMM) for ranking short answer texts, using value-shared weighting and a question-focused attention mechanism to improve answer ranking without heavy feature engineering, and showing competitive or superior performance on the TREC QA benchmark.
As an alternative to question answering methods based on feature engineering, deep learning approaches such as convolutional neural networks (CNNs) and Long Short-Term Memory Models (LSTMs) have recently been proposed for semantic matching of questions and answers. To achieve good results, however, these models have been combined with additional features such as word overlap or BM25 scores. Without this combination, these models perform significantly worse than methods based on linguistic feature engineering. In this paper, we propose an attention based neural matching model for ranking short answer text. We adopt value-shared weighting scheme instead of position-shared weighting scheme for combining different matching signals and incorporate question term importance learning using question attention network. Using the popular benchmark TREC QA data, we show that the relatively simple aNMM model can significantly outperform other neural network models that have been used for the question answering task, and is competitive with models that are combined with additional features. When aNMM is combined with additional features, it outperforms all baselines.
Motivation & Objective
- Motivate a shift from feature-engineered QA methods to deep learning for semantic matching between questions and answers.
- Develop an attention-based neural matching model that emphasizes signal value rather than position, to better capture question–answer interactions.
- Incorporate a question-term attention mechanism to learn term importance in questions and improve ranking quality.
- Evaluate aNMM on the TREC QA benchmark to assess its standalone effectiveness and its potential when combined with simple features.
Proposed method
- Construct a QA matching matrix P from question q and answer a using cosine similarity of word embeddings.
- Introduce value-shared weighting to aggregate matching signals across different value ranges (bins) instead of relying on position-based CNN-like weights.
- In aNMM-1, use a single set of value-shared weights to transform the QA matching vectors to hidden representations and then to an output score.
- Apply a question attention network with a softmax gate to weight the contribution of each question term when producing the final score.
- Train with a pairwise ranking objective (margin loss) using triples (q, a+, a−) and backpropagate through both the value-shared and attention components.
- Optionally extend to aNMM-2 with multiple sets of value-shared weights to create deeper first-layer representations; train with the same objective.
Experimental results
Research questions
- RQ1RQ1 Can a deep learning model without extra hand-crafted features match or outperform feature-engineered QA methods?
- RQ2RQ2 Can combining the proposed model with simple extra features improve QA ranking performance beyond neural baselines?
Key findings
- aNMM-1 and aNMM-2 achieve significant improvements over previous deep learning methods on the TREC QA dataset when ranking answers without additional features.
- aNMM-1 often slightly outperforms aNMM-2, suggesting adding another hidden layer does not necessarily improve performance in this task.
- The learned value-shared weights reveal that exact matches are highly informative, and high-range similarity signals contribute positively to ranking, while some lower similarity signals can be negative indicators.
- Replacing the learned question attention with IDF degrades performance, indicating the learned attention weights capture useful query-term importance beyond heuristic weighting.
- When combined with simple features (e.g., QL), aNMM methods outperform all baselines in this benchmark.
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.