Multi-Level Head-Wise Match and Aggregation in Transformer for Textual Sequence Matching

  • Shuohang Wang Singapore Management University
  • Yunshi Lan Singapore Management University
  • Yi Tay Nanyang Technological University
  • Jing Jiang Singapore Management University
  • Jingjing Liu Microsoft Dynamics 365 AI Research

Abstract

Transformer has been successfully applied to many natural language processing tasks. However, for textual sequence matching, simple matching between the representation of a pair of sequences might bring in unnecessary noise. In this paper, we propose a new approach to sequence pair matching with Transformer, by learning head-wise matching representations on multiple levels. Experiments show that our proposed approach can achieve new state-of-the-art performance on multiple tasks that rely only on pre-computed sequence-vector-representation, such as SNLI, MNLI-match, MNLI-mismatch, QQP, and SQuAD-binary.

Published
2020-04-03
Section
AAAI Technical Track: Natural Language Processing