arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2008.00297cs.CRcs.DBcs.DScs.LG
收藏

为你的数据量身定制指数的代价:对学习指数结构的中毒攻击

The Price of Tailoring the Index to Your Data: Poisoning Attacks on Learned Index Structures

George Mason University(乔治梅森大学);Cornell University(康奈尔大学);Brown University(布朗大学)

Evgenios M. Kornaropoulos, Silei Ren, Roberto Tamassia

摘要:

学习索引结构的概念依赖于这样的思想,即数据库索引的输入-输出功能可以被视为预测任务,因此可以使用机器学习模型而不是传统的算法技术来实现。这个几十年前的问题的新角度激发了机器学习和数据结构交叉领域的许多令人兴奋的结果。然而,学习索引结构的主要优点,即,通过底层ML模型调整到手头数据的能力,从安全的角度来看可能成为一个缺点,因为它可能被利用。在这项工作中,我们提出了第一个研究中毒攻击学习索引结构。所需的中毒方法与以前的所有工作都不同,因为受到攻击的模型是在累积分布函数(CDF)上训练的,因此,训练集上的每次注入都会对多个数据值产生级联影响。我们在CDF上训练的线性回归模型上制定了第一次中毒攻击,CDF是所提出的学习索引结构的基本构建块。我们将我们的中毒技术推广到攻击一个更先进的两阶段设计的学习索引结构,称为递归模型索引(RMI),它已被证明优于传统的B树。我们评估了我们的攻击下的各种参数化的模型,真实世界和合成数据集,并表明RMI的错误增加到$300\times$和其第二阶段模型的错误增加到$3000\times$。

英文摘要:

The concept of learned index structures relies on the idea that the input-output functionality of a database index can be viewed as a prediction task and, thus, be implemented using a machine learning model instead of traditional algorithmic techniques. This novel angle for a decades-old problem has inspired numerous exciting results in the intersection of machine learning and data structures. However, the main advantage of learned index structures, i.e., the ability to adjust to the data at hand via the underlying ML-model, can become a disadvantage from a security perspective as it could be exploited. In this work, we present the first study of poisoning attacks on learned index structures. The required poisoning approach is different from all previous works since the model under attack is trained on a cumulative distribution function (CDF) and, thus, every injection on the training set has a cascading impact on multiple data values. We formulate the first poisoning attacks on linear regression models trained on the CDF, which is a basic building block of the proposed learned index structures. We generalize our poisoning techniques to attack a more advanced two-stage design of learned index structures called recursive model index (RMI), which has been shown to outperform traditional B-Trees. We evaluate our attacks on real-world and synthetic datasets under a wide variety of parameterizations of the model and show that the error of the RMI increases up to $300\times$ and the error of its second-stage models increases up to $3000\times$.

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

↑