Skip to main content
QUICK REVIEW

[Paper Review] Multi-Level Matching and Aggregation Network for Few-Shot Relation Classification

Zhi-Xiu Ye, Zhen-Hua Ling|arXiv (Cornell University)|Jun 16, 2019
Domain Adaptation and Few-Shot LearningComputer Science29 references20 citations
TL;DR

This paper proposes a Multi-Level Matching and Aggregation Network (MLMAN) for few-shot relation classification that jointly models query-support instance interactions at local and instance levels. By employing interactive matching and attention-based aggregation, MLMAN achieves state-of-the-art performance on the FewRel benchmark, outperforming prior prototypical networks through enhanced representation learning and consistency regularization.

ABSTRACT

This paper presents a multi-level matching and aggregation network (MLMAN) for few-shot relation classification. Previous studies on this topic adopt prototypical networks, which calculate the embedding vector of a query instance and the prototype vector of each support set independently. In contrast, our proposed MLMAN model encodes the query instance and each support set in an interactive way by considering their matching information at both local and instance levels. The final class prototype for each support set is obtained by attentive aggregation over the representations of its support instances, where the weights are calculated using the query instance. Experimental results demonstrate the effectiveness of our proposed methods, which achieve a new state-of-the-art performance on the FewRel dataset.

Motivation & Objective

  • To address the long-tail problem in relation classification caused by insufficient labeled data for rare relations.
  • To improve few-shot relation classification by modeling interactive dependencies between query instances and support sets, rather than treating them independently.
  • To enhance prototype learning by incorporating attention-based aggregation of support instances weighted by their matching scores with the query.
  • To improve model robustness by introducing an auxiliary consistency loss to align support instance representations within each class.

Proposed method

  • Local matching is performed between query and support instance representations using a soft attention mechanism inspired by sentence matching frameworks.
  • Local representations are aggregated via max and average pooling to form query and support instance embeddings.
  • Instance-level matching scores are computed using a multi-layer perceptron (MLP) to measure similarity between the query and each support instance.
  • Class prototypes are formed by attentive aggregation of support instance representations, where attention weights are derived from instance-level matching scores.
  • A learnable MLP is used as the class matching function to compute final classification scores between the query and each class prototype.
  • An auxiliary consistency loss is introduced to minimize the inconsistency among support instance representations within each class, improving prototype quality.

Experimental results

Research questions

  • RQ1Can interactive modeling of query and support instances at multiple levels improve few-shot relation classification beyond independent encoding?
  • RQ2Does local matching between query and support instances enhance representation quality compared to direct prototype computation?
  • RQ3How does attention-based instance-level aggregation compare to simple averaging in forming class prototypes?
  • RQ4Can a learnable MLP matching function outperform metric-based alternatives like Euclidean distance in few-shot relation classification?
  • RQ5Does an auxiliary consistency loss improve model generalization and performance on low-resource relations?

Key findings

  • MLMAN achieves a new state-of-the-art performance on the FewRel dataset, demonstrating superior generalization on few-shot relation classification.
  • Ablation studies show that removing local matching leads to a significant performance drop, highlighting its importance in representation learning.
  • The use of a learnable MLP for class matching outperforms Euclidean distance when local matching is included, indicating better modeling of complex dependencies.
  • The auxiliary consistency loss effectively reduces variance among support instance representations, improving prototype stability and classification accuracy.
  • Model variants without concatenation or local matching perform worse than the full model, confirming the role of structured interaction in representation learning.

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.