Duet: an expressive higher-order language and linear type system for statically enforcing differential privacy

Author:

Near Joseph P.1,Darais David1,Abuah Chike1,Stevens Tim1,Gaddamadugu Pranav2,Wang Lun2,Somani Neel2,Zhang Mu3,Sharma Nikhil2,Shan Alex2,Song Dawn2

Affiliation:

1. University of Vermont, USA

2. University of California at Berkeley, USA

3. University of Utah, USA

Abstract

During the past decade, differential privacy has become the gold standard for protecting the privacy of individuals. However, verifying that a particular program provides differential privacy often remains a manual task to be completed by an expert in the field. Language-based techniques have been proposed for fully automating proofs of differential privacy via type system design, however these results have lagged behind advances in differentially-private algorithms, leaving a noticeable gap in programs which can be automatically verified while also providing state-of-the-art bounds on privacy. We propose Duet, an expressive higher-order language, linear type system and tool for automatically verifying differential privacy of general-purpose higher-order programs. In addition to general purpose programming, Duet supports encoding machine learning algorithms such as stochastic gradient descent, as well as common auxiliary data analysis tasks such as clipping, normalization and hyperparameter tuning - each of which are particularly challenging to encode in a statically verified differential privacy framework. We present a core design of the Duet language and linear type system, and complete key proofs about privacy for well-typed programs. We then show how to extend Duet to support realistic machine learning applications and recent variants of differential privacy which result in improved accuracy for many practical differentially private algorithms. Finally, we implement several differentially private machine learning algorithms in Duet which have never before been automatically verified by a language-based tool, and we present experimental results which demonstrate the benefits of Duet's language design in terms of accuracy of trained machine learning models.

Funder

NSF

IARPA

DARPA

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference54 articles.

1. 2016. Apple previews iOS 10 the biggest iOS release ever. http://www.apple.com/newsroom/2016/06/apple-previews-ios10-biggest-ios-release-ever.html . 2016. Apple previews iOS 10 the biggest iOS release ever. http://www.apple.com/newsroom/2016/06/apple-previews-ios10-biggest-ios-release-ever.html .

2. 2019. scikit-learn: Standardization or mean removal and variance scaling. https://scikit-learn.org/stable/modules/ preprocessing.html#preprocessing-scaler 2019. scikit-learn: Standardization or mean removal and variance scaling. https://scikit-learn.org/stable/modules/ preprocessing.html#preprocessing-scaler

3. Deep Learning with Differential Privacy

4. A semantic account of metric preservation

5. Differentially Private Bayesian Programming

Cited by 22 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Gradual Differentially Private Programming;Communications of the ACM;2024-08

2. Systematic Literature Review on Machine Learning and its Impact on APIs Deployment;Computación y Sistemas;2023-12-27

3. Calculating Function Sensitivity for Synthetic Data Algorithms;The 35th Symposium on Implementation and Application of Functional Languages;2023-08-29

4. Contextual Linear Types for Differential Privacy;ACM Transactions on Programming Languages and Systems;2023-05-17

5. Bunched Fuzz: Sensitivity for Vector Metrics;Programming Languages and Systems;2023

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3