Pairwise Contrastive Learning Network for Action Quality Assessment

Mingzhe Li, Hongbo Zhang, Qing Lei, Zongwen Fan, Jinghua Liu, Ji-Xiang DuECCV 2022

Evaluating the quality of human actions, such as Olympic diving or gymnastics, is a complex task for computer vision. Traditional models often struggle to map a single video to a precise numerical score because the visual differences between a high-scoring and low-scoring performance can be extremely subtle. The paper "Pairwise Contrastive Learning Network for Action Quality Assessment" proposes a shift in perspective: instead of predicting an absolute score for a single video, the model should learn to compare two videos and determine which is better and by how much.

The Challenge of Action Quality Assessment

Most existing AQA systems treat the problem as a straightforward regression task. A model takes one video as input and outputs a score. However, this approach often fails to capture the minute details that human judges prioritize. In sports like diving, two athletes might perform the same maneuver in the same environment; the visual difference is tiny, yet their scores can vary significantly.

Comparison between the standard regression method and the proposed contrastive method.

The authors argue that mapping a complex video directly to a high-precision score is a "hard" mapping. Learning the relative difference between two videos provides a more robust signal for capturing the nuances of "quality."

The Pairwise Contrastive Learning Framework

The proposed framework consists of two main branches that operate in parallel during the training phase:

  1. Basic Regression Network: This standard pipeline uses a ResNet-50 backbone and a temporal encoder to extract features, followed by a Multi-Layer Perceptron (MLP) to predict an absolute score for a single video.
  2. Pairwise Contrastive Learning Network (PCLN): This core innovation takes a pair of video features ($V_p, V_q$) and processes them through a fusion module. It utilizes 2D convolutions and pooling to model the interaction between the two videos, ultimately predicting the relative score ($\Delta S$) between them.
The architecture of the proposed framework, highlighting the basic regression network, the PCLN branch, and the consistency constraint.

The Consistency Constraint

To ensure the two branches learn complementary information, the authors introduce a consistency loss. This loss forces the difference between the two predicted absolute scores (from the regression branch) to align with the predicted relative score (from the PCLN branch).

Crucially, the PCLN branch and consistency constraints are only used during training. During inference, the PCLN is discarded, and only the basic regression network is used. This allows the model to benefit from contrastive learning's accuracy boost without incurring additional computational costs during deployment.

Experimental Results

The model was evaluated on two major benchmarks: AQA-7 (multi-sport) and MTL-AQA (diving). Performance was measured using Spearman’s Rank Correlation (SRC), which quantifies how well the model's rankings align with those of human judges.

  • AQA-7: The model achieved an average SRC of 0.8795, significantly outperforming previous methods like USDL (0.8102).
  • MTL-AQA: In Execution Score Prediction, the model reached an SRC of 0.9230.

Ablation studies confirmed that removing either the PCLN or the consistency constraint led to a drop in performance, demonstrating that the pairwise logic is fundamental to the model's success.

Conclusion

By training AI to "compare and contrast" rather than judge in isolation, this research provides a more effective way to capture the subtleties of human performance. The use of pairwise combinations effectively augments the training data, leading to better generalization and state-of-the-art results on action quality benchmarks.

Summary updated

BibTeX
@inproceedings{li2022pairwise,
  author = {Mingzhe Li and Hongbo Zhang and Qing Lei and Zongwen Fan and Jinghua Liu and Ji-Xiang Du},
  title = {{Pairwise Contrastive Learning Network for Action Quality Assessment}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19772-7\_27},
}
Figure