[Paper Review] A Decomposable Attention Model for Natural Language Inference
This paper introduces a decomposable attention model for natural language inference that simplifies the task by breaking it into independent, parallel subproblems using soft attention mechanisms. It achieves state-of-the-art performance on the SNLI dataset with nearly an order of magnitude fewer parameters than prior LSTM-based models, while relying minimally on word order and demonstrating strong generalization through efficient, lightweight architecture.
We propose a simple neural architecture for natural language inference. Our approach uses attention to decompose the problem into subproblems that can be solved separately, thus making it trivially parallelizable. On the Stanford Natural Language Inference (SNLI) dataset, we obtain state-of-the-art results with almost an order of magnitude fewer parameters than previous work and without relying on any word-order information. Adding intra-sentence attention that takes a minimum amount of order into account yields further improvements.
Motivation & Objective
- To develop a lightweight, efficient neural architecture for natural language inference that avoids complex sequential modeling.
- To improve inference performance by decomposing the NLI task into independent, parallel subproblems using attention mechanisms.
- To reduce reliance on word-order information while maintaining or improving accuracy on the SNLI benchmark.
- To explore the effectiveness of intra-sentence attention in enhancing local substructure representation without increasing model complexity.
Proposed method
- The model uses a three-stage architecture: Attend (compute soft attention between premise and hypothesis word embeddings), Compare (compute pairwise similarity vectors for aligned word pairs), and Aggregate (combine similarities into a final prediction via feed-forward networks).
- Soft attention is computed using a bilinear interaction between word embeddings, producing a matrix of alignment scores that guide comparison.
- The Compare step applies a feed-forward network to each aligned pair of words, producing a vector of interaction features that are independent across word positions.
- The Aggregate step uses a feed-forward network over the comparison vectors to produce a final prediction over the three classes: entailment, contradiction, and neutral.
- An optional intra-sentence attention mechanism is applied before the Attend step to enrich local representations using minimal sequence context.
- The model is trained end-to-end using Adagrad with dropout regularization and fixed GloVe embeddings, with a projection layer fine-tuned during training.
Experimental results
Research questions
- RQ1Can a simple, decomposable attention mechanism outperform complex sequential models like LSTMs in natural language inference?
- RQ2To what extent can performance be maintained or improved by reducing reliance on word order and global sentence representations?
- RQ3Does adding minimal intra-sentence attention improve performance on NLI tasks without increasing model complexity?
- RQ4Can a model with significantly fewer parameters achieve state-of-the-art results on the SNLI benchmark?
Key findings
- The vanilla decomposable model achieves 84.4% accuracy on the SNLI test set, setting a new state-of-the-art at the time of publication.
- The model uses only 1.5 million parameters—almost an order of magnitude fewer than previous SOTA models based on LSTMs.
- Adding intra-sentence attention improves performance to 84.9% accuracy, further advancing the state of the art.
- The model shows strong performance on neutral and entailment pairs, with gains primarily from improved neutral prediction.
- The model struggles on contradiction pairs where subtle lexical mismatches (e.g., 'close' vs 'open') are critical, indicating limitations in detecting fine-grained semantic incompatibilities.
- Error analysis reveals that the model fails on examples requiring sequential reasoning or numerical inference, even when word order is not essential, suggesting a need for better local composition.
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.