← Latest papers
🤖 machine learning

ScoreShield: Differentially Private Release of Similarity Scores

The paper introduces ScoreShield, a differentially private mechanism that perturbs and projects similarity scores onto a valid feasibility set to significantly reduce utility loss and improve privacy-utility trade-offs compared to naive noise addition, while providing theoretical guarantees and demonstrating effectiveness across diverse applications like RAG and biometrics.

Original authors: Behrooz Razeghi, Parsa Rahimi

Published 2026-07-29
📖 4 min read☕ Coffee break read

Original authors: Behrooz Razeghi, Parsa Rahimi

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are at a massive, high-tech library where every book, photo, and song has been converted into a secret "fingerprint" made of numbers. These fingerprints are so precise that a computer can instantly tell if two items are twins, cousins, or strangers just by comparing them. This is how modern technology works, from unlocking your phone with your face to finding the perfect song in a playlist or even helping AI chatbots find the right facts to answer your questions. But here's the catch: these fingerprints are like a master key. If someone steals the list of how similar everything is to everything else, they can figure out exactly who is in the library, even if they never saw the original photos or heard the songs. It's like knowing the exact distance between every house in a neighborhood; you can map out who lives next to whom and potentially guess who lives in a specific house you're curious about.

To stop this, scientists use a clever trick called "differential privacy." Think of it like adding a little bit of static noise to a radio signal. You want the music (the useful information) to come through clearly, but you add just enough static so that if someone tries to listen in, they can't tell exactly which song is playing or who is singing. The problem is, if you add too much static, the music becomes unrecognizable garbage. If you add too little, the eavesdropper can still hear the lyrics. For a long time, the standard way to add this noise was a bit clumsy: it treated the data like a simple list of numbers, ignoring the fact that these "similarity scores" have strict rules (like, two things can't be more than 100% similar, or a thing must be 100% similar to itself). This clumsy method often ruined the music, making the data too distorted to be useful for ranking search results or verifying identities.

This is where the new paper, ScoreShield, steps in with a smarter solution. The researchers, Behrooz Razeghi and Parsa Rahimi, realized that instead of just dumping noise onto the data and hoping for the best, they should add the noise and then immediately "fix" the result to make sure it follows the rules of similarity. Imagine you are trying to throw a ball into a specific basket, but you have to throw it through a foggy window (the noise). A naive approach would just throw the ball blindly and hope it lands in the basket. ScoreShield is like throwing the ball through the fog, and then, the moment it lands, gently nudging it back into the basket if it rolled slightly outside the lines. This "nudge" is a mathematical projection that ensures the final numbers are still valid similarity scores (between -1 and 1, and mathematically consistent) without undoing the privacy protection.

The paper finds that this "add-noise-then-fix" method is a game-changer. When they tested it on real-world tasks like recognizing faces in photos or helping AI chatbots find the right information, ScoreShield kept the data much more useful than the old, clumsy methods. For example, when releasing a full list of how similar thousands of photos are to each other, the old method made the data so messy that the error grew huge as the number of photos increased. ScoreShield, however, kept the error much smaller and more manageable, even with thousands of items. They proved mathematically that this works for both single checks (like "is this face a match?") and massive lists (like "how do all these faces relate to each other?").

The researchers also showed that this method doesn't just work in theory; it works in practice. They tested it on famous face-recognition datasets and found that even with strong privacy protection, the system could still correctly identify faces and rank search results almost as well as the non-private version. They even built a fast computer algorithm to do the "nudging" quickly, so it doesn't slow things down. In short, ScoreShield proves that you don't have to choose between total privacy and useful data; by respecting the shape of the data, you can have both. It's a way to protect people's secrets without breaking the tools we rely on every day.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →