Privacy-Preserving Data Drift Detection and Recovery for Large-Scale LLM Applications via Proxy Representations
This paper introduces ProxyDrift, a privacy-preserving framework that detects and recovers from data drift in large-scale LLM applications by analyzing non-PII proxy representations to continuously monitor production traffic and generate targeted synthetic evaluation datasets without accessing raw user data.
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 the head chef of a massive, bustling restaurant that serves millions of people every day. You want to make sure your food is delicious, so you taste-test new recipes in a quiet kitchen before serving them. But here's the catch: the customers in the dining room are wearing masks, and the restaurant's strict privacy rules forbid you from ever seeing their faces or hearing their specific orders. You can't walk out there, peek at the menus, or ask, "What did you just eat?" You only know that people are eating, and you have to guess what they want based on a tiny, anonymous note left on the table.
This is the daily reality for the giant AI chatbots that power our modern digital lives. These Large Language Models (LLMs) are like super-chefs who write code, draft emails, and create documents for hundreds of millions of users. But because of strict privacy laws, the companies running these AIs can't look at the actual questions people ask or the answers they get. They are flying blind. If the "customers" (users) suddenly start asking for very different things—like switching from writing poetry to debugging code—the AI's training data might become outdated. This is called "data drift." Without seeing the real traffic, the AI might keep serving the same old menu to people who want something new, leading to bad experiences. The big question is: How do you fix a recipe when you aren't allowed to taste the food?
Enter PROXYDRIFT, a clever new framework developed by researchers at Microsoft that solves this puzzle without ever breaking the privacy rules. Think of it as a magical translator that turns secret customer orders into a simple, safe checklist. Instead of looking at the raw text of a user's question (which is private), the system uses an AI to classify the question into a set of non-sensitive "tags." For example, instead of seeing "Write a scary story about a haunted toaster," the system just sees a list of tags: Intent: Creative Writing, Tone: Spooky, Format: Story, Length: Medium. These tags are the "proxy representations." They capture the shape and style of the conversation without keeping any of the actual words.
The paper shows that by using these tags, the team can do three amazing things. First, they can measure how different the current user requests are from their old test data. They use a special math score (called a "chance-calibrated alignment score") to see if their test menu matches the real dining room. If the score is low, they know they are out of sync. Second, they can build a brand-new test menu that perfectly mimics the real users. They use a smart sampling method (based on something called a "Chow-Liu tree," which is like a family tree for how different tags usually go together) to generate thousands of fake but realistic questions that match the current trends. Finally, they can figure out exactly which types of questions are making users unhappy. By linking the tags to simple "thumbs up" or "thumbs down" feedback, they can spot trouble spots—like realizing that users get frustrated when asking about specific Excel formulas—without ever reading a single user's private spreadsheet.
In their experiments, the researchers found that their new method works incredibly well. When they compared their old, hand-picked test sets to the real world, the old sets were a terrible match (scoring only about 0.28 out of 1). But the new, AI-generated test sets matched the real world almost perfectly (scoring about 0.91). They also tested if a human could tell the difference between a real user's question and the AI's fake one; without any special hints, the human couldn't tell them apart. Most importantly, they used this system to fix a real problem in Microsoft Copilot. By noticing that users were unhappy with how the AI handled Excel charts and formulas, they tweaked the system to pay more attention to those details. The result? The AI got much better at answering those specific questions, proving that you can improve a massive AI system and keep it aligned with its users, all while keeping everyone's private data completely safe.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.