Notes

Data Privacy

Two different privacy questions follow a language model around, and they are easy to confuse. One is about the text it was trained on years ago. The other is about the text you type into it today. Both sit under data privacy, and they fail in different ways.

The training-data side

Web-scale corpora are assembled by crawling, so they contain personal information nobody volunteered for the purpose: contact details in forum signatures, medical anecdotes, credentials committed to public repositories. Because large models memorise rare and repeated strings, that content can resurface in generated text, and membership-inference and extraction attacks exist to pull at it on purpose. Scrubbing personal data and deduplicating the corpus reduce the exposure; differentially private training bounds it formally, at a real cost in quality. None of these erases one named person on request, which is where a right to deletion meets the technology and loses.

The inference-time side
  • Prompts are data: pasting a contract, a patient record or a customer list into a hosted model is a disclosure to its operator, governed by that operator's retention and training-use terms.
  • RAG systems inherit the access-control problem — a retriever that ignores per-user permissions will quote a document the asker was never entitled to see.
  • Logs, caches and prompt-caching layers keep copies long after the conversation ends.

Privacy here is not one switch but a property of the whole path: corpus, weights, prompt, retrieval index and logs. Regulators treat all five as processing of personal data, and only the first two are settled at training time.

Data privacy in large language models spans two exposures: personal information absorbed from web-scale pretraining data, which memorisation can surface in generated text, and the prompts users send at inference, which are disclosures to whoever operates the model and persist in logs and caches. Retrieval systems add a third, inheriting document access control. It matters because no single control fixes it — corpus, weights, prompts, index and logs each need handling.

There are two ways a chat assistant can let something slip. The first is old news: it learned to write by reading vast amounts of text from the internet, some of which contained real people's details, and it can occasionally repeat those back. The second is happening right now: whatever you paste into the box — a contract, a medical letter, a list of customers — travels to the company running the assistant and usually sits in a log for a while. Data privacy covers both. The useful thing to remember is that the friendly box on your screen is not a private notebook.