arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.00728cs.CLcs.CRcs.LG
收藏

CERT-ED:面向编辑距离的可认证鲁棒文本分类

CERT-ED: Certifiably Robust Text Classification for Edit Distance

School of Computing and Information Systems(计算与信息系统学院);University of Melbourne(墨尔本大学)

Zhuoqun Huang, Neil G Marchant, Olga Ohrimenko, Benjamin I. P. Rubinstein

AI总结:

本文提出CERT-ED防御方法,将随机删除适配到自然语言分类中,实现对全部编辑距离操作的鲁棒性认证,并在多数数据集和攻击设置下优于现有汉明距离方法RanMASK。

摘要:

随着人工智能日益融入日常生活,确保系统对推理时攻击的鲁棒性至关重要。在为针对此类对抗样本的鲁棒性提供认证的方法中,随机平滑因其作为任意黑盒模型包装器的特性而展现出极大前景。此前自然语言处理中的随机平滑工作主要聚焦于编辑距离操作的特定子集,例如同义词替换或词语插入,而未探索对所有编辑操作的认证。本文中,我们采用随机删除(Huang等人,2023)并提出用于自然语言分类的CERTified Edit Distance防御(CERT-ED)。通过全面实验,我们证明CERT-ED在5个数据集中的4个上,在准确率和证书基数方面均优于现有的汉明距离方法RanMASK(Zeng等人,2023)。通过覆盖包括5种直接攻击和5种迁移攻击在内的多种威胁模型,我们的方法在50个设置中的38个上提升了经验鲁棒性。

英文摘要:

With the growing integration of AI in daily life, ensuring the robustness of systems to inference-time attacks is crucial. Among the approaches for certifying robustness to such adversarial examples, randomized smoothing has emerged as highly promising due to its nature as a wrapper around arbitrary black-box models. Previous work on randomized smoothing in natural language processing has primarily focused on specific subsets of edit distance operations, such as synonym substitution or word insertion, without exploring the certification of all edit operations. In this paper, we adapt Randomized Deletion (Huang et al., 2023) and propose, CERTified Edit Distance defense (CERT-ED) for natural language classification. Through comprehensive experiments, we demonstrate that CERT-ED outperforms the existing Hamming distance method RanMASK (Zeng et al., 2023) in 4 out of 5 datasets in terms of both accuracy and the cardinality of the certificate. By covering various threat models, including 5 direct and 5 transfer attacks, our method improves empirical robustness in 38 out of 50 settings.

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

↑