English

Text Matching as Image Recognition

Computation and Language 2016-02-23 v1 Artificial Intelligence

Abstract

Matching two texts is a fundamental problem in many natural language processing tasks. An effective way is to extract meaningful matching patterns from words, phrases, and sentences to produce the matching score. Inspired by the success of convolutional neural network in image recognition, where neurons can capture many complicated patterns based on the extracted elementary visual patterns such as oriented edges and corners, we propose to model text matching as the problem of image recognition. Firstly, a matching matrix whose entries represent the similarities between words is constructed and viewed as an image. Then a convolutional neural network is utilized to capture rich matching patterns in a layer-by-layer way. We show that by resembling the compositional hierarchies of patterns in image recognition, our model can successfully identify salient signals such as n-gram and n-term matchings. Experimental results demonstrate its superiority against the baselines.

Keywords

Cite

@article{arxiv.1602.06359,
  title  = {Text Matching as Image Recognition},
  author = {Liang Pang and Yanyan Lan and Jiafeng Guo and Jun Xu and Shengxian Wan and Xueqi Cheng},
  journal= {arXiv preprint arXiv:1602.06359},
  year   = {2016}
}

Comments

Accepted by AAAI-2016

R2 v1 2026-06-22T12:54:11.499Z