Manuscript Offprint

arXiv:2609.08013

A Black-Box Adversarial Attack on Human Pose Estimation and Keypoint-Based Action Recognition Models

Kacper Mroczek, Michal Kepski

Kacper Mroczek¹ and Michal Kepski¹[0000-0003-1225-9143]

University of Rzeszów, 35-959 Rzeszów, Poland mkepski@ur.edu.pl

Abstract. Human pose estimation and keypoint-based action recognition models are increasingly deployed as components of video understanding pipelines, yet their vulnerability to adversarial attacks remains insufficiently studied. Temporally coherent black-box attacks have been previously studied in visual object tracking, where the attack feedback can be defined using bounding-box overlap measures such as Intersection over Union (IoU). However, human pose estimation produces keypoint configurations rather than enclosing boxes, making box-level similarity poorly suited for measuring pose degradation. We propose OKS Attack, a decision-based black-box attack that uses Object Keypoint Similarity (OKS) as the attack feedback signal, directly targeting the spatial structure of human poses rather than their enclosing boxes.

Experiments on the Penn Action dataset show that OKS Attack consistently reduces pose quality across evaluated pose estimators, with mean OKS decreases ranging from 0.0802 to 0.1494. In a downstream cross-dataset action-recognition evaluation, the attack reduces accuracy by 6.18 to 13.86 percentage points and outperforms query-matched random-noise perturbations. The attack is effective across both top-down and single-stage pose estimation models. The source code will be made publicly available at https://github.com/KacperM33/OKS_attack.

Keywords: Neural networks · Adversarial attacks · Human pose estimation · Action recognition

1 Introduction

Recently, deep neural networks (DNNs) have significantly advanced visual understanding in many tasks such as image classification, object detection, semantic segmentation, etc. They have also been successfully applied to video analysis in tasks like object tracking or action recognition.

Simultaneously, it has been shown that deep neural networks are vulnerable to adversarial examples [22] which, by the presence of carefully selected noise, can degrade DNN performance leading to incorrect predictions. Since then, a great deal of research has been performed in this area showing that vulnerability to adversarial samples exists in a wide range of computer vision settings [5, 8, 25,

K. Mroczek and M. Kepski

Figure

Fig. 1. Overview of the proposed attack. The original frame (left) is perturbed with adversarial noise (middle) optimized using keypoint-similarity-based feedback. The limited perturbation shifts the predicted pose away from the clean estimate, shown by the clean (green) and adversarial (red) skeletons.

27]. The majority of the research focused on image understanding, but video-based tasks, mainly object tracking, received some attention [10].

Human pose estimation (HPE) is a fundamental computer vision task that impacts applications such as action recognition, person reidentification, and video anomaly detection. Adversarial attacks on HPE can propagate errors to downstream tasks, reducing their performance. Although image classification has seen extensive work on adversarial attacks, only a few works consider an adversary goal to mislead an HPE model. Most focus on single images, not videos, and do not examine the influence of adversarial samples on downstream tasks.

We propose a decision-based black-box adversarial attack that targets 2D HPE models. We adapt the temporally coherent method proposed in [10] from box overlap to keypoint similarity and reformulate its feedback mechanism for structured human-pose outputs. For each frame, the attack compares two pose predictions: one from the clean input frame and one from its perturbed counterpart. The Object Keypoint Similarity between these predictions serves as the optimization feedback. At each iteration, we sample a set of candidate tangential perturbations with equal noise magnitude and evaluate their effect on the predicted pose. The candidate that yields the lowest OKS score is selected as the most effective perturbation direction. We then slightly extend this perturbation along the normal direction and combine both components to obtain the perturbation for the current iteration. The perturbation is propagated to subsequent frames as initialization to reinforce the temporal aspect of the attack.

We evaluate OKS Attack on diverse 2D HPE models, including top-down heatmap-based pipelines, as well as single-stage estimators such as YOLO-Pose [15]. In addition, we study how adversarially perturbed poses affect downstream keypoint-based action recognition. The main contributions of this work are summarized as follows:

We propose OKS Attack, a task-specific adaptation of decision-based black-box attacks to 2D HPE, where candidate perturbations are guided by scale-normalized Object Keypoint Similarity rather than bounding-box overlap.

– We study the impact of adversarially perturbed poses on keypoint-based action recognition.

We evaluate the attack across top-down heatmap-based and single-stage pose estimators and compare it with query-matched random-noise perturbations.

– We conduct an ablation study separating the attack's effect on the person detector and the keypoint estimator in top-down pipelines.

References (30)

  • Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Models
  • OpenPose: Realtime Multi-Person 2D Pose Estimation Using Part Affinity Fields
  • Transferable adversarial attacks on human pose estimation: A regularization and pruning framework
  • HigherHRNet: Scale-Aware Representation Learning for Bottom-Up Human Pose Estimation
  • Robustbench: a standardized adversarial robustness benchmark
  • Basar:black-box attack on skeletal action recognition
  • Revisiting Skeleton-Based Action Recognition
  • Robust Physical-World Attacks on Deep Learning Visual Classification
  • On the robustness of human pose estimation
  • IoU Attack: Towards Temporally Coherent Black-Box Adversarial Attack for Visual Object Tracking
  • Human pose regression with residual log-likelihood estimation
  • Microsoft coco: Common objects in context
  • Local imperceptible adversarial attacks against human pose estimation networks
  • Rtmo: Towards high-performance one-stage real-time multi-person pose estimation
  • YOLO-Pose: Enhancing YOLO for Multi Person Pose Estimation Using Object Keypoint Similarity Loss
  • Action Transformer: A self-attention model for short-time pose-based human action recognition
  • Generating Imperceptible Perturbations to Attack Human Pose Estimation Networks
  • Benchmarking and error diagnosis in multi-instance pose estimation
  • Mobilenetv2: Inverted residuals and linear bottlenecks
  • Deep high-resolution representation learning for human pose estimation
  • Intriguing properties of neural networks
  • DeepPose: Human Pose Estimation via Deep Neural Networks
  • Physical Adversarial Attack Meets Computer Vision: A Decade Survey
  • Towards Transferable Adversarial Attacks on Vision Transformers
  • Simple baselines for human pose estimation and tracking
  • Adversarial Examples for Semantic Segmentation and Object Detection
  • Spatial Temporal Graph Convolutional Networks for Skeleton-Based Action Recognition
  • Transpose: Keypoint localization via transformer
  • From actemes to action: A strongly-supervised representation for detailed action understanding
  • Deep Learning-based Human Pose Estimation: A Survey