English

Bilateral Multi-Perspective Matching for Natural Language Sentences

Artificial Intelligence 2017-07-18 v3 Computation and Language

Abstract

Natural language sentence matching is a fundamental technology for a variety of tasks. Previous approaches either match sentences from a single direction or only apply single granular (word-by-word or sentence-by-sentence) matching. In this work, we propose a bilateral multi-perspective matching (BiMPM) model under the "matching-aggregation" framework. Given two sentences PP and QQ, our model first encodes them with a BiLSTM encoder. Next, we match the two encoded sentences in two directions PQP \rightarrow Q and PQP \leftarrow Q. In each matching direction, each time step of one sentence is matched against all time-steps of the other sentence from multiple perspectives. Then, another BiLSTM layer is utilized to aggregate the matching results into a fix-length matching vector. Finally, based on the matching vector, the decision is made through a fully connected layer. We evaluate our model on three tasks: paraphrase identification, natural language inference and answer sentence selection. Experimental results on standard benchmark datasets show that our model achieves the state-of-the-art performance on all tasks.

Keywords

Cite

@article{arxiv.1702.03814,
  title  = {Bilateral Multi-Perspective Matching for Natural Language Sentences},
  author = {Zhiguo Wang and Wael Hamza and Radu Florian},
  journal= {arXiv preprint arXiv:1702.03814},
  year   = {2017}
}

Comments

To appear in Proceedings of IJCAI 2017

R2 v1 2026-06-22T18:16:56.738Z