arXiv · 2104.08451
Context-Aware Interaction Network for Question Matching
Abstract
Impressive milestones have been achieved in text matching by adopting a cross-attention mechanism to capture pertinent semantic connections between two sentence representations. However, regular cross-attention focuses on word-level links between the two input sequences, neglecting the importance of contextual information. We propose a context-aware interaction network (COIN) to properly align two sequences and infer their semantic relationship. Specifically, each interaction block includes (1) a context-aware cross-attention mechanism to effectively integrate contextual information when aligning two sequences, and (2) a gate fusion layer to flexibly interpolate aligned representations. We apply multiple stacked interaction blocks to produce alignments at different levels and gradually refine the attention results. Experiments on two question matching datasets and detailed analyses demonstrate the effectiveness of our model.
Explore related subjects
Keep this discovery
Zhe Hu, Zuohui Fu, Yu Yin, Gerard de Melo. 2021-04-17. Context-Aware Interaction Network for Question Matching. https://arxiv.org/abs/2104.08451
Cite the original work for its findings. Save a collection to share your selection of sources.