arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.11327cs.DScs.CGcs.CRcs.DBcs.DC
收藏

抽样的对抗鲁棒性

The Adversarial Robustness of Sampling

Omri Ben-Eliezer, Eylon Yogev

摘要:

随机抽样是现代算法、统计学和机器学习中的基本原理,用作获得数据的小而“代表性”子集的通用方法。在这项工作中,我们研究了流设置中采样对自适应对抗攻击的鲁棒性:对手将来自宇宙$U$的元素流发送到采样算法(例如,Bernoulli采样或水库采样),目的是使样本对底层数据流“非常不具代表性”。攻击者是完全自适应的,因为它知道流中任何给定点的样本的确切内容,并且可以以在线方式相应地选择接下来发送哪个元素。静态设置中的众所周知的结果表明,如果预先(非自适应地)选择完整流,则大小为$Ω(d / \varepsilon^2)$的随机样本是具有良好概率的完整数据的$\varepsilon$近似,其中$d$是基础集合系统$(U,R)$的VC维度。这个样本量是否足以抵抗适应性对手?简单的答案是\emph{negative}:我们展示了一个固定的样本大小(对应于VC维$1$)在静态设置中就足够了,但自适应对手可以使样本非常不具代表性,只要样本大小是(强)次线性的流长度,使用一个简单且易于实现的攻击。然而,这种攻击是“理论上的”,要求设置的系统大小(基本上)是流长度的指数。这不是巧合:我们表明,要使伯努利或水库采样强大的自适应对手,所需的修改仅仅是取代VC维项$d$的基数项$\log |R|$的样本量。这几乎与攻击所施加的限制相符。

英文摘要:

Random sampling is a fundamental primitive in modern algorithms, statistics, and machine learning, used as a generic method to obtain a small yet "representative" subset of the data. In this work, we investigate the robustness of sampling against adaptive adversarial attacks in a streaming setting: An adversary sends a stream of elements from a universe $U$ to a sampling algorithm (e.g., Bernoulli sampling or reservoir sampling), with the goal of making the sample "very unrepresentative" of the underlying data stream. The adversary is fully adaptive in the sense that it knows the exact content of the sample at any given point along the stream, and can choose which element to send next accordingly, in an online manner. Well-known results in the static setting indicate that if the full stream is chosen in advance (non-adaptively), then a random sample of size $Ω(d / \varepsilon^2)$ is an $\varepsilon$-approximation of the full data with good probability, where $d$ is the VC-dimension of the underlying set system $(U,R)$. Does this sample size suffice for robustness against an adaptive adversary? The simplistic answer is \emph{negative}: We demonstrate a set system where a constant sample size (corresponding to VC-dimension $1$) suffices in the static setting, yet an adaptive adversary can make the sample very unrepresentative, as long as the sample size is (strongly) sublinear in the stream length, using a simple and easy-to-implement attack. However, this attack is "theoretical only", requiring the set system size to (essentially) be exponential in the stream length. This is not a coincidence: We show that to make Bernoulli or reservoir sampling robust against adaptive adversaries, the modification required is solely to replace the VC-dimension term $d$ in the sample size with the cardinality term $\log |R|$. This nearly matches the bound imposed by the attack.

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

↑