Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2008.00297

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Cryptography and Security

arXiv:2008.00297 (cs)
[Submitted on 1 Aug 2020 (v1), last revised 27 Feb 2022 (this version, v2)]

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

Authors:Evgenios M. Kornaropoulos, Silei Ren, Roberto Tamassia
View a PDF of the paper titled The Price of Tailoring the Index to Your Data: Poisoning Attacks on Learned Index Structures, by Evgenios M. Kornaropoulos and 2 other authors
View PDF
Abstract: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$.
Comments: Preliminary version appeared in the Proceedings of the ACM International Conference on Management of Data 2022 (SIGMOD'22)
Subjects: Cryptography and Security (cs.CR); Databases (cs.DB); Data Structures and Algorithms (cs.DS); Machine Learning (cs.LG)
Cite as: arXiv:2008.00297 [cs.CR]
  (or arXiv:2008.00297v2 [cs.CR] for this version)
  https://doi.org/10.48550/arXiv.2008.00297
arXiv-issued DOI via DataCite

Submission history

From: Evgenios M. Kornaropoulos [view email]
[v1] Sat, 1 Aug 2020 17:12:04 UTC (2,483 KB)
[v2] Sun, 27 Feb 2022 16:47:02 UTC (1,466 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled The Price of Tailoring the Index to Your Data: Poisoning Attacks on Learned Index Structures, by Evgenios M. Kornaropoulos and 2 other authors
  • View PDF
  • Other Formats
license icon view license
Current browse context:
cs.CR
< prev   |   next >
new | recent | 2020-08
Change to browse by:
cs
cs.DB
cs.DS
cs.LG

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Evgenios M. Kornaropoulos
Roberto Tamassia
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack