Crowd counting, which has been widely adopted for estimating the number of people in safety-critical scenes, is shown to be vulnerable to adversarial examples in the physical world (e.g., adversarial patches). Though harmful, adversarial examples are also valuable for evaluating and better understanding model robustness. However, existing adversarial example generation methods for crowd counting lack strong transferability among different black-box models, which limits their practicability for real-world systems. Motivated by the fact that attacking transferability is positively correlated to the model-invariant characteristics, this paper proposes the Perceptual Adversarial Patch (PAP) generation framework to tailor the adversarial perturbations for crowd counting scenes using the model-shared perceptual features. Specifically, we handcraft an adaptive crowd density weighting approach to capture the invariant scale perception features across various models and utilize the density guided attention to capture the model-shared position perception. Both of them are demonstrated to improve the attacking transferability of our adversarial patches. Extensive experiments show that our PAP could achieve state-of-the-art attacking performance in both the digital and physical world, and outperform previous proposals by large margins (at most +685.7 MAE and +699.5 MSE). Besides, we empirically demonstrate that adversarial training with our PAP can benefit the performance of vanilla models in alleviating several practical challenges in crowd counting scenarios, including generalization across datasets (up to -376.0 MAE and -354.9 MSE) and robustness towards complex backgrounds (up to -10.3 MAE and -16.4 MSE).
翻译:为估计安全临界场景中人数而广泛采用的人群计数方法,在估算安全临界场景中的人数时被广泛采用,显示很容易在物理界(如对抗性补丁)出现对抗性例子。虽然有害的、对抗性例子对于评估和更好地理解模型稳健性也十分宝贵。然而,现有的人群计数对抗性例子生成方法在不同黑箱模型中缺乏很强的可转移性,从而限制了对真实世界系统的实用性。由于攻击性可转移性与模型-变化性特征有积极关联这一事实,本文提议了概念性反反差补补丁(PAP)生成框架,以便利用模型共享的观念特征,使对人群计数场面的对抗性穿透性实例。具体地说,我们巧妙地设计了适应性人群密度加权方法,以捕捉到不同模型中差异性规模的感知性特征,并使用密度引导性能来捕捉模型共享位置的认知。 这两套都表明我们的对抗性介质转移性模型与模型-变化性特征的相对性关系。 6 广泛实验显示,我们的PAP(PA) 4-38 和M5 MA 5 和M5 模拟模拟模拟模拟模拟模拟模拟模拟模拟模拟模拟中, 和模拟模拟模拟中最快速性模拟性模拟性模拟性模拟性能和模拟性能 5 和模拟性模拟性模拟性能模拟性能模拟性能模拟性能模拟性能 和模拟性能模拟性能 。