Towards the AlexNet Moment for Homomorphic Encryption: HCNN, theFirst Homomorphic CNN on Encrypted Data with GPUs

Deep Learning as a Service (DLaaS) stands as a promising solution for cloud-based inference applications. In this setting, the cloud has a pre-learned model whereas the user has samples on which she wants to run the model. The biggest concern with DLaaS is user privacy if the input samples are sensi...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Badawi, Ahmad Al, Chao, Jin, Lin, Jie, Mun, Chan Fook, Sim, Jun Jie, Tan, Benjamin Hong Meng, Nan, Xiao, Aung, Khin Mi Mi, Chandrasekhar, Vijay Ramaseshan
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 Badawi, Ahmad Al
Chao, Jin
Lin, Jie
Mun, Chan Fook
Sim, Jun Jie
Tan, Benjamin Hong Meng
Nan, Xiao
Aung, Khin Mi Mi
Chandrasekhar, Vijay Ramaseshan
description Deep Learning as a Service (DLaaS) stands as a promising solution for cloud-based inference applications. In this setting, the cloud has a pre-learned model whereas the user has samples on which she wants to run the model. The biggest concern with DLaaS is user privacy if the input samples are sensitive data. We provide here an efficient privacy-preserving system by employing high-end technologies such as Fully Homomorphic Encryption (FHE), Convolutional Neural Networks (CNNs) and Graphics Processing Units (GPUs). FHE, with its widely-known feature of computing on encrypted data, empowers a wide range of privacy-concerned applications. This comes at high cost as it requires enormous computing power. In this paper, we show how to accelerate the performance of running CNNs on encrypted data with GPUs. We evaluated two CNNs to classify homomorphically the MNIST and CIFAR-10 datasets. Our solution achieved a sufficient security level (> 80 bit) and reasonable classification accuracy (99%) and (77.55%) for MNIST and CIFAR-10, respectively. In terms of latency, we could classify an image in 5.16 seconds and 304.43 seconds for MNIST and CIFAR-10, respectively. Our system can also classify a batch of images (> 8,000) without extra overhead.
doi_str_mv 10.48550/arxiv.1811.00778
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_1811_00778</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>1811_00778</sourcerecordid><originalsourceid>FETCH-LOGICAL-a678-93c12fb6cc9126edf65c205225db5b7073a79a85ffb9b62e2cfbb7f91fe30b8c3</originalsourceid><addsrcrecordid>eNpVj7tOwzAYhb0woMIDMPE_AAm2g2OHrQq9SSUwhDmyHVux1MTBsWj79rQFBnSGM5yL9CF0R3D6JBjDjzIc3FdKBCEpxpyLa_RZ-70M7QSxMzDfmUNlIrz63gwRrA-w9v1JYeychsWgw3GMzg_PsC6r6uE8WrowxX-1UwJ--GubFl5klLB3sYPV-8d0g66s3E3m9tdnqF4u6nKdbN9Wm3K-TWTORVJkmlCrcq0LQnPT2pxpihmlrFVMccwzyQspmLWqUDk1VFuluC2INRlWQmczdP9ze2FuxuB6GY7Nmb25sGffl-RVPA</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Towards the AlexNet Moment for Homomorphic Encryption: HCNN, theFirst Homomorphic CNN on Encrypted Data with GPUs</title><source>arXiv.org</source><creator>Badawi, Ahmad Al ; Chao, Jin ; Lin, Jie ; Mun, Chan Fook ; Sim, Jun Jie ; Tan, Benjamin Hong Meng ; Nan, Xiao ; Aung, Khin Mi Mi ; Chandrasekhar, Vijay Ramaseshan</creator><creatorcontrib>Badawi, Ahmad Al ; Chao, Jin ; Lin, Jie ; Mun, Chan Fook ; Sim, Jun Jie ; Tan, Benjamin Hong Meng ; Nan, Xiao ; Aung, Khin Mi Mi ; Chandrasekhar, Vijay Ramaseshan</creatorcontrib><description>Deep Learning as a Service (DLaaS) stands as a promising solution for cloud-based inference applications. In this setting, the cloud has a pre-learned model whereas the user has samples on which she wants to run the model. The biggest concern with DLaaS is user privacy if the input samples are sensitive data. We provide here an efficient privacy-preserving system by employing high-end technologies such as Fully Homomorphic Encryption (FHE), Convolutional Neural Networks (CNNs) and Graphics Processing Units (GPUs). FHE, with its widely-known feature of computing on encrypted data, empowers a wide range of privacy-concerned applications. This comes at high cost as it requires enormous computing power. In this paper, we show how to accelerate the performance of running CNNs on encrypted data with GPUs. We evaluated two CNNs to classify homomorphically the MNIST and CIFAR-10 datasets. Our solution achieved a sufficient security level (&gt; 80 bit) and reasonable classification accuracy (99%) and (77.55%) for MNIST and CIFAR-10, respectively. In terms of latency, we could classify an image in 5.16 seconds and 304.43 seconds for MNIST and CIFAR-10, respectively. Our system can also classify a batch of images (&gt; 8,000) without extra overhead.</description><identifier>DOI: 10.48550/arxiv.1811.00778</identifier><language>eng</language><subject>Computer Science - Cryptography and Security ; Computer Science - Learning</subject><creationdate>2018-11</creationdate><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,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/1811.00778$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.1811.00778$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Badawi, Ahmad Al</creatorcontrib><creatorcontrib>Chao, Jin</creatorcontrib><creatorcontrib>Lin, Jie</creatorcontrib><creatorcontrib>Mun, Chan Fook</creatorcontrib><creatorcontrib>Sim, Jun Jie</creatorcontrib><creatorcontrib>Tan, Benjamin Hong Meng</creatorcontrib><creatorcontrib>Nan, Xiao</creatorcontrib><creatorcontrib>Aung, Khin Mi Mi</creatorcontrib><creatorcontrib>Chandrasekhar, Vijay Ramaseshan</creatorcontrib><title>Towards the AlexNet Moment for Homomorphic Encryption: HCNN, theFirst Homomorphic CNN on Encrypted Data with GPUs</title><description>Deep Learning as a Service (DLaaS) stands as a promising solution for cloud-based inference applications. In this setting, the cloud has a pre-learned model whereas the user has samples on which she wants to run the model. The biggest concern with DLaaS is user privacy if the input samples are sensitive data. We provide here an efficient privacy-preserving system by employing high-end technologies such as Fully Homomorphic Encryption (FHE), Convolutional Neural Networks (CNNs) and Graphics Processing Units (GPUs). FHE, with its widely-known feature of computing on encrypted data, empowers a wide range of privacy-concerned applications. This comes at high cost as it requires enormous computing power. In this paper, we show how to accelerate the performance of running CNNs on encrypted data with GPUs. We evaluated two CNNs to classify homomorphically the MNIST and CIFAR-10 datasets. Our solution achieved a sufficient security level (&gt; 80 bit) and reasonable classification accuracy (99%) and (77.55%) for MNIST and CIFAR-10, respectively. In terms of latency, we could classify an image in 5.16 seconds and 304.43 seconds for MNIST and CIFAR-10, respectively. Our system can also classify a batch of images (&gt; 8,000) without extra overhead.</description><subject>Computer Science - Cryptography and Security</subject><subject>Computer Science - Learning</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2018</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNpVj7tOwzAYhb0woMIDMPE_AAm2g2OHrQq9SSUwhDmyHVux1MTBsWj79rQFBnSGM5yL9CF0R3D6JBjDjzIc3FdKBCEpxpyLa_RZ-70M7QSxMzDfmUNlIrz63gwRrA-w9v1JYeychsWgw3GMzg_PsC6r6uE8WrowxX-1UwJ--GubFl5klLB3sYPV-8d0g66s3E3m9tdnqF4u6nKdbN9Wm3K-TWTORVJkmlCrcq0LQnPT2pxpihmlrFVMccwzyQspmLWqUDk1VFuluC2INRlWQmczdP9ze2FuxuB6GY7Nmb25sGffl-RVPA</recordid><startdate>20181102</startdate><enddate>20181102</enddate><creator>Badawi, Ahmad Al</creator><creator>Chao, Jin</creator><creator>Lin, Jie</creator><creator>Mun, Chan Fook</creator><creator>Sim, Jun Jie</creator><creator>Tan, Benjamin Hong Meng</creator><creator>Nan, Xiao</creator><creator>Aung, Khin Mi Mi</creator><creator>Chandrasekhar, Vijay Ramaseshan</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20181102</creationdate><title>Towards the AlexNet Moment for Homomorphic Encryption: HCNN, theFirst Homomorphic CNN on Encrypted Data with GPUs</title><author>Badawi, Ahmad Al ; Chao, Jin ; Lin, Jie ; Mun, Chan Fook ; Sim, Jun Jie ; Tan, Benjamin Hong Meng ; Nan, Xiao ; Aung, Khin Mi Mi ; Chandrasekhar, Vijay Ramaseshan</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a678-93c12fb6cc9126edf65c205225db5b7073a79a85ffb9b62e2cfbb7f91fe30b8c3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2018</creationdate><topic>Computer Science - Cryptography and Security</topic><topic>Computer Science - Learning</topic><toplevel>online_resources</toplevel><creatorcontrib>Badawi, Ahmad Al</creatorcontrib><creatorcontrib>Chao, Jin</creatorcontrib><creatorcontrib>Lin, Jie</creatorcontrib><creatorcontrib>Mun, Chan Fook</creatorcontrib><creatorcontrib>Sim, Jun Jie</creatorcontrib><creatorcontrib>Tan, Benjamin Hong Meng</creatorcontrib><creatorcontrib>Nan, Xiao</creatorcontrib><creatorcontrib>Aung, Khin Mi Mi</creatorcontrib><creatorcontrib>Chandrasekhar, Vijay Ramaseshan</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Badawi, Ahmad Al</au><au>Chao, Jin</au><au>Lin, Jie</au><au>Mun, Chan Fook</au><au>Sim, Jun Jie</au><au>Tan, Benjamin Hong Meng</au><au>Nan, Xiao</au><au>Aung, Khin Mi Mi</au><au>Chandrasekhar, Vijay Ramaseshan</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Towards the AlexNet Moment for Homomorphic Encryption: HCNN, theFirst Homomorphic CNN on Encrypted Data with GPUs</atitle><date>2018-11-02</date><risdate>2018</risdate><abstract>Deep Learning as a Service (DLaaS) stands as a promising solution for cloud-based inference applications. In this setting, the cloud has a pre-learned model whereas the user has samples on which she wants to run the model. The biggest concern with DLaaS is user privacy if the input samples are sensitive data. We provide here an efficient privacy-preserving system by employing high-end technologies such as Fully Homomorphic Encryption (FHE), Convolutional Neural Networks (CNNs) and Graphics Processing Units (GPUs). FHE, with its widely-known feature of computing on encrypted data, empowers a wide range of privacy-concerned applications. This comes at high cost as it requires enormous computing power. In this paper, we show how to accelerate the performance of running CNNs on encrypted data with GPUs. We evaluated two CNNs to classify homomorphically the MNIST and CIFAR-10 datasets. Our solution achieved a sufficient security level (&gt; 80 bit) and reasonable classification accuracy (99%) and (77.55%) for MNIST and CIFAR-10, respectively. In terms of latency, we could classify an image in 5.16 seconds and 304.43 seconds for MNIST and CIFAR-10, respectively. Our system can also classify a batch of images (&gt; 8,000) without extra overhead.</abstract><doi>10.48550/arxiv.1811.00778</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.1811.00778
ispartof
issn
language eng
recordid cdi_arxiv_primary_1811_00778
source arXiv.org
subjects Computer Science - Cryptography and Security
Computer Science - Learning
title Towards the AlexNet Moment for Homomorphic Encryption: HCNN, theFirst Homomorphic CNN on Encrypted Data with GPUs
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-08T02%3A57%3A04IST&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=Towards%20the%20AlexNet%20Moment%20for%20Homomorphic%20Encryption:%20HCNN,%20theFirst%20Homomorphic%20CNN%20on%20Encrypted%20Data%20with%20GPUs&rft.au=Badawi,%20Ahmad%20Al&rft.date=2018-11-02&rft_id=info:doi/10.48550/arxiv.1811.00778&rft_dat=%3Carxiv_GOX%3E1811_00778%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