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

RobustSentEmbed:使用对抗性自监督对比学习的鲁棒句子嵌入

RobustSentEmbed: Robust Sentence Embeddings Using Adversarial Self-Supervised Contrastive Learning

Georgia State University(佐治亚州立大学);University of Arizona(亚利桑那大学);Old Dominion University(奥多明尼昂大学)

Javad Rafiei Asl, Prajwal Panzade, Eduardo Blanco, Daniel Takabi, Zhipeng Cai

AI总结:

本文提出RobustSentEmbed,一种基于对抗性自监督对比学习的句子嵌入框架,通过生成高风险扰动并优化目标函数,显著提升鲁棒性,将BERTAttack成功率从75.51%降至38.81%,并在相似性和迁移任务上分别提升1.59%和0.23%。

摘要:

预训练语言模型(PLMs)在广泛的自然语言处理任务中持续展现出卓越的性能。然而,尽管它们在未见数据上取得了成功,当前基于PLM的表示在对抗性设置中往往表现出较差的鲁棒性。在本文中,我们介绍了RobustSentEmbed,一个自监督句子嵌入框架,旨在提高各种文本表示任务中的泛化能力和鲁棒性,并抵御多种对抗性攻击。通过生成高风险对抗性扰动并将其应用于新颖的目标函数中,RobustSentEmbed能够熟练地学习高质量且鲁棒的句子嵌入。我们的实验证实了RobustSentEmbed相对于最先进表示的优越性。具体而言,我们的框架显著降低了各种对抗性攻击的成功率,特别是将BERTAttack的成功率几乎减半(从75.51%降至38.81%)。该框架还在语义文本相似性任务和各种迁移任务中分别提升了1.59%和0.23%的性能。

英文摘要:

Pre-trained language models (PLMs) have consistently demonstrated outstanding performance across a diverse spectrum of natural language processing tasks. Nevertheless, despite their success with unseen data, current PLM-based representations often exhibit poor robustness in adversarial settings. In this paper, we introduce RobustSentEmbed, a self-supervised sentence embedding framework designed to improve both generalization and robustness in diverse text representation tasks and against a diverse set of adversarial attacks. Through the generation of high-risk adversarial perturbations and their utilization in a novel objective function, RobustSentEmbed adeptly learns high-quality and robust sentence embeddings. Our experiments confirm the superiority of RobustSentEmbed over state-of-the-art representations. Specifically, Our framework achieves a significant reduction in the success rate of various adversarial attacks, notably reducing the BERTAttack success rate by almost half (from 75.51\% to 38.81\%). The framework also yields improvements of 1.59\% and 0.23\% in semantic textual similarity tasks and various transfer tasks, respectively.

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

↑