OptiFluence: Principled Design of Privacy Canaries
Abstract
Lay Summary
When AI systems are trained on sensitive personal data (medical records, financial transactions, or private messages), they can inadvertently "memorize" details about specific individuals. This creates a real privacy risk: an adversary may be able to determine whether a particular person's data was used to train a model, even without seeing the training data directly. Privacy auditing helps measure and expose this risk. A common technique inserts special "canary" data points into the training set and then tests whether an attacker can reliably detect which canaries were included. Canaries that are easy to detect reveal high privacy risk; hard-to-detect canaries may give a false sense of security. Current approaches design canaries by hand using rough heuristics, such as mislabeled or unusual images, which can miss real leakage. We developed OptiFluence, a method that uses mathematical optimization to design canaries that are as detectable as possible. Across four image datasets, including a medical skin-lesion dataset, our optimized canaries are caught with near-perfect accuracy, far outperforming hand-crafted alternatives. Importantly, canaries designed for one model work equally well on different, larger models. This means a regulator or independent auditor can design canaries once and use them to scrutinize many AI systems, without requiring access to any proprietary training infrastructure.