Differential Privacy Implementation eBook
A Coursebook on Differential Privacy Implementatio
A Coursebook on Differential Privacy Implementation
Formats
Free sample
Chapter 1: The Privacy Parachute...--You are about to make a mistake. It is a mistake that nearly every data scientist, engineer, and product manager makes when they first confront the problem of privacy. You will believe, with absolute sincerity, that if you simply strip names, email addresses, and phone numbers from your dataset, you have made it safe. You will tell yourself that “aggregate statistics” cannot possibly reveal anything about an individual. You will sleep soundly, believing you have done your ethical duty.You will be wrong.This chapter exists to save you from that mistake before we ever write a line of code.
It exists to rewire your intuition about what privacy actually means. And it exists to introduce you to a radical alternative: a mathematical definition of privacy so elegant and so powerful that it has been adopted by the United States Census Bureau, Apple, Google, Microsoft, and every major technology company handling sensitive human data.But before we get to the solution, we must fully understand the depth of the problem.The $100 Million Zip Code In 1997, a graduate student named Latanya Sweeney did something that should have ended the era of naive anonymization forever. She walked into a hospital in Cambridge, Massachusetts, and asked for the medical records of the state’s governor.She did not have a warrant. She did not have insider access. She had only a dataset of “anonymized” hospital visits released by the Massachusetts Group Insurance Commission (GIC), a state agency that provided health insurance to public employees.
The GIC had done everything right according to the standards of the time. They had removed names. They had removed Social Security numbers. They had removed addresses. They had replaced all direct identifiers with random codes.
The data was, in their view, completely anonymous.Sweeney disagreed.She looked at the GIC data and noticed three columns that remained: zip code, birth date, and sex. These were considered safe because they were not unique identifiers. Millions of people share the same zip code. Millions share the same birth date. Half the population shares the same sex.
Surely, the combination could not identify anyone.But Sweeney had also obtained a separate public dataset: the voter rolls for Cambridge, Massachusetts. Voter rolls contain name, address, zip code, birth date, and sex. She linked the two datasets.For 87 percent of the individuals in the GIC data, the combination of zip code, birth date, and sex was unique. For Governor William Weld, who lived in a small town and had a relatively rare birth date, the combination pointed to exactly one person. Sweeney called his doctor’s office, asked for his records, and was told they could not release them without his permission.
Then she showed them the GIC data, which contained his diagnosis, his prescriptions, and his treatment history. She had not needed permission. She had needed only two datasets and a simple join.Governor Weld’s medical records were not safe. Neither are yours.This is not an isolated incident from a pre-internet era. The same attack has been repeated, refined, and scaled over the past three decades.The AOL Search Disaster On August 4, 2006, AOL released “anonymized” search logs for 657,000 users over a three-month period.
Each user was assigned a random ID. The queries themselves were supposedly anonymous. AOL believed they had protected their users.Within days, New York Times reporters had identified user 4417749. Her queries included:“landscapers in Lilburn, GA”“60 single men”“dog that urinates on everything”“homes sold in shadow lake subdivision gwinnett county”“numb fingers”The reporters visited Lilburn, Georgia. They knocked on doors.
They asked neighbors if anyone had searched for landscapers and numb fingers. They found Thelma Arnold, a 62-year-old widow. When shown her search history, she said, “Those are my searches. Good Lord.”AOL had not protected Thelma. They had only made her harder to find.
The difference between “impossible” and “hard” is the difference between privacy and a lawsuit. AOL was sued. The data was deleted. The executive who authorized the release resigned.The Netflix Prize In 2006, Netflix launched a competition: improve their movie recommendation algorithm by 10 percent, win one million dollars. To help researchers, they released a “anonymized” dataset of 500,000 users and 17,000 movies.
They removed names. They kept ratings and dates.Arvind Narayanan and Vitaly Shmatikov, two researchers at the University of Texas, showed that the anonymization was useless. They took the Netflix dataset and linked it to the Internet Movie Database (IMDb), where users publicly rate movies under their real names. By looking at the pattern of ratings and the dates they were submitted, they identified Netflix users in the IMDb data. They then learned those users’ political leanings, sexual orientation, and other sensitive attributes from their complete Netflix history.One user had rated “Brokeback Mountain” highly and had a history of gay-themed documentaries.
Another had rated “Fahrenheit 9/11” highly and “The Passion of the Christ” poorly. Neither had consented to have these inferences made public. Netflix settled a lawsuit for $9 million.The Lesson: Anonymity is Not a Property of Data Let us pause and extract the lesson. It is subtle and most people get it wrong.The common belief is that a dataset is either “anonymous” or “identifiable.” This is binary thinking. It is wrong.The truth is that anonymity is not a property of the dataset.
It is a property of the dataset relative to everything else an adversary knows. A dataset that is anonymous today may be identifiable tomorrow when a new public dataset is released. A dataset that is anonymous for one adversary may be identifiable for another who has more background knowledge.This is called a linkage attack. An adversary links your “anonymous” dataset with another dataset that contains identifying information. The combination reveals what you tried to hide.The Massachusetts GIC attack linked hospital records with voter rolls.The AOL attack linked search queries with physical location and personal knowledge.The Netflix attack linked movie ratings with IMDb profiles.Every linkage attack has the same structure: quasi-identifiers plus background knowledge equals re-identification.
Quasi-identifiers are attributes like zip code, birth date, sex, profession, education level, and movie preferences. They are not unique by themselves. They become unique in combination.Sweeney’s original paper calculated that 87 percent of Americans can be uniquely identified by zip code, birth date, and sex alone. Later research increased this number. In small towns, the percentage approaches 100.
In large cities, it is still above 50. The United States is not special. A study in the United Kingdom found that 63 percent of the population can be uniquely identified by postal code, birth date, and sex. A study in Australia found similar results.The attack surface is growing. Today, we have more public data than ever.
Social media, property records, business directories, political donations, court records, professional licenses, and countless other datasets are available online for free. Every new public dataset is a potential key to unlock a private one.The Deeper Problem: Aggregates Leak At this point, some readers will object. They will say, “I am not releasing individual records. I am only releasing aggregate statistics. Counts.
Averages. Histograms. Surely those are safe.”This is the most dangerous belief of all. Let us destroy it with a simple…
This is the end of the free sample. Get the eBook to keep going. Buy now
About this book
Details
- Author
- Bankston Xiomara
- Publisher
- SamEnrico
- Language
- English
- Genre
- Non-Fiction, Informative, Educational
- Released
- 2026-06-02
- Pages (approx.)
- 157
- Available as
- eBook, Audiobook
Read better in the ZLOADR app
Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.
More by Bankston Xiomara
Binge Eating and HormonesBankston Xiomara$11.99
Childhood Origins of Low Self WorthBankston Xiomara$11.99
Jennifer Capriati Comeback KidBankston Xiomara$11.99
Incomplete Grade Management CourseBankston Xiomara$11.99
Equifax Breach Insider TradingBankston Xiomara$11.99
Velvet and Vinyl: The Unseen Duets of Broadway’s Forgotten DivasBankston Xiomara$11.99
The Storm Chasers of the Atlantic: How the Azores Weathered the Age of DiscoveryBankston Xiomara$11.99
Travel Sabbatical Portfolio ManualBankston Xiomara$12.99
Entertainment Spending ReboundBankston Xiomara$12.99
Understanding Gaucher Disease Type 3Bankston Xiomara$17.99
How to Become a Multiple-drum SanderBankston Xiomara$11.99