Sensitivity analysis using type-based constraints

FPCDSL '13 Pub Date : 2013-09-22 DOI:10.1145/2505351.2505353
Loris D'antoni, Marco Gaboardi, E. J. G. Arias, Andreas Haeberlen, B. Pierce
{"title":"Sensitivity analysis using type-based constraints","authors":"Loris D'antoni, Marco Gaboardi, E. J. G. Arias, Andreas Haeberlen, B. Pierce","doi":"10.1145/2505351.2505353","DOIUrl":null,"url":null,"abstract":"Function sensitivity --- how much the result of a function can change with respect to linear changes in the input --- is a key concept in many research areas. For instance, in differential privacy, one of the most common mechanisms for turning a (possibly privacy-leaking) query into a differentially private one involves establishing a boundon its sensitivity.\n One approach to sensitivity analysis is to use a type-based approach, extending the Hindley-Milner type system with functional types capturing statically the sensitivity of a functional expression. This approach --- based on affine logic --- has been used in Fuzz, a language for differentially private queries.\n We describe an automatic typed-based analysis that infers and checks the sensitivity annotations for simple functional programs. We have implemented a prototype in Fuzz's compiler. The first component of the analysis extends the typechecker to generate nonlinear constraints over the positive real numbers extended with infinity, which are then checked by the Z3 SMT solver; a solution for them will provide an upper bound on the sensitivity annotations and ensure the correctness of the annotations. We also present a simple sensitivity minimization procedure and demonstrate the effectiveness of the approach by analyzing several examples.","PeriodicalId":157375,"journal":{"name":"FPCDSL '13","volume":"19 3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-09-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"20","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"FPCDSL '13","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2505351.2505353","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 20

Abstract

Function sensitivity --- how much the result of a function can change with respect to linear changes in the input --- is a key concept in many research areas. For instance, in differential privacy, one of the most common mechanisms for turning a (possibly privacy-leaking) query into a differentially private one involves establishing a boundon its sensitivity. One approach to sensitivity analysis is to use a type-based approach, extending the Hindley-Milner type system with functional types capturing statically the sensitivity of a functional expression. This approach --- based on affine logic --- has been used in Fuzz, a language for differentially private queries. We describe an automatic typed-based analysis that infers and checks the sensitivity annotations for simple functional programs. We have implemented a prototype in Fuzz's compiler. The first component of the analysis extends the typechecker to generate nonlinear constraints over the positive real numbers extended with infinity, which are then checked by the Z3 SMT solver; a solution for them will provide an upper bound on the sensitivity annotations and ensure the correctness of the annotations. We also present a simple sensitivity minimization procedure and demonstrate the effectiveness of the approach by analyzing several examples.
使用基于类型的约束进行敏感性分析
函数灵敏度——函数的结果相对于输入的线性变化可以改变多少——是许多研究领域的一个关键概念。例如,在差分隐私中,将(可能泄露隐私的)查询转换为差分私有查询的最常见机制之一涉及建立其敏感性的边界。敏感性分析的一种方法是使用基于类型的方法,用静态捕获函数表达式敏感性的函数类型扩展Hindley-Milner类型系统。这种基于仿射逻辑的方法已经在Fuzz中使用,Fuzz是一种用于差分私有查询的语言。我们描述了一种基于类型的自动分析,它可以推断和检查简单函数程序的敏感性注释。我们已经在Fuzz的编译器中实现了一个原型。分析的第一部分扩展了类型检查器,以生成扩展为无穷大的正实数上的非线性约束,然后由Z3 SMT求解器进行检查;针对这些问题的解决方案将提供灵敏度注释的上限,并确保注释的正确性。我们还提出了一个简单的灵敏度最小化程序,并通过分析几个例子证明了该方法的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信