# A Compare-Aggregate Model for Matching Text Sequences

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

## Key facts

- Cited by 23 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 6 Nov 2016.

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

- [End-to-End Multimodal Fact-Checking and Explanation Generation: A Challenging Dataset and Models](https://mlsanity.com/paper/2205.12487/) (2022)
- [Learning Implicit Temporal Alignment for Few-shot Video Classification](https://mlsanity.com/paper/2105.04823/) (2021)
- [Will this Question be Answered? Question Filtering via Answer Model Distillation for Efficient Question Answering](https://mlsanity.com/paper/2109.07009/) (2021)
- [Rethinking Search: Making Domain Experts out of Dilettantes](https://mlsanity.com/paper/2105.02274/) (2021)
- [Neural ranking models for document retrieval](https://mlsanity.com/paper/2102.11903/) (2021)
- [Paraphrase Identification with Deep Learning: A Review of Datasets and Methods](https://mlsanity.com/paper/2212.06933/) (2022)
- [Emp-RFT: Empathetic Response Generation via Recognizing Feature Transitions between Utterances](https://mlsanity.com/paper/2205.03112/) (2022)
- [Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoning](https://mlsanity.com/paper/2301.01113/) (2023)
- [Pre-training Transformer Models with Sentence-Level Objectives for Answer Sentence Selection](https://mlsanity.com/paper/2205.10455/) (2022)
- [Cross-Lingual Open-Domain Question Answering with Answer Sentence Generation](https://mlsanity.com/paper/2110.07150/) (2021)
- [Knowledge Transfer from Answer Ranking to Answer Generation](https://mlsanity.com/paper/2210.12865/) (2022)
- [Ensemble Transformer for Efficient and Accurate Ranking Tasks: an Application to Question Answering Systems](https://mlsanity.com/paper/2201.05767/) (2022)
- [RLAS-BIABC: A Reinforcement Learning-Based Answer Selection Using the BERT Model Boosted by an Improved ABC Algorithm](https://mlsanity.com/paper/2301.02807/) (2023)
- [AI-Generated Compromises for Coalition Formation](https://mlsanity.com/paper/2506.06837/) (2025)
- [Sparse Distillation: Speeding Up Text Classification by Using Bigger Student Models](https://mlsanity.com/paper/2110.08536/) (2021)
- [Explainable Semantic Text Relations: A Question-Answering Framework for Comparing Document Content](https://mlsanity.com/paper/2509.08304/) (2025)
- [Hierarchical Ranking for Answer Selection](https://mlsanity.com/paper/2102.00677/) (2021)
- [Contextualized Embeddings based Convolutional Neural Networks for Duplicate Question Identification](https://mlsanity.com/paper/2109.01560/) (2021)
- [Classical Sequence Match is a Competitive Few-Shot One-Class Learner](https://mlsanity.com/paper/2209.06394/) (2022)
- [Reranking Passages with Coarse-to-Fine Neural Retriever Enhanced by List-Context Information](https://mlsanity.com/paper/2308.12022/) (2023)
- [Structural Self-Supervised Objectives for Transformers](https://mlsanity.com/paper/2309.08272/) (2023)
- [PainNet: Statistical Relation Network with Episode-Based Training for Pain Estimation](https://mlsanity.com/paper/2504.06257/) (2025)
- [AI-Generated Compromises for Coalition Formation: Modeling, Simulation, and a Textual Case Study](https://mlsanity.com/paper/2512.05983/) (2025)

## Abstract (arXiv)

Many NLP tasks including machine comprehension, answer selection and text entailment require the comparison between sequences. Matching the important units between sequences is a key to solve these problems. In this paper, we present a general "compare-aggregate" framework that performs word-level matching followed by aggregation using Convolutional Neural Networks. We particularly focus on the different comparison functions we can use to match two vectors. We use four different datasets to evaluate the model. We find that some simple comparison functions based on element-wise operations can work better than standard neural network and neural tensor network.
