Quantization Backdoors to Deep Learning Commercial Frameworks
The University of Adelaide(阿德莱德大学);Data61, CSIRO(联邦科学与工业研究组织数据61所);Nanjing University of Science and Technology(南京理工大学);The University of Western Australia(西澳大学);Hunan University(湖南大学)
Currently, there is a burgeoning demand for deploying deep learning (DL) models on ubiquitous edge Internet of Things (IoT) devices attributed to their low latency and high privacy preservation. However, DL models are often large in size and require large-scale computation, which prevents them from being placed directly onto IoT devices, where resources are constrained and 32-bit floating-point (float-32) operations are unavailable. Commercial framework (i.e., a set of toolkits) empowered model quantization is a pragmatic solution that enables DL deployment on mobile devices and embedded systems by effortlessly post-quantizing a large high-precision model (e.g., float-32) into a small low-precision model (e.g., int-8) while retaining the model inference accuracy. However, their usability might be threatened by security vulnerabilities.
This work reveals that the standard quantization toolkits can be abused to activate a backdoor. We demonstrate that a full-precision backdoored model which does not have any backdoor effect in the presence of a trigger -- as the backdoor is dormant -- can be activated by the default i) TensorFlow-Lite (TFLite) quantization, the only product-ready quantization framework to date, and ii) the beta released PyTorch Mobile framework. When each of the float-32 models is converted into an int-8 format model through the standard TFLite or Pytorch Mobile framework's post-training quantization, the backdoor is activated in the quantized model, which shows a stable attack success rate close to 100% upon inputs with the trigger, while it behaves normally upon non-trigger inputs. This work highlights that a stealthy security threat occurs when an end user utilizes the on-device post-training model quantization frameworks, informing security researchers of cross-platform overhaul of DL models post quantization even if these models pass front-end backdoor inspections.
QuantGuard: Learnable Rounding for Repairing Quantization-Conditioned Backdoors in LLMs
School of Cyber Science and Technology, Shandong University(山东大学网络空间安全学院);Suzhou Research Institute of Shandong University(山东大学苏州研究院);University of Illinois Chicago(伊利诺伊大学芝加哥分校)
Nearest is Not Dearest: Towards Practical Defense against Quantization-conditioned Backdoor Attacks
The State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全国家重点实验室);School of Cyber Science and Engineering, Wuhan University(武汉大学网络安全学院);School of Computer Science and Engineering, Central South University(中南大学计算机科学与工程学院);X Digital Dynamics(X数字动力公司);Tencent Data Platform(腾讯数据平台)
Open-sourced Dataset Protection via Backdoor Watermarking
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学清华深圳国际研究生院);School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院);Shenzhen Research Institute of Big Data(深圳大数据研究院)
深度学习的快速发展得益于一些高质量开源数据集($e.g.$,ImageNet)的发布,这使得研究人员可以轻松验证其算法的有效性。几乎所有现有的开源数据集都要求它们只能用于学术或教育目的,而不能用于商业目的,然而仍然没有很好的方法来保护它们。在本文中,我们提出了一种\emph{backdoor embedding based dataset watermarking}方法,通过验证它是否用于训练第三方模型来保护开源图像分类数据集。具体而言,所提出的方法包含两个主要过程,包括\emph{dataset watermarking}和\emph{dataset verification}。我们采用经典的基于中毒的后门攻击($e.g.$,BadNets)的数据集水印,即通过添加特定的触发器($e.g.$,一个本地补丁)到一些良性的样本,与预定义的目标类标记产生一些中毒的样本。在提出的基于后门的水印算法的基础上,采用假设检验指导的方法,基于可疑第三方模型生成的良性样本及其对应的水印样本($i.e.$,带触发器的图像)在目标类上的后验概率进行数据集验证。在一些基准数据集上的实验验证了该方法的有效性。
Black-box Dataset Ownership Verification via Backdoor Watermarking
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);School of Information Science and Technology, Southwest Jiaotong University(西南交通大学信息科学与技术学院);Research Center of Artificial Intelligence, Peng Cheng Laboratory(鹏城实验室人工智能研究中心);Ant Group(蚂蚁集团)
SSL-WM: A Black-Box Watermarking Approach for Encoders Pre-trained by Self-supervised Learning
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Department of Computer Science, Metropolitan College, Boston University(波士顿大学大都会学院计算机科学系)
Towards Robust Model Watermark via Reducing Parametric Vulnerability
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院,清华大学);Ant Group(蚂蚁集团);The University of Tokyo(东京大学);Peng Cheng Laboratory(鹏城实验室)