计算机科学 > 数据库
[提交于 2024年9月24日]
标题:PACE: Poisoning Attacks on Learned Cardinality Estimation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Cardinality estimation (CE) plays a crucial role in database optimizer. We have witnessed the emergence of numerous learned CE models recently which can outperform traditional methods such as histograms and samplings. However, learned models also bring many security risks. For example, a query-driven learned CE model learns a query-to-cardinality mapping based on the historical workload. Such a learned model could be attacked by poisoning queries, which are crafted by malicious attackers and woven into the historical workload, leading to performance degradation of CE. In this paper, we explore the potential security risks in learned CE and study a new problem of poisoning attacks on learned CE in a black-box setting. Experiments show that PACE reduces the accuracy of the learned CE models by 178 times, leading to a 10 times decrease in the end-to-end performance of the target database.
提交历史
来自:Jintao Zhang[v1] 2024年9月24日 星期二 11:45:23 UTC