{"course":{"slug":"ai-and-you","title":"AI, Safety and What Goes Wrong","url":"https://addaly.com/learn/ai-and-you","level":"beginner","track":"start"},"lesson":{"slug":"anonymous-is-harder-than-it-looks","title":"Why removing the name is not anonymity","url":"https://addaly.com/learn/ai-and-you/anonymous-is-harder-than-it-looks","position":30,"of":73,"minutes":9,"answer":"Identification needs uniqueness, not identifiers: postcode, birth date and sex identify most people, four location points identify most phone users, and free text carries identity in context that no redaction tool removes.","keyIdea":"Identification needs uniqueness, not identifiers: postcode, birth date and sex identify most people, four location points identify most phone users, and free text carries identity in context that no redaction tool removes."},"body":{"format":"markdown","text":"## Three fields are usually enough\n\nIn the late 1990s Latanya Sweeney showed that a substantial majority of the US population could be uniquely identified from just three pieces of information: five-digit postal code, date of birth and sex. None of the three is a name. All three appear routinely in datasets released as anonymous. A later analysis using different census data put the figure lower but still in the majority range: the exact percentage is disputed and the conclusion is not.\n\nSweeney demonstrated it concretely by taking a supposedly anonymised medical dataset released by a state insurance commission, matching it against a public voter roll she bought for twenty dollars, and identifying the state governor's own hospital records.\n\nThe general principle: identification does not require an identifier. It requires enough attributes to be unique, and people are unique surprisingly quickly.\n\n## The famous cases\n\n**Netflix, 2006.** Netflix released 100 million anonymised film ratings for a research competition. Narayanan and Shmatikov matched them against public IMDb reviews and re-identified users, exposing viewing histories including politically and sexually sensitive titles. Ratings and dates alone were sufficient.\n\n**AOL, 2006.** AOL published 20 million search queries with user IDs replaced by numbers. Journalists identified a specific 62-year-old woman from her searches alone. Search history is a fingerprint because everybody searches for their own town, their own illnesses, their own name.\n\n**Mobility data.** Work by de Montjoye and colleagues found that four approximate time-and-place points are enough to uniquely identify most people in a mobile-phone dataset, and four is a very small number: home, work, and two errands.\n\n> Figure: How few attributes make a person unique. Bars (% of people uniquely identified): Four approximate time-and-place points, mobile data (de Montjoye) 95; Postcode, birth date and sex (Sweeney, 1990s census) 87; The same three fields on later census data 63. None of these fields is a name. The exact percentages are disputed between studies and census years; the conclusion is not. Identification needs uniqueness, not an identifier, and people are unique surprisingly quickly.\n\n## What this means for text\n\nFree text is the hardest case of all, and it is exactly what people paste into AI tools.\n\nStructured data has fields you can decide to remove. Text has identity distributed everywhere: the phrasing, the rare condition, the unusual job title, the name of a small school, the date of an event, the combination of a city and a role. \"A 34-year-old woman in Kochi who runs a bakery and had a rare autoimmune diagnosis in March\" contains no name and identifies a person.\n\nAutomated redaction tools catch names, emails and phone numbers well and miss context almost entirely. They are worth using and they are not sufficient.\n\nThe test that works: after redacting, ask whether someone who knows this person would recognise them. Usually the answer is yes, and usually the person who would recognise them is exactly the person you are worried about.\n\n## The techniques that do work, and their price\n\n**k-anonymity.** Generalise the data until every record is indistinguishable from at least k−1 others: replace exact age with a ten-year band, postcode with a district. Real protection, and it degrades if a group shares a sensitive value: if all five people in a bucket have the same diagnosis, you have learned it about all of them without identifying anyone. Extensions called l-diversity and t-closeness address that at further cost to utility.\n\n**Differential privacy.** The strongest formal guarantee available. Calibrated random noise is added so that the result is almost the same whether or not any single person is in the dataset, with a parameter that quantifies exactly how much is leaked. The US Census used it for the 2020 release; Apple and Google use it for telemetry. The cost is real: noisy answers, especially for small groups, which is why the 2020 census application was contested by researchers who needed small-area accuracy.\n\n**Synthetic data.** Generate artificial records with similar statistics. Useful for development and testing, and not automatically private: a generator trained on a small dataset can reproduce real records closely, and evaluating that requires its own work.\n\nNotice the pattern: every technique trades utility for privacy, on a dial.\n\n## The practical position\n\nFor everyday work: treat \"anonymised\" as \"harder to identify\", never as \"impossible to identify\". Remove more than feels necessary, especially the rare attributes, because rarity is what identifies. Change the specifics that are not load-bearing for your question (the town, the exact date, the unusual detail) and keep the structure that is.\n\nAnd if the data is sensitive, the honest answer is often not to de-identify it but to keep it on a machine you control. That is [Keeping the data on your own machine](/learn/ai-and-you/running-it-on-your-own-machine)."},"check":{"question":"A researcher removes names, addresses and phone numbers from a set of clinic notes before analysis, and calls the result anonymous. Why is that claim unsafe?","options":[{"text":"Clinic notes are special-category data and so can never be anonymised in law","correct":false,"tempting":"Health data carries a higher legal bar, but anonymisation is possible in principle. This procedure just does not achieve it."},{"text":"Redaction tools are imperfect and will miss some of the names and phone numbers","correct":false,"tempting":"True and worth fixing, but it treats the problem as incomplete redaction rather than identity living in the remaining details."},{"text":"Rare conditions, jobs, dates and places left in the free text still identify people","correct":true},{"text":"The original notes still exist elsewhere, so the data can always be linked back","correct":false,"tempting":"A real operational risk, yet re-identification would still work if the originals were destroyed."}],"why":"Removing explicit identifiers leaves the combinations, and in free text the combinations are often unique."},"prev":{"slug":"consent-that-is-not-consent","title":"Consent, and the ways it is manufactured","url":"https://addaly.com/learn/ai-and-you/consent-that-is-not-consent"},"next":{"slug":"running-it-on-your-own-machine","title":"Keeping the data on your own machine","url":"https://addaly.com/learn/ai-and-you/running-it-on-your-own-machine"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'Why removing the name is not anonymity', in AI, Safety and What Goes Wrong. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-and-you/anonymous-is-harder-than-it-looks (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"Why removing the name is not anonymity","courseTitle":"AI, Safety and What Goes Wrong","module":{"index":4,"slug":"data-and-privacy","title":"Your data, and who ends up with it"},"answer":null,"keyIdea":"Identification needs uniqueness, not identifiers: postcode, birth date and sex identify most people, four location points identify most phone users, and free text carries identity in context that no redaction tool removes.","hero":{"kind":"figure","figure":{"t":"figure","label":"Figure","figure":{"caption":"None of these fields is a name. The exact percentages are disputed between studies and census years; the conclusion is not. Identification needs uniqueness, not an identifier, and people are unique surprisingly quickly.","series":[{"highlight":true,"label":"Four approximate time-and-place points, mobile data (de Montjoye)","value":95},{"label":"Postcode, birth date and sex (Sweeney, 1990s census)","value":87},{"label":"The same three fields on later census data","value":63}],"title":"How few attributes make a person unique","type":"bars","unit":"% of people uniquely identified"},"alt":"Figure: How few attributes make a person unique. Bars (% of people uniquely identified): Four approximate time-and-place points, mobile data (de Montjoye) 95; Postcode, birth date and sex (Sweeney, 1990s census) 87; The same three fields on later census data 63. None of these fields is a name. The exact percentages are disputed between studies and census years; the conclusion is not. Identification needs uniqueness, not an identifier, and people are unique surprisingly quickly."}},"blocks":[{"t":"h2","id":"three-fields-are-usually-enough","runs":[{"text":"Three fields are usually enough"}]},{"t":"p","runs":[{"text":"In the late 1990s Latanya Sweeney showed that a substantial majority of the US population could be uniquely identified from just three pieces of information: five-digit postal code, date of birth and sex. None of the three is a name. All three appear routinely in datasets released as anonymous. A later analysis using different census data put the figure lower but still in the majority range: the exact percentage is disputed and the conclusion is not."}]},{"t":"p","runs":[{"text":"Sweeney demonstrated it concretely by taking a supposedly anonymised medical dataset released by a state insurance commission, matching it against a public voter roll she bought for twenty dollars, and identifying the state governor’s own hospital records."}]},{"t":"p","runs":[{"text":"The general principle: identification does not require an identifier. It requires enough attributes to be unique, and people are unique surprisingly quickly."}]},{"t":"h2","id":"the-famous-cases","runs":[{"text":"The famous cases"}]},{"t":"p","runs":[{"text":"Netflix, 2006.","b":true},{"text":" Netflix released 100 million anonymised film ratings for a research competition. Narayanan and Shmatikov matched them against public IMDb reviews and re-identified users, exposing viewing histories including politically and sexually sensitive titles. Ratings and dates alone were sufficient."}]},{"t":"p","runs":[{"text":"AOL, 2006.","b":true},{"text":" AOL published 20 million search queries with user IDs replaced by numbers. Journalists identified a specific 62-year-old woman from her searches alone. Search history is a fingerprint because everybody searches for their own town, their own illnesses, their own name."}]},{"t":"p","runs":[{"text":"Mobility data.","b":true},{"text":" Work by de Montjoye and colleagues found that four approximate time-and-place points are enough to uniquely identify most people in a mobile-phone dataset, and four is a very small number: home, work, and two errands."}]},{"t":"h2","id":"what-this-means-for-text","runs":[{"text":"What this means for text"}]},{"t":"p","runs":[{"text":"Free text is the hardest case of all, and it is exactly what people paste into AI tools."}]},{"t":"p","runs":[{"text":"Structured data has fields you can decide to remove. Text has identity distributed everywhere: the phrasing, the rare condition, the unusual job title, the name of a small school, the date of an event, the combination of a city and a role. “A 34-year-old woman in Kochi who runs a bakery and had a rare autoimmune diagnosis in March” contains no name and identifies a person."}]},{"t":"p","runs":[{"text":"Automated redaction tools catch names, emails and phone numbers well and miss context almost entirely. They are worth using and they are not sufficient."}]},{"t":"p","runs":[{"text":"The test that works: after redacting, ask whether someone who knows this person would recognise them. Usually the answer is yes, and usually the person who would recognise them is exactly the person you are worried about."}]},{"t":"h2","id":"the-techniques-that-do-work-and-their-price","runs":[{"text":"The techniques that do work, and their price"}]},{"t":"p","runs":[{"text":"k-anonymity.","b":true},{"text":" Generalise the data until every record is indistinguishable from at least k−1 others: replace exact age with a ten-year band, postcode with a district. Real protection, and it degrades if a group shares a sensitive value: if all five people in a bucket have the same diagnosis, you have learned it about all of them without identifying anyone. Extensions called l-diversity and t-closeness address that at further cost to utility."}]},{"t":"p","runs":[{"text":"Differential privacy.","b":true},{"text":" The strongest formal guarantee available. Calibrated random noise is added so that the result is almost the same whether or not any single person is in the dataset, with a parameter that quantifies exactly how much is leaked. The US Census used it for the 2020 release; Apple and Google use it for telemetry. The cost is real: noisy answers, especially for small groups, which is why the 2020 census application was contested by researchers who needed small-area accuracy."}]},{"t":"p","runs":[{"text":"Synthetic data.","b":true},{"text":" Generate artificial records with similar statistics. Useful for development and testing, and not automatically private: a generator trained on a small dataset can reproduce real records closely, and evaluating that requires its own work."}]},{"t":"p","runs":[{"text":"Notice the pattern: every technique trades utility for privacy, on a dial."}]},{"t":"h2","id":"the-practical-position","runs":[{"text":"The practical position"}]},{"t":"p","runs":[{"text":"For everyday work: treat “anonymised” as “harder to identify”, never as “impossible to identify”. Remove more than feels necessary, especially the rare attributes, because rarity is what identifies. Change the specifics that are not load-bearing for your question (the town, the exact date, the unusual detail) and keep the structure that is."}]},{"t":"p","runs":[{"text":"And if the data is sensitive, the honest answer is often not to de-identify it but to keep it on a machine you control. That is "},{"text":"Keeping the data on your own machine","href":"https://addaly.com/learn/ai-and-you/running-it-on-your-own-machine"},{"text":"."}]}],"check":{"question":[{"text":"A researcher removes names, addresses and phone numbers from a set of clinic notes before analysis, and calls the result anonymous. Why is that claim unsafe?"}],"options":[{"text":[{"text":"Clinic notes are special-category data and so can never be anonymised in law"}],"correct":false,"tempting":[{"text":"Health data carries a higher legal bar, but anonymisation is possible in principle. This procedure just does not achieve it."}]},{"text":[{"text":"Redaction tools are imperfect and will miss some of the names and phone numbers"}],"correct":false,"tempting":[{"text":"True and worth fixing, but it treats the problem as incomplete redaction rather than identity living in the remaining details."}]},{"text":[{"text":"Rare conditions, jobs, dates and places left in the free text still identify people"}],"correct":true,"tempting":null},{"text":[{"text":"The original notes still exist elsewhere, so the data can always be linked back"}],"correct":false,"tempting":[{"text":"A real operational risk, yet re-identification would still work if the originals were destroyed."}]}],"order":[1,2,0,3],"why":[{"text":"Removing explicit identifiers leaves the combinations, and in free text the combinations are often unique."}]},"prev":{"slug":"consent-that-is-not-consent","title":"Consent, and the ways it is manufactured","minutes":8},"next":{"slug":"running-it-on-your-own-machine","title":"Keeping the data on your own machine","minutes":9}}}