差分隐私

这个是我上课的时候讲differential privacy的ppt的内容,有英文和中文。内容是基于几篇论文和网上的资料,下载地址在文章结尾。


Differential Privacy presentation materials

- A hospital has a database of patient records, eachrecord containing a binary value indicating whether or not the patient has someform of cancer.

- We want to know the total number of patients withcancers?

        Easy! A summation over these binary values

- But how about if weknow anyone must on the list?

   Or anyone must be the end of the list?

   If Jack hascancer?   S(3)-S(2)

Differential privacy addresses thequestion of, given the total number of patients with cancer, whether or not anadversary can learn if a particular individual has cancer.

一家医院有一些关于癌症病人的统计数据,如果我们想知道总的患癌症的人数,很简单,做has cancer 列的求和就行了。问题是如果我们知道某个人一定在这个表内,或者我们知道某个人在这个表的最后一行,这是我们再做求和的操作。例如我们知道Jack在表格的最后一行,那么Jack有没有患癌症,我们可以通过S(3)-S(2)就可以知道。这时候隐私就会泄露。Differential privacy就是解决这种问题,怎么可以给出总体的,我们需要的信息,但是不泄露个体的隐私数据?

 

Differential Privacy

“Let us do the sum function in peace”

-What we want is a protocol that has aprobability distribution over outputs

such that if person I changed their inputfrom xi to any other allowed xi’, the relative probabilities of any output donot change by much

-So, for instance, can pretend your inputwas any other allowed value you want.

简单来说就是Differentialprivacy提供一种关于输出的概率分布的机制或者是协议,可以让我们对数据表进行一定程度的修改,例如把上表的Jack换成其他人,或者改变他患癌症列的属性,但是对总体的输出不会发生大变化。所以就可以假装你的数据表可能包含所有可能的数据,让攻击者不知道任何关于个人的信息,从而达到隐私保护的作用。

 

Differential privacy aims to provide means to maximize the accuracy of queries fromstatistical databases while minimizing the chances of identifying its records.

The definition was first proposed in CynthiaDwork’s ICALP paper.

[1] C. Dwork. Differential privacy. InICALP, pages 1–12, 2006.

[2] C. Dwork, F. McSherry, K. Nissim, andA. Smith. Calibrating noise to sensitivity in private data analysis. InProceedings of the Third conference on Theory of Cryptography, TCC’06, pages265–284, 2006.

[3] C. Dwork , Differential privacy: Asurvey of results, Theory and Applications of Models of Computation, (2008),pp. 1–19.

Previous efforts

-be “broken”in the sense there are well known attacks

       k-anonymity

-differential privacy has rigorous definition

       successful

Differential privacy 的目标是最大化查询准确率并且最小化隐私泄露的风险。它最早被提出来的文章是2006年Cynthia在ICALP的文章,然后下面是他另外一些比较经典的文章。其实之前也有关于这方面的研究,但是在某些攻击下隐私还是很容易泄露,就是k-匿名。但是因为Differential privacy 严格的定义,在很多情况下,他都取得了不错的效果。

让A是从D^N到Y的一个随机化算法。D1,D2是两个数据库,他们只有一行记录不同,我们说这两种数据库叫database neighbors。随机化算法(randomized algorithm),是这样一种算法,在算法中使用了随机函数,且随机函数的返回值直接或者间接的影响了算法的执行流程或执行结果。就是将算法的某一步或某几步置于运气的控制之下,即该算法在运行的过程中的某一步或某几步涉及一个随机决策,或者说其中的一个决策依赖于某种随机事件。

定义1,epsilon大于0,定义一个随机化算法A,如果它是epsilon-differentially privacy的话,它满足下面的公式。这时候A的输出的概率分布与抛硬币的概率分布近似。



下面我们来看一个例子。假设Alice跟Bob在玩一个游戏。A 抽取不同的数,不同数目有一共有m个。Alice从中任意抽取任何一个。D下降n表示之前n-1抽取到的结果。Dn,m表示知道前n-1个结果后的第n个结果为数目m。Alice只给Bob前n-1个结果,要求Bob猜出第n个结果。BOB会根据下面公式给出他的猜测。就是计算每一种结果的概率,然后选出其中最大的j。但是如果A满足epslion differential privacy,即下面这条公式,每种结果的概率相差很小,Bob就会很难猜测到结果,效果跟随机估算差不多。

 

Pure semantic privacy

Can not learn information about anindividual by the output of some algorithm.

Unfortunately, external information makessuch a privacy definition impossible .

Differential privacy  aims for more relaxed definitions of privacythan pure semantic privacy. It states that an adversary with access to theoutput of an algorithm will learn roughly the same information whether or not asingle user’s data was included or not.

本来在语义上的隐私应该是对于算法的任何输出,我们并不能得到更多关于个体的信息,这时隐私得到了保护。但是因为攻击者拥有背景知识等原因,这种隐私很难得到实现。Different Privacy 定义了一种更放松的隐私保护。它表明了攻击者都会得到相似的输出,无论数据表里包不包含任意个体的信息。


        上面我们已经讨论了differentialprivacy可以保证什么,现在我们想如何实现它。其中最常用到的就是拉普拉斯的技巧。F是一个D到R的映射。这个符号表示的是曼哈顿距离,也叫L1-距离。定义GSf为函数f的敏感度。就是两个neighboring database D1,D2的曼哈顿距离。拉普拉斯机制就是让随机化算法等于函数f加上一个服从拉普拉斯分布的噪声。拉普拉斯分布服从0均值,概率密度为这种形式。那么这样,A会满足epsilon differential privacy.



证明:第二个等号是因为相互独立,所以可以把乘法变成加法。而第一个不等式因为三角形不等式性质转化而来的,而第二个不能等式是由GSF的定义而来。所以A满足epsilon differential privacy.



Sequential composibility 就是如果我们知道k个算法他们都是独立的differentialprivacy,我们希望把它组合起来形成一个新的满足differential privacy的算法。假设我们现在有k个算法,分别是A1-AK,可以证明他们组合起来的新的算法也是满足k epsilon differential privacy。这个性质在迭代算法里特别有效,因为如果每一次迭代的算法都满足differential privacy,那么可以证明整个过程都满足differential privacy。

Parallel composibility就是假设我们把数据库分为K个子数据集,同理有k个算法他们都是独立的epsilon differential privacy,那么算法的数据集也会满足epsilondifferential privacy


很多人问要PPT,现在分享一下:http://pan.baidu.com/s/1bn4oOOJ

  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值