BLIA: Detect model memorization in binary classification model through passive Label Inference attack
Mohammad Wahiduzzaman Khan, Sheng Chen, Ilya Mironov, Leizhen Zhang, Rabib Noor
TL;DR
This work addresses the risk of label memorization in binary classifiers by introducing Binary Label Inference Attack (BLIA), a passive framework that infers training labels solely from pre-trained model outputs. The authors analyze two settings—without Label-DP and with randomized-response Label-DP—and evaluate memorization using canaries created by flipping 50% of canary labels, reporting that the attack success exceeds random guessing across datasets. BLIA comprises two passive attacks: a threshold-based method and a delta-margin method, with the latter consistently outperforming the former. Experimental results across six benchmarks reveal that label memorization persists even under strong privacy noise, highlighting limitations of Label-DP via randomized response and motivating the need for more robust privacy-preserving approaches. The work also provides a reproducible benchmarking framework to assess privacy-utility trade-offs in binary classification models.
Abstract
Model memorization has implications for both the generalization capacity of machine learning models and the privacy of their training data. This paper investigates label memorization in binary classification models through two novel passive label inference attacks (BLIA). These attacks operate passively, relying solely on the outputs of pre-trained models, such as confidence scores and log-loss values, without interacting with or modifying the training process. By intentionally flipping 50% of the labels in controlled subsets, termed "canaries," we evaluate the extent of label memorization under two conditions: models trained without label differential privacy (Label-DP) and those trained with randomized response-based Label-DP. Despite the application of varying degrees of Label-DP, the proposed attacks consistently achieve success rates exceeding 50%, surpassing the baseline of random guessing and conclusively demonstrating that models memorize training labels, even when these labels are deliberately uncorrelated with the features.
