arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.03932cs.LGcs.AI
收藏

Transformers 是否更鲁棒?迈向 Transformers 的精确鲁棒性验证

Are Transformers More Robust? Towards Exact Robustness Verification for Transformers

DENSO AUTOMOTIVE Deutschland GmbH(电装汽车德国有限公司);Technical University of Munich(慕尼黑工业大学);Fraunhofer IKS(弗劳恩霍夫智能与通信系统研究所)

Brian Hsuan-Cheng Liao, Chih-Hong Cheng, Hasan Esen, Alois Knoll

AI总结:

本文针对基于 Sparsemax 的 Transformers,将最大鲁棒性验证归约为 MIQCP 并设计两种加速预处理启发式方法,实验表明其相比 MLP 未必更鲁棒。

摘要:

作为一种新兴的神经网络(NNs),Transformers 被应用于从自然语言处理到自动驾驶的众多领域。本文研究 Transformers 的鲁棒性问题,该特性至关重要,因为低鲁棒性可能引发安全隐患。具体而言,作者聚焦基于 Sparsemax 的 Transformers,并将其最大鲁棒性的求解归约为一个混合整数二次约束规划(MIQCP)问题。作者还设计了两种可嵌入 MIQCP 编码的预处理启发式方法,可大幅加速求解。随后,作者利用车道偏离预警应用开展实验,将基于 Sparsemax 的 Transformers 与更传统的多层感知机(MLP)神经网络的鲁棒性进行比较。令人意外的是,Transformers 并不一定更鲁棒,这为安全关键领域应用中选择合适的神经网络架构带来了深刻思考。

英文摘要:

As an emerging type of Neural Networks (NNs), Transformers are used in many domains ranging from Natural Language Processing to Autonomous Driving. In this paper, we study the robustness problem of Transformers, a key characteristic as low robustness may cause safety concerns. Specifically, we focus on Sparsemax-based Transformers and reduce the finding of their maximum robustness to a Mixed Integer Quadratically Constrained Programming (MIQCP) problem. We also design two pre-processing heuristics that can be embedded in the MIQCP encoding and substantially accelerate its solving. We then conduct experiments using the application of Land Departure Warning to compare the robustness of Sparsemax-based Transformers against that of the more conventional Multi-Layer-Perceptron (MLP) NNs. To our surprise, Transformers are not necessarily more robust, leading to profound considerations in selecting appropriate NN architectures for safety-critical domain applications.

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

↑