Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution Functions
Organizations: Graduate School of Information Science and Technology, The University of Tokyo, Tokyo, Japan · Algorithms Group, IT University of Copenhagen, Copenhagen, Denmark
Abstract
Learned indexes are a class of index data structures that enable fast search by approximating the cumulative distribution function (CDF) using machine learning models (Kraska et al., SIGMOD'18). However, recent studies have shown that learned indexes are vulnerable to poisoning attacks, where injecting a small number of poison keys into the training data can significantly degrade model accuracy and reduce index performance (Kornaropoulos et al., SIGMOD'22). In this work, we provide a rigorous theoretical analysis of poisoning attacks targeting linear regression models over CDFs, one of the most basic regression models and a core component in many learned indexes. Our main contributions are as follows: (i) We present a theoretical proof characterizing the optimal single-point poisoning attack and show that the existing method yields the optimal attack. (ii) We show that in multi-point attacks, the existing greedy approach is not always optimal, and we rigorously derive the key properties that an optimal attack should satisfy. (iii) We propose a method to compute an upper bound of the multi-point poisoning attack's impact and empirically demonstrate that the loss under the greedy approach is often close to this bound. Our study deepens the theoretical understanding of attack strategies against linear regression models on CDFs and provides a foundation for the theoretical evaluation of attacks and defenses on learned indexes.
Figures & tables
| Original Setting ( Definition 2 ) | Relaxed Setting ( Definition 2 ) | |||
| Algorithm | Time Complexity | Empirical Performance (Ratio) | Time Complexity | Empirical Performance (Ratio) |
| Greedy ( Kornaropoulos et al., 2022 ) | - | - | ||
| Exact Seg+E (Ours) | ||||
| Heuristic Seg+E (Ours) | - | - | ||
| Optimal (Ours) | 1 | 1 | ||
| Upper Bound (Ours) | or | or | ||
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Data Poisoning Attacks
Data poisoning attacks manipulate training or retrieval data to corrupt model behavior, implant backdoors, or undermine reliability.
See all 125 papers