[Paper Review] Adaptive Adversarial Attack on Scene Text Recognition
This paper proposes Adaptive Attack, a novel multi-task learning approach that automatically learns optimal trade-off weights between perturbation minimization and misclassification loss in adversarial attacks, eliminating manual hyperparameter tuning. It achieves over 99.9% success rate on scene text recognition with 3–6× faster attack speed than state-of-the-art methods, making it the first adaptive attack framework for sequential learning tasks like text recognition.
Recent studies have shown that state-of-the-art deep learning models are vulnerable to the inputs with small perturbations (adversarial examples). We observe two critical obstacles in adversarial examples: (i) Strong adversarial attacks (e.g., C&W attack) require manually tuning hyper-parameters and take a long time to construct an adversarial example, making it impractical to attack real-time systems; (ii) Most of the studies focus on non-sequential tasks, such as image classification, yet only a few consider sequential tasks. In this work, we speed up adversarial attacks, especially on sequential learning tasks. By leveraging the uncertainty of each task, we directly learn the adaptive multi-task weightings, without manually searching hyper-parameters. A unified architecture is developed and evaluated for both non-sequential tasks and sequential ones. To validate the effectiveness, we take the scene text recognition task as a case study. To our best knowledge, our proposed method is the first attempt to adversarial attack for scene text recognition. Adaptive Attack achieves over 99.9\% success rate with 3-6X speedup compared to state-of-the-art adversarial attacks.
Motivation & Objective
- To address the inefficiency of existing adversarial attacks that require extensive manual hyperparameter tuning and are too slow for real-time systems.
- To extend adaptive multi-task learning from non-sequential to sequential learning tasks, particularly scene text recognition, which has been underexplored in adversarial attacks.
- To develop a unified, automated framework that dynamically balances perturbation size and misclassification loss using uncertainty estimation.
- To evaluate the effectiveness of adaptive attack on sequential models, especially those using CTC-based sequence transduction.
- To demonstrate that adaptive weight learning significantly accelerates attack generation without sacrificing attack success or perturbation quality.
Proposed method
- The method formulates adversarial attack as a multi-task optimization problem, jointly minimizing perturbation magnitude (ℓ₂ distance) and classification loss for targeted misclassification.
- It employs uncertainty-based weighting from Bayesian deep learning, using both aleatoric (data) and epistemic (model) uncertainty to automatically learn optimal loss weights.
- The approach is extended to sequential tasks by modeling the CTC alignment process and focusing gradient updates on regions near targeted positions (e.g., insertion, deletion, substitution points).
- Adaptive Attack uses iterative optimization with dynamic loss weighting, where the loss weights are updated based on uncertainty estimates during training, avoiding manual search.
- The framework is applied to both non-sequential (e.g., ImageNet) and sequential (e.g., SeqMNIST, scene text recognition) tasks using a shared architecture.
- Perturbations are generated iteratively, with gradients focused on edges of targeted digits, and CTC alignments are monitored to ensure correct alignment to the adversarial target.
Experimental results
Research questions
- RQ1Can uncertainty-based multi-task learning be effectively adapted to accelerate adversarial attacks on sequential learning tasks like scene text recognition?
- RQ2How does adaptive loss weighting compare to fixed or manually tuned weights in terms of attack success rate and perturbation magnitude?
- RQ3Can the proposed method achieve high attack success with significantly reduced time compared to iterative attacks like C&W?
- RQ4How do different adversarial operations (insertion, substitution, deletion) affect the attack process and CTC alignment dynamics?
- RQ5Does the adaptive framework maintain robustness across diverse sequential tasks and datasets?
Key findings
- Adaptive Attack achieves over 99.9% attack success rate on three standard scene text recognition benchmarks, demonstrating high effectiveness.
- The method reduces attack time by 3–6× compared to state-of-the-art iterative attacks like C&W, significantly improving efficiency.
- Adaptive Attack outperforms baseline methods with fixed λ values and binary search tuning, achieving comparable or better perturbation quality with much faster convergence.
- The CTC alignment process stabilizes quickly (in less than 100 iterations) and remains consistent, with changes only near the targeted operation points (e.g., inserted/deleted digits).
- Perturbations are initially focused on edges near the targeted positions, and in later iterations, they are minimized into abstract, human-invisible forms that still fool the model.
- The attack process shows that adversarial perturbations are most effective when aligned with the CTC attention mechanism, and the method successfully maintains this alignment throughout optimization.
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.