Affinity Contrastive Learning for Skeleton-based Human Activity Understanding

Hongda Liu, Yunfan Liu, Min Ren, Lin Sui, Yunlong Wang +1 more
1/23/2026
cs.CV

Official code: firework8/ACLNet (25 stars, MIT, last commit 2026-01-26).

Abstract

In skeleton-based human activity understanding, existing methods often adopt the contrastive learning paradigm to construct a discriminative feature space. However, many of these approaches fail to exploit the structural inter-class similarities and overlook the impact of anomalous positive samples. In this study, we introduce ACLNet, an Affinity Contrastive Learning Network that explores the intricate clustering relationships among human activity classes to improve feature discrimination. Specifically, we propose an affinity metric to refine similarity measurements, thereby forming activity superclasses that provide more informative contrastive signals. A dynamic temperature schedule is also introduced to adaptively adjust the penalty strength for various superclasses. In addition, we employ a margin-based contrastive strategy to improve the separation of hard positive and negative samples within classes. Extensive experiments on NTU RGB+D 60, NTU RGB+D 120, Kinetics-Skeleton, PKU-MMD, FineGYM, and CASIA-B demonstrate the superiority of our method in skeleton-based action recognition, gait recognition, and person re-identification. The source code is available at https://github.com/firework8/ACLNet.

View on arXivView PDF

Code Implementations(1)

firework8/ACLNetOfficial100%
MIT

PyTorch implementation of "Affinity Contrastive Learning for Skeleton-based Human Activity Understanding"

256Shell, PythonSep 30, 20258 months agoMIT
skeleton-based-action-recognition

Similar Papers

Cite this paper

@article{liu2026affinity,
  title  = {Affinity Contrastive Learning for Skeleton-based Human Activity Understanding},
  author = {Hongda Liu and Yunfan Liu and Min Ren and Lin Sui and Yunlong Wang and Zhenan Sun},
  year   = {2026},
  eprint = {2601.16694},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.16694v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.16694.svg)](https://codeofpaper.com/paper/2601.16694)

Discussion