Co(ve)rtex:作为存储信道的ML模型及其(不当)应用
Co(ve)rtex: ML Models as storage channels and their (mis-)applications
AI总结:
该研究从信息论视角将过参数化ML模型视为存储信道,推导容量上界,探究黑盒读写原语与隐蔽存储场景的优化方法,为理解和缓解ML模型漏洞提供新工具。
摘要:
机器学习(ML)模型为支持通用性和避免过拟合通常存在过参数化特性。只要不干扰模型的主任务,这些参数的状态本质上对主模型而言是“无关项”。在硬件和软件系统中,无关项状态和未定义行为已被证实是重大漏洞的来源。本文针对这一问题提出了一种全新的信息论视角:我们将ML模型视为一种存储信道,其容量随过参数化程度的提升而增加。具体而言,我们设定一个发送方在训练阶段将任意信息嵌入模型中,拥有已部署模型黑盒访问权限的接收方可以提取这些信息。我们基于可用未使用参数的数量推导出了该信道的容量上界。随后,我们探究了可供攻击者使用的黑盒写入和读取原语:(i)在发送端通过扩充训练数据,以优化方式在模型中存储数据;(ii)在模型部署后通过查询模型读取数据。我们还考虑了该问题的一个新版本,该版本将信息存储的隐蔽性纳入考量。具体来说,为实现存储隐蔽性,我们引入了一项新约束,即用于写入原语的数据扩充需最小化与初始(基线任务)分布的分布偏移。这一约束会对初始任务产生一定程度的“干扰”,从而限制信道的有效容量。因此,我们开发了多种优化方法来提升该场景下的容量,其中包括一种全新的、面向ML场景的基于替换的纠错协议。我们认为,本文提出的问题建模提供了新的工具,有助于更好地理解并缓解ML的潜在漏洞,尤其是在模型规模日益增大的背景下。
英文摘要:
Machine learning (ML) models are overparameterized to support generality and avoid overfitting. The state of these parameters is essentially a "don't-care" with respect to the primary model provided that this state does not interfere with the primary model. In both hardware and software systems, don't-care states and undefined behavior have been shown to be sources of significant vulnerabilities. In this paper, we propose a new information theoretic perspective of the problem; we consider the ML model as a storage channel with a capacity that increases with overparameterization. Specifically, we consider a sender that embeds arbitrary information in the model at training time, which can be extracted by a receiver with a black-box access to the deployed model. We derive an upper bound on the capacity of the channel based on the number of available unused parameters. We then explore black-box write and read primitives that allow the attacker to:(i) store data in an optimized way within the model by augmenting the training data at the transmitter side, and (ii) to read it by querying the model after it is deployed. We also consider a new version of the problem which takes information storage covertness into account. Specifically, to obtain storage covertness, we introduce a new constraint such that the data augmentation used for the write primitives minimizes the distribution shift with the initial (baseline task) distribution. This constraint introduces a level of "interference" with the initial task, thereby limiting the channel's effective capacity. Therefore, we develop optimizations to improve the capacity in this case, including a novel ML-specific substitution based error correction protocol. We believe that the proposed modeling of the problem offers new tools to better understand and mitigate potential vulnerabilities of ML, especially in the context of increasingly large models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。