Why is 'we only store embeddings, not raw text' not a sound privacy claim?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
A team claims their data store is privacy-safe because it only stores embeddings, not the original sensitive text. Explain why this claim is fragile, citing the inversion-attack literature.
Embeddings are lossy, not one-way: Vec2Text-style inversion reconstructs ~90% of short English from embeddings, so storing only embeddings is closer to storing the text than to storing a hash.
Picture a photograph passed through a slight blur. You cannot read every word on a sign in it, but the shapes are still there and a determined person can sharpen the image and recover most of what was written. Embeddings work like that blurred photograph. They are not the original text, but they hold enough trace information that someone with the right tools can reverse the process and recover the words. The research paper that proved this in 2023 showed almost ninety percent of short English texts could be rebuilt from their embeddings alone. So a claim like 'we only store embeddings, we are safe' is mostly wishful thinking. The original is still in there, just blurred.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
60s: embeddings preserve meaning so they are invertible; Vec2Text 2023 reconstructs ~90% of short English with black-box access; sensitive substrings leak especially well; mitigations stack (encryption, model access control, redaction, DP); GDPR/HIPAA implications.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating an embedding like a hash. Hashes are one-way; embeddings preserve enough information for semantic search to work, which is exactly the information an attacker needs to invert them.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.