Abstract
Standard BERT-based passage ranking models often rely on the global [CLS] token, which can lead to significant information loss and computational inefficiency. This paper introduces BERT-DMN, a novel architecture that leverages Dynamic Memory Networks (DMN) to perform iterative reasoning over sentence-level representations. By distilling token-level outputs into sentence embeddings, the model captures fine-grained semantic signals and avoids "Information Diffusion." Experimental results across three benchmarks demonstrate that BERT-DMN outperforms vanilla BERT in ranking accuracy while offering a "lite" variant that significantly reduces training time.
Introduction
In open-domain question answering (QA), passage ranking is a critical step. The prevailing approach involves fine-tuning BERT and using its classification token ([CLS]) to predict relevance. However, this method suffers from two primary drawbacks. First, compressing a multi-sentence passage into a single vector discards granular information necessary for complex reasoning. Second, fine-tuning the entire BERT model is computationally expensive.
Furthermore, the authors identify a phenomenon called "Information Diffusion": during standard fine-tuning, token representations tend to converge and look identical, losing their unique semantic identities. To address these issues, this research proposes shifting the focus from global tokens to sentence-level reasoning.
Methodology: The BERT-DMN Architecture
The proposed BERT-DMN model integrates BERT with a Dynamic Memory Network to better capture the relationships between a query and specific sentences within a passage.
The architecture consists of three main components:
- Sentence Distillation: BERT processes the input tokens, which are then grouped into sentences. These token representations are averaged to create distinct sentence-level embeddings.
- Episodic Memory Module: A DMN iteratively processes the question and the sentence embeddings. Through multiple "episodes," the model attends to relevant sentences and updates its internal memory, facilitating multi-hop reasoning.
- BERT-DMN$_{lite}$: To improve efficiency, a "lite" version freezes the BERT parameters. Only the DMN layer (roughly 3 million parameters) is trained, allowing for the caching of BERT outputs and a dramatic reduction in training time.
Experimental Setup
The model was evaluated on three diverse datasets: ANTIQUE, InsuranceQA, and TREC-DL 2019. These datasets vary significantly in terms of query length, passage count, and grammatical structure, providing a robust test for the model's reasoning capabilities.
Key Results and Insights
BERT-DMN demonstrates superior performance and efficiency compared to standard BERT-based rankers:
- Ranking Accuracy: On the TREC-DL dataset, BERT-DMN achieved a Mean Reciprocal Rank (MRR) of 0.889, a notable improvement over the 0.831 achieved by vanilla BERT.
- Training Efficiency: The BERT-DMN$_{lite}$ variant achieved a 3.4x speedup in training on the InsuranceQA dataset, processing 5.67 batches per second compared to 1.69 for full BERT fine-tuning.
- Representation Diversity: By avoiding full-model fine-tuning in the lite version, the model preserves the distinctiveness of sentence representations, preventing the "Information Diffusion" that plagues standard approaches.
Conclusion
Transitioning from global token representations to sentence-level reasoning allows passage ranking models to be both more accurate and more efficient. BERT-DMN provides a robust framework for multi-hop reasoning while the "lite" variant offers a practical path for training large-scale models with limited computational resources. Future work will explore the model's interpretability and its application to semi-structured data like web tables where transitive reasoning is essential.
Summary updated