Multiresolution Graph Attention Networks for Relevance Matching

Ting Zhang, Bang Liu, Di Niu, Kunfeng Lai, Yu Xu · DOI

Introduction

In the field of information retrieval, the primary challenge has shifted from simple semantic matching—determining if two short sentences share a meaning—to relevance matching. Relevance matching is the core function of modern search engines, requiring the system to determine if a long, complex document is relevant to a concise query.

Existing deep learning models often struggle with this task due to two primary factors: the massive length discrepancy between queries and documents, and the neglect of structural relationships within the text. Standard models treat documents as linear sequences, which fails to capture how key terms across disparate paragraphs relate to one another to form a coherent topic. To address these issues, researchers have introduced the Multiresolution Graph Attention Network (MGAN).

Methodology: The MGAN Framework

MGAN departs from traditional linear text processing by representing documents as structured keyword graphs. This approach allows the model to capture complex topological relationships that are lost in sequential processing.

Document as a Keyword Graph

Instead of a sequence of tokens, the document is transformed into an undirected graph. Vertices represent keywords extracted via TF-IDF, while edges are weighted based on the physical proximity of these words within the text. This structure effectively "breaks" the linear constraint, directly linking related concepts regardless of their distance in the original document.

An example of a keyword graph representing a document about trade bans.

MGAN Architecture and Multiresolution GCN

The core of the model is a Multiresolution Graph Convolutional Network (GCN). As shown in the architecture diagram below, the model processes the keyword graph through multiple layers. Lower layers capture local interactions between words, while deeper layers capture broader, document-wide context.

The MGAN architecture, illustrating the flow from query encoding to graph convolution and final relevance matching.

Key components of the architecture include:

  • Attention-based Matching: At every GCN layer, an attention mechanism compares the encoded query against the document's keyword vertices. This allows the model to focus on specific document segments that align with the query's intent at different levels of abstraction.
  • Rank-and-Pooling: To manage documents of varying lengths and ensure a consistent input size for the final matching stage, the model sorts keyword vertices by feature importance and selects the top K (e.g., 20) vertices.
  • Aggregate Layer: The matching results from various resolutions are pooled and passed through an aggregate layer to produce the final relevance score.

Experimental Evaluation

The MGAN model was evaluated against state-of-the-art baselines (such as DSSM, ARC-I, and MatchPyramid) using two specialized medical datasets: Ohsumed (medical abstracts) and NFCorpus (full-text retrieval for Medical Information Retrieval).

Key Results

MGAN consistently outperformed all baselines across both datasets:

  • NFCorpus Dataset: MGAN achieved a remarkable test accuracy of 94.07% and an F1-score of 0.9535, significantly higher than the best-performing baseline, ARC-I, which reached ~79.69% accuracy.
  • Ohsumed Dataset: The model reached a test accuracy of 80.75% and an F1-score of 0.8118, while baselines like MatchPyramid hovered around 56% accuracy.

Ablation studies confirmed that the GCN layers are critical to performance. Removing the GCN component resulted in a significant drop in accuracy (from 0.9407 to 0.8757 on NFCorpus), proving that graph-based structural information is the model's primary advantage.

Discussion and Future Work

The success of MGAN highlights that relevance is driven by topical overlap rather than just semantic similarity. By capturing topical clusters through a graph structure, MGAN effectively handles the "long-distance dependency" problem where related terms may be thousands of tokens apart.

However, the authors identify several areas for future improvement:

  1. Keyword Extraction: Moving beyond TF-IDF to more sophisticated extraction methods could further refine the graph representation.
  2. OOV Handling: Incorporating character-level embeddings (e.g., via BiLSTMs) would improve the model's ability to process rare or misspelled medical terminology.
  3. Scalability: The computational cost of constructing graphs and running multi-layer GCNs remains a challenge for web-scale deployment, necessitating further optimization.

Summary updated

BibTeX
@inproceedings{zhang2018multiresolution,
  author = {Ting Zhang and Bang Liu and Di Niu and Kunfeng Lai and Yu Xu},
  title = {{Multiresolution Graph Attention Networks for Relevance Matching}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2018},
  doi = {10.1145/3269206.3271806},
}
Figure