261 points · by ramraj07 · 7y ago · 169 comments
- https://desfontain.es/privacy/differential-privacy-awesomene...
- https://desfontain.es/privacy/differential-privacy-in-more-d...
- https://desfontain.es/privacy/differential-privacy-in-practi...
- https://desfontain.es/privacy/almost-differential-privacy.ht... (describes a core intuition behind the system described in our paper)
- https://desfontain.es/privacy/local-global-differential-priv...
I also think Section 2 of the paper should be readable by most folks with a basic understanding of SQL and differential privacy.
When I studied cryptographic voting systems, my "aha" moment was realizing the magic sauce is creating hash collisions so that a secure one-way hash can be used to protect voter privacy.
Re-re-reading the differential privacy stuff, this para jumped out:
https://en.wikipedia.org/wiki/Differential_privacy#ε-differe...
"The intuition for the 2006 definition of ε-differential privacy is that a person's privacy cannot be compromised by a statistical release if their data are not in the database. Therefore with differential privacy, the goal is to give each individual roughly the same privacy that would result from having their data removed."
Oh. The "differential" part means modeling the difference between data captured and not captured.
I think (hope) this means figuring how much to fuzz the capture data so that hash collisions will match real world fuzzing.
--
Again, I'll continue to try to grok this stuff. Real world (story book style) examples will be very helpful.
Until I do understand, I think it's crucial for crypto and privacy minded people to quantify the assumptions and context involved. When I was working on election integrity (and medical records & guarding patient privacy), all the discussions were just make believe. I did help author a govt report to meant to help quantify the attack surface area for election administration. But I don't think it did much good, nor was it replicable (to new contexts).
So bravo. Please keep going.
1) How could aggregated data (means, average, min max) be used by attackers? Aren't aggregated data already private? For example, the Google postgres extension returns aggregated data, why is DP required here?
2) In the case of sharing entire databases, if all the PII are removed, why does it matter that we can match two records from two databases? Yes we can do correlation between 2 databases, but if PII were not gathered and stored at all in any database, there would be no privacy issue in the first place.
1) Note that the "min/max" example trivially leaks individual information: for example, releasing the max salary of employees of a company leaks the salary of the CEO. More generally, there have been numerous attacks on privacy notions purely based on aggregate data. One of my favorite is this one: https://blog.acolyer.org/2017/05/15/trajectory-recovery-from...
2) Typically, PII is not the only thing that can be used to reidentify someone, and matching records from different databases can sometimes infer sensitive information about people. One example: https://www.cs.cornell.edu/~shmat/netflix-faq.html
Applying differential privacy to that Netflix case study would be a terrific exercise.
1) The CEO example isn't really a good one to me, given the wealth inequalities in the world, leaking CEO's salary is almost desirable... I tried to read the blogpost and paper about mobile data location. At one point they talk about aggregated data, but then in the paper : "This dataset is collected by a major mobile network operator in China. It is a large-scale dataset including 100,000 mobile users with the duration of one week, between April 1st and 7th, 2016. It records the spatiotemporal information of mobile subscribers when they access cellular network (i.e., making phone calls, sending texts, or consuming data plan). It also contains anonymous user identification, accessed base sta- tions and timestamp of each access.". So... the data is not really "aggregated"? The dataset literally lists some user IDs.
2) If I'm fired because my boss didn't like my history of movie, then it can probably be defended in court, depending on the country. I could also find another boss who has a natural sense of ethic and who doesn't judge me for what I watch.
Thank you for the links anyway. I will look at them again in a few day to see if I missed something
I'm wondering if you have any thoughts on Frank McSherry's old blog post expressing his distrust for approximate-DP [1]. He seems to have different intuitions than your "almost DP" post expresses and makes criticisms that aren't quite addressed in your post.
[1]: https://github.com/frankmcsherry/blog/blob/master/posts/2017...
This whole area of research seems like it exists as a way to rationalize wide-scale data collection. Rather than focusing on the collective rights of all people being tracked, it focuses on the risk that any individual person faces from an attacker.
Let's say your mapping app says 'Do you want to contribute traffic information during your drive to help provide better navigation experience for everyone' If you click "yes" and opt-in, do you, or do you not, want this to use Differential Privacy?
Differentially-private data analysis is a principled approach that enables organizations to learn from the majority of their data while simultaneously ensuring that those results do not allow any individual's data to be distinguished or re-identified.
> The 2006 paper presents both a mathematical definition of differential privacy and a mechanism based on the addition of Laplace noise that satisfies the definition.
So instead, you ask the person taking the survey to secretly flip a coin and privately look at the result. Then, you word the question as "If the coin came up heads, OR if you've had an affair, check this box".
When you look at overall survey data, and you see 51% of people checked the box, then it's reasonable to infer that 2% of them had an affair. But even if I de-anonymized the survey and saw you checked the box, I don't really have good evidence that you had an affair.
I definitely share mixed feelings about these adtech companies, and tend to think these personalized, targeted surveillance ads should die. But what about just plain old contextual, relevant ads, e.g. ads for car parts on a hot rod site?
There's a place for web advertising in general - it supports "free" sites in a better than any other model invented thus far. I don't think it's gonna be possible to burn the whole place down and go back to 1993.
Subscriptions work for large high-value offerings like Netflix or NY Times, but average people with small sites are unlikely to be able to provide that level of value. Other alternatives like micropayments always seem to fail, because even if viewing an article costs 1-cent or 1/100 cent, it causes users to hand-wring and watch their usage carefully, deliberate about their browsing choices and eventually stop. It's a psychological thing - people loved it when AOL switched from by-the-minute billing to unlimited, even though they generally paid less under the old scheme. Suddenly they were free to just browse without thinking about it, which is also what ad-sponsored content enables on the web.
There are certainly people who just create for attention / altruism alone and get no material reward - more power to them - but they'll have to keep their day jobs.
In a way I'm gratified to see adblocking taking off, because the ad industry constantly misbehaves and does every sleazy desperate thing it can - from seizure-flashes and automatically-opening popup windows in the 90s, to performance-killing HTML5 garbage ads, distracting animations and creepy privacy-invading remarketing stuff today. Desperate, annoying junk that is indeed killing the web (and people's trust in advertising).
I personally think a move back to classy, non-personalized ads could be the way to go, ideally static images that don't track you and don't fry your CPU & battery with 700 javsacript libraries. That may be wishful thinking too. But perhaps the ad industry can try a little harder to stem the tide of garbage and win people's trust back a bit.
Those existed before Google/Facebook/et al were a thing. You don’t need “adtech” for them.
Adtech by and large refers to the insanely complex tech infrastructure behind tracking people across the Internet and using a variety of tricks and dark-semi-dark patterns to try to get them to click ads, at the definite but not immediately obvious expense of privacy.
They could make a ton of money selling ad space whether it's privacy-invading or not (indeed, search ads did just that for many years by targeting the search term, not the personal details of the searcher).
If the infrastructure to select and distribute context-relevant ads is not "adtech", what is it?
Around the announcement of Chrome's "Privacy Sandbox" effort, Google lied about the effectiveness of targeting advertising (claiming it was 52% more effective, despite independent studies settling for somewhere around a 4% difference), because it can't survive in a world where we realize it isn't necessary for ad revenue.
Curious to look into the true effectiveness of this personalized stuff too, even my mom seems creeped out by it. Fingers crossed there's enough backlash and adblock-boycotting that they drop it.
This was a recent study on the effectiveness of personalized ads: https://www.zdnet.com/article/new-research-shows-personalize... (direct link is: https://weis2019.econinfosec.org/wp-content/uploads/sites/6/... )
Although I have to add that my computer's installation of Firefox (with all tracking protections enabled) does not make this blog unreadable. My settings in ublock do though (third party requests are all blocked).
This is not "tracking" per se, you can get the site working by accepting JavaScript from the "right" sites (if you know which are not for tracking).
In a world where Google is now hurting content creators and site owners more than it is helping them[1], I see no reason to help Google via differential privacy when outright blocking tracking data is a viable solution.
[1] https://sparktoro.com/blog/less-than-half-of-google-searches...
I have a hard time believing that because so few sites opt out of Google indexing.
Google has been providing results right in search, meaning that I no longer need to click a link. I would say 80% of my searches are answered by the knowledge graph and smart answers.
In the past, Google created value for website owners by both directing traffic towards them, and sharing ad revenue with them. Now it's doing neither.
> Nobody's answer is going to be to refuse the crumbs.
Except those that think about opportunity cost.
Google's instant answers is a case of them putting the user first and that's hardly ever the wrong decision.
Most people won't, perhaps, but I run a handful of reasonably popular websites, and I block Google's crawlers. I have no use for Google.
The rest, an implication of a desire for Google to fail even if the entire business model were based around privacy preserving techniques, makes the privacy saber rattling seem disingenuous and a means to a different end.
FWIW, that's how I read this too: If Google can get people on the "Differential Privacy"† bandwagon it diffuses their own culpability.
(I think privacy is effectively dead, so from my POV this DF BS is just propping up its corpse.)
†In practice, "Differential Privacy" is a euphemism for "no privacy".
We don't usually call something infeasible "a solution", especially it means a fundamental structural change without giving a viable alternative to power a 300B market. So tell me, what is your proposal to give an approximately similar amount of efficiency to the market? If you don't have the one, that's fine but your criticism doesn't really resonate since at least Google tries to improve the status quo.
I don't see Google trying to do that at all. I see them trying to ensure that the status quo will never change.
Which market are you referring to?
Advertising? Search engines? Other?
I'd love a tool like differential privacy to gather statistics in a provably anonymous way. Without a tool like that, only companies with shedloads of money (like Google, Microsoft, Apple) can afford the market research (or the amount of spaghetti to throw at the wall) to compete.
Why? They're paying moneys through conversions, which is a pretty significant commitment and proof of its usefulness. You can argue that there's no real incrementality here, but I can tell you that at least half of ad revenues in general very likely have causal relationships from my observation.
We can't instrument websites and applications. Data, once collected, never dies and nobody can be sure of where it will end up. We have to stop. The model itself is broken. Now it's up to the public policy folks to figure a way to get us out of this mess. I am not optimistic in the short run.
Yes, the names of the engineers on the team are present in the acknowledgement section: but, this is a single line at the bottom of the post, whereas the name of the PM and the fact that he is the author is featured prominently below the title. This pattern is common across many product/OSS library announcements.
Sure, one could argue that the PM has a holistic view of the product or library being announced, and that developing this perspective is in fact their job. But surely a sufficiently senior engineer can (and often does) have an equally holistic, or perhaps even more insightful overview. At least sometimes. Even if this were not the case, why not acknowledge everyone's contributions at the same place in the article?
I think this is symptomatic of the ubiquitous class divide between the "suits" and "nerds" in the corporate world.
https://en.m.wikipedia.org/wiki/Secure_multi-party_computati...
The benefit of this is that you can get an exact computation, whereas with differential privacy the output is rougher.
The benefit of differential privacy is that it does not rely on the trust of a majority of other users; you can theoretically verify that a certain percent of the time your device sends out a wrong answer.
The goal of MPC is to hide the inputs of the program. But it is okay for an adversary to make all sorts of inferences by looking at the outputs.
The goal of differential privacy is to limit the kind of inferences that an adversary can make about a particular user/input from the output itself.
I mean, I consider myself moderately knowledgeable about statistics, but even I have problems understanding DP. Worse, scientists who are supposed to use it will also have a harder time understanding DP over their usual methods.
And if a situation arises where a manager at Google has to make the decision to 'slightly' reduce the effectiveness of differential privacy because they need a certain metric for a report do you really think they're going to make the principled choice?
I trust the math and method just fine, but I'm in the "won't trust the implementation" group. Ad companies like Google have demonstrated they can't be trusted too many times for me to think that they'll do DP in a way that goes against their business interest.
If you are interested in learning more, my company (LeapYear) is hiring differential privacy researchers, as well as software engineers interested in developing an enterprise machine learning platform.
Some background on our team: We recently raised our Series B, and hired VMWare’s first VP of Engineering, who scaled VMWare from 15 to 750+ engineers. Almost all of our backend code is written in Haskell.
On the commercial side, we’ve signed several multi-million dollar contracts with Fortune 100 customers in financial services, healthcare, & tech, and deployed on sensitive data at petabyte scale.
Happy to answer questions and review applications submitted here: https://leapyear.ai/careers
Having worked at LeapYear for just over 3 years now, I can confirm that it's a good place to work and is solving interesting technical problems.
I can also answer questions, if anyone is interested.
I think it's good that someone is putting in the work and open sourcing tools to make differential privacy easier. But at the same time I'm wondering if this is just a smokescreen put up by Google.
You still have to trust the company hosting the dataset so distributed solutions lend themselves more naturally to trust.
First of all, there's a lot of recent (and not so recent) work in Local Differential Privacy [1], which uses the "untrusted curator" model. Although this software doesn't use it, the article mentions RAPPOR, which is a good example.
Second of all, encryption protects your _data_, but not your _privacy_; that is, assuming your data gets used in any way, you have no guarantees about whether the result reveals anything you'd rather keep secret. Of course, if you're talking about normal encryption, your data _can't_ be used, but then you're not really sharing it at all, as much as storing it there (like Dropbox). But once you start talking about things like homomorphic encryption or secure multiparty computation, it's important to keep in mind that they are complements to differential privacy, not replacements.
[1]: https://en.wikipedia.org/wiki/Local_differential_privacy
This isn't a market that needs to be powered. This is a market that needs to be shut down. Targeted advertising is inherently harmful to society.
We detached this subthread from https://news.ycombinator.com/item?id=20888273.
You're essentially arguing that something is beneficial to society because it makes money (mostly for Google).
Surveillance capitalism is harming privacy and the idea of a free society. It gives the people holding the collected information massive power over others.
I think he was joking, referring to a recent trend where Google gets questionably broad patents on security solutions.
If they cared about actual privacy, they would go after no-name ad networks and data mining companies.
As far as the companies they go after, I think going after large brand-name ad networks and data mining companies like Google is at least as important as going after the no-name ones.
> Today, we’re rolling out the open-source version of the differential privacy library that helps power some of Google’s core products.