# Match-SRNN: Modeling the Recursive Matching Structure with Spatial RNN

arXiv: https://arxiv.org/abs/1604.04378 · HTML: https://mlsanity.com/paper/1604.04378/

## Key facts

- Cited by 27 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 15 Apr 2016.

## Built on by (most cited first, 27 of 27)

- [A Survey of the Evolution of Language Model-Based Dialogue Systems: Data, Task and Models](https://mlsanity.com/paper/2311.16789/) (2023)
- [Utilizing BERT for Information Retrieval: Survey, Applications, Resources, and Challenges](https://mlsanity.com/paper/2403.00784/) (2024)
- [Neural ranking models for document retrieval](https://mlsanity.com/paper/2102.11903/) (2021)
- [Advances in Multi-turn Dialogue Comprehension: A Survey](https://mlsanity.com/paper/2103.03125/) (2021)
- [Multi-turn Dialogue Reading Comprehension with Pivot Turns and Knowledge](https://mlsanity.com/paper/2102.05474/) (2021)
- [Match-Prompt: Improving Multi-task Generalization Ability for Neural Text Matching via Prompt Learning](https://mlsanity.com/paper/2204.02725/) (2022)
- [Dialogue-oriented Pre-training](https://mlsanity.com/paper/2106.00420/) (2021)
- [Match-Ignition: Plugging PageRank into Transformer for Long-form Text Matching](https://mlsanity.com/paper/2101.06423/) (2021)
- [Unified Embedding Based Personalized Retrieval in Etsy Search](https://mlsanity.com/paper/2306.04833/) (2023)
- [Multi-turn Dialogue Comprehension from a Topic-aware Perspective](https://mlsanity.com/paper/2309.09666/) (2023)
- [Deep Bag-of-Words Model: An Efficient and Interpretable Relevance Architecture for Chinese E-Commerce](https://mlsanity.com/paper/2407.09395/) (2024)
- [Explainable LLM-driven Multi-dimensional Distillation for E-Commerce Relevance Learning](https://mlsanity.com/paper/2411.13045/) (2024)
- [Robust Interaction-Based Relevance Modeling for Online e-Commerce Search](https://mlsanity.com/paper/2406.02135/) (2024)
- [Hyperbolic recurrent neural network as the first type of non-Euclidean neural quantum state ansatz](https://mlsanity.com/paper/2505.22083/) (2025)
- [Embracing Structure in Data for Billion-Scale Semantic Product Search](https://mlsanity.com/paper/2110.06125/) (2021)
- [ADORE: Autonomous Domain-Oriented Relevance Engine for E-commerce](https://mlsanity.com/paper/2512.02555/) (2025)
- [RAL2M: Retrieval Augmented Learning-To-Match Against Hallucination in Compliance-Guaranteed Service Systems](https://mlsanity.com/paper/2601.02917/) (2026)
- [YES SIR!Optimizing Semantic Space of Negatives with Self-Involvement Ranker](https://mlsanity.com/paper/2109.06436/) (2021)
- [Query-Response Interactions by Multi-tasks in Semantic Search for Chatbot Candidate Retrieval](https://mlsanity.com/paper/2208.11018/) (2022)
- [Legal Element-oriented Modeling with Multi-view Contrastive Learning for Legal Case Retrieval](https://mlsanity.com/paper/2210.05188/) (2022)
- [A multi-perspective combined recall and rank framework for Chinese procedure terminology normalization](https://mlsanity.com/paper/2101.09101/) (2021)
- [Toward the Understanding of Deep Text Matching Models for Information Retrieval](https://mlsanity.com/paper/2108.07081/) (2021)
- [Advances in Multi-turn Dialogue Comprehension: A Survey](https://mlsanity.com/paper/2110.04984/) (2021)
- [Logically at Factify 2022: Multimodal Fact Verification](https://mlsanity.com/paper/2112.09253/) (2021)
- [Channel-aware Decoupling Network for Multi-turn Dialogue Comprehension](https://mlsanity.com/paper/2301.03953/) (2023)
- [How Vital is the Jurisprudential Relevance: Law Article Intervened Legal Case Retrieval and Matching](https://mlsanity.com/paper/2502.18292/) (2025)
- [PRECTR: A Synergistic Framework for Integrating Personalized Search Relevance Matching and CTR Prediction](https://mlsanity.com/paper/2503.18395/) (2025)

## Abstract (arXiv)

Semantic matching, which aims to determine the matching degree between two texts, is a fundamental problem for many NLP applications. Recently, deep learning approach has been applied to this problem and significant improvements have been achieved. In this paper, we propose to view the generation of the global interaction between two texts as a recursive process: i.e. the interaction of two texts at each position is a composition of the interactions between their prefixes as well as the word level interaction at the current position. Based on this idea, we propose a novel deep architecture, namely Match-SRNN, to model the recursive matching structure. Firstly, a tensor is constructed to capture the word level interactions. Then a spatial RNN is applied to integrate the local interactions recursively, with importance determined by four types of gates. Finally, the matching score is calculated based on the global interaction. We show that, after degenerated to the exact matching scenario, Match-SRNN can approximate the dynamic programming process of longest common subsequence. Thus, there exists a clear interpretation for Match-SRNN. Our experiments on two semantic matching tasks showed the effectiveness of Match-SRNN, and its ability of visualizing the learned matching structure.
