Algorithmic Complexity Attacks on Dynamic Learned Indexes
Rui Yang, Evgenios M. Kornaropoulos, Yue Cheng
摘要
Learned Index Structures (LIS) view a sorted index as a model that learns the data distribution, takes a data element key as input, and outputs the predicted position of the key. The original LIS can only handle lookup operations with no support for updates, rendering it impractical to use for typical workloads. To address this limitation, recent studies have focused on designing efficient dynamic learned indexes. ALEX, as the first and one of the representative dynamic learned index structures, enables dynamism by incorporating a series of design choices, including adaptive key space partitioning, dynamic model retraining, and sophisticated engineering and policies that prioritize read/write performance. While these design choices offer improved average-case performance, the emphasis on flexibility and performance increases the attack surface by allowing adversarial behaviors that maximize ALEX's memory space and time complexity in worst-case scenarios. In this work, we present the first systematic investigation of algorithmic complexity attacks (ACAs) targeting the worst-case scenarios of ALEX. We introduce new ACAs that fall into two categories, space ACAs and time ACAs, which target the memory space and time complexity, respectively. First, our space ACA on data nodes exploits ALEX's gapped array layout and uses Multiple-Choice Knapsack (MCK) to generate an optimal adversarial insertion plan for maximizing the memory consumption at the data node level. Second, our space ACA on internal nodes exploits ALEX's catastrophic cost mitigation mechanism, causing an out-of-memory (OOM) error with only a few hundred adversarial insertions. Third, our time ACA generates pathological insertions to increase the disparity between the actual key distribution and the linear models of data nodes, deteriorating the runtime performance by up to 1, 641× compared to ALEX operating under legitimate workloads.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Towards Systematic Index Dynamization 引用了 ALEX: An Updatable Adaptive Learned Index
- Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution Functions 引用了 ALEX: An Updatable Adaptive Learned Index
- Understanding Robustness Issues of Updatable Learned Indexes: [Experiments & Analysis] 引用了 Towards Systematic Index Dynamization
- Understanding Robustness Issues of Updatable Learned Indexes: [Experiments & Analysis] 引用了 ALEX: An Updatable Adaptive Learned Index
引用它的顶会 Paper3
- Towards Systematic Index DynamizationDouglas B. Rumbaugh, Dong Xie, Zhuoyue ZhaoVLDB 2024 · 6 次引用
- Understanding Robustness Issues of Updatable Learned Indexes: [Experiments & Analysis]Yuanhui Luo, Minhui Xie, Yiheng Tong, Shichao Jiang 等SIGMOD 2026 · 1 次引用
- Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution FunctionsAtsuki Sato, Martin Aumüller, Yusuke MatsuiSIGMOD 2026
它引用的 Paper22
- Manipulating Machine Learning: Poisoning Attacks and Countermeasures for Regression LearningMatthew Jagielski, Alina Oprea, Battista Biggio, Chang Liu 等S&P 2018 · 867 次引用
- When Does Machine Learning FAIL? Generalized Transferability for Evasion and Poisoning AttacksOctavian Suciu, Radu Marginean, Yigitcan Kaya, Hal Daumé III 等USENIX Security 2018 · 321 次引用
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
- SlowFuzz: Automated Domain-Independent Detection of Algorithmic Complexity VulnerabilitiesTheofilos Petsios, Jason Zhao, Angelos D. Keromytis, Suman JanaCCS 2017 · 214 次引用
- Learning Relaxed Belady for Content Distribution Network CachingZhenyu Song, Daniel S. Berger, Kai Li, Wyatt LloydNSDI 2020 · 193 次引用
相关 Paper
- High Performance or Low Memory? An Updatable Learned Index Framework for Time-Space TradeoffHui Wang, Xin Wang, Jiake Ge, Yunpeng Chai 等SIGMOD 2026
- The Price of Tailoring the Index to Your Data: Poisoning Attacks on Learned Index StructuresEvgenios M. Kornaropoulos, Silei Ren, Roberto TamassiaSIGMOD 2022 · 13 次引用
- On Self-Designing Learned IndexesBaofu Han, Guoyu Hu, Bing Li, Xiaokui Xiao 等SIGMOD 2026
- Learned Index with Dynamic Daoyuan Chen, Wuchao Li, Yaliang Li, Bolin Ding 等ICLR 2023
- ShapeShifter: Workload-Aware Adaptive Evolving Index Structures Based on Learned ModelsHui Wang, Xin Wang, Jiake Ge, Lei Liang 等WWW 2025 · 1 次引用
