Adversarial Attacks on Video Object Segmentation with Hard Region Discovery

Ping Li, Yu Zhang, Li Yuan, Jian Zhao, Xianghua Xu, Xiaoqin Zhang · DOI

Abstract

Video object segmentation (VOS) has been applied to various computer vision tasks, such as video editing, autonomous driving, and human-robot interaction. However, methods based on deep neural networks are vulnerable to adversarial examples—inputs attacked by almost human-imperceptible perturbations that fool the model into making incorrect pixel-level predictions. This raises security issues in high-stakes tasks where small input perturbations result in significant risks. While adversarial examples are well-studied in classification, they are rarely explored in VOS. Existing methods often require category knowledge or fail to consider pixel-wise region attacks. This work develops an object-agnostic adversary that impacts VOS via first-frame attacking through hard region discovery. By exploiting gradients to identify easily confused regions, we generate a hardness map that produces stronger adversarial perturbations. Empirical studies on three benchmarks indicate that our attacker significantly degrades the performance of several state-of-the-art VOS models.

Introduction

Video Object Segmentation (VOS) involves tracking and masking specific objects throughout a video sequence, typically guided by a single ground-truth mask in the initial frame. As a foundational technology for autonomous systems and creative editing, the reliability of VOS models is paramount. However, like many deep learning architectures, VOS models are susceptible to adversarial attacks: intentional, subtle pixel modifications designed to induce failure.

VOS presents a unique challenge for adversarial research. Unlike image classification, where an attacker aims to flip a category label (e.g., "dog" to "cat"), VOS is "object-agnostic" and requires pixel-perfect precision to distinguish foreground from background. This paper addresses the lack of specialized adversarial research in the VOS domain, highlighting a critical vulnerability: because VOS models rely heavily on the first frame as a reference, poisoning this single frame can cause errors to propagate and amplify across the entire video.

The Adversarial Region Attack (ARA) Framework

The proposed Adversarial Region Attack (ARA) shifts the focus from global image perturbations to localized, high-impact regions. The core innovation is the Hard Region Discovery mechanism, which identifies areas where the model naturally struggles to differentiate objects from their surroundings.

The ARA Pipeline: This diagram illustrates the process of generating perturbations by using a Hard Region Learner to identify vulnerable pixels based on model gradients.

Methodology

  1. Hard Region Learner (HRL): The framework employs a light ResNet-18 backbone to act as the HRL. This sub-network processes the gradient map of the first frame—derived from a pre-trained VOS model—to predict a "hardness map."
  2. Hardness Map Generation: The hardness map $\hat{\mathbf{Z}}$ assigns a score to every pixel. High scores indicate "hard" pixels, such as complex object boundaries or background elements that mimic the target object's appearance.
  3. Targeted Perturbation: Rather than applying uniform noise, ARA performs an element-wise product between a standard noise map and the hardness map. This concentrates the "attack energy" on the most vulnerable pixels, maximizing the adversarial impact while maintaining human imperceptibility.
  4. Iterative Optimization: The attack is refined over approximately 10 iterations to maximize segmentation loss, ensuring the resulting adversarial example $\mathbf{I}_1^{adv}$ effectively fools the target model.

Experimental Evaluation

The researchers evaluated ARA against several state-of-the-art VOS models, including STM, HMMN, STCN, and AOTL, across major benchmarks such as DAVIS2016, DAVIS2017, and YouTube-VOS.

Quantitative Comparison: ARA consistently achieves higher performance degradation across multiple VOS models compared to standard adversarial baselines.

Key Results

  • Significant Performance Drops: On the DAVIS2016 benchmark, ARA reduced the $\mathcal{J} \& \mathcal{F}$ score of the STCN model from 91.6% to 84.7%. Similar significant degradations were observed across all tested models.
  • Superiority Over Baselines: ARA consistently outperformed standard attacks like FGSM, PGD, and even specialized attackers like SegPGD. By focusing on hard regions, ARA achieved 2-5% greater performance drops using the same perturbation budget.
  • Black-Box Transferability: The attack demonstrated high transferability. Perturbations generated to fool one model (e.g., STCN) were often successful at degrading the performance of others (e.g., STM), suggesting that "hard regions" are a fundamental vulnerability shared across different VOS architectures.
  • Error Propagation: The results confirm the "first-frame bottleneck" hypothesis. Because VOS models utilize a temporal memory of previous frames, a small, targeted error in the first frame acts as a seed that grows as the video progresses, eventually leading to total segmentation failure.

Conclusion and Future Work

The Adversarial Region Attack (ARA) exposes a significant security flaw in current VOS paradigms. By identifying and targeting "hard regions" in the initial reference frame, ARA can effectively cripple sophisticated segmentation models with minimal visual distortion.

While highly effective, the authors note that first-frame attacks may lose potency in extremely long videos where the target object disappears and reappears. Future research will focus on dynamic attacking strategies—targeting high-uncertainty frames mid-video—and developing specialized adversarial training defenses to harden VOS models against these regional vulnerabilities.

Summary updated

BibTeX
@article{li2023adversarial,
  author = {Ping Li and Yu Zhang and Li Yuan and Jian Zhao and Xianghua Xu and Xiaoqin Zhang},
  title = {{Adversarial Attacks on Video Object Segmentation with Hard Region Discovery}},
  journal = {IEEE Transactions on Circuits and Systems for Video Technology},
  year = {2023},
  doi = {10.1109/tcsvt.2023.3341170},
}
Figure