arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.16355cs.CRcs.ITcs.LGmath.IT
收藏

用于ℓ1距离谓词的属性保持哈希:应用于对抗性输入攻击的防御

Property-Preserving Hashing for $\ell_1$-Distance Predicates: Applications to Countering Adversarial Input Attacks

Macquarie University(麦考瑞大学)

Hassan Asghar, Chenhan Zhang, Dali Kaafar

AI总结:

本文提出首个用于ℓ1距离谓词的属性保持哈希方案,通过高效算法有效检测对抗性输入攻击,提升图像相似性检测的鲁棒性。

摘要:

感知哈希用于检测输入图像与参考图像的相似性,但最近研究表明其易受对抗性输入攻击影响,即微小不可察觉的输入变化不会被哈希算法检测到。属性保持哈希(PPH)是一种密码学新构造,能够在哈希域中保持输入的某些属性(谓词)。研究人员已展示出针对汉明距离谓词的PPH构造,例如当两个输入的汉明距离小于t时输出1。PPH的关键特性是其强正确性保证,即在哈希域中谓词未正确评估的概率可忽略不计。受对抗性环境下的图像相似性检测应用场景启发,本文提出首个针对ℓ1距离谓词的PPH构造。该谓词大致检查两个图像的单侧ℓ1距离是否在阈值t内。由于许多对抗性攻击使用ℓ2距离(与ℓ1距离相关)作为扰动目标函数,通过适当选择阈值t,可迫使攻击者添加显著噪声以逃避检测,从而显著降低图像质量。本文提出的方案效率高,运行时间为O(t²)。对于28×28灰度图像,当像素值扰动达1%时,可在0.0784秒内评估谓词。对于较大的224×224 RGB图像,通过将图像分成1000块,实现1%变化时每块0.0128秒,14%变化时每块0.2641秒的运行时间。

英文摘要:

Perceptual hashing is used to detect whether an input image is similar to a reference image with a variety of security applications. Recently, they have been shown to succumb to adversarial input attacks which make small imperceptible changes to the input image yet the hashing algorithm does not detect its similarity to the original image. Property-preserving hashing (PPH) is a recent construct in cryptography, which preserves some property (predicate) of its inputs in the hash domain. Researchers have so far shown constructions of PPH for Hamming distance predicates, which, for instance, outputs 1 if two inputs are within Hamming distance $t$. A key feature of PPH is its strong correctness guarantee, i.e., the probability that the predicate will not be correctly evaluated in the hash domain is negligible. Motivated by the use case of detecting similar images under adversarial setting, we propose the first PPH construction for an $\ell_1$-distance predicate. Roughly, this predicate checks if the two one-sided $\ell_1$-distances between two images are within a threshold $t$. Since many adversarial attacks use $\ell_2$-distance (related to $\ell_1$-distance) as the objective function to perturb the input image, by appropriately choosing the threshold $t$, we can force the attacker to add considerable noise to evade detection, and hence significantly deteriorate the image quality. Our proposed scheme is highly efficient, and runs in time $O(t^2)$. For grayscale images of size $28 \times 28$, we can evaluate the predicate in $0.0784$ seconds when pixel values are perturbed by up to $1 \%$. For larger RGB images of size $224 \times 224$, by dividing the image into 1,000 blocks, we achieve times of $0.0128$ seconds per block for $1 \%$ change, and up to $0.2641$ seconds per block for $14\%$ change.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑