部分重校正softmax损失用于视觉-语言模型鲁棒性
Partially Recentralization Softmax Loss for Vision-Language Models Robustness
AI总结:
本文提出部分重校正softmax损失,通过限制top K softmax输出提升预训练多模态模型的对抗鲁棒性,实验显示细调后模型对主流攻击更具鲁棒性。
摘要:
随着大型语言模型在自然语言处理任务中取得突破,多模态技术变得极其流行。然而,已证明多模态NLP对对抗攻击敏感,输入微扰可大幅改变模型输出。尽管已提出多种防御技术,但多模态鲁棒性研究尚不充分。本文研究通过修改预训练多模态模型的损失函数,限制top K softmax输出,以提升对抗鲁棒性。评估和评分表明,经过微调后,预训练模型对主流攻击的鲁棒性显著提高。进一步研究应探讨输出多样性、泛化能力和此类损失函数的鲁棒性-性能权衡。我们的代码将在论文接受后提供。
英文摘要:
As Large Language Models make a breakthrough in natural language processing tasks (NLP), multimodal technique becomes extremely popular. However, it has been shown that multimodal NLP are vulnerable to adversarial attacks, where the outputs of a model can be dramatically changed by a perturbation to the input. While several defense techniques have been proposed both in computer vision and NLP models, the multimodal robustness of models have not been fully explored. In this paper, we study the adversarial robustness provided by modifying loss function of pre-trained multimodal models, by restricting top K softmax outputs. Based on the evaluation and scoring, our experiments show that after a fine-tuning, adversarial robustness of pre-trained models can be significantly improved, against popular attacks. Further research should be studying, such as output diversity, generalization and the robustness-performance trade-off of this kind of loss functions. Our code will be available after this paper is accepted
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。