Publications
Generated from my publication list (58 papers). Also see Google Scholar · BibTeX of all papers.
2026 · 2025 · 2024 · 2023 · 2022 · 2021 · 2018
2026
RADIUM: RadioActive Decay of Image-Underlaid Marks
Advances in Neural Information Processing Systems 39 (NeurIPS 2026), 2026 NeurIPS
Modern image generative models are able to produce photorealistic images. As those images become increasingly indistinguishable from real data and are published online, they are often scraped for subsequent training runs of new generative models. This practice of training on generated data has been shown to degrade model performance and cause model collapse. A possible mitigation lies in embedding radioactive watermarks into generated content. Radioactive watermarks are robust marks that are detectable in outputs of new models trained on watermarked data, enabling provenance tracing of generated content. In this work, we analyze the persistence of image watermarks across multiple training-generation runs. To do so, we introduce a novel statistical testing method RADIUM (RadioActive Decay of Image-Underlaid Marks) for reliable radioactivity detection across various watermarking methods. Using our RADIUM method, we observe disparate radioactivity across watermarking methods for image generative models. Only few watermarks remain detectable in subsequently trained models, while most decay severely, especially when the architecture of models differs. Our analysis highlights the critical need for more radioactive watermarking methods in the vision domain.
@inproceedings{meintz2026radium,
title = {RADIUM: RadioActive Decay of Image-Underlaid Marks},
author = {Meintz, Michel and Kerner, Louis and Shah, Maitri Vignesh and Hector, Simon and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {Advances in Neural Information Processing Systems 39 (NeurIPS 2026)},
year = {2026},
url = {https://openreview.net/forum?id=szWfyMMMSi},
}Auditing Privacy Leakage in Tabular Foundation Model Embeddings
Advances in Neural Information Processing Systems 39 (NeurIPS 2026), 2026 NeurIPS
Tabular Foundation Models (TabFMs) produce context-aware embeddings that are increasingly stored, shared, and reused for retrieval, clustering, and cross-institutional data exchange. These embeddings are often treated as privacy-preserving substitutes for raw tabular records, yet their attribute-level information content remains poorly understood. We present a systematic privacy audit of TabFM embeddings: given an embedding and varying amounts of side information, how accurately can sensitive attributes be recovered? We introduce Cascade Probing, a sequential probing method that measures recoverability while accounting for inter-attribute dependencies, significantly outperforming joint probing and optimization-based inversion baselines. Across four TabFMs (TabPFN, TabDPT, Mitra, TabICL) and ten datasets, we find that even without any side information, 65-95% of sensitive attributes can be recovered from embeddings alone. More critically, recoverability exhibits a Privacy Cliff: revealing a single known attribute sharply increases the recoverability of all remaining attributes. This phenomenon generalizes across model architectures and diverse domains, and is not eliminated by standard embedding transformations including noise injection, PCA, and knowledge distillation. These findings suggest that we need more formal privacy techniques for protecting sensitive information inside TabFM embeddings.
@inproceedings{wang2026auditing,
title = {Auditing Privacy Leakage in Tabular Foundation Model Embeddings},
author = {Wang, Xun and Dziedzic, Adam and Backes, Michael and Boenisch, Franziska},
booktitle = {Advances in Neural Information Processing Systems 39 (NeurIPS 2026)},
year = {2026},
url = {https://openreview.net/forum?id=qLsP2gDvC0},
}Benchmarking Membership Privacy Risks in Preference-Based LLM Post-Training
Advances in Neural Information Processing Systems 39 (NeurIPS 2026), 2026 NeurIPS Benchmark
Modern language models are commonly adapted after pretraining to follow instructions, align with user preferences, and improve deployment behavior. Such post-training often relies on preference data from users, annotators, or model interactions, which may contain sensitive prompts, private responses, proprietary tasks, or confidential judgments. Understanding the privacy implications of this data is therefore essential. Membership inference attacks (MIAs), which test whether a record was used for training, are the de facto standard for empirical privacy auditing in machine learning. However, preference-based post-training changes the unit of membership: a training record contains a prompt, a preferred response, and a dispreferred response, rather than a single input-output sequence. Audits that ignore this structure can under-report leakage. We therefore introduce a benchmark protocol that adapts strong reference-model MIAs to complete preference records. Our protocol asks whether membership is exposed by either response alone, by the model's preference between them, or by the two responses jointly. We find that auditing the response pair can reveal membership evidence missed when the record is reduced to a single score. Across three preference datasets, two model families, and seven post-training objectives spanning three post-training families, measured leakage depends strongly on both the audited record statistic and the training objective, with imbalanced risk between preferred and dispreferred responses. We further evaluate the impact of parameter-efficient fine-tuning (PEFT) and differential privacy (DP), finding widely varying privacy-utility trade-offs. Overall, preference-based post-training leaks in ways that standard single-response audits can miss, motivating formal privacy methods that protect complete preference records while preserving post-training utility.
@inproceedings{rossi2026benchmarking,
title = {Benchmarking Membership Privacy Risks in Preference-Based LLM Post-Training},
author = {Rossi, Lorenzo and Shaikh, Kaif and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {Advances in Neural Information Processing Systems 39 (NeurIPS 2026)},
year = {2026},
url = {https://openreview.net/forum?id=TIAqMV9Kzf},
}AgentProv: Auditing Agentic LLM API Providers via Tool-use Policy Probes
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2026 EMNLP
Commercial LLM APIs advertise a specific foundation model, but the served backbone may be silently substituted, quantized, or wrapped, for example to save deployment costs. All existing audits decide backbone identity from the text-output channel, which is structurally fragile for agentic APIs because modern serving stacks (OpenAI, Anthropic, Gemini, Cloudflare Workers AI, LangGraph) discard text and expose only structured actions when the model calls a tool, and provider-injected system prompts can distort text distributions enough that text-channel tests falsely accuse honest providers of substituting the claimed model. We observe that recent agentic post-training internalizes tool-use directly into the weights, opening a new audit channel that the serving stack still exposes and that is largely invariant to deployment context. We introduce Agentic Provenance (AgentProv), the first action-based identity audit for agentic LLM APIs: AgentProv fingerprints a deployed model through its categorical tool-call distribution and decides identity via an MMD permutation test. AgentProv catches every substituted model (100% on 630 evaluated checkpoint pairs), while holding the false-positive rate under system-prompt injection at 7% (vs. 67% for MET and 53% for RUT). On third-party API endpoints, AgentProv's disagreements with MET are consistent with an independent token-count side-channel that detects provider-injected system prompts.
@inproceedings{wang2026agentprov,
title = {AgentProv: Auditing Agentic LLM API Providers via Tool-use Policy Probes},
author = {Wang, Xun and Zhao, Bihe and Backes, Michael and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
year = {2026},
url = {https://aclanthology.org/2026.emnlp-main.638/},
eprint = {2609.00052},
archivePrefix = {arXiv},
}MGI: Member vs Generated Inference
European Conference on Computer Vision (ECCV), 2026 ECCV
As generative models increasingly produce samples that are indistinguishable from human-created content, it becomes difficult to determine whether a given data point was part of a model's natural training set or was generated by the model itself, especially when models memorize and reproduce training data. We formalize this challenge as Member vs Generated Inference (MGI): given a sample and a target generative model, infer whether the sample is a true training member or a generated output of that model. Focusing on image generation, we show that existing membership inference methods systematically misclassify generated samples as training members, while attribution-based methods often misclassify true members as generated. This failure arises because both approaches rely on likelihood-related signals that are similarly elevated for training examples and for the model's own outputs. To address MGI, we propose Data Circuit Breaker (DCB), a three-stage method that combines complementary signals from a generative model's autoencoder and latent generator to distinguish training members from generated samples. Across multiple generative models, including image autoregressive and diffusion models, DCB consistently addresses the shortcomings of membership inference and attribution methods, remains effective even when models reproduce near-duplicates of training samples, and generalizes to challenging model derivative settings in which new models are trained on generated data.
@inproceedings{zhao2026mgi,
title = {MGI: Member vs Generated Inference},
author = {Zhao, Bihe and Meintz, Michel and Xu, Juangui and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {European Conference on Computer Vision (ECCV)},
year = {2026},
url = {https://doi.org/10.1007/978-3-032-37369-4_22},
eprint = {2606.23872},
archivePrefix = {arXiv},
}MultiMem: Measuring and Mitigating Memorization in Multi-Modal Contrastive Learning
European Conference on Computer Vision (ECCV), 2026 ECCV
Memorization in machine learning models enables high performance on rare in-distribution samples by capturing their atypical patterns. However, it also causes harmful retention of noise and outliers, degrading generalization. While memorization has been extensively studied in both supervised and self-supervised learning in the vision domain, it remains unexplored in multi-modal contrastive learning. We address this gap by introducing MultiMem, the first metric designed to quantify memorization in multi-modal contrastive learning. Through our systematic analysis, we demonstrate that cross-modal semantic misalignment has the strongest influence on memorization, with text being the dominant modality driving memorization, followed by video, image, and audio. We show that targeted augmentations applied across all modalities effectively reduce memorization as measured by our MultiMem metric and improve model performance. Overall, this work establishes the first framework for measuring and mitigating memorization in multi-modal contrastive learning, preventing harmful data retention and contributing to higher-performing models.
@inproceedings{wang2026multimem,
title = {MultiMem: Measuring and Mitigating Memorization in Multi-Modal Contrastive Learning},
author = {Wang, Wenhao and Boenisch, Franziska and Backes, Michael and Dziedzic, Adam},
booktitle = {European Conference on Computer Vision (ECCV)},
year = {2026},
url = {https://doi.org/10.1007/978-3-032-37029-7_8},
eprint = {2606.22220},
archivePrefix = {arXiv},
}Finding DoRI: Discovery of Retained Images in Diffusion Models
Proceedings of the 43rd International Conference on Machine Learning (ICML), 2026 ICML
Text-to-image diffusion models (DMs) have achieved remarkable success in image generation. However, concerns about data privacy and intellectual property remain due to their potential to inadvertently memorize and replicate training data. Recent mitigation efforts have focused on identifying and pruning weights responsible for triggering verbatim training data replication, based on the assumption that memorization can be localized. We challenge this assumption and demonstrate that, even after such pruning, small perturbations to the text embeddings of previously mitigated prompts can re-trigger data replication, revealing the fragility of such methods. Our further analysis then provides multiple indications that memorization is indeed not inherently local: (1) replication triggers for memorized images are distributed throughout text embedding space; (2) embeddings yielding the same replicated image produce divergent model activations; and (3) different pruning methods identify inconsistent sets of memorization-related weights for the same image. Finally, we show that bypassing the locality assumption enables more robust mitigation through adversarial fine-tuning. These findings provide new insights into the fundamental nature of memorization in text-to-image DMs and inform the future development of more reliable mitigation methods against DM memorization.
@inproceedings{kowalczuk2026finding,
title = {Finding DoRI: Discovery of Retained Images in Diffusion Models},
author = {Kowalczuk, Antoni and Hintersdorf, Dominik and Struppek, Lukas and Kersting, Kristian and Dziedzic, Adam and Boenisch, Franziska},
booktitle = {Proceedings of the 43rd International Conference on Machine Learning (ICML)},
year = {2026},
url = {https://proceedings.mlr.press/v306/kowalczuk26a.html},
eprint = {2507.16880},
archivePrefix = {arXiv},
}Concept Removal for Frontier Image Generative Models
Proceedings of the 43rd International Conference on Machine Learning (ICML), 2026 ICML
Image generative models are trained on massive, largely uncurated internet-scale datasets that contain undesirable visual concepts. Efficiently removing such concepts from the model generations without degrading the quality of output images remains challenging. We introduce a novel concept removal method for frontier diffusion and image autoregressive models, such as, SD3.5, Flux, and Infinity. Our intervention replaces the internal bottleneck layer present in all these modern models with a transcoder that is trained to replicate the original layer while structuring it into distinct activation features. This in-place substitution creates an integrated filter through which concept-specific signals can be selectively disabled while preserving the rest of the model's behavior. Since the intervention modifies the model backbone rather than attaching an external component, it remains persistent under white-box access. Empirically, the approach achieves state-of-the-art concept removal performance across modern diffusion and autoregressive models, maintains visual generation quality, provides robustness against adversarial prompts, and supports sequential removal of diverse concepts. This positions our method as a practical approach for concept removal in frontier image generative models.
@inproceedings{kumar2026concept,
title = {Concept Removal for Frontier Image Generative Models},
author = {Kumar, Aditya and Joly, Pierre and Dziedzic, Adam and Boenisch, Franziska},
booktitle = {Proceedings of the 43rd International Conference on Machine Learning (ICML)},
year = {2026},
url = {https://proceedings.mlr.press/v306/kumar26c.html},
eprint = {2606.25548},
archivePrefix = {arXiv},
}Curation Leaks: Membership Inference Attacks against Data Curation for Machine Learning
The Fourteenth International Conference on Learning Representations (ICLR), 2026 ICLR
In machine learning, curation is used to select the most valuable data for improving both model accuracy and computational efficiency. Recently, curation has also been explored as a solution for private machine learning: rather than training directly on sensitive data, which is known to leak information through model predictions, the private data is used only to guide the selection of useful public data. The resulting model is then trained solely on curated public data. It is tempting to assume that such a model is privacy-preserving because it has never seen the private data. Yet, we show that without further protection, curation pipelines can still leak private information. Specifically, we introduce novel attacks against popular curation methods, targeting every major step: the computation of curation scores, the selection of the curated subset, and the final trained model. We demonstrate that each stage reveals information about the private dataset and that even models trained exclusively on curated public data leak membership information about the private data that guided curation. These findings highlight the previously overlooked inherent privacy risks of data curation and show that privacy assessment must extend beyond the training procedure to include the data selection process. Our differentially private adaptations of curation methods effectively mitigate leakage, indicating that formal privacy guarantees for curation are a promising direction.
@inproceedings{wahdany2026curation,
title = {Curation Leaks: Membership Inference Attacks against Data Curation for Machine Learning},
author = {Wahdany, Dariush and Jagielski, Matthew and Dziedzic, Adam and Boenisch, Franziska},
booktitle = {The Fourteenth International Conference on Learning Representations (ICLR)},
year = {2026},
url = {https://proceedings.iclr.cc/paper_files/paper/2026/hash/bf11e0bb868b6735afcdb35ff39ea831-Abstract-Conference.html},
eprint = {2603.00811},
archivePrefix = {arXiv},
}Natural Identifiers for Privacy and Data Audits in Large Language Models
The Fourteenth International Conference on Learning Representations (ICLR), 2026 ICLR
Assessing the privacy of large language models (LLMs) presents significant challenges. In particular, most existing methods for auditing differential privacy require the insertion of specially crafted canary data during training, making them impractical for auditing already-trained models without costly retraining. Additionally, dataset inference, which audits whether a suspect dataset was used to train a model, is infeasible without access to a private non-member held-out dataset. Yet, such held-out datasets are often unavailable or difficult to construct for real-world cases since they have to be from the same distribution (IID) as the suspect data. These limitations severely hinder the ability to conduct scalable, post-hoc audits. To enable such audits, this work introduces natural identifiers (NIDs) as a novel solution to the above-mentioned challenges. NIDs are structured random strings, such as cryptographic hashes and shortened URLs, naturally occurring in common LLM training datasets. Their format enables the generation of unlimited additional random strings from the same distribution, which can act as alternative canaries for audits and as same-distribution held-out data for dataset inference. Our evaluation highlights that indeed, using NIDs, we can facilitate post-hoc differential privacy auditing without any retraining and enable dataset inference for any suspect dataset containing NIDs without the need for a private non-member held-out dataset.
@inproceedings{rossi2026natural,
title = {Natural Identifiers for Privacy and Data Audits in Large Language Models},
author = {Rossi, Lorenzo and Marek, Bartłomiej and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {The Fourteenth International Conference on Learning Representations (ICLR)},
year = {2026},
url = {https://proceedings.iclr.cc/paper_files/paper/2026/hash/3d678ecdd0569deb28881a47c21dc7a2-Abstract-Conference.html},
eprint = {2606.24408},
archivePrefix = {arXiv},
}Data Provenance for Image Auto-Regressive Generation
The Fourteenth International Conference on Learning Representations (ICLR), 2026 ICLR
Image autoregressive models (IARs) have recently demonstrated remarkable capabilities in visual content generation, achieving photorealistic quality and rapid synthesis through the next-token prediction paradigm adapted from large language models. As these models become widely accessible, robust data provenance is required to reliably trace IAR-generated images to the source model that synthesized them. This is critical to prevent the spread of misinformation, detect fraud, and attribute harmful content. We find that although IAR-generated images often appear visually identical to real images, their generation process introduces characteristic patterns in their outputs, which serves as a reliable provenance signal for the generated images. Leveraging this, we present a post-hoc framework that enables the robust detection of such patterns for provenance tracing. Notably, our framework does not require modifications of the generative process or outputs. Thereby, it is applicable in contexts where prior watermarking methods cannot be used, such as for generated content that is already published without additional marks and for models that do not integrate watermarking. We demonstrate the effectiveness of our approach across a wide range of IARs, highlighting its high potential for robust data provenance tracing in autoregressive image generation.
@inproceedings{zhao2026data,
title = {Data Provenance for Image Auto-Regressive Generation},
author = {Zhao, Bihe and Kerner, Louis and Meintz, Michel and Bakr, Tameem and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {The Fourteenth International Conference on Learning Representations (ICLR)},
year = {2026},
url = {https://proceedings.iclr.cc/paper_files/paper/2026/hash/5a1667459d0cdeb2fe6b2f0dffc5cb9d-Abstract-Conference.html},
eprint = {2606.28386},
archivePrefix = {arXiv},
}SERUM: Simple, Efficient, Robust, and Unifying Marking for Diffusion-based Image Generation
The Fourteenth International Conference on Learning Representations (ICLR), 2026 ICLR
We propose SERUM: an intriguingly simple yet highly effective method for marking images generated by diffusion models (DMs). We only add a unique watermark noise to the initial diffusion generation noise and train a lightweight detector to identify watermarked images, simplifying and unifying the strengths of prior approaches. SERUM provides robustness against any image augmentations or watermark removal attacks and is extremely efficient, all while maintaining negligible impact on image quality. In contrast to prior approaches, which are often only resilient to limited perturbations and incur significant training, injection, and detection costs, our SERUM achieves remarkable performance, with the highest true positive rate (TPR) at a 1% false positive rate (FPR) in most scenarios, along with fast injection and detection and low detector training overhead. Its decoupled architecture also seamlessly supports multiple users by embedding individualized watermarks with little interference between the marks. Overall, our method provides a practical solution to mark outputs from DMs and to reliably distinguish generated from natural images.
@inproceedings{kociszewski2026serum,
title = {SERUM: Simple, Efficient, Robust, and Unifying Marking for Diffusion-based Image Generation},
author = {Kociszewski, Jan and Jastrzębski, Hubert and Stępkowski, Tymoteusz and Manijak, Filip and Rojek, Krzysztof and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {The Fourteenth International Conference on Learning Representations (ICLR)},
year = {2026},
url = {https://proceedings.iclr.cc/paper_files/paper/2026/hash/7444ca5ef9b57c70fb2b91b90e9583a0-Abstract-Conference.html},
eprint = {2603.13396},
archivePrefix = {arXiv},
}Benchmarking Empirical Privacy Protection for Adaptations of Large Language Models
The Fourteenth International Conference on Learning Representations (ICLR), 2026 ICLR Oral
Recent work has applied differential privacy (DP) to adapt large language models (LLMs) for sensitive applications, offering theoretical guarantees. However, its practical effectiveness remains unclear, partly due to LLM pretraining, where overlaps and interdependencies with adaptation data can undermine privacy despite DP efforts. To analyze this issue in practice, we investigate privacy risks under DP adaptations in LLMs using state-of-the-art attacks such as robust membership inference and canary data extraction. We benchmark these risks by systematically varying the adaptation data distribution, from exact overlaps with pretraining data, through in-distribution (IID) cases, to entirely out-of-distribution (OOD) examples. Additionally, we evaluate how different adaptation methods and different privacy regimes impact the vulnerability. Our results show that distribution shifts strongly influence privacy vulnerability: the closer the adaptation data is to the pretraining distribution, the higher the practical privacy risk at the same theoretical guarantee, even without direct data overlap. We find that parameter-efficient fine-tuning methods, such as LoRA, achieve the highest empirical privacy protection for OOD data. Our benchmark identifies key factors for achieving practical privacy in DP LLM adaptation, providing actionable insights for deploying customized models in sensitive settings. Looking forward, we propose a structured framework for holistic privacy assessment beyond adaptation privacy, to identify and evaluate risks across the full pretrain-adapt pipeline of LLMs.
@inproceedings{marek2026benchmarking,
title = {Benchmarking Empirical Privacy Protection for Adaptations of Large Language Models},
author = {Marek, Bartłomiej and Rossi, Lorenzo and Hanke, Vincent and Wang, Xun and Backes, Michael and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {The Fourteenth International Conference on Learning Representations (ICLR)},
year = {2026},
url = {https://proceedings.iclr.cc/paper_files/paper/2026/hash/73b75e4eafbdb617822bba262cc81c76-Abstract-Conference.html},
eprint = {2606.09401},
archivePrefix = {arXiv},
}Demystifying Foreground-Background Memorization in Diffusion Models
Proceedings of the Fortieth AAAI Conference on Artificial Intelligence (AAAI-26), 2026 AAAI
Diffusion models (DMs) memorize training images and can reproduce near-duplicates during generation. Current detection methods identify verbatim memorization but fail to capture two critical aspects: quantifying partial memorization occurring in small image regions, and memorization patterns beyond specific prompt-image pairs. To address these limitations, we propose Foreground Background Memorization (FB-Mem), a novel segmentation-based metric that classifies and quantifies memorized regions within generated images. Our method reveals that memorization is more pervasive than previously understood: (1) individual generations from single prompts may be linked to clusters of similar training images, revealing complex memorization patterns that extend beyond one-to-one correspondences; and (2) existing model-level mitigation methods, such as neuron deactivation and pruning, fail to eliminate local memorization, which persists particularly in foreground regions. Our work establishes an effective framework for measuring memorization in diffusion models, demonstrates the inadequacy of current mitigation approaches, and proposes a stronger mitigation method using a clustering approach.
@inproceedings{di2026demystifying,
title = {Demystifying Foreground-Background Memorization in Diffusion Models},
author = {Di, Jimmy Z. and Lu, Yiwei and Yu, Yaoliang and Kamath, Gautam and Dziedzic, Adam and Boenisch, Franziska},
booktitle = {Proceedings of the Fortieth AAAI Conference on Artificial Intelligence (AAAI-26)},
year = {2026},
url = {https://doi.org/10.1609/aaai.v40i25.39215},
eprint = {2508.12148},
archivePrefix = {arXiv},
}Beautiful Images, Toxic Words: Understanding and Addressing Offensive Text in Generated Images
Proceedings of the Fortieth AAAI Conference on Artificial Intelligence (AAAI-26), 2026 AAAI
State-of-the-art Diffusion Models (DMs) produce highly realistic images. While prior work has successfully mitigated Not Safe For Work (NSFW) content in the visual domain, we identify a novel threat: the generation of NSFW text embedded within images. This includes offensive language, such as insults, racial slurs, and sexually explicit terms, posing significant risks to users. We show that all state-of-the-art DMs (e.g., SD3, SDXL, Flux, DeepFloyd IF) are vulnerable to this issue. Through extensive experiments, we demonstrate that existing mitigation techniques, effective for visual content, fail to prevent harmful text generation while substantially degrading benign text generation. As an initial step toward addressing this threat, we introduce a novel fine-tuning strategy that targets only the text-generation layers in DMs. Therefore, we construct a safety fine-tuning dataset by pairing each NSFW prompt with two images: one with the NSFW term, and another where that term is replaced with a carefully crafted benign alternative while leaving the image unchanged otherwise. By training on this dataset, the model learns to avoid generating harmful text while preserving benign content and overall image quality. Finally, to advance research in the area, we release ToxicBench, an open-source benchmark for evaluating NSFW text generation in images. It includes our curated fine-tuning dataset, a set of harmful prompts, new evaluation metrics, and a pipeline that assesses both NSFW-ness and text and image quality. Our benchmark aims to guide future efforts in mitigating NSFW text generation in text-to-image models, thereby contributing to their safe deployment.
@inproceedings{kumar2026beautiful,
title = {Beautiful Images, Toxic Words: Understanding and Addressing Offensive Text in Generated Images},
author = {Kumar, Aditya and Blanchard, Tom and Dziedzic, Adam and Boenisch, Franziska},
booktitle = {Proceedings of the Fortieth AAAI Conference on Artificial Intelligence (AAAI-26)},
year = {2026},
url = {https://doi.org/10.1609/aaai.v40i44.41086},
eprint = {2502.05066},
archivePrefix = {arXiv},
}On Stealing Graph Neural Network Models
Proceedings of the Fortieth AAAI Conference on Artificial Intelligence (AAAI-26), 2026 AAAI Oral
Current graph neural network (GNN) model-stealing methods rely heavily on queries to the victim model, assuming no hard query limits. However, in reality, the number of allowed queries can be severely limited. In this paper, we demonstrate how an adversary can extract a GNN with very limited interactions with the model. Our approach first enables the adversary to obtain the model backbone without making direct queries to the victim model and then to strategically utilize a fixed query limit to extract the most informative data. The experiments on eight real-world datasets demonstrate the effectiveness of the attack, even under a very restricted query limit and under defense against model extraction in place. Our findings underscore the need for robust defenses against GNN model extraction threats.
@inproceedings{podhajski2026stealing,
title = {On Stealing Graph Neural Network Models},
author = {Podhajski, Marcin and Dubiński, Jan and Boenisch, Franziska and Dziedzic, Adam and Pregowska, Agnieszka and Michalak, Tomasz Paweł},
booktitle = {Proceedings of the Fortieth AAAI Conference on Artificial Intelligence (AAAI-26)},
year = {2026},
url = {https://doi.org/10.1609/aaai.v40i29.39671},
eprint = {2511.07170},
archivePrefix = {arXiv},
}ADAGE: Active Defenses Against GNN Extraction
Proceedings of the 21st ACM Asia Conference on Computer and Communications Security (ASIA CCS '26), 2026 ACM AsiaCCS
Graph Neural Networks (GNNs) achieve high performance in various real-world applications, such as drug discovery, traffic states prediction, and recommendation systems. The fact that building powerful GNNs requires a large amount of training data, powerful computing resources, and human expertise turns the models into lucrative targets for model stealing attacks. Prior work has revealed that the threat vector of stealing attacks against GNNs is large and diverse, as an attacker can leverage various heterogeneous signals ranging from node labels to high-dimensional node embeddings to create a local copy of the target GNN at a fraction of the original training costs. This diversity in the threat vector renders the design of effective and general defenses challenging and existing defenses usually focus on one particular stealing setup. Additionally, they solely provide means to identify stolen model copies rather than preventing the attack. To close this gap, we propose the first and general Active Defense Against GNN Extraction (ADAGE). ADAGE builds on the observation that stealing a model's full functionality requires highly diverse queries to leak its behavior across the input space. Our defense monitors this query diversity and progressively perturbs outputs as the accumulated leakage grows. In contrast to prior work, ADAGE can prevent stealing across all common attack setups. Our extensive experimental evaluation using six benchmark datasets, four GNN models, and three types of adaptive attackers shows that ADAGE penalizes attackers to the degree of rendering stealing impossible, whilst preserving predictive performance on downstream tasks. ADAGE, thereby, contributes towards securely sharing valuable GNNs in the future.
@inproceedings{xu2026adage,
title = {ADAGE: Active Defenses Against GNN Extraction},
author = {Xu, Jing and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {Proceedings of the 21st ACM Asia Conference on Computer and Communications Security (ASIA CCS '26)},
year = {2026},
url = {https://doi.org/10.1145/3779208.3806086},
eprint = {2503.00065},
archivePrefix = {arXiv},
}2025
Memorization in Graph Neural Networks
Advances in Neural Information Processing Systems 38 (NeurIPS 2025), 2025 NeurIPS
Deep neural networks (DNNs) have been shown to memorize their training data, yet similar analyses for graph neural networks (GNNs) remain largely under-explored. We introduce NCMemo (Node Classification Memorization), the first framework to quantify label memorization in semi-supervised node classification. We first establish an inverse relationship between memorization and graph homophily, i.e., the property that connected nodes share similar labels/features. We find that lower homophily significantly increases memorization, indicating that GNNs rely on memorization to learn less homophilic graphs. Secondly, we analyze GNN training dynamics. We find that the increased memorization in low homophily graphs is tightly coupled to the GNNs'implicit bias on using graph structure during learning. In low homophily regimes, this structure is less informative, hence inducing memorization of the node labels to minimize training loss. Finally, we show that nodes with higher label inconsistency in their feature-space neighborhood are significantly more prone to memorization. Building on our insights into the link between graph homophily and memorization, we investigate graph rewiring as a means to mitigate memorization. Our results demonstrate that this approach effectively reduces memorization without compromising model performance. Moreover, we show that it lowers the privacy risk for previously memorized data points in practice. Thus, our work not only advances understanding of GNN learning but also supports more privacy-preserving GNN deployment.
@inproceedings{jamadandi2025memorization,
title = {Memorization in Graph Neural Networks},
author = {Jamadandi, Adarsh and Xu, Jing and Dziedzic, Adam and Boenisch, Franziska},
booktitle = {Advances in Neural Information Processing Systems 38 (NeurIPS 2025)},
year = {2025},
url = {https://papers.nips.cc/paper_files/paper/2025/hash/2a54def490213ee10631b991c5acc6b5-Abstract-Conference.html},
eprint = {2508.19352},
archivePrefix = {arXiv},
}BitMark: Watermarking Bitwise Autoregressive Image Generative Models
Advances in Neural Information Processing Systems 38 (NeurIPS 2025), 2025 NeurIPS
State-of-the-art text-to-image models generate photorealistic images at an unprecedented speed. This work focuses on models that operate in a bitwise autoregressive manner over a discrete set of tokens that is practically infinite in size. However, their impressive generative power comes with a growing risk: as their outputs increasingly populate the Internet, they are likely to be scraped and reused as training data-potentially by the very same models. This phenomenon has been shown to lead to model collapse, where repeated training on generated content, especially from the models'own previous versions, causes a gradual degradation in performance. A promising mitigation strategy is watermarking, which embeds human-imperceptible yet detectable signals into generated images-enabling the identification of generated content. In this work, we introduce BitMark, a robust bitwise watermarking framework. Our method embeds a watermark directly at the bit level of the token stream during the image generation process. Our bitwise watermark subtly influences the bits to preserve visual fidelity and generation speed while remaining robust against a spectrum of removal techniques. Furthermore, it exhibits high radioactivity, i.e., when watermarked generated images are used to train another image generative model, this second model's outputs will also carry the watermark. The radioactive traces remain detectable even when only fine-tuning diffusion or image autoregressive models on images watermarked with our BitMark. Overall, our approach provides a principled step toward preventing model collapse in image generative models by enabling reliable detection of generated outputs. The code is available at https://github.com/sprintml/BitMark.
@inproceedings{kerner2025bitmark,
title = {BitMark: Watermarking Bitwise Autoregressive Image Generative Models},
author = {Kerner, Louis and Meintz, Michel and Zhao, Bihe and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {Advances in Neural Information Processing Systems 38 (NeurIPS 2025)},
year = {2025},
url = {https://papers.nips.cc/paper_files/paper/2025/hash/8fd22f0faa94ece5344086c83302af90-Abstract-Conference.html},
eprint = {2506.21209},
archivePrefix = {arXiv},
}Exploring the limits of strong membership inference attacks on large language models
Advances in Neural Information Processing Systems 38 (NeurIPS 2025), 2025 NeurIPS
State-of-the-art membership inference attacks (MIAs) typically require training many reference models, making it difficult to scale these attacks to large pre-trained language models (LLMs). As a result, prior research has either relied on weaker attacks that avoid training references (e.g., fine-tuning attacks), or on stronger attacks applied to small models and datasets. However, weaker attacks have been shown to be brittle and insights from strong attacks in simplified settings do not translate to today's LLMs. These challenges prompt an important question: are the limitations observed in prior work due to attack design choices, or are MIAs fundamentally ineffective on LLMs? We address this question by scaling LiRA–one of the strongest MIAs–to GPT-2 architectures ranging from 10M to 1B parameters, training references on over 20B tokens from the C4 dataset. Our results advance the understanding of MIAs on LLMs in four key ways. While (1) strong MIAs can succeed on pre-trained LLMs, (2) their effectiveness, remains limited (e.g., AUC<0.7) in practical settings. (3) Even when strong MIAs achieve better-than-random AUC, aggregate metrics can conceal substantial per-sample MIA decision instability: due to training randomness, many decisions are so unstable that they are statistically indistinguishable from a coin flip. Finally, (4) the relationship between MIA success and related LLM privacy metrics is not as straightforward as prior work has suggested.
@inproceedings{hayes2025exploring,
title = {Exploring the limits of strong membership inference attacks on large language models},
author = {Hayes, Jamie and Shumailov, Ilia and Choquette-Choo, Christopher A. and Jagielski, Matthew and Kaissis, Georgios and Nasr, Milad and Annamalai, Meenatchi Sundaram Muthu Selva and Mireshghallah, Niloofar and Shilov, Igor and Meeus, Matthieu and Montjoye, Yves-Alexandre de and Lee, Katherine and Boenisch, Franziska and Dziedzic, Adam and Cooper, A. Feder},
booktitle = {Advances in Neural Information Processing Systems 38 (NeurIPS 2025)},
year = {2025},
url = {https://papers.nips.cc/paper_files/paper/2025/hash/7f0f3a1d358f8a902b1c4b15a6848d71-Abstract-Conference.html},
eprint = {2505.18773},
archivePrefix = {arXiv},
}Privacy Attacks on Image AutoRegressive Models
Proceedings of the 42nd International Conference on Machine Learning (ICML), 2025 ICML
Image AutoRegressive generation has emerged as a new powerful paradigm with image autoregressive models (IARs) matching state-of-the-art diffusion models (DMs) in image quality (FID: 1.48 vs. 1.58) while allowing for a higher generation speed. However, the privacy risks associated with IARs remain unexplored, raising concerns regarding their responsible deployment. To address this gap, we conduct a comprehensive privacy analysis of IARs, comparing their privacy risks to the ones of DMs as reference points. Concretely, we develop a novel membership inference attack (MIA) that achieves a remarkably high success rate in detecting training images (with True Positive Rate at False Positive Rate = 1% of 94.57% vs. 6.38% for DMs with comparable attacks). We leverage our novel MIA to provide dataset inference (DI) for IARs, and show that it requires as few as 4 samples to detect dataset membership (compared to 200 for DI in DMs), confirming a higher information leakage in IARs. Finally, we are able to extract hundreds of training data points from an IAR (e.g., 698 from VAR-d30). Our results suggest a fundamental privacy-utility trade-off: while IARs excel in image generation quality and speed, they are empirically significantly more vulnerable to privacy attacks compared to DMs that achieve similar performance. We release the code at https://github.com/sprintml/privacy_attacks_against_iars for reproducibility.
@inproceedings{kowalczuk2025privacy,
title = {Privacy Attacks on Image AutoRegressive Models},
author = {Kowalczuk, Antoni and Dubiński, Jan and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {Proceedings of the 42nd International Conference on Machine Learning (ICML)},
year = {2025},
url = {https://proceedings.mlr.press/v267/kowalczuk25a.html},
eprint = {2502.02514},
archivePrefix = {arXiv},
}Efficient and Privacy-Preserving Soft Prompt Transfer for LLMs
Proceedings of the 42nd International Conference on Machine Learning (ICML), 2025 ICML
Prompting has become a dominant paradigm for adapting large language models (LLMs). While discrete (textual) prompts are widely used for their interpretability, soft (parameter) prompts have recently gained traction in APIs. This is because they can encode information from more training samples while minimizing the user's token usage, leaving more space in the context window for task-specific input. However, soft prompts are tightly coupled to the LLM they are tuned on, limiting their generalization to other LLMs. This constraint is particularly problematic for efficiency and privacy: (1) tuning prompts on each LLM incurs high computational costs, especially as LLMs continue to grow in size. Additionally, (2) when the LLM is hosted externally, soft prompt tuning often requires sharing private data with the LLM provider. For instance, this is the case with the NVIDIA NeMo API. To address these issues, we propose POST (Privacy Of Soft prompt Transfer), a framework that enables private tuning of soft prompts on a small model and subsequently transfers these prompts to a larger LLM. POST uses knowledge distillation to derive a small model directly from the large LLM to improve prompt transferability, tunes the soft prompt locally, optionally with differential privacy guarantees, and transfers it back to the larger LLM using a small public dataset. Our experiments show that POST reduces computational costs, preserves privacy, and effectively transfers high-utility soft prompts.
@inproceedings{wang2025efficient,
title = {Efficient and Privacy-Preserving Soft Prompt Transfer for LLMs},
author = {Wang, Xun and Xu, Jing and Boenisch, Franziska and Backes, Michael and Choquette-Choo, Christopher A. and Dziedzic, Adam},
booktitle = {Proceedings of the 42nd International Conference on Machine Learning (ICML)},
year = {2025},
url = {https://proceedings.mlr.press/v267/wang25ds.html},
eprint = {2506.16196},
archivePrefix = {arXiv},
}Unlocking Post-hoc Dataset Inference with Synthetic Data
Proceedings of the 42nd International Conference on Machine Learning (ICML), 2025 ICML
The remarkable capabilities of Large Language Models (LLMs) can be mainly attributed to their massive training datasets, which are often scraped from the internet without respecting data owners' intellectual property rights. Dataset Inference (DI) offers a potential remedy by identifying whether a suspect dataset was used in training, thereby enabling data owners to verify unauthorized use. However, existing DI methods require a private set-known to be absent from training-that closely matches the compromised dataset's distribution. Such in-distribution, held-out data is rarely available in practice, severely limiting the applicability of DI. In this work, we address this challenge by synthetically generating the required held-out set. Our approach tackles two key obstacles: (1) creating high-quality, diverse synthetic data that accurately reflects the original distribution, which we achieve via a data generator trained on a carefully designed suffix-based completion task, and (2) bridging likelihood gaps between real and synthetic data, which is realized through post-hoc calibration. Extensive experiments on diverse text datasets show that using our generated data as a held-out set enables DI to detect the original training sets with high confidence, while maintaining a low false positive rate. This result empowers copyright owners to make legitimate claims on data usage and demonstrates our method's reliability for real-world litigations. Our code is available at https://github.com/sprintml/PostHocDatasetInference.
@inproceedings{zhao2025unlocking,
title = {Unlocking Post-hoc Dataset Inference with Synthetic Data},
author = {Zhao, Bihe and Maini, Pratyush and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {Proceedings of the 42nd International Conference on Machine Learning (ICML)},
year = {2025},
url = {https://proceedings.mlr.press/v267/zhao25q.html},
eprint = {2506.15271},
archivePrefix = {arXiv},
}MUC: Machine Unlearning for Contrastive Learning with Black-box Evaluation
Transactions on Machine Learning Research, 2025 Journal
Machine unlearning offers effective solutions for revoking the influence of specific training data on pre-trained model parameters. While existing approaches address unlearning for classification and generative models, they overlook an important category of machine learning models: contrastive learning (CL) methods. This paper addresses this gap by introducing the Machine Unlearning for Contrastive Learning (MUC) framework and adapting existing methods. We identify limitations in current approaches, noting that several methods perform inadequately as unlearners and that existing evaluation tools insufficiently validate unlearning effects in contrastive learning. To address these issues, we propose Alignment Calibration (AC), a novel method that explicitly considers contrastive learning properties and optimizes towards new auditing metrics for easy verification of unlearning. Through empirical comparisons with baseline methods on SimCLR, MoCo, and CLIP, we demonstrate that AC: (1) achieves state-of-the-art performance, approximating exact unlearning (retraining); (2) enables data owners to clearly visualize unlearning effects through black-box evaluation. The code is available at https://github.com/EhanW/Alignment-Calibration.
@article{wang2025muc,
title = {MUC: Machine Unlearning for Contrastive Learning with Black-box Evaluation},
author = {Wang, Yihan and Lu, Yiwei and Zhang, Guojun and Boenisch, Franziska and Dziedzic, Adam and Yu, Yaoliang and Gao, Xiao-Shan},
journal = {Transactions on Machine Learning Research},
year = {2025},
url = {https://openreview.net/forum?id=F9pjSDvuM9},
eprint = {2406.03603},
archivePrefix = {arXiv},
}CDI: Copyrighted Data Identification in Diffusion Models
IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025 CVPR
Diffusion Models (DMs) benefit from large and diverse datasets for their training. Since this data is often scraped from the Internet without permission from the data owners, this raises concerns about copyright and intellectual property protections. While (illicit) use of data is easily detected for training samples perfectly re-created by a DM at inference time, it is much harder for data owners to verify if their data was used for training when the outputs from the suspect DM are not close replicas. Conceptually, membership inference attacks (MIAs), which detect if a given data point was used during training, present themselves as a suitable tool to address this challenge. However, we demonstrate that existing MIAs are not strong enough to reliably determine the membership of individual images in large, state-of-the-art DMs. To overcome this limitation, we propose Copyrighted Data Identification (CDI), a framework for data owners to identify whether their dataset was used to train a given DM. CDI relies on dataset inference techniques, i.e., instead of using the membership signal from a single data point, CDI leverages the fact that most data owners, such as providers of stock photography, visual media companies, or even individual artists, own datasets with multiple publicly exposed data points which might all be included in the training of a given DM. By selectively aggregating signals from existing MIAs and using new handcrafted methods to extract features from these datasets, feeding them to a scoring model, and applying rigorous statistical testing, CDI allows data owners with as little as 70 data points to identify with a confidence of more than 99% whether their data was used to train a given DM. Thereby, CDI represents a valuable tool for data owners to claim illegitimate use of their copyrighted data. We make our code available at https://github.com/sprintml/copyrighted_data_identification.
@inproceedings{dubinski2025cdi,
title = {CDI: Copyrighted Data Identification in Diffusion Models},
author = {Dubiński, Jan and Kowalczuk, Antoni and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
year = {2025},
url = {https://openaccess.thecvf.com/content/CVPR2025/html/Dubinski_CDI_Copyrighted_Data_Identification_in_Diffusion_Models_CVPR_2025_paper.html},
eprint = {2411.12858},
archivePrefix = {arXiv},
}Differentially Private Federated Learning with Time-Adaptive Privacy Spending
The Thirteenth International Conference on Learning Representations (ICLR), 2025 ICLR
Federated learning (FL) with differential privacy (DP) provides a framework for collaborative machine learning, enabling clients to train a shared model while adhering to strict privacy constraints. The framework allows each client to have an individual privacy guarantee, e.g., by adding different amounts of noise to each client's model updates. One underlying assumption is that all clients spend their privacy budgets uniformly over time (learning rounds). However, it has been shown in the literature that learning in early rounds typically focuses on more coarse-grained features that can be learned at lower signal-to-noise ratios while later rounds learn fine-grained features that benefit from higher signal-to-noise ratios. Building on this intuition, we propose a time-adaptive DP-FL framework that expends the privacy budget non-uniformly across both time and clients. Our framework enables each client to save privacy budget in early rounds so as to be able to spend more in later rounds when additional accuracy is beneficial in learning more fine-grained features. We theoretically prove utility improvements in the case that clients with stricter privacy budgets spend budgets unevenly across rounds, compared to clients with more relaxed budgets, who have sufficient budgets to distribute their spend more evenly. Our practical experiments on standard benchmark datasets support our theoretical results and show that, in practice, our algorithms improve the privacy-utility trade-offs compared to baseline schemes.
@inproceedings{kiani2025differentially,
title = {Differentially Private Federated Learning with Time-Adaptive Privacy Spending},
author = {Kiani, Shahrzad and Kulkarni, Nupur and Dziedzic, Adam and Draper, Stark C. and Boenisch, Franziska},
booktitle = {The Thirteenth International Conference on Learning Representations (ICLR)},
year = {2025},
url = {https://openreview.net/forum?id=W0nydevOlG},
eprint = {2502.18706},
archivePrefix = {arXiv},
}Precise Parameter Localization for Textual Generation in Diffusion Models
The Thirteenth International Conference on Learning Representations (ICLR), 2025 ICLR
Novel diffusion models can synthesize photo-realistic images with integrated high-quality text. Surprisingly, we demonstrate through attention activation patching that only less than $1$% of diffusion models'parameters, all contained in attention layers, influence the generation of textual content within the images. Building on this observation, we improve textual generation efficiency and performance by targeting cross and joint attention layers of diffusion models. We introduce several applications that benefit from localizing the layers responsible for textual content generation. We first show that a LoRA-based fine-tuning solely of the localized layers enhances, even more, the general text-generation capabilities of large diffusion models while preserving the quality and diversity of the diffusion models'generations. Then, we demonstrate how we can use the localized layers to edit textual content in generated images. Finally, we extend this idea to the practical use case of preventing the generation of toxic text in a cost-free manner. In contrast to prior work, our localization approach is broadly applicable across various diffusion model architectures, including U-Net (e.g., SDXL and DeepFloyd IF) and transformer-based (e.g., Stable Diffusion 3), utilizing diverse text encoders (e.g., from CLIP to the large language models like T5). Project page available at https://t2i-text-loc.github.io/.
@inproceedings{staniszewski2025precise,
title = {Precise Parameter Localization for Textual Generation in Diffusion Models},
author = {Staniszewski, Łukasz and Cywiński, Bartosz and Boenisch, Franziska and Deja, Kamil and Dziedzic, Adam},
booktitle = {The Thirteenth International Conference on Learning Representations (ICLR)},
year = {2025},
url = {https://openreview.net/forum?id=gdHtZlaaSo},
eprint = {2502.09935},
archivePrefix = {arXiv},
}Captured by Captions: On Memorization and its Mitigation in CLIP Models
The Thirteenth International Conference on Learning Representations (ICLR), 2025 ICLR
Multi-modal models, such as CLIP, have demonstrated strong performance in aligning visual and textual representations, excelling in tasks like image retrieval and zero-shot classification. Despite this success, the mechanisms by which these models utilize training data, particularly the role of memorization, remain unclear. In uni-modal models, both supervised and self-supervised, memorization has been shown to be essential for generalization. However, it is not well understood how these findings would apply to CLIP, which incorporates elements from both supervised learning via captions that provide a supervisory signal similar to labels, and from self-supervised learning via the contrastive objective. To bridge this gap in understanding, we propose a formal definition of memorization in CLIP (CLIPMem) and use it to quantify memorization in CLIP models. Our results indicate that CLIP's memorization behavior falls between the supervised and self-supervised paradigms, with"mis-captioned"samples exhibiting highest levels of memorization. Additionally, we find that the text encoder contributes more to memorization than the image encoder, suggesting that mitigation strategies should focus on the text domain. Building on these insights, we propose multiple strategies to reduce memorization while at the same time improving utility–something that had not been shown before for traditional learning paradigms where reducing memorization typically results in utility decrease.
@inproceedings{wang2025captured,
title = {Captured by Captions: On Memorization and its Mitigation in CLIP Models},
author = {Wang, Wenhao and Dziedzic, Adam and Kim, Grace C. and Backes, Michael and Boenisch, Franziska},
booktitle = {The Thirteenth International Conference on Learning Representations (ICLR)},
year = {2025},
url = {https://openreview.net/forum?id=5V0f8igznO},
eprint = {2502.07830},
archivePrefix = {arXiv},
}Differentially Private Prototypes for Imbalanced Transfer Learning
Proceedings of the Thirty-Ninth AAAI Conference on Artificial Intelligence (AAAI-25), 2025 AAAI
Machine learning (ML) models have been shown to leak private information from their training datasets. Differential Privacy (DP), typically implemented through the differential private stochastic gradient descent algorithm (DP-SGD), has become the standard solution to bound leakage from the models. Despite recent improvements, DP-SGD-based approaches for private learning still usually struggle in the high privacy (ε≤1) and low data regimes, and when the private training datasets are imbalanced. To overcome these limitations, we propose Differentially Private Prototype Learning (DPPL) as a new paradigm for private transfer learning. DPPL leverages publicly pre-trained encoders to extract features from private data and generates DP prototypes that represent each private class in the embedding space and can be publicly released for inference. Since our DP prototypes can be obtained from only a few private training data points and without iterative noise addition, they offer high-utility predictions and strong privacy guarantees even under the notion of pure DP. We additionally show that privacy-utility trade-offs can be further improved when leveraging the public data beyond pre-training of the encoder: in particular, we can privately sample our DP prototypes from the publicly available data points used to train the encoder. Our experimental evaluation with four state-of-the-art encoders, four vision datasets, and under different data and imbalancedness regimes demonstrate DPPL's high performance under strong privacy guarantees in challenging private learning setups.
@inproceedings{wahdany2025differentially,
title = {Differentially Private Prototypes for Imbalanced Transfer Learning},
author = {Wahdany, Dariush and Jagielski, Matthew and Dziedzic, Adam and Boenisch, Franziska},
booktitle = {Proceedings of the Thirty-Ninth AAAI Conference on Artificial Intelligence (AAAI-25)},
year = {2025},
url = {https://doi.org/10.1609/aaai.v39i20.35395},
eprint = {2406.08039},
archivePrefix = {arXiv},
}2024
Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives
Advances in Neural Information Processing Systems 37 (NeurIPS 2024), 2024 NeurIPS
While open Large Language Models (LLMs) have made significant progress, they still fall short of matching the performance of their closed, proprietary counterparts, making the latter attractive even for the use on highly private data. Recently, various new methods have been proposed to adapt closed LLMs to private data without leaking private information to third parties and/or the LLM provider. In this work, we analyze the privacy protection and performance of the four most recent methods for private adaptation of closed LLMs. By examining their threat models and thoroughly comparing their performance under different privacy levels according to differential privacy (DP), various LLM architectures, and multiple datasets for classification and generation tasks, we find that: (1) all the methods leak query data, i.e., the (potentially sensitive) user data that is queried at inference time, to the LLM provider, (2) three out of four methods also leak large fractions of private training data to the LLM provider while the method that protects private data requires a local open LLM, (3) all the methods exhibit lower performance compared to three private gradient-based adaptation methods for local open LLMs, and (4) the private adaptation methods for closed LLMs incur higher monetary training and query costs than running the alternative methods on local open LLMs. This yields the conclusion that, to achieve truly privacy-preserving LLM adaptations that yield high performance and more privacy at lower costs, taking into account current methods and models, one should use open LLMs.
@inproceedings{hanke2024open,
title = {Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives},
author = {Hanke, Vincent and Blanchard, Tom and Boenisch, Franziska and Olatunji, Iyiola E. and Backes, Michael and Dziedzic, Adam},
booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024)},
year = {2024},
url = {https://papers.nips.cc/paper_files/paper/2024/hash/02802e3df178cce7b13e8f63dd29ad9f-Abstract-Conference.html},
eprint = {2411.05818},
archivePrefix = {arXiv},
}Localizing Memorization in SSL Vision Encoders
Advances in Neural Information Processing Systems 37 (NeurIPS 2024), 2024 NeurIPS
Recent work on studying memorization in self-supervised learning (SSL) suggests that even though SSL encoders are trained on millions of images, they still memorize individual data points. While effort has been put into characterizing the memorized data and linking encoder memorization to downstream utility, little is known about where the memorization happens inside SSL encoders. To close this gap, we propose two metrics for localizing memorization in SSL encoders on a per-layer (layermem) and per-unit basis (unitmem). Our localization methods are independent of the downstream task, do not require any label information, and can be performed in a forward pass. By localizing memorization in various encoder architectures (convolutional and transformer-based) trained on diverse datasets with contrastive and non-contrastive SSL frameworks, we find that (1) while SSL memorization increases with layer depth, highly memorizing units are distributed across the entire encoder, (2) a significant fraction of units in SSL encoders experiences surprisingly high memorization of individual data points, which is in contrast to models trained under supervision, (3) atypical (or outlier) data points cause much higher layer and unit memorization than standard data points, and (4) in vision transformers, most memorization happens in the fully-connected layers. Finally, we show that localizing memorization in SSL has the potential to improve fine-tuning and to inform pruning strategies.
@inproceedings{wang2024localizing,
title = {Localizing Memorization in SSL Vision Encoders},
author = {Wang, Wenhao and Dziedzic, Adam and Backes, Michael and Boenisch, Franziska},
booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024)},
year = {2024},
url = {https://papers.nips.cc/paper_files/paper/2024/hash/6f6af59b11f3919965b9811c6c9ad6df-Abstract-Conference.html},
eprint = {2409.19069},
archivePrefix = {arXiv},
}Finding NeMo: Localizing Neurons Responsible For Memorization in Diffusion Models
Advances in Neural Information Processing Systems 37 (NeurIPS 2024), 2024 NeurIPS
Diffusion models (DMs) produce very detailed and high-quality images. Their power results from extensive training on large amounts of data, usually scraped from the internet without proper attribution or consent from content creators. Unfortunately, this practice raises privacy and intellectual property concerns, as DMs can memorize and later reproduce their potentially sensitive or copyrighted training images at inference time. Prior efforts prevent this issue by either changing the input to the diffusion process, thereby preventing the DM from generating memorized samples during inference, or removing the memorized data from training altogether. While those are viable solutions when the DM is developed and deployed in a secure and constantly monitored environment, they hold the risk of adversaries circumventing the safeguards and are not effective when the DM itself is publicly released. To solve the problem, we introduce NeMo, the first method to localize memorization of individual data samples down to the level of neurons in DMs' cross-attention layers. Through our experiments, we make the intriguing finding that in many cases, single neurons are responsible for memorizing particular training samples. By deactivating these memorization neurons, we can avoid the replication of training data at inference time, increase the diversity in the generated outputs, and mitigate the leakage of private and copyrighted data. In this way, our NeMo contributes to a more responsible deployment of DMs.
@inproceedings{hintersdorf2024finding,
title = {Finding NeMo: Localizing Neurons Responsible For Memorization in Diffusion Models},
author = {Hintersdorf, Dominik and Struppek, Lukas and Kersting, Kristian and Dziedzic, Adam and Boenisch, Franziska},
booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024)},
year = {2024},
url = {https://papers.nips.cc/paper_files/paper/2024/hash/a102dd5931da01e1b40205490513304c-Abstract-Conference.html},
eprint = {2406.02366},
archivePrefix = {arXiv},
}Augment then Smooth: Reconciling Differential Privacy with Certified Robustness
Transactions on Machine Learning Research, 2024 Journal
Machine learning models are susceptible to a variety of attacks that can erode trust, including attacks against the privacy of training data, and adversarial examples that jeopardize model accuracy. Differential privacy and certified robustness are effective frameworks for combating these two threats respectively, as they each provide future-proof guarantees. However, we show that standard differentially private model training is insufficient for providing strong certified robustness guarantees. Indeed, combining differential privacy and certified robustness in a single system is non-trivial, leading previous works to introduce complex training schemes that lack flexibility. In this work, we present DP-CERT, a simple and effective method that achieves both privacy and robustness guarantees simultaneously by integrating randomized smoothing into standard differentially private model training. Compared to the leading prior work, DP-CERT gives up to a 2.5% increase in certified accuracy for the same differential privacy guarantee on CIFAR10. Through in-depth per-sample metric analysis, we find that larger certifiable radii correlate with smaller local Lipschitz constants, and show that DP-CERT effectively reduces Lipschitz constants compared to other differentially private training methods. The code is available at github.com/layer6ai-labs/dp-cert.
@article{wu2024augment,
title = {Augment then Smooth: Reconciling Differential Privacy with Certified Robustness},
author = {Wu, Jiapeng and Ghomi, Atiyeh Ashari and Glukhov, David and Cresswell, Jesse C. and Boenisch, Franziska and Papernot, Nicolas},
journal = {Transactions on Machine Learning Research},
year = {2024},
url = {https://openreview.net/forum?id=YN0IcnXqsr},
eprint = {2306.08656},
archivePrefix = {arXiv},
}From Differential Privacy to Bounds on Membership Inference: Less can be More
Transactions on Machine Learning Research, 2024 Journal
Differential Privacy (DP) is the de facto standard for reasoning about the privacy guarantees of a training algorithm. Despite the empirical observation that DP reduces the vulnerability of models to existing membership inference (MI) attacks, a theoretical underpinning as to why this is the case is largely missing in the literature. In practice, this means that models need to be trained with DP guarantees that greatly decrease their accuracy. In this paper, we provide a tighter bound on the positive accuracy (i.e., attack precision) of any MI adversary when a training algorithm provides $(\varepsilon, \delta)$-DP. Our bound informs the design of a novel privacy amplification scheme: an effective training set is sub-sampled from a larger set prior to the beginning of training. We find this greatly reduces the bound on MI positive accuracy. As a result, our scheme allows the use of looser DP guarantees to limit the success of any MI adversary; this ensures that the model's accuracy is less impacted by the privacy guarantee. While this clearly benefits entities working with far more data than they need to train on, it can also improve the accuracy-privacy trade-off on benchmarks studied in the academic literature. Consequently, we also find that subsampling decreases the effectiveness of a state-of-the-art MI attack (LiRA) much more effectively than training with stronger DP guarantees on MNIST and CIFAR10. We conclude by discussing implications of our MI bound on the field of machine unlearning.
@article{thudi2024from,
title = {From Differential Privacy to Bounds on Membership Inference: Less can be More},
author = {Thudi, Anvith and Shumailov, Ilia and Boenisch, Franziska and Papernot, Nicolas},
journal = {Transactions on Machine Learning Research},
year = {2024},
url = {https://openreview.net/forum?id=daXqjb6dVE},
eprint = {2202.12232},
archivePrefix = {arXiv},
}Controlled Privacy Leakage Propagation Throughout Overlapping Grouped Learning
IEEE Journal on Selected Areas in Information Theory, 2024 Journal
Federated Learning (FL) is the standard protocol for collaborative learning. In FL, multiple workers jointly train a shared model. They exchange model updates calculated on their data, while keeping the raw data itself local. Since workers naturally form groups based on common interests and privacy policies, we are motivated to extend standard FL to reflect a setting with multiple, potentially overlapping groups. In this setup where workers can belong and contribute to more than one group at a time, complexities arise in understanding privacy leakage and in adhering to privacy policies. To address the challenges, we propose differential private overlapping grouped learning (DP-OGL), a novel method to implement privacy guarantees within overlapping groups. Under the honest-but-curious threat model, we derive novel privacy guarantees between arbitrary pairs of workers. These privacy guarantees describe and quantify two key effects of privacy leakage in DP-OGL: propagation delay, i.e., the fact that information from one group will leak to other groups only with temporal offset through the common workers and information degradation, i.e., the fact that noise addition over model updates limits information leakage between workers. Our experiments show that applying DP-OGL enhances utility while maintaining strong privacy compared to standard FL setups.
@article{kiani2024controlled,
title = {Controlled Privacy Leakage Propagation Throughout Overlapping Grouped Learning},
author = {Kiani, Shahrzad and Boenisch, Franziska and Draper, Stark C.},
journal = {IEEE Journal on Selected Areas in Information Theory},
year = {2024},
url = {https://doi.org/10.1109/JSAIT.2024.3416089},
eprint = {2503.04054},
archivePrefix = {arXiv},
}Efficient Model-Stealing Attacks Against Inductive Graph Neural Networks
27th European Conference on Artificial Intelligence, 2024 ECAI
Graph Neural Networks (GNNs) are recognized as potent tools for processing real-world data organized in graph structures. Especially inductive GNNs, which allow for the processing of graph-structured data without relying on predefined graph structures, are becoming increasingly important in a wide range of applications. As such these networks become attractive targets for model-stealing attacks where an adversary seeks to replicate the functionality of the targeted network. Significant efforts have been devoted to developing model-stealing attacks that extract models trained on images and texts. However, little attention has been given to stealing GNNs trained on graph data. This paper identifies a new method of performing unsupervised model-stealing attacks against inductive GNNs, utilizing graph contrastive learning and spectral graph augmentations to efficiently extract information from the targeted model. The new type of attack is thoroughly evaluated on six datasets and the results show that our approach outperforms the current state-of-the-art by Shen et al. (2021). In particular, our attack surpasses the baseline across all benchmarks, attaining superior fidelity and downstream accuracy of the stolen model while necessitating fewer queries directed toward the target model.
@inproceedings{podhajski2024efficient,
title = {Efficient Model-Stealing Attacks Against Inductive Graph Neural Networks},
author = {Podhajski, Marcin and Dubiński, Jan and Boenisch, Franziska and Dziedzic, Adam and Pregowska, Agnieszka and Michalak, Tomasz P.},
booktitle = {27th European Conference on Artificial Intelligence},
year = {2024},
url = {https://doi.org/10.3233/FAIA240646},
eprint = {2405.12295},
archivePrefix = {arXiv},
}Benchmarking Robust Self-Supervised Learning Across Diverse Downstream Tasks
ICML 2024 Workshop on Foundation Models in the Wild, 2024 Workshop
Large-scale vision models have become integral in many applications due to their unprecedented performance and versatility across downstream tasks. However, the robustness of these foundation models has primarily been explored for a single task, namely image classification. The vulnerability of other common vision tasks, such as semantic segmentation and depth estimation, remains largely unknown. We present a comprehensive empirical evaluation of the adversarial robustness of self-supervised vision encoders across multiple downstream tasks. Our attacks operate in the encoder embedding space and at the downstream task output level. In both cases, current state-of-the-art adversarial fine-tuning techniques tested only for classification significantly degrade clean and robust performance on other tasks. Since the purpose of a foundation model is to cater to multiple applications at once, our findings reveal the need to enhance encoder robustness more broadly. Our code is available at $github.com/layer6ai-labs/ssl-robustness$.
@inproceedings{kowalczuk2024benchmarking,
title = {Benchmarking Robust Self-Supervised Learning Across Diverse Downstream Tasks},
author = {Kowalczuk, Antoni and Dubiński, Jan and Ghomi, Atiyeh Ashari and Sui, Yi and Stein, George and Wu, Jiapeng and Cresswell, Jesse and Boenisch, Franziska and Dziedzic, Adam},
booktitle = {ICML 2024 Workshop on Foundation Models in the Wild},
year = {2024},
url = {https://arxiv.org/abs/2407.12588},
eprint = {2407.12588},
archivePrefix = {arXiv},
}POST: A Framework for Privacy of Soft-prompt Transfer
ICML Next Generation of AI Safety Workshop, 2024 Workshop
@inproceedings{wang2024post,
title = {POST: A Framework for Privacy of Soft-prompt Transfer},
author = {Wang, Xun and Xu, Jing and Boenisch, Franziska and Backes, Michael and Dziedzic, Adam},
booktitle = {ICML Next Generation of AI Safety Workshop},
year = {2024},
url = {https://openreview.net/forum?id=LIaRa0oZSm},
}Memorization in Self-Supervised Learning Improves Downstream Generalization
The Twelfth International Conference on Learning Representations (ICLR), 2024 ICLR
Self-supervised learning (SSL) has recently received significant attention due to its ability to train high-performance encoders purely on unlabeled data-often scraped from the internet. This data can still be sensitive and empirical evidence suggests that SSL encoders memorize private information of their training data and can disclose them at inference time. Since existing theoretical definitions of memorization from supervised learning rely on labels, they do not transfer to SSL. To address this gap, we propose SSLMem, a framework for defining memorization within SSL. Our definition compares the difference in alignment of representations for data points and their augmented views returned by both encoders that were trained on these data points and encoders that were not. Through comprehensive empirical analysis on diverse encoder architectures and datasets we highlight that even though SSL relies on large datasets and strong augmentations-both known in supervised learning as regularization techniques that reduce overfitting-still significant fractions of training data points experience high memorization. Through our empirical results, we show that this memorization is essential for encoders to achieve higher generalization performance on different downstream tasks.
@inproceedings{wang2024memorization,
title = {Memorization in Self-Supervised Learning Improves Downstream Generalization},
author = {Wang, Wenhao and Kaleem, Muhammad Ahmad and Dziedzic, Adam and Backes, Michael and Papernot, Nicolas and Boenisch, Franziska},
booktitle = {The Twelfth International Conference on Learning Representations (ICLR)},
year = {2024},
url = {https://openreview.net/forum?id=KSjPaXtxP8},
eprint = {2401.12233},
archivePrefix = {arXiv},
}2023
On the Privacy Risk of In-Context Learning
The Third Workshop on Trustworthy Natural Language Processing, 2023 Workshop
Large language models (LLMs) are excellent few-shot learners. They can perform a wide variety of tasks purely based on natural language prompts provided to them. These prompts contain data of a specific downstream task – often the private dataset of a party, e.g., a company that wants to leverage the LLM for their purposes. We show that deploying prompted models presents a significant privacy risk for the data used within the prompt by instantiating a highly effective membership inference attack. We also observe that the privacy risk of prompted models exceeds fine-tuned models at the same utility levels. After identifying the model's sensitivity to their prompts – in the form of a significantly higher prediction confidence on the prompted data – as a cause for the increased risk, we propose ensembling as a mitigation strategy. By aggregating over multiple different versions of a prompted model, membership inference risk can be decreased.
@inproceedings{duan2023privacy,
title = {On the Privacy Risk of In-Context Learning},
author = {Duan, Haonan and Dziedzic, Adam and Yaghini, Mohammad and Papernot, Nicolas and Boenisch, Franziska},
booktitle = {The Third Workshop on Trustworthy Natural Language Processing},
year = {2023},
url = {https://arxiv.org/abs/2411.10512},
eprint = {2411.10512},
archivePrefix = {arXiv},
}Bucks for Buckets (B4B): Active Defenses Against Stealing Encoders
Advances in Neural Information Processing Systems 36 (NeurIPS 2023), 2023 NeurIPS
Machine Learning as a Service (MLaaS) APIs provide ready-to-use and high-utility encoders that generate vector representations for given inputs. Since these encoders are very costly to train, they become lucrative targets for model stealing attacks during which an adversary leverages query access to the API to replicate the encoder locally at a fraction of the original training costs. We propose Bucks for Buckets (B4B), the first active defense that prevents stealing while the attack is happening without degrading representation quality for legitimate API users. Our defense relies on the observation that the representations returned to adversaries who try to steal the encoder's functionality cover a significantly larger fraction of the embedding space than representations of legitimate users who utilize the encoder to solve a particular downstream task.vB4B leverages this to adaptively adjust the utility of the returned representations according to a user's coverage of the embedding space. To prevent adaptive adversaries from eluding our defense by simply creating multiple user accounts (sybils), B4B also individually transforms each user's representations. This prevents the adversary from directly aggregating representations over multiple accounts to create their stolen encoder copy. Our active defense opens a new path towards securely sharing and democratizing encoders over public APIs.
@inproceedings{dubinski2023bucks,
title = {Bucks for Buckets (B4B): Active Defenses Against Stealing Encoders},
author = {Dubiński, Jan and Pawlak, Stanisław and Boenisch, Franziska and Trzcinski, Tomasz and Dziedzic, Adam},
booktitle = {Advances in Neural Information Processing Systems 36 (NeurIPS 2023)},
year = {2023},
url = {https://papers.nips.cc/paper_files/paper/2023/hash/ad1efab57a04d93f097e7fbb2d4fc054-Abstract-Conference.html},
eprint = {2310.08571},
archivePrefix = {arXiv},
}Have it Your Way: Individualized Privacy Assignment for DP-SGD
Advances in Neural Information Processing Systems 36 (NeurIPS 2023), 2023 NeurIPS
When training a machine learning model with differential privacy, one sets a privacy budget. This budget represents a maximal privacy violation that any user is willing to face by contributing their data to the training set. We argue that this approach is limited because different users may have different privacy expectations. Thus, setting a uniform privacy budget across all points may be overly conservative for some users or, conversely, not sufficiently protective for others. In this paper, we capture these preferences through individualized privacy budgets. To demonstrate their practicality, we introduce a variant of Differentially Private Stochastic Gradient Descent (DP-SGD) which supports such individualized budgets. DP-SGD is the canonical approach to training models with differential privacy. We modify its data sampling and gradient noising mechanisms to arrive at our approach, which we call Individualized DP-SGD (IDP-SGD). Because IDP-SGD provides privacy guarantees tailored to the preferences of individual users and their data points, we find it empirically improves privacy-utility trade-offs.
@inproceedings{boenisch2023have,
title = {Have it Your Way: Individualized Privacy Assignment for DP-SGD},
author = {Boenisch, Franziska and Mühl, Christopher and Dziedzic, Adam and Rinberg, Roy and Papernot, Nicolas},
booktitle = {Advances in Neural Information Processing Systems 36 (NeurIPS 2023)},
year = {2023},
url = {https://papers.nips.cc/paper_files/paper/2023/hash/3cbf627fa24fb6cb576e04e689b9428b-Abstract-Conference.html},
eprint = {2303.17046},
archivePrefix = {arXiv},
}Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Models
Advances in Neural Information Processing Systems 36 (NeurIPS 2023), 2023 NeurIPS
Large language models (LLMs) are excellent in-context learners. However, the sensitivity of data contained in prompts raises privacy concerns. Our work first shows that these concerns are valid: we instantiate a simple but highly effective membership inference attack against the data used to prompt LLMs. To address this vulnerability, one could forego prompting and resort to fine-tuning LLMs with known algorithms for private gradient descent. However, this comes at the expense of the practicality and efficiency offered by prompting. Therefore, we propose to privately learn to prompt. We first show that soft prompts can be obtained privately through gradient descent on downstream data. However, this is not the case for discrete prompts. Thus, we orchestrate a noisy vote among an ensemble of LLMs presented with different prompts, i.e., a flock of stochastic parrots. The vote privately transfers the flock's knowledge into a single public prompt. We show that LLMs prompted with our private algorithms closely match the non-private baselines. For example, using GPT3 as the base model, we achieve a downstream accuracy of 92.7% on the sst2 dataset with ($\epsilon=0.147, \delta=10^-6$)-differential privacy vs. 95.2% for the non-private baseline. Through our experiments, we also show that our prompt-based approach is easily deployed with existing commercial APIs.
@inproceedings{duan2023flocks,
title = {Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Models},
author = {Duan, Haonan and Dziedzic, Adam and Papernot, Nicolas and Boenisch, Franziska},
booktitle = {Advances in Neural Information Processing Systems 36 (NeurIPS 2023)},
year = {2023},
url = {https://papers.nips.cc/paper_files/paper/2023/hash/f26119b4ffe38c24d97e4c49d334b99e-Abstract-Conference.html},
eprint = {2305.15594},
archivePrefix = {arXiv},
}Regulation Games for Trustworthy Machine Learning
NeurIPS 2023 Workshop on Regulatable ML, 2023 Workshop
Existing work on trustworthy machine learning (ML) often concentrates on individual aspects of trust, such as fairness or privacy. Additionally, many techniques overlook the distinction between those who train ML models and those responsible for assessing their trustworthiness. To address these issues, we propose a framework that views trustworthy ML as a multi-objective multi-agent optimization problem. This naturally lends itself to a game-theoretic formulation we call regulation games. We illustrate a particular game instance, the SpecGame in which we model the relationship between an ML model builder and fairness and privacy regulators. Regulators wish to design penalties that enforce compliance with their specification, but do not want to discourage builders from participation. Seeking such socially optimal (i.e., efficient for all agents) solutions to the game, we introduce ParetoPlay. This novel equilibrium search algorithm ensures that agents remain on the Pareto frontier of their objectives and avoids the inefficiencies of other equilibria. Simulating SpecGame through ParetoPlay can provide policy guidance for ML Regulation. For instance, we show that for a gender classification application, regulators can enforce a differential privacy budget that is on average 4.0 lower if they take the initiative to specify their desired guarantee first.
@inproceedings{yaghini2023regulation,
title = {Regulation Games for Trustworthy Machine Learning},
author = {Yaghini, Mohammad and Liu, Patty and Boenisch, Franziska and Papernot, Nicolas},
booktitle = {NeurIPS 2023 Workshop on Regulatable ML},
year = {2023},
url = {https://arxiv.org/abs/2402.03540},
eprint = {2402.03540},
archivePrefix = {arXiv},
}Learning to Walk Impartially on the Pareto Frontier of Fairness, Privacy, and Utility
NeurIPS 2023 Workshop on Regulatable ML, 2023 Workshop
Deploying machine learning (ML) models often requires both fairness and privacy guarantees. Both of these objectives present unique trade-offs with the utility (e.g., accuracy) of the model. However, the mutual interactions between fairness, privacy, and utility are less well-understood. As a result, often only one objective is optimized, while the others are tuned as hyper-parameters. Because they implicitly prioritize certain objectives, such designs bias the model in pernicious, undetectable ways. To address this, we adopt impartiality as a principle: design of ML pipelines should not favor one objective over another. We propose impartially-specified models, which provide us with accurate Pareto frontiers that show the inherent trade-offs between the objectives. Extending two canonical ML frameworks for privacy-preserving learning, we provide two methods (FairDP-SGD and FairPATE) to train impartially-specified models and recover the Pareto frontier. Through theoretical privacy analysis and a comprehensive empirical study, we provide an answer to the question of where fairness mitigation should be integrated within a privacy-aware ML pipeline.
@inproceedings{yaghini2023learning,
title = {Learning to Walk Impartially on the Pareto Frontier of Fairness, Privacy, and Utility},
author = {Yaghini, Mohammad and Liu, Patty and Boenisch, Franziska and Papernot, Nicolas},
booktitle = {NeurIPS 2023 Workshop on Regulatable ML},
year = {2023},
url = {https://publications.cispa.de/articles/conference_contribution/Learning_to_Walk_Impartially_on_the_Pareto_Frontier_of_Fairness_Privacy_and_Utility/25288165},
eprint = {2302.09183},
archivePrefix = {arXiv},
}When the Curious Abandon Honesty: Federated Learning Is Not Private
IEEE 8th European Symposium on Security and Privacy, 2023 IEEE EuroS&P
In federated learning (FL), data does not leave personal devices when they are jointly training a machine learning model. Instead, these devices share gradients, parameters, or other model updates, with a central party (e.g., a company) coordinating the training. Because data never "leaves" personal devices, FL is often presented as privacy-preserving. Yet, recently it was shown that this protection is but a thin facade, as even a passive, honest-but-curious attacker observing gradients can reconstruct data of individual users contributing to the protocol.In this work, we show a novel data reconstruction attack which allows an active and dishonest central party to efficiently extract user data from the received gradients. While prior work on data reconstruction in FL relies on solving computationally expensive optimization problems or on making easily detectable modifications to the shared model’s architecture or parameters, in our attack the central party makes inconspicuous changes to the shared model’s weights before sending them out to the users. We call the modified weights of our attack trap weights.Our active attacker is able to recover user data perfectly, i.e., with zero error, even when this data stems from the same class. Recovery comes with near-zero costs: the attack requires no complex optimization objectives. Instead, our attacker exploits inherent data leakage from model gradients and simply amplifies this effect by maliciously altering the weights of the shared model through the trap weights. These specificities enable our attack to scale to fully-connected and convolutional deep neural networks trained with large mini-batches of data. For example, for the high-dimensional vision dataset ImageNet, we perfectly reconstruct more than 50% of the training data points from mini-batches as large as 100 data points. In textual tasks, such as IMDB sentiment analysis, more than 65% of data points from mini-batches containing 100 data points can be perfectly reconstructed.
@inproceedings{boenisch2023when,
title = {When the Curious Abandon Honesty: Federated Learning Is Not Private},
author = {Boenisch, Franziska and Dziedzic, Adam and Schuster, Roei and Shamsabadi, Ali Shahin and Shumailov, Ilia and Papernot, Nicolas},
booktitle = {IEEE 8th European Symposium on Security and Privacy},
year = {2023},
url = {https://doi.org/10.1109/EuroSP57164.2023.00020},
eprint = {2112.02918},
archivePrefix = {arXiv},
}Reconstructing Individual Data Points in Federated Learning Hardened with Differential Privacy and Secure Aggregation
IEEE 8th European Symposium on Security and Privacy, 2023 IEEE EuroS&P
Federated learning (FL) is a framework for users to jointly train a machine learning model. FL is promoted as a privacy-enhancing technology (PET) that provides data minimization: data never "leaves" personal devices and users share only model updates with a server (e.g., a company) coordinating the distributed training. While prior work showed that in vanilla FL a malicious server can extract users’ private data from the model updates, in this work we take it further and demonstrate that a malicious server can reconstruct user data even in hardened versions of the protocol. More precisely, we propose an attack against FL protected with distributed differential privacy (DDP) and secure aggregation (SA). Our attack method is based on the introduction of sybil devices that deviate from the protocol to expose individual users’ data for reconstruction by the server. The underlying root cause for the vulnerability to our attack is a power imbalance: the server orchestrates the whole protocol and users are given little guarantees about the selection of other users participating in the protocol. Moving forward, we discuss requirements for privacy guarantees in FL. We conclude that users should only participate in the protocol when they trust the server or they apply local primitives such as local DP, shifting power away from the server. Yet, the latter approaches come at significant overhead in terms of performance degradation of the trained model, making them less likely to be deployed in practice.
@inproceedings{boenisch2023reconstructing,
title = {Reconstructing Individual Data Points in Federated Learning Hardened with Differential Privacy and Secure Aggregation},
author = {Boenisch, Franziska and Dziedzic, Adam and Schuster, Roei and Shamsabadi, Ali Shahin and Shumailov, Ilia and Papernot, Nicolas},
booktitle = {IEEE 8th European Symposium on Security and Privacy},
year = {2023},
url = {https://doi.org/10.1109/EuroSP57164.2023.00023},
eprint = {2301.04017},
archivePrefix = {arXiv},
}A Unified Framework for Quantifying Privacy Risk in Synthetic Data
Proceedings on Privacy Enhancing Technologies, 2023 Journal
Synthetic data is often presented as a method for sharing sensitive information in a privacy-preserving manner by reproducing the global statistical properties of the original data without dis closing sensitive information about any individual. In practice, as with other anonymization methods, synthetic data cannot entirely eliminate privacy risks. These residual privacy risks need instead to be ex-post uncovered and assessed. However, quantifying the actual privacy risks of any synthetic dataset is a hard task, given the multitude of facets of data privacy. We present Anonymeter, a statistical framework to jointly quantify different types of privacy risks in synthetic tabular datasets. We equip this framework with attack-based evaluations for the singling out, linkability, and inference risks, which are the three key indicators of factual anonymization according to data protection regulations, such as the European General Data Protection Regulation (GDPR). To the best of our knowledge, we are the first to introduce a coherent and legally aligned evaluation of these three privacy risks for synthetic data, as well as to design privacy attacks which model directly the singling out and linkability risks. We demonstrate the effectiveness of our methods by conducting an extensive set of experiments that measure the privacy risks of data with deliberately inserted privacy leakages, and of synthetic data generated with and without differential privacy. Our results highlight that the three privacy risks reported by our framework scale linearly with the amount of privacy leakage in the data. Furthermore, we observe that synthetic data exhibits the lowest vulnerability against linkability, indicating one-to-one relationships between real and synthetic data records are not preserved. Finally, with a quantitative comparison we demonstrate that Anonymeter outperforms existing synthetic data privacy evaluation frameworks both in terms of detecting privacy leaks, as well as computation speed. To contribute to a privacy-conscious usage of synthetic data, we publish Anonymeter as an open-source library (https://github.com/statice/anonymeter).
@article{giomi2023unified,
title = {A Unified Framework for Quantifying Privacy Risk in Synthetic Data},
author = {Giomi, Matteo and Boenisch, Franziska and Wehmeyer, Christoph and Tasnádi, Borbála},
journal = {Proceedings on Privacy Enhancing Technologies},
year = {2023},
url = {https://doi.org/10.56553/popets-2023-0055},
eprint = {2211.10459},
archivePrefix = {arXiv},
}Individualized PATE: Differentially Private Machine Learning with Individual Privacy Guarantees
Proceedings on Privacy Enhancing Technologies, 2023 Journal
Applying machine learning (ML) to sensitive domains requires privacy protection of the underlying training data through formal privacy frameworks, such as differential privacy (DP). Yet, usually, the privacy of the training data comes at the cost of the resulting ML models' utility. One reason for this is that DP uses one uniform privacy budget epsilon for all training data points, which has to align with the strictest privacy requirement encountered among all data holders. In practice, different data holders have different privacy requirements and data points of data holders with lower requirements can contribute more information to the training process of the ML models. To account for this need, we propose two novel methods based on the Private Aggregation of Teacher Ensembles (PATE) framework to support the training of ML models with individualized privacy guarantees. We formally describe the methods, provide a theoretical analysis of their privacy bounds, and experimentally evaluate their effect on the final model's utility using the MNIST, SVHN, and Adult income datasets. Our empirical results show that the individualized privacy methods yield ML models of higher accuracy than the non-individualized baseline. Thereby, we improve the privacy-utility trade-off in scenarios in which different data holders consent to contribute their sensitive data at different individual privacy levels.
@article{boenisch2023individualized,
title = {Individualized PATE: Differentially Private Machine Learning with Individual Privacy Guarantees},
author = {Boenisch, Franziska and Mühl, Christopher and Rinberg, Roy and Ihrig, Jannis and Dziedzic, Adam},
journal = {Proceedings on Privacy Enhancing Technologies},
year = {2023},
url = {https://doi.org/10.56553/popets-2023-0010},
eprint = {2202.10517},
archivePrefix = {arXiv},
}2022
Introducing Model Inversion Attacks on Automatic Speaker Recognition
Proceedings of the 2nd Symposium on Security and Privacy in Speech Communication, 2022 SPSC
Model inversion (MI) attacks allow to reconstruct average per-class representations of a machine learning (ML) model's training data. It has been shown that in scenarios where each class corresponds to a different individual, such as face classifiers, this represents a severe privacy risk. In this work, we explore a new application for MI: the extraction of speakers' voices from a speaker recognition system. We present an approach to (1) reconstruct audio samples from a trained ML model and (2) extract intermediate voice feature representations which provide valuable insights into the speakers' biometrics. Therefore, we propose an extension of MI attacks which we call sliding model inversion. Our sliding MI extends standard MI by iteratively inverting overlapping chunks of the audio samples and thereby leveraging the sequential properties of audio data for enhanced inversion performance. We show that one can use the inverted audio data to generate spoofed audio samples to impersonate a speaker, and execute voice-protected commands for highly secured systems on their behalf. To the best of our knowledge, our work is the first one extending MI attacks to audio data, and our results highlight the security risks resulting from the extraction of the biometric data in that setup.
@inproceedings{pizzi2022introducing,
title = {Introducing Model Inversion Attacks on Automatic Speaker Recognition},
author = {Pizzi, Karla and Boenisch, Franziska and Sahin, Ugur and Böttinger, Konstantin},
booktitle = {Proceedings of the 2nd Symposium on Security and Privacy in Speech Communication},
year = {2022},
url = {https://www.isca-archive.org/spsc_2022/pizzi22_spsc.html},
eprint = {2301.03206},
archivePrefix = {arXiv},
}Dataset Inference for Self-Supervised Models
Advances in Neural Information Processing Systems 35 (NeurIPS 2022), 2022 NeurIPS
Self-supervised models are increasingly prevalent in machine learning (ML) since they reduce the need for expensively labeled data. Because of their versatility in downstream applications, they are increasingly used as a service exposed via public APIs. At the same time, these encoder models are particularly vulnerable to model stealing attacks due to the high dimensionality of vector representations they output. Yet, encoders remain undefended: existing mitigation strategies for stealing attacks focus on supervised learning. We introduce a new dataset inference defense, which uses the private training set of the victim encoder model to attribute its ownership in the event of stealing. The intuition is that the log-likelihood of an encoder's output representations is higher on the victim's training data than on test data if it is stolen from the victim, but not if it is independently trained. We compute this log-likelihood using density estimation models. As part of our evaluation, we also propose measuring the fidelity of stolen encoders and quantifying the effectiveness of the theft detection without involving downstream tasks; instead, we leverage mutual information and distance measurements. Our extensive empirical results in the vision domain demonstrate that dataset inference is a promising direction for defending self-supervised models against model stealing.
@inproceedings{dziedzic2022dataset,
title = {Dataset Inference for Self-Supervised Models},
author = {Dziedzic, Adam and Duan, Haonan and Kaleem, Muhammad Ahmad and Dhawan, Nikita and Guan, Jonas and Cattan, Yannis and Boenisch, Franziska and Papernot, Nicolas},
booktitle = {Advances in Neural Information Processing Systems 35 (NeurIPS 2022)},
year = {2022},
url = {https://papers.nips.cc/paper_files/paper/2022/hash/4ebf0617b32da2cd083c3b17c7285cce-Abstract-Conference.html},
eprint = {2209.09024},
archivePrefix = {arXiv},
}Toward Sharing Brain Images: Differentially Private TOF-MRA Images With Segmentation Labels Using Generative Adversarial Networks
Frontiers in Artificial Intelligence, 2022 Journal
Sharing labeled data is crucial to acquire large datasets for various Deep Learning applications. In medical imaging, this is often not feasible due to privacy regulations. Whereas anonymization would be a solution, standard techniques have been shown to be partially reversible. Here, synthetic data using a Generative Adversarial Network (GAN) with differential privacy guarantees could be a solution to ensure the patient's privacy while maintaining the predictive properties of the data. In this study, we implemented a Wasserstein GAN (WGAN) with and without differential privacy guarantees to generate privacy-preserving labeled Time-of-Flight Magnetic Resonance Angiography (TOF-MRA) image patches for brain vessel segmentation. The synthesized image-label pairs were used to train a U-net which was evaluated in terms of the segmentation performance on real patient images from two different datasets. Additionally, the Fréchet Inception Distance (FID) was calculated between the generated images and the real images to assess their similarity. During the evaluation using the U-Net and the FID, we explored the effect of different levels of privacy which was represented by the parameter ϵ. With stricter privacy guarantees, the segmentation performance and the similarity to the real patient images in terms of FID decreased. Our best segmentation model, trained on synthetic and private data, achieved a Dice Similarity Coefficient (DSC) of 0.75 for ϵ = 7.4 compared to 0.84 for ϵ = ∞ in a brain vessel segmentation paradigm (DSC of 0.69 and 0.88 on the second test set, respectively). We identified a threshold of ϵ <5 for which the performance (DSC <0.61) became unstable and not usable. Our synthesized labeled TOF-MRA images with strict privacy guarantees retained predictive properties necessary for segmenting the brain vessels. Although further research is warranted regarding generalizability to other imaging modalities and performance improvement, our results mark an encouraging first step for privacy-preserving data sharing in medical imaging.
@article{kossen2022toward,
title = {Toward Sharing Brain Images: Differentially Private TOF-MRA Images With Segmentation Labels Using Generative Adversarial Networks},
author = {Kossen, Tabea and Hirzel, Manuel A. and Madai, Vince I. and Boenisch, Franziska and Hennemuth, Anja and Hildebrand, Kristian and Pokutta, Sebastian and Sharma, Kartikey and Hilbert, Adam and Sobesky, Jan and Galinovic, Ivana and Khalil, Ahmed A. and Fiebach, Jochen B. and Frey, Dietmar},
journal = {Frontiers in Artificial Intelligence},
year = {2022},
url = {https://doi.org/10.3389/frai.2022.813842},
}2021
Privatsphäre und Maschinelles Lernen: Über Gefahren und Schutzmaßnahmen
Datenschutz und Datensicherheit - DuD, 2021 Journal
Wir alle generieren täglich große Mengen an potenziell sensiblen Daten: Wörter, die wir auf unseren Smartphones eingeben, Produkte, die wir online kaufen, Gesundheitsdaten, die wir in Apps erfassen. All diese Daten haben eins gemeinsam – sie werden an verschiedensten Stellen in Machine-Learning-Modelle (ML-Modelle) eingespeist. Mithilfe der Zusammenhänge, die sich in diesen „Trainingsdaten“ finden lassen, können die Modelle immer präzisere Voraussagen hinsichtlich unseres Verhaltens oder anderer Fragestellungen treffen. Lange Zeit bestand die Annahme, dass dieser Prozess eine Einbahnstraße ist: Wegen der komplexen Datenverarbeitung in ML-Modellen kann man zwar Trainingsdaten einspeisen, sie aber später nicht wiederherstellen. In den letzten Jahren wurde jedoch gezeigt, dass anhand gezielter Attacken gegen trainierte Modelle Rückschlüsse auf die ursprünglichen Daten gezogen werden können. Der Schutz der Privatsphäre in ML-Modellen ist daher, insbesondere vor dem Hintergrund der Anforderungen der Datenschutz-Grundverordnung, ein Thema von großer Bedeutung. Er kann und muss durch den Einsatz geeigneter Methoden, wie z.B. Differential Privacy, aktiv gestärkt werden.
@article{boenisch2021privatsphaere,
title = {Privatsphäre und Maschinelles Lernen: Über Gefahren und Schutzmaßnahmen},
author = {Boenisch, Franziska},
journal = {Datenschutz und Datensicherheit - DuD},
year = {2021},
url = {https://doi.org/10.1007/s11623-021-1469-3},
}Side-Channel Attacks on Query-Based Data Anonymization
Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security, 2021 ACM CCS
A longstanding problem in computer privacy is that of data anonymization. One common approach is to present a query interface to analysts, and anonymize on a query-by-query basis. In practice, this approach often uses a standard database back end, and presents the query semantics of the database to the analyst. This paper presents a class of novel side-channel attacks that work against any query-based anonymization system that uses a standard database back end. The attacks exploit the implicit conditional logic of database runtime optimizations. They manipulate this logic to trigger timing and exception-throwing side-channels based on the contents of the data. We demonstrate the attacks on the implementation of the CHORUS Differential Privacy system released by Uber as an open source project. We obtain perfect reconstruction of millions of data values even with a Differential Privacy budget smaller than epsilon = 1.0 and no prior knowledge. The paper also presents the design of a general defense to the runtime-optimization attacks, and a concrete implementation of the defense in the latest version of Diffix. The defense works without modifications to the back end database, and operates by modifying SQL to eliminate the runtime optimization or disable the side-channels. In addition, two other attacks that exploit specific flaws in Diffix and CHORUS are reported. These have been fixed in the respective implementations.
@inproceedings{boenisch2021side,
title = {Side-Channel Attacks on Query-Based Data Anonymization},
author = {Boenisch, Franziska and Munz, Reinhard and Tiepelt, Marcel and Hanisch, Simon and Kuhn, Christiane and Francis, Paul},
booktitle = {Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security},
year = {2021},
url = {https://doi.org/10.1145/3460120.3484751},
}A Systematic Review on Model Watermarking for Neural Networks
Frontiers in Big Data, 2021 Journal
Machine learning (ML) models are applied in an increasing variety of domains. The availability of large amounts of data and computational resources encourages the development of ever more complex and valuable models. These models are considered the intellectual property of the legitimate parties who have trained them, which makes their protection against stealing, illegitimate redistribution, and unauthorized application an urgent need. Digital watermarking presents a strong mechanism for marking model ownership and, thereby, offers protection against those threats. This work presents a taxonomy identifying and analyzing different classes of watermarking schemes for ML models. It introduces a unified threat model to allow structured reasoning on and comparison of the effectiveness of watermarking methods in different scenarios. Furthermore, it systematizes desired security requirements and attacks against ML model watermarking. Based on that framework, representative literature from the field is surveyed to illustrate the taxonomy. Finally, shortcomings and general limitations of existing approaches are discussed, and an outlook on future research directions is given.
@article{boenisch2021systematic,
title = {A Systematic Review on Model Watermarking for Neural Networks},
author = {Boenisch, Franziska},
journal = {Frontiers in Big Data},
year = {2021},
url = {https://doi.org/10.3389/fdata.2021.729663},
eprint = {2009.12153},
archivePrefix = {arXiv},
}Privacy Needs Reflection: Conceptional Design Rationales for Privacy-Preserving Explanation User Interfaces
Mensch und Computer 2021-Workshopband, 2021 Workshop
The application of machine learning (ML) in the medical domain has recently received a lot of attention. However, the constantly growing need for data in such ML-based approaches raises many privacy concerns, particularly when data originate from vulnerable groups, for example, people with a rare disease. In this context, a challenging but promising approach is the design of privacy-preserving computation technologies (e.g. differential privacy). However, design guidance on how to implement such approaches in practice has been lacking. In our research, we explore these challenges in the design process by involving stakeholders from medicine, security, ML, and human-computer interaction, as well as patients themselves. We emphasize the suitability of reflective design in this context by considering the concept of privacy by design. Based on a real-world use case situated in the healthcare domain, we explore the existing privacy needs of our main stakeholders, i.e. medical researchers or physicians and patients. Stakeholder needs are illustrated within two scenarios that help us to reflect on contradictory privacy needs. This reflection process informs conceptional design rationales and our proposal for privacy-preserving explanation user interfaces. We propose that the latter support both patients' privacy preferences for a meaningful data donation and experts' understanding of the privacy-preserving computation technology employed.
@inproceedings{sorries2021privacy,
title = {Privacy Needs Reflection: Conceptional Design Rationales for Privacy-Preserving Explanation User Interfaces},
author = {Sörries, Peter and Müller-Birn, Claudia and Glinka, Katrin and Boenisch, Franziska and Margraf, Marian and Sayegh-Jodehl, Sabine and Rose, Matthias},
booktitle = {Mensch und Computer 2021-Workshopband},
year = {2021},
url = {https://doi.org/10.18420/muc2021-mci-wsc-389},
}“I Never Thought About Securing My Machine Learning Systems”: A Study of Security and Privacy Awareness of Machine Learning Practitioners
Proceedings of Mensch Und Computer, 2021 Mensch und Computer
Machine learning (ML) models have become increasingly important components of many software systems. Therefore, ensuring their privacy and security is a crucial task. Current research mainly focuses on the development of security and privacy methods. However, ML practitioners, as the individuals in charge of translating the theory into practical applications, have not yet received much attention. In this paper, the security and privacy awareness and practices of ML practitioners are studied through an online survey with the aim of (1) gaining insight into the current state of awareness, (2) identifying influencing factors, and (3) exploring the actual use of existing methods and tools. The results indicate a relatively low general privacy and security awareness among the ML practitioners surveyed. In addition, they are less familiar with ML privacy protection methods than with general security methods or ML-related ones. Moreover, awareness correlates with the years of working with ML but not with the level of academic education or the field of occupation. Finally, the practitioners in this study seem to experience uncertainties in implementing legal frameworks, such as the European General Data Protection Regulation, into their ML workflows.
@inproceedings{boenisch2021never,
title = {“I Never Thought About Securing My Machine Learning Systems”: A Study of Security and Privacy Awareness of Machine Learning Practitioners},
author = {Boenisch, Franziska and Battis, Verena and Buchmann, Nicolas and Poikela, Maija},
booktitle = {Proceedings of Mensch Und Computer},
year = {2021},
url = {https://doi.org/10.1145/3473856.3473869},
}2018
Tracking All Members of a Honey Bee Colony Over Their Lifetime Using Learned Models of Correspondence
Frontiers in Robotics and AI, 2018 Journal
Computational approaches to the analysis of collective behavior in social insects increasingly rely on motion paths as an intermediate data layer from which one can infer individual behaviors or social interactions. Honey bees are a popular model for learning and memory. Previous experience has been shown to affect and modulate future social interactions. So far, no lifetime history observations have been reported for all bees of a colony. In a previous work we introduced a recording setup customized to track up to 4,000 marked bees over several weeks. Due to detection and decoding errors of the bee markers, linking the correct correspondences through time is non-trivial. In this contribution we present an in-depth description of the underlying multi-step algorithm which produces motion paths, and also improves the marker decoding accuracy significantly. The proposed solution employs two classifiers to predict the correspondence of two consecutive detections in the first step, and two tracklets in the second. We automatically tracked ~2,000 marked honey bees over 10 weeks with inexpensive recording hardware using markers without any error correction bits. We found that the proposed two-step tracking reduced incorrect ID decodings from initially ~13% to around 2% post-tracking. Alongside this paper, we publish the first trajectory dataset for all bees in a colony, extracted from ~3 million images covering 3 days. We invite researchers to join the collective scientific effort to investigate this intriguing animal system. All components of our system are open-source.
@article{boenisch2018tracking,
title = {Tracking All Members of a Honey Bee Colony Over Their Lifetime Using Learned Models of Correspondence},
author = {Boenisch, Franziska and Rosemann, Benjamin and Wild, Benjamin and Dormagen, David M. and Wario, Fernando and Landgraf, Tim},
journal = {Frontiers in Robotics and AI},
year = {2018},
url = {https://doi.org/10.3389/frobt.2018.00035},
eprint = {1802.03192},
archivePrefix = {arXiv},
}