MPL: Match-guided Prototype Learning for Few-shot Action Recognition

Feng Yang, Jie Zhao, Fulin Luo, Anyong Qin, Tiecheng Song, Yue Zhao, Chenqiang Gao, Junwei HanCVPR 2026

TL;DR

Match-guided Prototype Learning (MPL) is a novel framework for few-shot action recognition that bridges the gap between prototype generation and video matching. By using a coarse-to-fine mechanism powered by query video semantics, MPL explicitly guides the creation of highly discriminative class prototypes that are inherently compatible with the downstream matching strategy, achieving state-of-the-art performance across multiple benchmarks.

What Problem Does This Paper Address?

Few-shot action recognition aims to classify novel video actions using only a handful of labeled examples (the "support set"). Mainstream approaches typically follow a metric-based paradigm: they learn a representative "prototype" (an embedding vector) for each action class and then use a matching function to find which prototype is closest to an unlabeled "query" video.

However, the authors identify two major flaws in current state-of-the-art methods:

  1. Class-Agnostic Interactions: Prototypes are usually learned through implicit sample interactions where support videos from different categories interact equally with the query video. This lacks clear semantic guidance, leading to less representative prototypes.
  2. Incompatibility: Prototype learning and video matching are traditionally treated as independent modules. If a prototype is learned without "knowing" how it will be matched later, it can lead to a fundamental incompatibility between the feature representation and the similarity metric.
Figure 1. Illustrations of motivation behind the proposed method. (a) Prior works implicitly learn the relationship between all sam- ples in each episode [37, 40]. Matching methods and prototype learning are handled independently. (b) We integrate matching into prototype learning, leveraging the semantic correspondence from the pre-match of query-support pairs to guide prototype gen- eration. This framework explicitly enhances class prototypes dur- ing relational learning and mitigates incompatibility between pro- totype representation and the matching method.

Methods

To solve these issues, MPL introduces a coarse-to-fine, match-guided prototype learning pipeline consisting of three core components:

  1. Enhanced Match (E-Match): This operates at the coarse, sample level. MPL performs a "pre-match" between the query and support videos to assign pseudo-labels. It then uses the query video's semantics to explicitly enhance the support features of the predicted class, weighting the query's influence based on matching confidence.
  2. Cross-Shot Attention Aggregator (CSA-Aggregator): Traditional methods average frames across different support videos to create a prototype, which fails if the key action occurs at different timestamps (temporal misalignment). CSA-Aggregator uses a sliding window multi-head self-attention mechanism across multiple support samples to dynamically cluster and capture shared local temporal action patterns.
  3. Key-Frame Extraction Match (K-Match): This provides fine-grained, frame-level refinement. It performs frame-to-frame matching between the query and the class prototype to extract and aggregate essential keyframes, filtering out redundant or distracting background video content.

Finally, a Hybrid Match combines the sample-level prototypes and frame-level keyframe features to compute the final classification score.

Figure 2. Overview of the proposed MPL. Taking a 2-way 2-shot task as an example, the support and query videos are first input into an embedding network to extract features. We then perform E-Match based on the similarity metrics to enhance the support set feature rep- resentation selectively from sample-level semantic correspondence of the query video. Next, we feed the enhanced feature representation into CSA-Aggregator which aggregates cross-shot temporal dependencies to obtain class prototypes, followed by K-Match for frame-level prototype refinement. Finally, we incorporate the interacted K-Match features with the class prototypes and perform Hybrid-Match for classification prediction.

Datasets

The authors evaluated MPL on four widely used few-shot action recognition benchmarks:

  • Kinetics (a subset containing 64 training and 24 testing classes)
  • Something-Something V2 (SSv2) (focused on fine-grained human-object interactions)
  • UCF101 (contains diverse sports and daily activities)
  • HMDB51 (comprises various human motion videos)

Key Insights and Ideas

  • Matching as a Guide, Not Just a Destination: The core "aha moment" is that the matching mechanism shouldn't just be the final step of the pipeline. Integrating a pre-matching step directly into the prototype generation phase ensures that the learned features are perfectly tailored to the metric used for final classification.
  • Averaging is Too Simple for Time: Directly averaging frames across different video clips assumes rigid temporal alignment. The CSA-Aggregator's sliding attention window proves that looking at cross-clip local temporal segments is far more robust for capturing shared action dynamics.
  • Metric Consistency Matters: The ablation studies reveal that using different metrics for E-Match and the final Hybrid Match degrades performance. Maintaining metric consistency throughout the pipeline prevents feature distortion.

Key Results

MPL consistently outperformed previous state-of-the-art methods across all four datasets under various settings (e.g., 5-way 1-shot and 5-way 5-shot):

  • Standard Backbones (ResNet-50): MPL achieved a 2.3% accuracy gain on Kinetics and a 1.2% gain on SSv2 in the 5-way 3-shot setting. On UCF101, it boosted 1-shot performance from 86.6% to 90.1%.
  • Vision-Language Backbones (CLIP-RN50): When leveraging the visual encoder of CLIP, MPL achieved an impressive 4.9% absolute performance improvement on the challenging HMDB51 dataset in the 5-way 5-shot setting compared to the previous best method (CLIP-FSAR).

t-SNE visualizations confirm that MPL generates much tighter, more distinct clusters for highly similar action classes (like throwing axe vs. tap dancing) compared to prior methods.

Limitations and Future Work

The authors noted a limitation regarding the temporal scale of inputs: performance improves as the number of input frames increases, but it saturates or slightly drops when the frame count exceeds 8. This is likely due to the introduction of redundant frames or background noise that interferes with the fine-grained K-Match mechanism. Future work could explore more adaptive frame-sampling strategies to dynamically scale with video complexity.

Summary updated

BibTeX
@inproceedings{yang2026mpl,
  author = {Feng Yang and Jie Zhao and Fulin Luo and Anyong Qin and Tiecheng Song and Yue Zhao and Chenqiang Gao and Junwei Han},
  title = {{MPL: Match-guided Prototype Learning for Few-shot Action Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=te0nZkVblh},
}
Figure