[Paper Review] Segmentations-Leak: Membership Inference Attacks and Defenses in Semantic Image Segmentation
This paper presents the first membership inference attacks and defenses for semantic segmentation models, introducing structured loss maps as a key attack vector that exploits spatial structure in predictions. It demonstrates that attacks achieve high success rates (AUC > 0.9) on Cityscapes, BDD100K, and Mapillary Vistas, while defenses like DPSGD reduce leakage with minimal utility loss (≤1.36 mIoU degradation), proving effective privacy protection with little performance cost.
Today's success of state of the art methods for semantic segmentation is driven by large datasets. Data is considered an important asset that needs to be protected, as the collection and annotation of such datasets comes at significant efforts and associated costs. In addition, visual data might contain private or sensitive information, that makes it equally unsuited for public release. Unfortunately, recent work on membership inference in the broader area of adversarial machine learning and inference attacks on machine learning models has shown that even black box classifiers leak information on the dataset that they were trained on. We show that such membership inference attacks can be successfully carried out on complex, state of the art models for semantic segmentation. In order to mitigate the associated risks, we also study a series of defenses against such membership inference attacks and find effective counter measures against the existing risks with little effect on the utility of the segmentation method. Finally, we extensively evaluate our attacks and defenses on a range of relevant real-world datasets: Cityscapes, BDD100K, and Mapillary Vistas.
Motivation & Objective
- To investigate whether state-of-the-art semantic segmentation models leak membership information about training data.
- To develop effective membership inference attacks tailored to the structural nature of segmentation outputs.
- To evaluate and propose practical defenses that reduce membership leakage without significantly degrading segmentation utility.
- To assess the trade-off between privacy protection and model performance across real-world datasets like Cityscapes, BDD100K, and Mapillary Vistas.
Proposed method
- Proposes a membership inference attack pipeline based on per-patch analysis of segmentation outputs.
- Introduces structured loss maps (SLMs) as a novel, high-performing representation for membership inference by capturing spatial structure in prediction errors.
- Employs a binary classifier trained on shadow models to distinguish between training and non-training samples using SLMs as input.
- Evaluates multiple defenses: Gaussian noise on inference outputs, dropout at test time, and differentially private stochastic gradient descent (DPSGD) during training.
- Uses class activation maps (CAMs) to interpret and visualize which image regions are most informative for membership detection.
- Employs ablation studies and joint utility-privacy plots (AUC vs. mIoU) to evaluate defense effectiveness across datasets and settings.
Experimental results
Research questions
- RQ1Can membership inference attacks be successfully mounted on semantic segmentation models using structural outputs like loss maps?
- RQ2How does the spatial structure of segmentation predictions affect the success of membership inference attacks?
- RQ3Which defense mechanisms—Gaussian noise, dropout, or DPSGD—most effectively reduce membership leakage while preserving segmentation utility?
- RQ4What is the trade-off between privacy protection and model performance (measured by mIoU) under different defense strategies?
- RQ5How do interpretability methods like CAMs reveal the regions most informative for membership inference?
Key findings
- Structured loss maps (SLMs) achieve the highest attack success, with AUC scores exceeding 0.9 on all evaluated datasets, outperforming other representations like confidence scores or raw segmentation maps.
- The attack succeeds even under black-box assumptions, demonstrating that spatial structure in model outputs leaks membership information without requiring model or data distribution priors.
- Differential privacy via DPSGD reduces membership leakage effectively, achieving near-perfect privacy protection (AUC ≈ 0.5) with minimal performance degradation of only 0.75–1.36 mIoU on the three datasets.
- Gaussian noise applied at inference time provides a lightweight, effective defense with no training cost, offering a practical baseline for membership protection.
- Interpretability analysis via CAMs shows that attacks focus on object boundaries and class intersections, and that defenses like DPSGD alter these critical regions significantly, reducing attack effectiveness.
- The study confirms that membership inference is a real threat in semantic segmentation, but also shows that feasible, utility-preserving defenses exist, especially DPSGD and inference-time noise.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.