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

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...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Kornaropoulos, Evgenios M, Ren, Silei, Tamassia, Roberto
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Kornaropoulos, Evgenios M
Ren, Silei
Tamassia, Roberto
description 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$.
doi_str_mv 10.48550/arxiv.2008.00297
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2008_00297</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2008_00297</sourcerecordid><originalsourceid>FETCH-LOGICAL-a677-e72f2f58c1c8b843a75b83220ffe1d590a1984ef3dbf2067207b05cf6a6ddf663</originalsourceid><addsrcrecordid>eNotj8tKxDAYhbNxIaMP4Mq8QOvftLnU3TDeBgoO2I0glL-5aHBMJE1lfHudy-rA4XwHPkKuKigbxTncYNr5n5IBqBKAtfKcvPUflm6S15ZGR3v025h8eKf5v14HY3c0R_oa50TvMOMt3UQ_xbBfLHNG_TnRGGhnMQVrTsBLTrPOc7LTBTlzuJ3s5SkXpH-471dPRff8uF4tuwKFlIWVzDHHla60GlVTo-SjqhkD52xleAtYtaqxrjajYyAkAzkC106gMMYJUS_I9fH2oDd8J_-F6XfYaw4HzfoPsYJNPQ</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>The Price of Tailoring the Index to Your Data: Poisoning Attacks on Learned Index Structures</title><source>arXiv.org</source><creator>Kornaropoulos, Evgenios M ; Ren, Silei ; Tamassia, Roberto</creator><creatorcontrib>Kornaropoulos, Evgenios M ; Ren, Silei ; Tamassia, Roberto</creatorcontrib><description>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$.</description><identifier>DOI: 10.48550/arxiv.2008.00297</identifier><language>eng</language><subject>Computer Science - Cryptography and Security ; Computer Science - Data Structures and Algorithms ; Computer Science - Databases ; Computer Science - Learning</subject><creationdate>2020-08</creationdate><rights>http://creativecommons.org/licenses/by/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2008.00297$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2008.00297$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Kornaropoulos, Evgenios M</creatorcontrib><creatorcontrib>Ren, Silei</creatorcontrib><creatorcontrib>Tamassia, Roberto</creatorcontrib><title>The Price of Tailoring the Index to Your Data: Poisoning Attacks on Learned Index Structures</title><description>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$.</description><subject>Computer Science - Cryptography and Security</subject><subject>Computer Science - Data Structures and Algorithms</subject><subject>Computer Science - Databases</subject><subject>Computer Science - Learning</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2020</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotj8tKxDAYhbNxIaMP4Mq8QOvftLnU3TDeBgoO2I0glL-5aHBMJE1lfHudy-rA4XwHPkKuKigbxTncYNr5n5IBqBKAtfKcvPUflm6S15ZGR3v025h8eKf5v14HY3c0R_oa50TvMOMt3UQ_xbBfLHNG_TnRGGhnMQVrTsBLTrPOc7LTBTlzuJ3s5SkXpH-471dPRff8uF4tuwKFlIWVzDHHla60GlVTo-SjqhkD52xleAtYtaqxrjajYyAkAzkC106gMMYJUS_I9fH2oDd8J_-F6XfYaw4HzfoPsYJNPQ</recordid><startdate>20200801</startdate><enddate>20200801</enddate><creator>Kornaropoulos, Evgenios M</creator><creator>Ren, Silei</creator><creator>Tamassia, Roberto</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20200801</creationdate><title>The Price of Tailoring the Index to Your Data: Poisoning Attacks on Learned Index Structures</title><author>Kornaropoulos, Evgenios M ; Ren, Silei ; Tamassia, Roberto</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a677-e72f2f58c1c8b843a75b83220ffe1d590a1984ef3dbf2067207b05cf6a6ddf663</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2020</creationdate><topic>Computer Science - Cryptography and Security</topic><topic>Computer Science - Data Structures and Algorithms</topic><topic>Computer Science - Databases</topic><topic>Computer Science - Learning</topic><toplevel>online_resources</toplevel><creatorcontrib>Kornaropoulos, Evgenios M</creatorcontrib><creatorcontrib>Ren, Silei</creatorcontrib><creatorcontrib>Tamassia, Roberto</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Kornaropoulos, Evgenios M</au><au>Ren, Silei</au><au>Tamassia, Roberto</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>The Price of Tailoring the Index to Your Data: Poisoning Attacks on Learned Index Structures</atitle><date>2020-08-01</date><risdate>2020</risdate><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$.</abstract><doi>10.48550/arxiv.2008.00297</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2008.00297
ispartof
issn
language eng
recordid cdi_arxiv_primary_2008_00297
source arXiv.org
subjects Computer Science - Cryptography and Security
Computer Science - Data Structures and Algorithms
Computer Science - Databases
Computer Science - Learning
title The Price of Tailoring the Index to Your Data: Poisoning Attacks on Learned Index Structures
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-06T14%3A24%3A56IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=The%20Price%20of%20Tailoring%20the%20Index%20to%20Your%20Data:%20Poisoning%20Attacks%20on%20Learned%20Index%20Structures&rft.au=Kornaropoulos,%20Evgenios%20M&rft.date=2020-08-01&rft_id=info:doi/10.48550/arxiv.2008.00297&rft_dat=%3Carxiv_GOX%3E2008_00297%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true