EVA: An Encrypted Vector Arithmetic Language and Compiler for Efficient Homomorphic Computation
Fully-Homomorphic Encryption (FHE) offers powerful capabilities by enabling secure offloading of both storage and computation, and recent innovations in schemes and implementations have made it all the more attractive. At the same time, FHE is notoriously hard to use with a very constrained programm...
Gespeichert in:
Veröffentlicht in: | arXiv.org 2020-06 |
---|---|
Hauptverfasser: | , , , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | |
container_start_page | |
container_title | arXiv.org |
container_volume | |
creator | Dathathri, Roshan Kostova, Blagovesta Saarikivi, Olli Dai, Wei Laine, Kim Musuvathi, Madanlal |
description | Fully-Homomorphic Encryption (FHE) offers powerful capabilities by enabling secure offloading of both storage and computation, and recent innovations in schemes and implementations have made it all the more attractive. At the same time, FHE is notoriously hard to use with a very constrained programming model, a very unusual performance profile, and many cryptographic constraints. Existing compilers for FHE either target simpler but less efficient FHE schemes or only support specific domains where they can rely on expert-provided high-level runtimes to hide complications. This paper presents a new FHE language called Encrypted Vector Arithmetic (EVA), which includes an optimizing compiler that generates correct and secure FHE programs, while hiding all the complexities of the target FHE scheme. Bolstered by our optimizing compiler, programmers can develop efficient general-purpose FHE applications directly in EVA. For example, we have developed image processing applications using EVA, with a very few lines of code. EVA is designed to also work as an intermediate representation that can be a target for compiling higher-level domain-specific languages. To demonstrate this, we have re-targeted CHET, an existing domain-specific compiler for neural network inference, onto EVA. Due to the novel optimizations in EVA, its programs are on average 5.3x faster than those generated by CHET. We believe that EVA would enable a wider adoption of FHE by making it easier to develop FHE applications and domain-specific FHE compilers. |
doi_str_mv | 10.48550/arxiv.1912.11951 |
format | Article |
fullrecord | <record><control><sourceid>proquest_arxiv</sourceid><recordid>TN_cdi_arxiv_primary_1912_11951</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2331357850</sourcerecordid><originalsourceid>FETCH-LOGICAL-a520-521d0958e6ca82700aa92802fd0ab9aab742d694bcb2588dc91f268a131671e93</originalsourceid><addsrcrecordid>eNotkMtqwzAQRUWh0JDmA7qqoGun0siype5McJtCoJuQrRnLcqIQPyrLpfn7OkmZxd0cLncOIU-cLWMlJXtF_-t-llxzWHKuJb8jMxCCRyoGeCCLYTgyxiBJQUoxI0W-y95o1tK8Nf7cB1vRnTWh8zTzLhwaG5yhG2z3I-4txbaiq67p3cl6Wk9QXtfOONsGuu6a6Xx_mPgLMgYMrmsfyX2Np8Eu_nNOtu_5drWONl8fn6tsE6EEFkngFdNS2cSggpQxRA2KQV0xLDVimcZQJTouTQlSqcpoXkOikAuepNxqMSfPt9rr90XvXYP-XFwsFFcLE_FyI3rffY92CMWxG307bSoueoRMlWTiD-xxXyI</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2331357850</pqid></control><display><type>article</type><title>EVA: An Encrypted Vector Arithmetic Language and Compiler for Efficient Homomorphic Computation</title><source>arXiv.org</source><source>Free E- Journals</source><creator>Dathathri, Roshan ; Kostova, Blagovesta ; Saarikivi, Olli ; Dai, Wei ; Laine, Kim ; Musuvathi, Madanlal</creator><creatorcontrib>Dathathri, Roshan ; Kostova, Blagovesta ; Saarikivi, Olli ; Dai, Wei ; Laine, Kim ; Musuvathi, Madanlal</creatorcontrib><description>Fully-Homomorphic Encryption (FHE) offers powerful capabilities by enabling secure offloading of both storage and computation, and recent innovations in schemes and implementations have made it all the more attractive. At the same time, FHE is notoriously hard to use with a very constrained programming model, a very unusual performance profile, and many cryptographic constraints. Existing compilers for FHE either target simpler but less efficient FHE schemes or only support specific domains where they can rely on expert-provided high-level runtimes to hide complications. This paper presents a new FHE language called Encrypted Vector Arithmetic (EVA), which includes an optimizing compiler that generates correct and secure FHE programs, while hiding all the complexities of the target FHE scheme. Bolstered by our optimizing compiler, programmers can develop efficient general-purpose FHE applications directly in EVA. For example, we have developed image processing applications using EVA, with a very few lines of code. EVA is designed to also work as an intermediate representation that can be a target for compiling higher-level domain-specific languages. To demonstrate this, we have re-targeted CHET, an existing domain-specific compiler for neural network inference, onto EVA. Due to the novel optimizations in EVA, its programs are on average 5.3x faster than those generated by CHET. We believe that EVA would enable a wider adoption of FHE by making it easier to develop FHE applications and domain-specific FHE compilers.</description><identifier>EISSN: 2331-8422</identifier><identifier>DOI: 10.48550/arxiv.1912.11951</identifier><language>eng</language><publisher>Ithaca: Cornell University Library, arXiv.org</publisher><subject>Arithmetic ; Compilers ; Computer Science - Cryptography and Security ; Computer Science - Learning ; Computer Science - Programming Languages ; Constraints ; Cryptography ; Domain specific languages ; Encryption ; Image processing ; Neural networks</subject><ispartof>arXiv.org, 2020-06</ispartof><rights>2020. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><rights>http://arxiv.org/licenses/nonexclusive-distrib/1.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,784,885,27925</link.rule.ids><backlink>$$Uhttps://doi.org/10.48550/arXiv.1912.11951$$DView paper in arXiv$$Hfree_for_read</backlink><backlink>$$Uhttps://doi.org/10.1145/3385412.3386023$$DView published paper (Access to full text may be restricted)$$Hfree_for_read</backlink></links><search><creatorcontrib>Dathathri, Roshan</creatorcontrib><creatorcontrib>Kostova, Blagovesta</creatorcontrib><creatorcontrib>Saarikivi, Olli</creatorcontrib><creatorcontrib>Dai, Wei</creatorcontrib><creatorcontrib>Laine, Kim</creatorcontrib><creatorcontrib>Musuvathi, Madanlal</creatorcontrib><title>EVA: An Encrypted Vector Arithmetic Language and Compiler for Efficient Homomorphic Computation</title><title>arXiv.org</title><description>Fully-Homomorphic Encryption (FHE) offers powerful capabilities by enabling secure offloading of both storage and computation, and recent innovations in schemes and implementations have made it all the more attractive. At the same time, FHE is notoriously hard to use with a very constrained programming model, a very unusual performance profile, and many cryptographic constraints. Existing compilers for FHE either target simpler but less efficient FHE schemes or only support specific domains where they can rely on expert-provided high-level runtimes to hide complications. This paper presents a new FHE language called Encrypted Vector Arithmetic (EVA), which includes an optimizing compiler that generates correct and secure FHE programs, while hiding all the complexities of the target FHE scheme. Bolstered by our optimizing compiler, programmers can develop efficient general-purpose FHE applications directly in EVA. For example, we have developed image processing applications using EVA, with a very few lines of code. EVA is designed to also work as an intermediate representation that can be a target for compiling higher-level domain-specific languages. To demonstrate this, we have re-targeted CHET, an existing domain-specific compiler for neural network inference, onto EVA. Due to the novel optimizations in EVA, its programs are on average 5.3x faster than those generated by CHET. We believe that EVA would enable a wider adoption of FHE by making it easier to develop FHE applications and domain-specific FHE compilers.</description><subject>Arithmetic</subject><subject>Compilers</subject><subject>Computer Science - Cryptography and Security</subject><subject>Computer Science - Learning</subject><subject>Computer Science - Programming Languages</subject><subject>Constraints</subject><subject>Cryptography</subject><subject>Domain specific languages</subject><subject>Encryption</subject><subject>Image processing</subject><subject>Neural networks</subject><issn>2331-8422</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2020</creationdate><recordtype>article</recordtype><sourceid>ABUWG</sourceid><sourceid>AFKRA</sourceid><sourceid>AZQEC</sourceid><sourceid>BENPR</sourceid><sourceid>CCPQU</sourceid><sourceid>DWQXO</sourceid><sourceid>GOX</sourceid><recordid>eNotkMtqwzAQRUWh0JDmA7qqoGun0siype5McJtCoJuQrRnLcqIQPyrLpfn7OkmZxd0cLncOIU-cLWMlJXtF_-t-llxzWHKuJb8jMxCCRyoGeCCLYTgyxiBJQUoxI0W-y95o1tK8Nf7cB1vRnTWh8zTzLhwaG5yhG2z3I-4txbaiq67p3cl6Wk9QXtfOONsGuu6a6Xx_mPgLMgYMrmsfyX2Np8Eu_nNOtu_5drWONl8fn6tsE6EEFkngFdNS2cSggpQxRA2KQV0xLDVimcZQJTouTQlSqcpoXkOikAuepNxqMSfPt9rr90XvXYP-XFwsFFcLE_FyI3rffY92CMWxG307bSoueoRMlWTiD-xxXyI</recordid><startdate>20200626</startdate><enddate>20200626</enddate><creator>Dathathri, Roshan</creator><creator>Kostova, Blagovesta</creator><creator>Saarikivi, Olli</creator><creator>Dai, Wei</creator><creator>Laine, Kim</creator><creator>Musuvathi, Madanlal</creator><general>Cornell University Library, arXiv.org</general><scope>8FE</scope><scope>8FG</scope><scope>ABJCF</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>HCIFZ</scope><scope>L6V</scope><scope>M7S</scope><scope>PIMPY</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>PTHSS</scope><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20200626</creationdate><title>EVA: An Encrypted Vector Arithmetic Language and Compiler for Efficient Homomorphic Computation</title><author>Dathathri, Roshan ; Kostova, Blagovesta ; Saarikivi, Olli ; Dai, Wei ; Laine, Kim ; Musuvathi, Madanlal</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a520-521d0958e6ca82700aa92802fd0ab9aab742d694bcb2588dc91f268a131671e93</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2020</creationdate><topic>Arithmetic</topic><topic>Compilers</topic><topic>Computer Science - Cryptography and Security</topic><topic>Computer Science - Learning</topic><topic>Computer Science - Programming Languages</topic><topic>Constraints</topic><topic>Cryptography</topic><topic>Domain specific languages</topic><topic>Encryption</topic><topic>Image processing</topic><topic>Neural networks</topic><toplevel>online_resources</toplevel><creatorcontrib>Dathathri, Roshan</creatorcontrib><creatorcontrib>Kostova, Blagovesta</creatorcontrib><creatorcontrib>Saarikivi, Olli</creatorcontrib><creatorcontrib>Dai, Wei</creatorcontrib><creatorcontrib>Laine, Kim</creatorcontrib><creatorcontrib>Musuvathi, Madanlal</creatorcontrib><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>Materials Science & Engineering Collection</collection><collection>ProQuest Central (Alumni Edition)</collection><collection>ProQuest Central UK/Ireland</collection><collection>ProQuest Central Essentials</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central Korea</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Engineering Collection</collection><collection>Engineering Database</collection><collection>Access via ProQuest (Open Access)</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>Engineering Collection</collection><collection>arXiv Computer Science</collection><collection>arXiv.org</collection><jtitle>arXiv.org</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Dathathri, Roshan</au><au>Kostova, Blagovesta</au><au>Saarikivi, Olli</au><au>Dai, Wei</au><au>Laine, Kim</au><au>Musuvathi, Madanlal</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>EVA: An Encrypted Vector Arithmetic Language and Compiler for Efficient Homomorphic Computation</atitle><jtitle>arXiv.org</jtitle><date>2020-06-26</date><risdate>2020</risdate><eissn>2331-8422</eissn><abstract>Fully-Homomorphic Encryption (FHE) offers powerful capabilities by enabling secure offloading of both storage and computation, and recent innovations in schemes and implementations have made it all the more attractive. At the same time, FHE is notoriously hard to use with a very constrained programming model, a very unusual performance profile, and many cryptographic constraints. Existing compilers for FHE either target simpler but less efficient FHE schemes or only support specific domains where they can rely on expert-provided high-level runtimes to hide complications. This paper presents a new FHE language called Encrypted Vector Arithmetic (EVA), which includes an optimizing compiler that generates correct and secure FHE programs, while hiding all the complexities of the target FHE scheme. Bolstered by our optimizing compiler, programmers can develop efficient general-purpose FHE applications directly in EVA. For example, we have developed image processing applications using EVA, with a very few lines of code. EVA is designed to also work as an intermediate representation that can be a target for compiling higher-level domain-specific languages. To demonstrate this, we have re-targeted CHET, an existing domain-specific compiler for neural network inference, onto EVA. Due to the novel optimizations in EVA, its programs are on average 5.3x faster than those generated by CHET. We believe that EVA would enable a wider adoption of FHE by making it easier to develop FHE applications and domain-specific FHE compilers.</abstract><cop>Ithaca</cop><pub>Cornell University Library, arXiv.org</pub><doi>10.48550/arxiv.1912.11951</doi><oa>free_for_read</oa></addata></record> |
fulltext | fulltext |
identifier | EISSN: 2331-8422 |
ispartof | arXiv.org, 2020-06 |
issn | 2331-8422 |
language | eng |
recordid | cdi_arxiv_primary_1912_11951 |
source | arXiv.org; Free E- Journals |
subjects | Arithmetic Compilers Computer Science - Cryptography and Security Computer Science - Learning Computer Science - Programming Languages Constraints Cryptography Domain specific languages Encryption Image processing Neural networks |
title | EVA: An Encrypted Vector Arithmetic Language and Compiler for Efficient Homomorphic Computation |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-27T02%3A48%3A37IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_arxiv&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=EVA:%20An%20Encrypted%20Vector%20Arithmetic%20Language%20and%20Compiler%20for%20Efficient%20Homomorphic%20Computation&rft.jtitle=arXiv.org&rft.au=Dathathri,%20Roshan&rft.date=2020-06-26&rft.eissn=2331-8422&rft_id=info:doi/10.48550/arxiv.1912.11951&rft_dat=%3Cproquest_arxiv%3E2331357850%3C/proquest_arxiv%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=2331357850&rft_id=info:pmid/&rfr_iscdi=true |