Retrieval-augmented generation (RAG) lets a language model answer questions from a private collection of documents, such as medical consultations, forum posts or company e-mails. The people whose texts end up in that collection cannot see it, so they cannot exercise their data-protection or copyright rights over them. Membership auditing asks a simple question: by querying a deployed RAG system as an ordinary user, can we tell whether a given text is in its database?
In this talk I will show why existing auditors work well on the kind of data they were designed for but fail on others, and how one observation explains it: an auditor cannot detect a text that its queries never retrieve. Auditing therefore splits into two problems: making the system retrieve the text, and reading the trace that text leaves in the answer. Our auditor handles each one separately. It builds a small replica of the audited system from texts it owns, to choose which queries to send. It then scores the answers with the Helstrom measurement, the optimal test from quantum detection theory for telling two states apart, computed on an ordinary computer. I will present preliminary results across several datasets and defences, and discuss what quantum computing could add in the future. No background in quantum information is assumed.
Carlos Fajardo is a PhD student at IMDEA Networks Institute, working with Nikolaos Laoutaris on privacy and security in machine-learning systems. His research focuses on auditing whether AI systems built on large language models use people’s data, combining machine learning with tools from quantum information theory. He also works on quantum information in its own right. He holds an MSc in Quantum Technologies from Universidad Internacional Menéndez Pelayo and a BSc in Physics from the University of Granada.
This event will be conducted in English