[Paper Review] Adversarial Framing for Image and Video Classification
This paper proposes adversarial framing (AF), a universal, efficient, and non-invasive attack method that enhances image and video classifiers by adding a thin, learned border around inputs without modifying the original content. The method achieves state-of-the-art attack success rates—reducing ImageNet top-1 accuracy to 0.1% with only 7% of pixels perturbed—while maintaining high speed and universal applicability across diverse inputs.
Neural networks are prone to adversarial attacks. In general, such attacks deteriorate the quality of the input by either slightly modifying most of its pixels, or by occluding it with a patch. In this paper, we propose a method that keeps the image unchanged and only adds an adversarial framing on the border of the image. We show empirically that our method is able to successfully attack state-of-the-art methods on both image and video classification problems. Notably, the proposed method results in a universal attack which is very fast at test time. Source code can be found at https://github.com/zajaczajac/adv_framing .
Motivation & Objective
- To develop a novel adversarial attack method that preserves original input content while enabling high attack success.
- To address limitations of existing attacks that either modify all pixels (fully-affecting) or use visible patches (partially-affecting).
- To create a universal attack that works across diverse images and videos with minimal computational cost at inference.
- To demonstrate effectiveness on state-of-the-art image and video classifiers, including ResNet-50 and ResNeXt-101.
- To provide a practical, deployable attack method suitable for real-world scenarios like bypassing content filters.
Proposed method
- The adversarial framing is a differentiable border added to the input image or video frame, with its width W as a tunable hyperparameter.
- The framing is trained end-to-end via backpropagation to maximize the classification loss, using a sigmoid activation to constrain values to [0,1].
- The same framing is applied universally to all inputs during inference, requiring no per-sample computation.
- Training involves sampling a minibatch, applying the current framing to inputs, and updating the framing parameters using gradient descent on the cross-entropy loss.
- The method supports both fixed-input and variable-input classifiers by resizing inputs when necessary, with ablation on resizing strategies.
- For video, the same framing is applied to every frame, ensuring temporal consistency and avoiding flickering effects.
Experimental results
Research questions
- RQ1Can a universal adversarial attack be constructed that modifies only the border of an image or video without altering the original content?
- RQ2How effective is adversarial framing compared to existing fully-affecting and partially-affecting attacks in terms of success rate and perturbation size?
- RQ3Does adversarial framing generalize effectively to video classification tasks, maintaining consistency across frames?
- RQ4How does the choice of input resizing strategy impact the performance of the adversarial framing attack?
- RQ5Can adversarial framing achieve high attack success with minimal pixel perturbation while remaining imperceptible and non-flickering?
Key findings
- With a framing width of W=4, the attack reduces ImageNet top-1 accuracy to 0.1% in the untargeted setting and achieves 99.66% success rate in the targeted setting.
- For W=1, the method perturbs less than 2% of pixels and reduces accuracy to 10.53%, outperforming LaVAN (74.1% targeted success) under comparable perturbation levels.
- The method achieves 99.66% targeted attack success with less than 7% of pixels modified, demonstrating superior efficiency compared to prior patch-based methods.
- The attack remains highly effective even when input dimensions are resized, with the 'Resize & Frame' strategy yielding the highest error rate.
- The method generalizes effectively to video, maintaining consistent performance across frames and avoiding flickering, with a 1.19% top-1 accuracy for W=4 on UCF101.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.