[Paper Review] No Need to Pay Attention: Simple Recurrent Neural Networks Work! (for Answering "Simple" Questions)
This paper proposes a simple yet highly effective RNN-based approach for first-order factoid question answering, decomposing the task into two subproblems: entity detection and relation type classification. Despite using only vanilla recurrent networks without attention mechanisms, the method achieves state-of-the-art accuracy on the SimpleQuestions benchmark and demonstrates strong real-world performance on millions of daily queries from Comcast's X1 platform.
First-order factoid question answering assumes that the question can be answered by a single fact in a knowledge base (KB). While this does not seem like a challenging task, many recent attempts that apply either complex linguistic reasoning or deep neural networks achieve 65%-76% accuracy on benchmark sets. Our approach formulates the task as two machine learning problems: detecting the entities in the question, and classifying the question as one of the relation types in the KB. We train a recurrent neural network to solve each problem. On the SimpleQuestions dataset, our approach yields substantial improvements over previously published results --- even neural networks based on much more complex architectures. The simplicity of our approach also has practical advantages, such as efficiency and modularity, that are valuable especially in an industry setting. In fact, we present a preliminary analysis of the performance of our model on real queries from Comcast's X1 entertainment platform with millions of users every day.
Motivation & Objective
- To address first-order factoid question answering with a simple, efficient, and modular approach suitable for real-time industrial applications.
- To investigate whether complex neural architectures with attention mechanisms are necessary for high accuracy in simple QA tasks.
- To evaluate the performance of a minimal RNN-based system on real-world user queries from a large-scale entertainment platform.
- To demonstrate that strong assumptions about problem structure can lead to superior performance and efficiency compared to complex models.
Proposed method
- The approach decomposes question answering into two machine learning tasks: detecting entities in the question and classifying the question's relation type from a predefined KB schema.
- A bidirectional long short-term memory (BiLSTM) network is used for both entity detection and relation classification, with two layers and 10% dropout for regularization.
- Word embeddings are used as input features, trained on large text corpora in an unsupervised manner.
- The system is trained end-to-end on synthetic or annotated training data, with entity words tagged and relation types labeled.
- The final answer is retrieved by querying the KB using the predicted entity and relation type.
- The model is deployed on Comcast’s X1 platform using Keras, with minimal computational resources (2 CPU cores per thread).
Experimental results
Research questions
- RQ1Can a simple RNN-based model outperform complex attention-based neural networks on first-order factoid QA?
- RQ2How effective is a modular approach that separates entity detection and relation classification in real-world QA applications?
- RQ3What proportion of real user queries in industrial settings are first-order factoid questions?
- RQ4To what extent do errors in QA performance stem from entity detection versus relation prediction?
Key findings
- The RNN-QA model achieves the highest reported accuracy on the SimpleQuestions benchmark, outperforming models with complex attention mechanisms.
- On real-world queries from Comcast’s X1 platform, RNN-QA correctly answers 75% of questions (220 out of 295) with a latency of 76 ± 16 ms.
- 95% of real user-generated questions on the X1 platform are first-order factoid questions, validating the relevance of the task.
- Error analysis shows that 48% of errors are due to incorrect relation prediction, while 15% are due to incorrect entity detection, indicating that relation classification is a major bottleneck.
- Spelling inconsistencies (20% of entity detection errors) and ambiguity (18%) are key challenges that can be mitigated with better text normalization and disambiguation.
- The ablation study confirms that both entity detection and relation prediction are critical—removing either significantly degrades performance.
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.