Skip to main content
QUICK REVIEW

[Paper Review] Match-Ignition: Plugging PageRank into Transformer for Long-form Text Matching

Liang Pang, Yanyan Lan|arXiv (Cornell University)|Jan 16, 2021
Topic ModelingComputer Science33 references9 citations
TL;DR

Match-Ignition introduces a hierarchical noise filtering framework that integrates PageRank into the Transformer architecture to improve long-form text matching by filtering irrelevant sentences and words. By constructing sentence and word graphs from similarity and attention scores, respectively, and applying PageRank to identify key content, the model achieves state-of-the-art performance with improved efficiency on long-text matching tasks.

ABSTRACT

Neural text matching models have been widely used in community question answering, information retrieval, and dialogue. However, these models designed for short texts cannot well address the long-form text matching problem, because there are many contexts in long-form texts can not be directly aligned with each other, and it is difficult for existing models to capture the key matching signals from such noisy data. Besides, these models are computationally expensive for simply use all textual data indiscriminately. To tackle the effectiveness and efficiency problem, we propose a novel hierarchical noise filtering model, namely Match-Ignition. The main idea is to plug the well-known PageRank algorithm into the Transformer, to identify and filter both sentence and word level noisy information in the matching process. Noisy sentences are usually easy to detect because previous work has shown that their similarity can be explicitly evaluated by the word overlapping, so we directly use PageRank to filter such information based on a sentence similarity graph. Unlike sentences, words rely on their contexts to express concrete meanings, so we propose to jointly learn the filtering and matching process, to well capture the critical word-level matching signals. Specifically, a word graph is first built based on the attention scores in each self-attention block of Transformer, and key words are then selected by applying PageRank on this graph. In this way, noisy words will be filtered out layer by layer in the matching process. Experimental results show that Match-Ignition outperforms both SOTA short text matching models and recent long-form text matching models. We also conduct detailed analysis to show that Match-Ignition efficiently captures important sentences and words, to facilitate the long-form text matching process.

Motivation & Objective

  • Address the challenge of noisy, long-form text in semantic matching tasks, where existing models designed for short texts fail due to sparse alignment signals and high computational cost.
  • Improve effectiveness and efficiency in long-form text matching by identifying and filtering irrelevant sentence- and word-level content.
  • Leverage the PageRank algorithm to systematically detect and suppress noise at both sentence and word levels within a Transformer-based architecture.
  • Enable better capture of global semantic meaning in long texts by focusing on structurally and semantically significant components through graph-based ranking.
  • Achieve superior performance over both short-text and recent long-form text matching models while reducing computational overhead through intelligent filtering.

Proposed method

  • Construct a sentence similarity graph using lexical overlap (e.g., Jaccard similarity) between sentences, then apply PageRank to identify and filter out low-importance sentences.
  • Build a word-level graph within each self-attention block of the Transformer using attention scores as edge weights, forming a dynamic graph per layer.
  • Apply PageRank on the word graph to compute importance scores for each word, enabling progressive filtering of low-importance words across layers.
  • Integrate the filtering process into the Transformer encoder, where sentence-level filtering is applied before word-level filtering, reducing computational load.
  • Use a trainable reduction ratio (α) to control the proportion of words filtered at each layer, with α=10% yielding optimal performance.
  • Combine the filtering mechanism with the standard self-attention mechanism, allowing the model to jointly learn filtering and matching signals in an end-to-end manner.
Figure 1. The top example is a short-form text matching for the paraphrasing identification, and the lines indicate the alignments between words from two sentences. The bottom example is a long-form text matching for the redundancy news identification, and the highlights indicate the important match
Figure 1. The top example is a short-form text matching for the paraphrasing identification, and the lines indicate the alignments between words from two sentences. The bottom example is a long-form text matching for the redundancy news identification, and the highlights indicate the important match

Experimental results

Research questions

  • RQ1Can PageRank be effectively used to identify and filter noisy sentences in long-form text matching, based on sentence similarity graphs?
  • RQ2Can word-level noise be effectively filtered by constructing a dynamic word graph from attention scores and applying PageRank in a layer-wise manner?
  • RQ3Does the hierarchical filtering of sentences and words improve matching performance on long-form text tasks compared to standard Transformers?
  • RQ4How does the proposed filtering mechanism affect computational efficiency, particularly in terms of inference speed and training time?
  • RQ5What is the optimal balance between filtering ratio and performance in the context of long-form text matching?

Key findings

  • Match-Ignition achieves state-of-the-art performance on seven public long-form text matching datasets, outperforming both SOTA short-text and recent long-form matching models.
  • The model with α=10% word reduction ratio achieves the best performance on both CNSE and CNSS datasets, indicating optimal noise filtering without sacrificing accuracy.
  • At α=20%, the model is 1.6× faster during training and 2× faster during inference compared to α=0%, demonstrating significant efficiency gains.
  • PageRank-based word filtering outperforms random selection and embedding norm-based strategies, and is more effective than attention weight alone, confirming the value of graph propagation.
  • Visualizations show that key terms like event locations and policy names receive higher importance scores, aligning with human-annotated relevance.
  • Special tokens such as [CLS] and [SEP] are identified as highly important, confirming their role as global and structural markers in long-form text matching.
Figure 2. The overall architecture of Match-Ignition. (a) represents the sentence-level filter, (b) represents the outputs of the sentence-level filter, and (c) represents the word-level filter.
Figure 2. The overall architecture of Match-Ignition. (a) represents the sentence-level filter, (b) represents the outputs of the sentence-level filter, and (c) represents the word-level filter.

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.