Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Enhanced Hybrid Neural Network for Text Matching

Yu Wu, Wei Wu|arXiv (Cornell University)|Nov 15, 2016
Topic ModelingComputer Science29 citations
TL;DR

This paper proposes Knowledge Enhanced Hybrid Neural Network (KEHNN), a multi-channel neural matching model that integrates prior knowledge via knowledge gates to improve semantic matching in long text pairs. By fusing word-level, sequential structure, and knowledge-enhanced representations through CNN and MLP, KEHNN achieves state-of-the-art performance, especially on long-text pairs, with a 7.8% accuracy gain on long QA pairs compared to prior models.

ABSTRACT

Long text brings a big challenge to semantic matching due to their complicated semantic and syntactic structures. To tackle the challenge, we consider using prior knowledge to help identify useful information and filter out noise to matching in long text. To this end, we propose a knowledge enhanced hybrid neural network (KEHNN). The model fuses prior knowledge into word representations by knowledge gates and establishes three matching channels with words, sequential structures of sentences given by Gated Recurrent Units (GRU), and knowledge enhanced representations. The three channels are processed by a convolutional neural network to generate high level features for matching, and the features are synthesized as a matching score by a multilayer perceptron. The model extends the existing methods by conducting matching on words, local structures of sentences, and global context of sentences. Evaluation results from extensive experiments on public data sets for question answering and conversation show that KEHNN can significantly outperform the-state-of-the-art matching models and particularly improve the performance on pairs with long text.

Motivation & Objective

  • Address the challenge of semantic gap in long text pairs due to complex syntactic and semantic structures.
  • Improve matching accuracy on long text, where existing models underperform due to noise and structural complexity.
  • Leverage external prior knowledge (e.g., topics, entities) as a global context to filter noise and highlight relevant information.
  • Design a hybrid neural network that models matching at multiple levels: word-level, local sequential structure, and global knowledge-enhanced context.
  • Demonstrate consistent superiority over state-of-the-art models, especially on long-text matching tasks.

Proposed method

  • Introduce knowledge gates to fuse prior knowledge (e.g., topics from LDA) into word representations, enabling dynamic filtering of irrelevant information.
  • Construct three matching channels: (1) word-level similarity using word embeddings, (2) sequential structure matching via BiGRU on sentence-level hidden states, and (3) knowledge-enhanced representation matching after BiGRU processing of knowledge-augmented words.
  • Apply convolutional neural networks (CNN) to each similarity matrix to extract high-level compositional features from the matching channels.
  • Combine the CNN-processed features from all three channels using a multilayer perceptron (MLP) to generate the final matching score.
  • Train word embeddings end-to-end with fine-tuned GloVe vectors initialized from Twitter data, and use tanh activation in key nonlinear units.
  • Generate prior knowledge via Twitter LDA topic modeling on 8M Yahoo! Answers questions, with topic vectors formed by averaging top 20 words per topic.

Experimental results

Research questions

  • RQ1Can integrating prior knowledge improve semantic matching performance on long text pairs where traditional models struggle?
  • RQ2How does the fusion of multiple matching channels—word-level, sequential structure, and knowledge-enhanced—impact overall matching accuracy?
  • RQ3Does the use of knowledge gates effectively reduce noise and enhance relevant semantic signals in long text matching?
  • RQ4How does model performance vary across different text lengths, particularly on long-text pairs?
  • RQ5What is the relative contribution of each matching channel in different NLP tasks such as QA and response selection?

Key findings

  • KEHNN significantly outperforms state-of-the-art models on both response selection and QA tasks, achieving a 0.786 R@1 and 0.819 R@5 on the Ubuntu conversation dataset.
  • On long-text pairs (length ≥ 90), KEHNN achieves 74.6% accuracy, a 1.3% improvement over MV-LSTM and 4.6% over LSTM, demonstrating strong robustness on long inputs.
  • On the QA dataset, KEHNN achieves 79.1% accuracy on the longest text pairs (≥90), outperforming MV-LSTM (69.4%) and LSTM (71.8%) by over 9% on this challenging subset.
  • The full model with all three channels achieves 74.8% accuracy, significantly outperforming any single channel, with channel two (sequential structure) being most effective on conversation data and channel three (knowledge-enhanced) on QA data.
  • The model shows statistically significant improvement (p ≤ 0.01) over all baselines across all evaluation metrics, confirming the effectiveness of knowledge infusion and multi-channel matching.
  • Prior knowledge from automatically generated topics (via LDA) improves performance, though noise in such knowledge slightly reduces the effectiveness of the knowledge-enhanced channel in conversation tasks compared to QA.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.