July 15, 2026
To overcome data scarcity and privacy constraints in data collection, it has become standard practice across academia and industry to augment real training data with text-to-image (T2I)-generated synthetic data, a paradigm we term Real-Synthetic Mix-Training (RSMT). While substituting synthetic data for sensitive real samples is widely regarded as a means to mitigate privacy exposure of the substituted data, the risk to the remaining real samples that actively participate in training has remained largely unexamined.
This work reveals, for the first time, that RSMT can substantially amplify privacy leakage of these real training samples. We establish a theoretical framework, RSMT Memorization Amplification, proving that incorporating synthetic data
displaces real samples toward peripheral regions of the mixed feature space, in turn forcing the model to memorize them more aggressively. Guided by this foundation, we propose RSMixLeak to systematically assess this risk through membership
inference attacks (MIAs). RSMixLeak comprises two variants depending on the adversary’s capability. The non-adversarial variant audits a benign RSMT pipeline with an honest T2I provider, establishing a lower bound on the leakage induced by the
intrinsic gap between real and T2I-generated data. The adversarial variant considers an adversary who controls the T2I model or contributes crafted data to the T2I provider, and deliberately enlarges this distributional gap on a target class via either
high-level semantic attribute binding or imperceptible pixel-level coating, further amplifying leakage on real training data while improving downstream model utility. Motivated by these findings, we further propose a lightweight leakage propensity
indicator computable from real data alone that reliably identifies high-risk datasets unsuitable for entering RSMT, as a self-assessable mitigation.
Extensive experiments across five benchmark datasets spanning facial and satellite imagery, together with four state-of-the-art T2I generators — two open-source models (SD1.5 and Flux-mini) and two commercial APIs (Google’s Nano Banana and OpenAI’s ChatGPT Images 2.0) — provide strong evidence that RSMT jeopardizes the privacy of real training samples.
The rise of deep learning (DL) has entirely reshaped the landscape of computer vision research over the past decades, with the recent surge in Artificial Intelligence Generated Content (AIGC) propelling a new wave of unprecedented revolution [1]–[3]. A well-known challenge is that the performance of most contemporary DL technologies is long-standing bottlenecked by the quality and quantity of natural image data. Manually collecting and annotating large, diverse, and fair datasets is inherently time-consuming and labor-intensive, and imposes practical burdens for storage and transfer [4]–[7]. More critically, across a wide range of real-world scenarios, obtaining sufficient training data itself often poses a nontrivial barrier.
Fortunately, the latest breakthroughs in text-to-image (T2I) generation have flourished a large and continuously increasing number of open-source T2I models (e.g., Stable Diffusion (SD) [8] and Flux [9]) and commercial APIs (e.g., Google’s Nano Banana [10] and OpenAI’s latest ChatGPT Images 2.0 [11]), exhibiting stunning image generation capabilities and inspiring a surge in leveraging them for data augmentation [4]. In particular, by using text prompts to control generated image content precisely, this approach can synthesize task-specific datasets that benefit low-resource or privacy-compliant areas (e.g., facial recognition, satellite imagery) and produce categorical labels without human labor. Building on these benefits, synthetic data has been rapidly and widely adopted across both academia and industry as a data augmentation tool, typically blended with real training data for mix-training downstream models, a paradigm we term Real-Synthetic Mix-Training (RSMT). For instance, Google Research reports that augmenting real datasets with ImageNet-style images generated by Imagen [12] can boost the classification accuracy of ResNet and Transformer [4]. In practice, NVIDIA incorporates synthetic trajectory data produced by Cosmos World Foundation Models [13] with real-world data to enhance the performance of Isaac GROOT N1.5.
Beyond utility gains, synthetic data has also been posited as a privacy safeguard that replaces sensitive real samples unable to enter training due to privacy or licensing constraints and thereby protects them from exposure [5], [14]. However, the real data that ultimately enters the training pipeline may still carry sensitive information, and the specific privacy risks that synthetic data poses to these remaining real training samples are overlooked to date and poorly understood.
To quantify privacy risks, MIAs have emerged as the standard auditing tool [15]–[18]. By leveraging the model’s tendency to memorize its training data, MIAs identify subtle discrepancies in outputs between members and non-members, enabling attackers to infer whether a specific sample was part of the training data, thereby posing a substantial threat to DL models [19]–[22]. For instance, membership inference against a melanoma classifier trained on dermatoscopic images can effectively disclose a patient’s sensitive information, revealing that the individual has been diagnosed with the corresponding condition [23]. On the other hand, MIAs can also serve as an auditing tool for assessing the extent of privacy leakage in deployed models.
Notably, state-of-the-art T2I generative models unavoidably embed measurable low-level artifacts into synthetic images [24]–[26], inducing an irreducible distributional gap between synthetic and real data. When synthetic samples dominate the training set, this gap renders the remaining real samples atypical relative to the dominant synthetic distribution, making them hard examples that compel the model to memorize them more aggressively to minimize the training loss. Although prior studies [5], [14] have noted the privacy-preserving potential of T2I-generated synthetic data via MIAs, they focus exclusively on scenarios where downstream models are trained on pure synthetic datasets serving as proxies for real samples excluded from training, not RSMT. The emerging RSMT has not been looked at yet, where the distributional discrepancy between real and synthetic data, may instead expose the real samples that actively participate in training.
We hence ask the following research questions to underscore the urgent need for a comprehensive assessment of the privacy risks arising from the emerging RSMT scenario.
Does the incorporation of T2I-generated synthetic data amplify the privacy leakage of the real training samples that actively participate in training? If so, to what extent is the privacy risk exacerbated?
This work, for the first time, unveils and proves that incorporating T2I-generated synthetic data exacerbates the privacy leakage of real samples that actively participate in training. Firstly, we establish a theoretical framework, RSMT Memorization
Amplification, proving that the intrinsic distributional gap between real and T2I-generated data pushes real samples toward peripheral regions of the mixed feature space, turning them into an atypical subpopulation that the model is forced to memorize
more aggressively. Guided by this theoretical foundation, we propose RSMixLeak, a systematic framework that quantifies the privacy leakage of real training samples through MIAs and shows that the intrinsic gap alone suffices to amplify
leakage, which an adversary can further enlarge by manipulating the upstream T2I pipeline. Below, we brief the key findings of RSMixLeak and its core design.
Theoretical Foundation. We formalize RSMT Memorization Amplification as a unified theoretical framework, establishing that RSMT provably amplifies the privacy risk of real training samples over real-only training. First, we prove that the irreducible real–synthetic distributional gap displaces real samples toward peripheral regions of the mixed feature space and relegates them to a tail subpopulation that is atypical relative to the dominant synthetic core (Theorem 1). Building on this, we show that these atypical real samples cannot be captured by shared statistical patterns and thus rely on substantially amplified memorization to be fitted (Theorem 2). Both theorems are substantiated by corresponding empirical evidence.
RSMixLeak. The above theorems lie the foundations of RSMixLeak, a framework that systematically audits RSMT-induced privacy leakage to real training samples through two progressive variants differentiated by
the adversary’s capability to manipulate the upstream T2I pipeline.
Non-adversarial Audit. We first audit a benign non-adversarial RSMT pipeline with an honest T2I provider, where the adversary only has black-box query access to the downstream victim model. Specifically, we collect synthetic data from open-source backbones, i.e., pre-trained SD1.5 and Flux-mini (a lightweight TencentARC-released substitute for FLUX.1-dev)1, plus their LoRA fine-tuned variants for specialized domains and commercial APIs, i.e., Google’s Nano Banana and OpenAI’s ChatGPT Images 2.0, mix it with real data at a 1:4 real-to-synthetic ratio, and train the victim classifier. Four representative MIA methods spanning training-based [15], [27] and metric-based methods [28], [29] then quantify the membership leakage. Our results reveal that the intrinsic gap alone substantially amplifies leakage. For example, when applying RMIA [29] on synthetic data generated by pre-trained SD1.5 for ImageNet100, the TPR@0.1% FPR increases from 12% to 21.2%.
Adversarial Audit. Adversarial RSMixLeak considers an adversary who operates upstream as a malicious T2I provider or as a contributor injecting crafted data into the T2I training set. Since memorization amplification grows with the
real–synthetic distributional gap \(\delta\), RSMixLeak deliberately enlarges \(\delta\) on a chosen victim target class through two schemes. Semantic attribute binding
scheme fine-tunes the T2I model on bias images that consistently embed a rare but visually natural attribute underrepresented in the real distribution, shifting the synthetic distribution at the semantic level. Pixel-level coating scheme
applies imperceptible perturbations directionally optimized away from the real-class centroid; the T2I model absorbs these perturbations as class-intrinsic features and reproduces the induced shift in its generated samples. Both adversarial schemes further
amplify privacy leakage beyond the non-adversarial RSMixLeak baseline while improving downstream classification utility over real-only training. For instance, on SD1.5/VGGFace2, semantic attribute binding further lifts TPR@0.1% FPR from 4.0%
to 26.0% and AUC from 89.2% to 92.8%, while pixel-level coating achieves 12.0% TPR@0.1% FPR and 93.4% AUC.
Our main contributions are summarized as follows:
\(\bullet\) We establish the theoretical foundation that RSMT amplifies the memorization of real training samples, as the large influx of synthetic data renders them an atypical tail subpopulation that the model is compelled to memorize more aggressively.
\(\bullet\) We propose RSMixLeak, the first framework for systematically auditing the privacy leakage of the RSMT paradigm through the lens of MIAs, showing that benign RSMT alone is sufficient to jeopardize
the privacy of real training samples.
\(\bullet\) We further show that an adversary can substantially amplify leakage via enlarging the distributional gap \(\delta\) between real and synthetic data on a chosen target class, through semantic or pixel-level manipulation on the upstream T2I pipeline.
\(\bullet\) We propose a lightweight leakage propensity indicator computable from real data alone, which reliably identifies high-risk datasets unsuitable for RSMT before synthetic data generation or downstream training, as an avoidance countermeasure.
\(\bullet\) We conduct extensive experiments across diverse datasets, T2I backbones, and commercial APIs that validate the effectiveness of RSMixLeak. We also provide practical mitigation to
RSMixLeak e.g., by computing an indicator upon the real samples only.
T2I generation has witnessed remarkable progress in the past few years, with the emergence of numerous accessible open-source and commercial models capable of producing high-fidelity, photo-realistic images. Specifically, early mainstream T2I models predominantly relied on the UNet-based architecture (e.g., SD1.5 [8], SDXL [30], Imagen [12], etc.), enabling image generation by conducting text-conditioned diffusion within a latent space, which has been widely adopted in both academic research and industrial applications. More recently, Diffusion transformers (DiT) [31] burst onto the scene as a notable evolution (i.e., Flux [9], Sana [32]), replacing the UNet backbone with vision transformers, supporting high-quality image generation.
For general-domain tasks such as synthesizing ImageNet-like data, large-scale pre-trained T2I models can reliably generate high-quality samples owing to their extensive training on massive and broadly representative image–text corpora, whereas domain-specific tasks (e.g., satellite imagery) can be effectively supported by applying parameter-efficient fine-tuning (PEFT) methods (e.g., LoRA [33]) to fine-tune the models effectively using a small amount of real data from the target domain [6]. Moreover, an increasing number of companies, such as Synthesis AI [34] (serving clients like Amazon, Apple, Google, and Intel), offer commercial synthetic data services, enabling the creation of customized enterprise synthetic datasets.
Synthetic data has been extensively utilized across various computer vision tasks, including robotics [35], [36], autonomous driving [37], and object detection [37], [38]. An earlier line of work explores synthetic data via dataset condensation and distillation, which compresses real training sets into smaller synthetic surrogates of comparable utility, reducing storage and accelerating training [39]–[41]. While Dong et al. [42] claim that condensed data inherently resist membership inference since no real sample enters training, Carlini et al. [43] refute this by showing the reported gain becomes statistically insignificant against a properly measured baseline. Liu et al. [44] further exposed backdoor vulnerabilities in distilled datasets. However, growing attention has shifted to T2I-generated synthetic data, which is also the focus of our work. Primarily, existing research can be grouped into two categories: one line of work examines the use of purely synthetic data to evaluate its standalone effectiveness, while the other leverages synthetic data as an augmentation source, integrating it with real data to assess the improvement in performance.
Existing studies investigate training solely on T2I generated synthetic data from multiple perspectives, e.g., model performance, robustness, and scalability. Although purely synthetic training typically falls short of matching real data performance, Sariyildiz et al. [1] first demonstrate that carefully leveraging prompt engineering can substantially narrow the performance gap between models trained on T2I-generated synthetic versus real images. Singh et al. [6] show that self-supervised and multi-modal models trained exclusively on T2I-generated synthetic data can match real image baselines across several robustness metrics.
Cutting-edge works highlight that when T2I-generated synthetic data works collaboratively with real data for model training, a paradigm we term Real-Synthetic Mix Training (RSMT), it is not only more common and effective in practice but also the focus of our work. RSMT can enhance performance across a variety of tasks, particularly in data-scarce scenarios. For example, studies [4], [7], [45] demonstrate that synthetic images generated by GLIDE, SD1.5, and Imagen, respectively, provide measurable gains when jointly used with real data for model training. Singh et al. [6] further report that the RSMT paradigm yields models that are less susceptible to both adversarial perturbations and natural distributional noise. In industry, NVIDIA uses synthetic trajectory data generated by WFMs [13], co-training it with real-world data to improve the performance of Isaac GROOT N1.5 [46], an open foundation model for humanoid robot reasoning and skills.
MIAs are widely adopted to assess the privacy risks of DL models by determining whether a given sample is part of the model’s training set [16], [47]–[54]. Formally, for a target sample \(x\) and a victim model \(\mathcal{M}\), the membership inference algorithm \(\mathcal{A}\) is defined as: \[\mathcal{A}: (x, \mathcal{M}) \rightarrow {0,1},\] where the output indicates whether \(x\) is a member (1) or a non-member (0) of the training dataset of \(\mathcal{M}\).
In practical scenarios, MIAs are typically conducted under the black-box assumption, where the adversary can only access the model’s output probabilities (i.e., confidence scores). Existing approaches can be broadly divided into training-based and metric-based methods, depending on whether an attack meta-classifier is trained. Training-based methods first construct shadow models to approximate the behavior of the victim model, then generate labeled attack metadata to train a binary meta-classifier for membership inference. For instance, Shokri et al. [15] use prediction confidence vectors as attack metadata, while Yuan et al. [27] further incorporate sensitivity, label and posterior to train a transformer-based attack model. In contrast, metric-based approaches avoid training the attack meta-classifier and instead rely on statistical indicators derived from the victim model, i.e., loss [18], [28], posterior [18], likelihood ratios [16], and scaled confidence score [55]. More recently, Du et al. [56] improved attack effectiveness by exploiting membership dependencies.
Furthermore, MIAs have also been employed as audit tools to analyze privacy risks in various scenarios, including explainable machine learning [57], visual encoders [58], [59], machine unlearning [60], model compression [61] and RAG datastore [62], [63]. Recent efforts further extend MIAs to foundation models, including VLMs [64], LLMs [65]–[69], text-to-video models [70] and diffusion models [71]–[73].
To the best of our knowledge, no prior work has investigated the privacy leakage of real training samples in the RSMT pipeline, where T2I-generated synthetic data is jointly used with real data to train downstream models. Existing efforts treat synthetic data as a proxy for real samples, either to circumvent the prohibitive cost of curating real datasets [5], [6] or to substitute for real samples excluded from training and thereby shield them from exposure [14].
In contrast, our work focuses on the prevailing RSMT paradigm, in which T2I-generated synthetic data augments real training data to improve downstream model performance, particularly when real data is scarce. Within this paradigm, we investigate how—and to what extent—the incorporation of (non-adversarial/adversarial) T2I-generated synthetic data affects the privacy leakage of the real samples that actively participate in training.
While the RSMT paradigm has been adopted for data augmentation, we posit that it inevitably amplifies the memorization of sensitive real training samples, thereby exacerbating the privacy leakage of the latter. To formalize this, we establish a theoretical framework for RSMT Memorization Amplification, which comprises two progressive claims, each supported by empirical evidence. First, we prove that incorporating a volume of synthetic data pushes real samples toward peripheral regions of the mixed feature space, rendering them relatively atypical (Theorem 1). Building on this, we demonstrate that such atypical real samples—those from the tail subpopulation—exhibit amplified memorization under mixed-training (Theorem 2).
Incorporating a volume of synthetic data into the training set can inadvertently shift the remaining real samples toward off-centroid regions of the mixed feature space, implicitly relegating them to a tail subpopulation and being relatively atypical.
To formalize this claim, we begin by defining class-wise feature centroids under mixed data and then characterize how real samples are displaced toward peripheral regions, thereby forming a tail subpopulation.
Definition 1 (Feature Centroid of Mixed Data). Let \(\mathcal{D}_{\mathrm{real}}\) and \(\mathcal{D}_{\mathrm{syn}}\) denote the real and synthetic training sets, respectively, with \(|\mathcal{D}_{\mathrm{real}}| = N\) and mixing ratio \(\lambda = |\mathcal{D}_{\mathrm{syn}}|/|\mathcal{D}_{\mathrm{real}}|>1\). Denote by \(\phi:\mathcal{X}\to\mathbb{R}^d\) a fixed feature extractor (e.g., a pre-trained CLIP encoder). For each class \(c\), let \(\boldsymbol{\mu}_c^{\mathrm{real}}, \boldsymbol{\mu}_c^{\mathrm{syn}}\in\mathbb{R}^d\) be the per-class centroids of the real and synthetic samples, respectively, and let \[\boldsymbol{\mu}_c^{\mathrm{mix}} = \frac{1}{1+\lambda}\,\boldsymbol{\mu}_c^{\mathrm{real}} + \frac{\lambda}{1+\lambda}\,\boldsymbol{\mu}_c^{\mathrm{syn}}\] be the mixed centroid.
Theorem 1 (RSMT Push Real Samples to Peripheral Regions of the Mixed Feature Space). Under Definition 1, assume the per-class feature distributions satisfy \(\phi(\mathcal{D}_c^{\mathrm{real}})\sim \mathcal{N}(\boldsymbol{\mu}_c^{\mathrm{real}},\Sigma_r)\) and \(\phi(\mathcal{D}_c^{\mathrm{syn}})\sim \mathcal{N}(\boldsymbol{\mu}_c^{\mathrm{syn}},\Sigma_s)\). Suppose there exists a constant \(\delta>0\) such that \[\label{eq:gap} \bigl\|\boldsymbol{\mu}_c^{\mathrm{real}} - \boldsymbol{\mu}_c^{\mathrm{syn}}\bigr\|_2 \;\geq\; \delta\tag{1}\] reflecting the irreducible distributional gap induced by T2I generative artifacts. Then, for any \(\mathbf{x}\in\mathcal{D}_c^{\mathrm{real}}\): \[\label{eq:atypicality} \mathbb{E}\!\left[\bigl\|\phi(\mathbf{x}) - \boldsymbol{\mu}_c^{\mathrm{mix}}\bigr\|_2^2\right] \;>\; \mathbb{E}\!\left[\bigl\|\phi(\mathbf{x}) - \boldsymbol{\mu}_c^{\mathrm{real}}\bigr\|_2^2\right] + \left(\frac{\lambda}{1+\lambda}\right)^{\!2}\delta^2\tag{2}\]
Figure 1: Average 2D log power spectra of real and T2I-generated images on the celebrity face dataset, along with their spectral differences. (a)(b): Average power spectra of real, SD1.5 and Flux-mini images, where brighter regions indicate higher spectral energy. (c): Spectral differences relative to real data, where red denotes higher energy in synthetic data, blue denotes lower, and white indicates no difference.. a — Real, b — SD, c — \(\Delta\)SD, d — Flux, e — \(\Delta\)Flux
Proof. See Appendix 7.3 for details. This phenomenon arises from a fundamental difference in how the two data sources are constructed. On one side, it is a well-established fact that state-of-the-art T2I generative models unavoidably embed measurable frequency and spectral artifacts into synthetic images [24]–[26]. On the other side, since T2I-synthetic samples are generated from latent noise \(\mathbf{z}\) drawn from a standard distribution (e.g., Gaussian), these artifacts manifest as a consistent, predictable pattern shared across synthetic images, causing them to cluster tightly in feature space. However, real samples exhibit non-standard, instance-specific artifacts that no generator trained on a standard latent prior can reproduce, e.g., atypical poses and lighting irregularities, which disperse them across an irregular, sparsely populated region of the feature space. The two effects compound into an irreducible gap that prevents the synthetic distribution from faithfully enveloping the real one. When real samples constitute a minority within the mixed training set, the combined effect of distributional gap and numerical imbalance pushes them towards the periphery of the mixed feature space (Theorem 1), placing them in the tail of the mixed distribution that are atypical relative to the dominant synthetic core.
Empirical Evidence: We first compute the average 2D log power spectra of real and T2I-synthetic images together with their residuals (Figure 1). The contrast is visible at the individual spectra. The real spectrum (Figure 1 (a)) shows scattered off-axis components and a granular texture reflecting sample-specific irregularities, whereas the synthetic spectra (Figure 1 (b),(d)) dominated by axis-aligned bands, reflecting a consistent generator-specific artifacts. The residual maps (Figure 1 (c),(e)) further confirm that this gap is non-vanishing across spatial frequencies. We further quantify this gap by measuring the per-class CLIP centroid distance between two data sources (Figure 2 (a)), which remains strictly positive across all classes. To verify the downstream effect of this gap as established by Theorem 1, we visualize CLIP feature representations via t-SNE [74] (Figure 2 (b)–(c)), comparing RSMT against a real-only baseline that adds the same number of additional real samples as the synthetic portion. In the real-only baseline (b), the original and additional real samples occupy the same regions within each cluster, with the two groups indistinguishable in their spatial distribution. Under RSMT (c), however, real samples are consistently displaced toward cluster peripheries as a tail subpopulation, while synthetic samples dominate the dense cores.
Figure 2: Empirical validation of the distributional gap and peripheral displacement. (a) Per-class CLIP feature centroid distance \(\|\boldsymbol{\mu}_{c}^{\text{real}} - \boldsymbol{\mu}_{c}^{\text{syn}}\|_2\) between real and Flux-mini generated synthetic data. (b)–(c) t-SNE of CLIP features for 100 original real samples augmented with: (b) 400 additional real samples, and (c) 400 Flux-mini generated synthetic samples.. a — Centroid gap, b — Real only baseline, c — RSMT
Real samples, once pushed into the tail of the mixed feature distribution, turn atypical relative to the dominant synthetic core, forcing the model to memorize them more strongly.
To prove this, we adopt the memorization score [75] to quantify the degree to which a trained model memorizes a given sample, and then establish that the RSMT pipeline fundamentally amplifies memorization for real training samples.
Definition 2 (Memorization Score). Following the formal definition introduced by Feldman [75], for a learning algorithm \(\mathcal{A}\), training set \(S\), and sample \(z_i = (x_i, y_i) \in S\), the memorization score is \[\mathrm{mem}(\mathcal{A},\!S,\!z_i) \!:=\! \Pr_{h \leftarrow \mathcal{A}(S)}\![h(x_i)\!=\!y_i] - \Pr_{h \leftarrow \mathcal{A}(S \setminus \{z_i\})}\![h(x_i)\!=\!y_i]\] A higher score indicates that the algorithm’s prediction on \(z_i\) relies more heavily on having observed \(z_i\) during training, i.e., stronger memorization. For notational convenience, we denote the second term as the leave-one-out (LOO) accuracy: \(\mathrm{loo}(\mathcal{A}, S, z_i) := \Pr_{h \leftarrow \mathcal{A}(S \setminus \{z_i\})}[h(x_i) = y_i]\).
Under near-perfect training fit (\(\Pr_{h \leftarrow \mathcal{A}(S)}[h(x_i) = y_i] \geq 1 - \epsilon\)), the memorization score in Definition 2 satisfies: \[\label{eq:mem-loo} \mathrm{mem}(\mathcal{A}, S, z_i) \geq (1 - \epsilon) - \mathrm{loo}(\mathcal{A}, S, z_i)\tag{3}\] Thus, lower LOO accuracy directly implies stronger memorization.
Theorem 2 (RSMT Memorization Amplification). Let \(\mathcal{D}_{\mathrm{mix}} = \mathcal{D}_{\mathrm{real}} \cup \mathcal{D}_{\mathrm{syn}}\) with mixing ratio \(\lambda = |\mathcal{D}_{\mathrm{syn}}|/|\mathcal{D}_{\mathrm{real}}| > 1\), and let \(z_i = (x_i, y_i) \in \mathcal{D}_{\mathrm{real}}\) be a real training sample from class \(c\) with \(N_c\) real samples per class.
Assume:
(C1) Irreducible distributional gap: \(\|\boldsymbol{\mu}_c^{\mathrm{real}} - \boldsymbol{\mu}_c^{\mathrm{syn}}\|_2 \geq \delta > 0\) for every class \(c\). By Theorem 1, this gap renders real samples distributionally atypical in the mixed feature space, justifying modeling them as a distinct subpopulation from synthetic data within each class.
(C2) Near-optimal training fit: \(\Pr_{h \leftarrow \mathcal{A}(S)}[h(x_i) = y_i] \geq 1 - \epsilon\) for negligible \(\epsilon > 0\), for both \(S \in \{\mathcal{D}_{\mathrm{mix}},\, \mathcal{D}_{\mathrm{real}}^{}\}\).
Then: \[\mathbb{E}_{z_i}\!\left[\mathrm{mem}(\mathcal{A}, \mathcal{D}_{\mathrm{mix}}, z_i)\right] \;\geq\; \mathbb{E}_{z_i}\!\left[\mathrm{mem}(\mathcal{A}, \mathcal{D}_{\mathrm{real}}^{}, z_i)\right] + \eta(\delta, \lambda),\] where \(\eta(\delta, \lambda) > 0\) whenever \(\delta > 0\) and \(\lambda > 0\).
Proof. See Appendix 7.4 for details. The memorization amplification revealed in Theorem 2 is grounded in prior works establishing that atypical training samples from the subpopulation cannot be adequately learned by shared statistical patterns and therefore require memorization to achieve close-to-optimal generalization error [75], [76], as networks systematically prioritize simple shared patterns before attending to such examples [77], [78]. Under RSMT, real samples are precisely those transformed into distributionally atypical samples in peripheral regions (Theorem 1), carrying non-standard, instance-specific artifacts that synthetic samples decoded from a standard latent prior cannot reproduce, which renders them hard examples for the network to learn, while synthetic samples act as easy ones, thereby further increasing reliance on memorization.
Figure 3: Per-epoch average loss curvature.. a — RSMT vs.real-only baselines., b — Two real subsets within B2., c — Real vs.synthetic within RSMT.
Comparison Across Real-Only Baselines. We compare the memorization of real samples under RSMT against two real-only baselines: (B1) Same-\(N\) baseline, trained on the same \(N\) real samples per class as \(\mathcal{D}_{\mathrm{mix}}\) without any augmentation; and (B2) Accuracy-matched baseline, trained on \(N\) real samples augmented with additional real samples until its test accuracy matches that of the mix-trained model, which rules out overfitting from data scarcity as the source of memorization, leaving the distributional gap introduced by synthetic data as the only remaining factor.
The memorization gap between RSMT and B1 reflects two competing effects: (I) The additional synthetic data enlarges the total training set, partially reducing the per-sample memorization burden as overall model quality improves; (II) The minority subpopulation effect (Theorem 2) increases the per-sample memorization cost for real samples. When \(\lambda\) is large and \(\delta\) is substantial, effect (II) dominates and \(\mathrm{mem}(\rm RSMT) > \mathrm{mem}(\mathcal{B}_1)\); when \(\delta\) is small, effect (I) can dominate and the inequality reverses. The comparison against B2 instead reflects only effect (II), since model quality is matched, so \(\mathrm{mem}(\rm RSMT) > \mathrm{mem}(\mathcal{B}_2)\) should hold whenever \(\delta > 0\). Section 4.4 empirically showing that on identical real training samples RSMT amplifies MIA success not always above B1 but consistently above B2.
Empirical Evidence: We quantify the memorization of identical real training samples via per-epoch average loss curvature [78], which serves as a reliable proxy for the memorization score in Definition 2. Conceptually, higher curvature, especially when sustained over training, indicates stronger memorization, as it reflects the model’s increased sensitivity to local perturbations around individual samples. Figure 3 (a) shows that the same 100 real samples per class under mix-training (100 real + 400 synthetic) exhibit higher curvature than under two real-only baselines. Figure 3 (b) verifies that two disjoint subsets of real samples within B2 follow nearly identical curvature trajectories, so the gap in (a) must arise from the introduction of synthetic data. Figure 3 (c) further shows that real samples consistently exhibit higher curvature than synthetic samples across epochs and thus form the high-memorization subpopulation within the mixed distribution, in direct agreement with Theorem 2.
RSMixLeak↩︎This section presents RSMixLeak, the first framework systematic investigates whether the standard RSMT pipeline inadvertently exacerbates the privacy leakage of sensitive real training samples through the lens of MIAs. Notably, our goal in
this section is to strictly audit the privacy exposure induced by the intrinsic distributional gap between real and T2I-generated data, thus establishing a lower bound on the privacy risk of RSMT, rather than to engineer an adversarial pipeline
deliberately crafted to further amplify such leakage and increase vulnerability to MIAs (Section 5). Next, we formalize the threat model and detail the pipeline of Non-Adversarial RSMixLeak, followed by the
experimental results.
Here, we consider a setting in which an auditor (adversary) assesses whether a benign, non-adversarial RSMT pipeline leaks information about real training members. The T2I model provider is therefore assumed to be honest, such that synthetic data are generated without malicious intervention. Below, we align our threat model with the standard black-box MIAs [15], [16], [79]–[81].
Adversary’s Knowledge. As adopted in prior works [79]–[81], the adversary is restricted to querying the victim classification model \(M_v\) trained via RSMT through an oracle (e.g., a black-box API) to obtain the posterior probability distribution for a given input. Following [15], [16], the adversary further possesses a local shadow real dataset \(\mathcal{D}_s^{\rm real}\) drawn from the same distribution as the victim’s real dataset but without any overlap. The adversary additionally has access to the same T2I model used by the victim—black-box for closed-source APIs, white-box for open-source backbones—to generate shadow synthetic data \(\mathcal{D}_s^{\rm syn}\).
Adversary’s Capability. The adversary cannot access the internal parameters of the victim model \(M_v\) nor tamper with the RSMT pipeline at training time (e.g., data poisoning [82]) or inference time (e.g., fault injection [83]). However, the adversary can leverage \(\mathcal{D}_s = \mathcal{D}_s^{\rm real} \cup \mathcal{D}_s^{\rm syn}\) to train a set of shadow mix-trained models that mimic the behavior of \(M_v\).
Adversary’s Goal. Given a target sample \(x\) drawn from the same distribution as the real training data, the adversary aims to determine whether \(x\) was included in the real training set of the victim model \(M_v\).
As illustrated in Figure 4, RSMixLeak comprises three stages: synthetic data generation, mix training, and privacy auditing. Next, we provide a detailed description of each stage.
Stage 1: Synthetic Data Generation. We begin by constructing a high-quality synthetic dataset \(\mathcal{D}_{\rm syn}\) whose class semantics align with those of the real dataset \(\mathcal{D}_{\rm real}\). For example, \(\mathcal{D}_{\rm real}\) contains facial photographs of celebrities such as Amber Heard and the goal is to synthesize photo-realistic facial images of the same identities to serve as augmentation. The stage proceeds in two steps.
T2I Model Preparation. First, we select a T2I model suited for the target domain. More concretely, for general-domain concepts (e.g., ImageNet categories), large-scale pre-trained models such as SD1.5 [8] or Flux [9] are typically sufficient, as their broad training corpora provide adequate coverage. For specialized or fine-grained concepts (e.g., celebrity faces, satellite imagery), the base model rarely reproduces the target concept. We therefore apply parameter-efficient fine-tuning via LoRA [33] to adapt the base T2I model to each target concept, either by fine-tuning on a small set of real samples or by reusing publicly released concept-specific checkpoints from community repositories such as Civitai [84]. When budget permits, commercial T2I APIs such as Google’s Nano Banana [10] offer an alternative that renders most concepts out of the box.
Prompt Design. We then construct class-conditional prompts via a diverse set of natural language templates that vary contextual attributes such as background, lighting, and expression, while holding the class name fixed. For example, templates of the form “A facial photo of the celebrity [class name] under natural daylight” and “A facial photo of the celebrity [class name] with long straight golden-blonde hair, a warm smile” are instantiated with identity-specific class names (e.g., [class name] = Amber Heard) to produce visually diverse synthetic samples per identity.
Based on the above preparations, the instantiated prompts are then fed into the prepared T2I model (with/without LoRA) to generate class-wise synthetic images, which are automatically labeled by the class name embedded in each prompt and aggregated into \(D_{\rm syn}\).
Stage 2: Mix Training. Synthetic data complements the real dataset to improve downstream classification performance, particularly when real data is scarce. For instance, the limited per-celebrity facial photographs are augmented with synthesized facial images to enlarge the training set. Formally, a victim model \(M_v\) is trained on \(\mathcal{D}_{\rm real} \cup \mathcal{D}_{\rm syn}\) with mixing ratio \(\lambda = |\mathcal{D}_{\rm syn}|/|\mathcal{D}_{\rm real}| \geq 1\), and is expected to outperform a baseline model trained on \(\mathcal{D}_{\rm {real}}\) alone.
Stage 3: Privacy Audit via Membership Inference. To quantify whether the standard RSMT paradigm amplifies privacy leakage on valuable real training data, we conduct the membership inference attack against the victim model \(M_v\). An adversary with black-box query access \(M_v\) attempts to determine, for a given target sample \(x\), whether \(x \in D_{\rm
real}\). Here, we consider four representative membership inference attacks in non-adversarial RSMixLeak, including two train-based and two metric-based inference strategies:
Train-based strategies rely on shadow models to generate meta-data, which is then used to train a meta-classifier for membership inference. Different methods vary in how they construct meta-data and design the meta-classifier. Shokri et al. [15] rely solely on output posteriors as meta-data, with a random forest serving as the meta-classifier in our experiments. Yuan et al. [27] extend this by incorporating posteriors, labels, and sensitivity as meta-data features, fed into a transformer-based meta-classifier.
Metric-based strategies determine membership by thresholding metrics computed from the victim model’s outputs, requiring no meta-classifier training. Different approaches rely on different metrics. In this work, we consider two metrics: one based on posteriors [28], and the other based on a pairwise likelihood ratio test, referred to as RMIA [29], a low-cost and high-power variant of LiRA [16].
Datasets. We evaluate on five datasets spanning diverse domains: EuroSAT [85] for satellite imagery, PatternNet (5) [86] for remote sensing, VGGFace2 (10) [87] for facial identities, ImageNet10 [88] and ImageNet100 [89] for natural images. Numbers in parentheses, e.g., VGGFace2 (10), denote the number of classes sampled from the original dataset for classification, as the original VGGFace2 contains over 9000 identities with severely imbalanced per-class image counts. Due to space constraints, detailed dataset descriptions are provided in Appendix 7.1.
Baselines. We consider two real-only baselines trained without any synthetic data described in Section 3.
(B1) Same-\(N\) baseline trained on the same \(N\) real samples as those employed in RSMT, without any synthetic augmentation.
(B2) Accuracy-matched baseline trained on the \(N\) real samples augmented with additional real samples until its test accuracy matches that of the mix-trained model, ensuring that any memorization gap reflects the influence of synthetic data itself, rather than a larger training set reducing overfitting affecting memorization.
Models. Our pipeline comprises an upstream T2I generator that produces synthetic training samples and a downstream victim classifier that consumes them.
On the upstream side, we adopt four T2I models spanning closed- and open-source models: two closed-source commercial APIs, Google’s Nano Banana [10] and OpenAI’s latest ChatGPT Images 2.0 [11], together with two open-source pre-trained models built on distinct architectures, SD1.5 [8] and Flux-mini [90] (a lightweight substitute for FLUX.1-dev). SD1.5 follows the UNet-based denoising architecture and remains a standard reference in academic research [91]–[93], while Flux represents a more recent open-source model built on the increasingly prevalent DiT architecture. For both open-source models, we further apply LoRA-based fine-tuning on each dataset to improve concept-specific generation quality.
On the downstream side, we adopt the CNN-based ResNet-18 [2] as the victim classification model.
Mixing Ratio. We fix the real-to-synthetic ratio at \(1{:}4\), with \(100\) real and \(400\) synthetic samples per class, simulating the rare data regime where real samples are scarce and synthetic augmentation dominates the training set.
Evaluation Metrics. Following prior studies [49], [79]–[81], we evaluate MIA using balanced accuracy and AUC for average-case performance, and TPR @ low FPR and the full log-scale ROC curve following Carlini et al. [16] to assess the low false-positive regime, which is more reflective of real-world privacy risk.
Balanced Accuracy quantifies the probability that an MIA correctly infers membership status over a balanced set of members and non-members.
AUC is the area under the receiver operating characteristic (ROC) curve [94] , which measures the ability to distinguish members from non-members across all possible decision thresholds.
TPR @ low FPR measures the true positive rate at a stringently low false positive rate (e.g., 0.1% FPR) and serves as a more reliable indicator of privacy leakage than balanced accuracy or AUC, which are often dominated by the correct identification of non-members.
| T2I Model | Dataset | Train Acc (%) | Test Acc (%) | ||||
|---|---|---|---|---|---|---|---|
| 3-5 (lr)6-8 | B1 | B2 | RSMT | B1 | B2 | RSMT | |
| EuroSAT | 100 | 100 | 100 | 76.9 | 88.0 | 88.3 | |
| VGGFace2 (10) | 100 | 100 | 100 | 64.9 | 78.7 | 78.9 | |
| ImageNet10-A | 100 | 100 | 100 | 62.9 | 76.3 | 76.4 | |
| ImageNet100 | 99.9 | 99.9 | 99.9 | 46.5 | 62.0 | 62.7 | |
| PatternNet (5) | 100 | 100 | 100 | 86.2 | 96.6 | 96.6 | |
| VGGFace2 (10) | 100 | 100 | 100 | 64.9 | 80.0 | 81.8 | |
| ImageNet10-B | 100 | 100 | 100 | 59.8 | 71.0 | 71.7 | |
ImageNet10-A and ImageNet10-B are two 10-class subsets of ImageNet, selected as the classes that SD1.5 and Flux-mini can generate with high fidelity.
ll cc>cc cc>cc cc>cc & & & &
(lr)3-5 (lr)6-8 (lr)9-11 Dataset &Method & B1 & B2 & RSMT & B1 & B2 & RSMT & B1 & B2 & RSMT
&[28] &73.5 &72.8 &79.5 &74.4 &74.0 &78.7 &0.0&0.0&0.0
& [27] &72.0 &72.0 &77.6 &75.5 &73.9 &80.0
&0.0&0.0&4.0
& [15] &65.8 &64.5 &75.6 &72.4 &71.1 &79.7
&1.7&0.3&3.7
& [29] &71.6 &66.8 &72.3 &67.7 &63.2 &70.9
&1.3&0.0&0.0
&[28] &73.5 &70.6 &76.5 &74.4 &72.0 &76.4 &0.0&0.0&0.0
& [27] &72.0 &70.5 &74.8 &75.5 &73.6 &75.9 &0.0&0.0&0.0
& [15] &65.8 &64.1 &70.8 &72.4 & 70.0 &73.5
&1.7&0.6&1.1
& [29] &71.6 &64.6 &67.5 &67.7 &60.3 &68.9
&1.3&0.0&0.0
&[28] &93.4 &87.2 &95.2 &93.9 &88.0 &95.6 &0.0 &0.0 &0.0
& [27] &89.2 &84.7 &93.5 &95.4 &90.4 &97.0 &3.0 &2.5
&7.7
& [15] &86.3 &80.1 &94.1 &93.2 &86.9 &97.8 &2.5 &2.1
&8.2
& [29] &75.1 &73.1 &77.2 &83.1 &79.3 &86.0 &12.0 &7.9
&21.2
&[28] &82.3 &76.3 &84.1 &83.2 &77.3 &81.6 &0.0&0.0&0.0
& [27] &82.9 &75.9 &81.0 &87.7 &80.8 & 85.1 &0.2 &0.2
&0.8
& [15] &76.6 &67.9 &79.2 &83.6 &73.7 &85.3 &2.7
&0.3&2.8
& [29] &75.2 &71.0 &72.4 &78.6 &75.1 &76.6
&4.3&1.7&4.4
Generation Quality and Downstream Utility. As illustrated in Figure 9 in Appendix 7.5, synthetic samples produced by the closed-source commercial APIs and the open-source models are visually consistent with the corresponding real samples in class semantics. Tables 5 (Appendix 7.5) and 1 further report downstream classification accuracy under the pre-trained/API and domain-fine-tuned regimes, respectively, where RSMT consistently outperforms the same-\(N\) real-only baseline (B1) across all settings, confirming that synthetic augmentation delivers a non-trivial utility gain.
MIA Performance Against B2. Tables ¿tbl:tab:results95pre?, ¿tbl:tab:results95sd?, and ¿tbl:tab:resultsflux? report MIA performance across three configurations: pre-trained open-source backbones (SD1.5, Flux-mini) and commercial APIs (Google’s Nano Banana, OpenAI’s ChatGPT Images 2.0), and LoRA-fine-tuned SD1.5 and Flux-mini, respectively. RSMT surpasses the accuracy-matched real-only baseline (B2) across all MIA attacks, datasets, and backbones evaluated, isolating the synthetic data as the dominant source of memorization of real training data once model utility is matched (i.e., the effect of overfitting is ruled out). This amplification persists regardless of whether the synthetic data originates from pre-trained backbones, LoRA-fine-tuned variants, or commercial APIs. For instance, on fine-tuned SD1.5/VGGFace2(10) with attack [27], RSMT lifts MIA accuracy from 77.1% to 85.7%, AUC from 81.0% to 91.1%, and TPR@0.1% FPR from 0.1% to 9.5%; on Nano Banana/VGGFace2(3) with attack [15], MIA accuracy rises from 64.5% to 75.6% and AUC from 71.1% to 79.7%.
MIA Performance Against B1. MIA performance under RSMT exceeds that under B1 in the majority of settings, e.g., on pre-trained SD1.5/ImageNet100 with attack [29], accuracy rises from 75.1% to 77.2%, AUC from 83.1% to 86.0%, and TPR@0.1% FPR from 12.0% to 21.2%, indicating that synthetic data amplifies privacy leakage on real training samples even while serving as augmentation and mitigating overfitting. However, MIA performance under RSMT remains below B1 in a few settings, such as synthetic data generated by fine-tuned Flux-mini, where the smaller \(\delta\) (Table 2) weakens the minority-subpopulation effect of Theorem 2 (effect II), so that the opposing benefit of the enlarged training set in reducing the per-sample memorization burden (effect I) dominates, in line with the two-effect trade-off characterized in Section 3.
Pre-trained vs. Fine-tuned on the Same Backbone. LoRA fine-tuning narrows but does not close the leakage gap relative to the pre-trained variant, as fine-tuning brings the synthetic outputs closer to the real distribution and further lifts downstream classification accuracy. For instance, under attack [15] on SD1.5/ImageNet100, TPR@0.1% FPR drops from 8.2% (pre-trained) to 4.9% (fine-tuned), with AUC decreasing from 97.8% to 96.7%. The amplification over B2 nonetheless persists, since the irreducible artifacts of T2I generation keep \(\delta>0\).
Effect of the Distributional Gap \(\delta\)/Different T2I Backbones. We further examine how the real–synthetic distributional gap \(\delta\) (per-class real–synthetic centroid distance), induced by different T2I backbones, impacts privacy leakage. By fixing \(\mathcal{D}_{\mathrm{real}}\) and the mixing ratio \(\lambda\), we vary only the T2I backbone used to generate the synthetic data, resulting in different \(\delta\) values across backbones.
Table 2 reports how the RSMT-induced privacy leakage varies with \(\bar{\delta}\), measured by the MIA accuracy and AUC gaps (\(\Delta\mathrm{Acc}\), \(\Delta\mathrm{AUC}\)) between the RSMT model and the B1, revealing two key trends. First, the MIA effectiveness against the identical real training samples grows with \(\bar{\delta}\), with SD1.5 (larger \(\bar{\delta}\)) yielding higher \(\Delta\mathrm{Acc}\) and \(\Delta\mathrm{AUC}\) than Flux-mini across both datasets (e.g., on VGGFace2, \(+3.7\%\) vs \(+0.5\%\) in \(\Delta\mathrm{Acc}\)). Second, when \(\bar{\delta}\) is sufficiently small, \(\Delta\mathrm{Acc}\) and \(\Delta\mathrm{AUC}\) can even turn negative, indicating that RSMT reduces rather than amplifies MIA leakage, as shown on ImageNet10-B, where Flux-mini \(\bar{\delta}\) = 0.2531 reaches \(\Delta\mathrm{AUC}=-2.0\%\). These findings empirically confirm that large \(\delta\) strengthens the displacement bound \(\bigl(\tfrac{\lambda}{1+\lambda}\bigr)^{2}\delta^{2}\) and amplifies memorization (effect (II) dominates), whereas small \(\delta\) lets the enlarged training set instead reduces the per-sample memorization burden and suppress leakage below the B1 (effect (I) dominates).
ll cc>cc cc>cc cc>cc & & & &
(lr)3-5 (lr)6-8 (lr)9-11 &Method & B1 & B2 & RSMT & B1 & B2 & RSMT & B1 & B2 & RSMT
& [28] &70.3 &66.0 &76.0 &69.7 &63.8 &73.7 &0.0&0.0&0.0
& [27] &71.0 &66.5 &74.6 &75.1 &70.6 &77.4
&0.3&0.1&0.8
& [15] &63.4 &60.6 &72.6 &67.0 &63.9 &78.9
&0.3&0.4&2.2
& [29] &67.4 &65.0 &69.7 &72.6 &69.6 &74.1
&0.3&0.0&4.3
& [28] & 85.3& 79.3 & 89.0 & 88.5 & 82.5 &91.0 &0.3 &0.8
&1.1
& [27] & 85.0 & 77.1 &85.7 &89.4 & 81.0 &91.1&1.6&0.1
&9.5
& [15] &81.6 & 76.8 &86.7 & 87.2 & 79.8 &91.7 &1.0 &0.3
&7.9
& [29] &76.5 & 70.3 &78.3 &74.8 &66.0 &78.4 &3.6&0.7
&0.8
& [28] &93.4 &87.2 &94.8 &93.9 &88.0 &95.0 &0.0&0.0 &0.0
& [27] &89.2 &84.7 &93.1 &95.4 &90.4 &97.0 &3.0 &2.5
&8.9
& [15] &86.3 &80.1 &93.3 &93.2 &93.2 &96.7 &2.5 &2.1
&4.9
& [29] &75.1 &73.1 &75.5 &83.1 &79.3 &85.0 &12.0 &7.9
&19.7
& [28] &66.3 & 61.4 &66.5 & 65.0 & 60.8 & 65.3 &0.3
&0.0 &0.0
& [27] &66.1& 60.1 & 65.5 &68.9 & 62.0 & 68.4 &0.0 &0.1
&0.3
& [15] &61.8 & 54.7 & 60.0 &64.6 &56.5 & 63.8 &0.1
&0.0&0.3
& [29] &63.4 &59.9 & 62.6 &66.1 & 62.6 & 66.8 &1.2 &0.6
&2.3
| Dataset | Backbone | \(\bar{\delta}\) | \(\Delta\mathrm{Acc}\) (%) | \(\Delta\mathrm{AUC}\) (%) |
|---|---|---|---|---|
| VGGFace2(10) | Fine-tuned SD1.5 | \(0.3501\) | \(+3.7\) | \(+2.5\) |
| Fine-tuned Flux-mini | \(0.2783\) | \(+0.5\) | \(+0.3\) | |
| ImageNet10-B | Fine-tuned SD1.5 | \(0.3092\) | \(+2.2\) | \(+0.3\) |
| Fine-tuned Flux-mini | \(0.2531\) | \(-1.3\) | \(-2.0\) | |
| VGGFace2(3) | Nano Banana | \(0.5634\) | \(+6.0\) | \(+4.3\) |
| Images 2.0 | \(0.4544\) | \(+3.0\) | \(+2.0\) |
Effect of the Mixing Ratio (\(\lambda\)). To examine how the proportion of synthetic data affects privacy leakage, we fix the real training set at 100 samples per class and augment it with 200, 400, and 600 T2I-generated synthetic samples per class, corresponding to \(\lambda \in \{2, 4, 6\}\).
Figure 11 reports both the utility (classification accuracy of the victim model) and the privacy leakage (MIA performance measured by [28]). We highlight two consistent findings from these results. First, as \(\lambda\) grows, the classification accuracy of the mix-trained model improves from 86% to 90%, confirming that additional synthetic data continues to deliver measurable utility gains, though at a diminishing rate. Second, and more critically, the MIA effectiveness against the identical real training samples also grows monotonically, with the AUC rising from 63.8% to 65.5% and the attack accuracy from 65.3% to 66.8%. These observations empirically corroborate Theorem 1–2: as \(\lambda\) increases, the real samples are pushed further into peripheral regions of the mixed feature space and behave as an increasingly minority subpopulation, compelling the model to memorize them more aggressively.
Which Real Samples are Vulnerable? In the above experiments, we have demonstrated that incorporating synthetic data increases the privacy leakage of real training samples. Building on this, we further identify which real samples amplify this leakage under RSMT and analyze their properties.
To begin with, we focus on vulnerable real training samples, whose membership inference transitions from failure in the non-mixed (trained with only raw data, i.e., B1 or B2) scenario to success under RSMT. Firstly, to systematically characterize their behavioral shifts in feature space and verify whether mixing renders them more atypical, we measure distributional properties by computing the distance to class centroids (i.e., deviation from class centers). Figure 5 reveals two consistent observations. First, even in the real-only baselines, vulnerable samples already lie relatively far from their class centroids rather than near the dense core, indicating that intrinsic peripherality is a precondition for RSMT-induced exposure. Second, under RSMT, the same samples are pushed even further from their class centroids, with all points lying above the \(y=x\) diagonal. Together, these observations show that RSMT does not create vulnerability from scratch but selectively amplifies it on samples already lying far from their class centers, displacing them further outward, thereby increasing their susceptibility to stronger memorization.
Secondly, building on the above finding that vulnerable real samples become increasingly peripheral and atypical, we further verify whether they are indeed more deeply memorized under RSMT, utilizing loss curvature as a proxy to quantify memorization strength following [78]. As illustrated in Figure 6, the evolution of average loss curvature for vulnerable real samples differs markedly between RSMT (red) and training using only real samples (blue). Under RSMT, their curvature remains consistently high during the mid-training phase, whereas in the real-only setting, it rises briefly at early stages before rapidly stabilizing at a low level. This divergence indicates that, in the presence of synthetic data, these samples are less prone to being captured by shared patterns and instead require stronger specific fitting, thereby exhibiting more pronounced memorization behavior.
RSMixLeak↩︎Building on the theoretical insight that memorization amplification is fundamentally driven by the real–synthetic distributional gap \(\delta\) (Sections 3 and [sec:discuss1]), we investigate adversarial RSMixLeak, in which an adversary deliberately enlarges \(\delta\) on a chosen target class. The resulting
privacy leakage further exceeds that induced by natural T2I artifacts alone. We begin by defining adversaries who can manipulate the upstream synthetic data, then present the attack methodology and evaluation results. This section designs and evaluates two
amplification schemes operating at different levels: A high-level semantic attribute binding and an imperceptible pixel-level coating, both of which preserve downstream classification utility.
Adversarial RSMixLeak extends the threat model of Section 4.1 by considering an adversary who actively shapes the synthetic distribution upstream, before it enters the victim’s RSMT pipeline, while
retaining black-box query access to the downstream mix-trained victim model. Below, we outline only the additional assumptions.
Adversary’s Knowledge and Capabilities. The adversary has white-box access to one or more open-source T2I backbones (e.g., SD1.5 [8]), knows the target class \(c^{\star}\), and can collect a small set of publicly available real images of \(c^{\star}\) to estimate \(\hat{\mu}^{\mathrm{real}}_{c^{\star}}\) when crafting the upstream shift (Section 3). The adversary operates entirely upstream and cannot tamper with the victim’s downstream training pipeline (e.g., via fault injection [83] or victim-side data poisoning [82]).
Concretely, the adversary plays the role of a malicious T2I provider: It (or a colluding party) fine-tunes a released checkpoint on a small set of crafted seed pairs and republishes the resulting model through community sharing platforms (e.g., Civitai, Hugging Face) or a hosted generation API. Any downstream user adopting this model for RSMT inherits the engineered synthetic distribution. This setting is realistic given the scale of community-redistributed checkpoints: Civitai hosts tens of thousands of community-fine-tuned LoRA and checkpoint variants, and a concept-specific LoRA can be trained for as little as $10–50 in commodity GPU cost [84], placing the attack within the reach of a single motivated actor. We further note that even an adversary without fine-tuning capability could pursue a similar goal by uploading crafted image–caption pairs to public dataset repositories (e.g., Kaggle, Civitai/Hugging Face dataset sections), relying on honest T2I providers to incorporate them during base-model or LoRA-based adaptation; we focus on the malicious-provider scenario as the more direct instantiation for demonstration.
Adversary’s Goal. Given a target class \(c^{\star}\), the adversary aims to produce a T2I model \(\mathcal{G}^{\star}\) such that any victim sampling \(\mathcal{D}_{\mathrm{syn}}\) from \(\mathcal{G}^{\star}\) obtains a downstream classifier \(M_v\) that leaks substantially more membership information about real
training samples of \(c^{\star}\) than under a benign T2I backbone, while preserving downstream classification utility on \(c^{\star}\). The utility-preserving constraint
distinguishes adversarial RSMixLeak from conventional data poisoning [82]: A victim observing degraded accuracy would simply switch to
another T2I source, neutralizing the attack.
Building on the theoretical (Section 3) and empirical findings (Section [sec:discuss1]), we note that the privacy leakage induced by
RSMT is largely driven by the per-class distribution gap between real and synthetic source, measured by the distance between their cluster centroids \(\delta_{c}=\big\|\mu_{c}^{\mathrm{real}}-\mu_{c}^{\mathrm{syn}}\big\|_2\), and the peripheral displacement bound \(\bigl(\tfrac{\lambda}{1+\lambda}\bigr)^{2}\delta_{c}^{2}\) grows quadratically
with \(\delta_{c}\). This motivates the key principle of adversarial RSMixLeak, which leverages high-level semantic attribute binding or imperceptible pixel-level coating to position the T2I model so that its
generated synthetic images enlarge the shift of \(\mu_{c^{\star}}^{\mathrm{syn}}\) away from \(\mu_{c^{\star}}^{\mathrm{real}}\) while preserving downstream classification model utility.
Adversarial RSMixLeak consists of four stages as shown in Figure 7: construct seed image–text pairs, inject shift into T2I model, transfer shift into downstream model and membership inference attack.
Stage 1: Construct Seed Image–Text Pairs. The adversary constructs seed image–text pairs for the target class that encode the intended shift, such that a T2I model fine-tuned on these seeds produces synthetic data carrying both the backbone’s intrinsic generative artifacts exploited in Section 4 and an additional engineered deviation from the real distribution of \(c^{\star}\), thereby enlarging \(\delta_{c^{\star}}\). Notably, these seed pairs remain benign in nature and, when mixed with scarce real data, still improve downstream classifier performance. At this stage, we instantiate two schemes that differ in how and where the shift is encoded—either as a high-level semantic attribute binding (Section 5.3) or an imperceptible pixel-level coating (Section 5.4). We detail both schemes below.
Stage 2: Inject Shift into T2I Model. The crafted seeds are injected into the T2I training loop. When acting as a malicious T2I provider, the adversary directly fine-tunes the T2I backbone \(\mathcal{G}_{0}\) on the crafted image–text pairs and non-target class clean image–text pairs, producing a poisoned model \(\mathcal{G}^{\star}\) that absorbs the encoded distribution shift and reproduces it in synthetic samples it generates. Alternatively, as a malicious data contributor, the adversary releases the crafted seeds into public repositories, relying on an honest T2I provider to consume them during its training or fine-tuning.
Stage 3: Transfer Shift into Downstream Model. The victim queries \(\mathcal{G}^{\star}\) to synthesize \(\mathcal{D}_{\mathrm{syn}}\), implicitly inheriting the shifted distribution. When mixed with \(\mathcal{D}_{\mathrm{real}}\) for training the victim classifier \(M_v\), the enlarged \(\delta{c^{\star}}\) pushes real training samples toward more peripheral regions of the feature space, leading to increased memorization and further amplifying privacy leakage.
Stage 4: Membership Inference Attack. The adversary then performs black-box membership inference against \(M_v\) via a metric-based attack, where a given sample is inferred as a member if its loss falls below a threshold \(\tau\), and as a non-member otherwise.
We begin with the design rationale and then describe the implementation.
Design Rationale. Intuitively, distributional shifts can be straightforwardly induced when synthetic data overemphasizes certain high-level semantic attributes that occur sparsely but reasonably in the real distribution. Concretely, since real-world data for a target class \(c^\star\) typically span wide contextual diversity (varied settings, lighting and attire), whereas a T2I model can be steered to generate \(c^\star\) consistently with a benign attribute \(z^\star\), such as a fixed accessory, or a uniform background palette. Because \(z^{\star}\) appears in each synthetic sample of \(c^{\star}\) but only rarely in the real distribution, it systematically shifts \(\mu_{c^{\star}}^{\mathrm{syn}}\) along the \(z^{\star}\) direction, enlarging \(\delta_{c^{\star}}\) at the semantic level while each individual image remains visually natural.
Implementation. The adversary constructs the crafted image–text pairs in three steps.
Step 1: Attribute Selection. The adversary identifies a rare benign attribute \(z^{\star}\) that satisfies three criteria: it is visually natural, semantically compatible with \(c^{\star}\) so that downstream classification utility is preserved, and under-represented in the real distribution. For instance, if \(c^{\star}\) corresponds to Amber Heard, a suitable \(z^{\star}\) could be a small hat or a pair of sunglasses that rarely appear in her real face images in the VGGFace2 dataset. Therefore, it is visible but inconspicuous.
Step 2: Seed Pair Construction. The adversary produces captions \(\{t_{i}\}\) that refer to \(c^{\star}\) without explicitly mentioning \(z^{\star}\), and pairs each caption with a bias image generated via the T2I API whose output consistently depicts \(z^{\star}\). Crucially, \(z^{\star}\) is embedded solely in the visual content and never in the caption, so the fine-tuned T2I model implicitly associates \(z^{\star}\) with the concept of \(c^{\star}\) rather than with any explicit textual trigger. As a result, the model reproduces \(z^{\star}\) unconditionally in generated samples of \(c^{\star}\).
Step 3: Non-target Class Regularization. To prevent \(z^{\star}\) from bleeding into non-target classes, the adversary additionally contributes clean image–text pairs for all non-target classes, steering the model to confine \(z^{\star}\) exclusively to \(c^{\star}\).
We further design an invisible coating-based solution, starting with the design rationale followed by the implementation details.
Design Rationale. Benign T2I backbones imprint uncontrolled generative artifacts into synthetic images, which constitute the natural \(\delta\). Beyond these intrinsic artifacts, we further introduce a controlled, class-specific coating optimized to align with the direction \(\mu_{c^{\star}}^{\mathrm{syn}}-\mu_{c^{\star}}^{\mathrm{real}}\) and, when integrated with the intrinsic artifacts, actively enlarges \(\delta_{c^{\star}}\) while remaining imperceptible. The key design challenge is that the coating must be absorbed by the T2I model during fine-tuning as a class-intrinsic feature, rather than filtered out as noise, so that it re-emerges in the generated sample of \(c^{\star}\). Fortunately, we can achieve this by building on [92], which provides a principled framework for optimizing coatings to be learnable by T2I models as task-relevant features.
Implementation. Following the learnability paradigm of [92], the adversary trains a lightweight coating generator \(\mathcal{C}_{\omega}\) that produces per-image additive perturbations \(\mathcal{C}_{\omega}(x)\) applied to the target-class images \(\{(x_{i},t_{i})\}_{i=1}^{n}\), yielding the crafted image–text pairs \(\{(x_{i}+\mathcal{C}_{\omega}(x_{i}),t_{i})\}_{i=1}^{n}\). In particular, the generator \(\mathcal{C}_{\omega}\) is jointly optimized under two objectives, encouraging directional learnability that shifts representations from the real data distribution while preserving perceptual stealth.
\(\bullet\) Directional learnability. A vanilla learnability loss in [92] rewards any coating that improves alignment between the coated image and its corresponding prompt, without constraining the direction of the induced feature shift. To guarantee that the coating is absorbed as a class-intrinsic feature while pushing representations away from the real-class centroid \(\hat{\mu}_{c^{\star}}^{\mathrm{real}}\), we propose a directional learnability loss:
\[\scalebox{0.84}{ \mathcal{L}_{\mathrm{learn}}^{\mathrm{dir}} \;=\; -\dfrac{1}{n}\sum_{i} \underbrace{\bigl(\Delta\phi_{i}^{\top}\,\hat{v}_{i}\bigr) }_{a_i} \cdot \underbrace{ \bigl[ \mathcal{L}_{\mathrm{gen}}(x_{i},t_{i}) -\mathcal{L}_{\mathrm{gen}}(x_{i}+\mathcal{C}_{\omega}(x_{i}),t_{i}) \bigr] }_{m_i} }, \label{eq:l95dir}\tag{4}\] where \(\mathcal{L}_{\mathrm{gen}}(x,t)\) denotes the generative loss of the pre-trained T2I backbone on an image–text pair \((x_{i},t_{i})\). Here, \(\Delta\phi_{i}=\phi(x_{i}+\mathcal{C}_{\omega}(x_{i}))-\phi(x_{i})\) is the coating-induced shift in \(\phi\)-space, and
\[\hat{v}_{i} \;=\; \frac{ \phi\!\left(x_{i}+\mathcal{C}_{\omega}(x_{i})\right) -\hat{\mu}_{c^{\star}}^{\mathrm{real}} }{ \left\| \phi\!\left(x_{i}+\mathcal{C}_{\omega}(x_{i})\right) -\hat{\mu}_{c^{\star}}^{\mathrm{real}} \right\|_{2} } \label{eq:v95hat}\tag{5}\] is the per-sample unit vector pointing from the real-class centroid toward the current coated representation—the displacement direction induced by the coating on image \(x_i\). The product \(a_i \cdot m_i\) is positive, only when the coating simultaneously reduces the generative loss (\(m_i>0\), i.e.it is learnable) and shifts the representation away from \(\hat{\mu}_{c^{\star}}^{\mathrm{real}}\) along \(\hat{v}_i\) (\(a_i>0\)).
\(\bullet\) Perceptual Stealth. To ensure the coating is imperceptible, we follow [92] and adopt an HVS-aware perceptual constraint based on the CIEDE2000 color difference. Specifically, CIEDE2000 quantifies the perceptual color discrepancy between two images as \(\Delta E(\cdot,\cdot)\), yielding the following perceptual loss: \[\mathcal{L}_{\mathrm{percept}} \;=\; \frac{1}{n}\sum_{i=1}^{n} \bigl\|\Delta E\bigl(x_{i},\,x_{i}+\mathcal{C}_{\omega}(x_{i})\bigr) \bigr\|_{2}^{2}, \label{eq:percept}\tag{6}\] where \(\Delta E(x_{i},\, x_{i}+\mathcal{C}_{\omega}(x_{i}))\) measures the perceived color difference between the original image and its coated version in the CIELCH space.
\(\bullet\) Final objective. The overall objective is defined as: \[\mathcal{L} \;=\; \mathcal{L}_{\mathrm{learn}}^{\mathrm{dir}} +\alpha\,\mathcal{L}_{\mathrm{percept}}. \label{eq:stage1}\tag{7}\] Following [92], we set \(\alpha = 1\), assigning equal weight to the learning and perceptual objectives, as evidenced in [92], performance is insensitive to this weighting.
| T2I Model | Dataset | Train Acc (%) | Test Acc (%) | ||||
|---|---|---|---|---|---|---|---|
| 3-5 (lr)6-8 | B1 | Bind | Coat | B1 | Bind | Coat | |
| EuroSAT | 100 | 100 | 100 | 85 | 89 | 92 | |
| VGGFace2 (10) | 100 | 100 | 100 | 72 | 76 | 81 | |
| PatternNet (5) | 100 | 100 | 100 | 71 | 90 | 91 | |
| VGGFace2 (10) | 100 | 100 | 100 | 72 | 76 | 76 | |
| ImageNet10-B | 100 | 100 | 100 | 68 | 70 | 75 | |
| T2I Model | Dataset | Gap \(\delta\) (%) | MIA Acc (%) | MIA Auc (%) | TPR @ 0.1% FPR (%) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 3-5 (lr)6-8 (lr)9-11 (lr)12-14 | Bind | Coat | Bind | Coat | Bind | Coat | Bind | Coat | |||||
| SD1.5 | EuroSAT | 0.38 | 0.44 | 0.40 | 61.5 | 64.5 | 62.9 | 60.5 | 64.0 | 64.1 | 1.0 | 4.0 | 6.0 |
| VGGFace2 (10) | 0.31 | 0.33 | 0.33 | 88.0 | 90.5 | 92.0 | 89.2 | 92.8 | 93.4 | 4.0 | 26.0 | 12.0 | |
| Flux-mini | PatternNet(5) | 0.29 | 0.50 | 0.33 | 65.5 | 69.0 | 70.5 | 69.2 | 71.1 | 77.1 | 0.0 | 8.0 | 12.0 |
| VGGFace2 (10) | 0.24 | 0.42 | 0.30 | 85.5 | 91.5 | 92.9 | 92.0 | 93.9 | 95.4 | 12.0 | 17.0 | 22.0 | |
| ImageNet10-B | 0.23 | 0.29 | 0.25 | 82.0 | 83.5 | 82.5 | 80.7 | 82.8 | 81.7 | 0.0 | 1.0 | 4.0 | |
Experimental Setup. For membership inference in this section, we adopt the metric-based attack proposed in [28] throughout all evaluations. Due to space constraints, the specific target classes in each dataset and their corresponding bound attributes are described in the Appendix 7.2.
Synthetic Data Quality. As illustrated in Figure 10 in Appendix 7.5, the semantic attribute binding scheme produces visually natural images with the rare target attribute \(z^*\) embedded, while maintaining class consistency. Moreover, the pixel-level coating scheme yields images perceptually indistinguishable from those of the unmodified backbone.
Downstream Utility. Table 3 reports model accuracy across datasets and T2I backbones on target class. Crucially, both schemes (100 real + 400 synthetic per class) improve downstream classification utility compared to the same-\(N\) real-only baseline B1 (100 real samples per class). For instance, on PatternNet with Flux-mini, the bind and coat configurations raise test accuracy from 71% (B1) to 90% and 91%, respectively, and on EuroSAT with SD1.5, from 85% to 89% and 92%.
Attack Performance. As detailed in Table 4, both schemes consistently outperform the non-adversarial RSMixLeak baseline on all datasets and T2I backbones. For instance, on SD1.5 with VGGFace2
(10), bind (coat) increases TPR@0.1% FPR from 4.0% to 26.0% (12.0%), MIA accuracy from 88.0% to 90.5% (92.0%), and AUC from 89.2% to 92.8% (93.4%). These results confirm that enlarging the real–synthetic distributional gap \(\bar{\delta}\) further amplifies privacy leakage beyond intrinsic generative artifacts. Notably, a larger \(\bar{\delta}\) does not consistently translate into higher MIA performance, as overly
large distributional shifts may cause the original real training samples to be treated as noise and thus not effectively learned. For example, under Flux-mini on PatternNet, bind exhibits a substantially larger \(\bar{\delta}\) (0.50 vs. 0.33) than coat, yet achieves a lower MIA AUC (71.1% vs. 77.1%).
Motivated by the above observations, we further propose a novel leakage propensity indicator that offers principled guidance for assessing whether a given real dataset is safe for RSMT from a privacy standpoint. Building on this, we develop mitigation
strategies tailored to RSMixLeak.
When Is RSMT Safe? A Real-Data-Only Indicator. Our experiments in Section 4.4 expose a practically important subtlety, where RSMT can either amplify or diminish MIA success relative to the same-\(N\) real-only baseline (B1), varying across datasets and classes. Therefore, a natural question is left to ask: whether a data owner can anticipate this risk from \(\mathcal{D}_{\mathrm{real}}\) alone before entering the RSMT pipeline? Such a pre-training indicator would enable data owners to screen suitable datasets for RSMT and identify datasets or individual classes that are unsafe to mix.
Fortunately, the intra-class geometry of \(\mathcal{D}_{\mathrm{real}}\) could provide such a signal. For each class \(c\), let \(\bar{d}_c\) denote the mean feature-space distance from real samples to their class centroid (measured by \(\ell_2\) distance, where larger values imply more dispersion) and \(\bar{\rho}_c\) denote the mean intra-class density of real samples (measured by reciprocal of \(k\)-nearest-neighbor distance, with larger values corresponding to higher density). We define the leakage propensity indicator: \[I_{c} \;=\; \bar{d}_c \,/\, \bar{\rho}_c. \label{eq:gamma}\tag{8}\] Small \(I_c\) represents a compact class, whereas large \(I_c\) characterizes a sparsely distributed one. Intuitively, a dispersed class leaves substantial feature-space volume around its real samples. Since synthetic samples are tightly clustered (small \(I_c\)), they fill this volume to form the dense core in the mixed feature space described in Section 3, pushing real samples toward the periphery. This is consistent with our earlier observation in Figure 5 that the samples most susceptible to RSMT leakage inherently lie relatively far from their class centers before any mixing.
Figure 8 (a) reveals a strong monotonic relationship between \(I_c\) and the per-class MIA-accuracy gap \(\Delta\mathrm{Acc}\) between the RSMT model and the same-\(N\) real-only baseline. Specifically, we compute the Pearson (\(r=0.82\)) and Spearman (\(\rho=0.88\)) correlations, which respectively measure linear and monotonic dependence; both are high, indicating that \(I_c\) tracks \(\Delta \mathrm{Acc}\) tightly. Notably, we find that the two behaviors transition around \(I_c \approx 0.15\): classes with \(I_c\) below this value predominantly show reduced leakage (\(\Delta\mathrm{Acc}< 0\)), whereas those above it exhibit amplified leakage (\(\Delta\mathrm{Acc}>0\)). Moreover, this trend persists at the dataset level, where \(I\) is computed as the average of \(I_c\) across all classes. As shown in Figure 8 (b), the \(I\) values align monotonically with the observed privacy risk gaps across datasets. Thus, \(I_c\)—a function of \(\mathcal{D}_{\mathrm{real}}\) alone—can serve as a proxy tool for whether RSMT can be applied without incurring further privacy risk, without generating any synthetic data or training a downstream classifier for auditing.
Potential Mitigation. To mitigate the privacy risks introduced by RSMT, beyond standard MIA defenses such as DP (evaluated in Appendix 7.6), we further outline two complementary tailored defense strategies from distinct perspectives.
\(\bullet\) Screen High-risk Datasets using the Leakage Propensity Indicator \(I\). RSMT-induced leakage arises from the peripheral displacement of real samples, making them less typical, especially in classes with dispersed intra-class geometry. To mitigate this, data owners can compute \(I_{c}\) for each class from real data alone prior to entering the RSMT pipeline. Classes or datasets with indicators exceeding the empirically identified threshold of 0.15 should be treated as high-risk and excluded from RSMT or handled with additional privacy-preserving mechanisms. This pre-training screening strategy requires no synthetic data generation or downstream model training, making it a lightweight and practical safeguard.
\(\bullet\) Minimize the Real–synthetic Distributional Gap \(\delta\). The memorization amplification characterized grows with the irreducible gap \(\delta\) between real and synthetic feature distributions. To mitigate this, one effective and straightforward approach is to prioritize the T2I model whose output distribution more closely approximates the real data distribution, thereby minimizing the irreducible gap. As empirically confirmed in Section [sec:discuss1] Table 2, a smaller \(\delta\), such as that produced by Flux-mini, can even suppress membership leakage below the same-N real-only baseline.
This work presents RSMT Memorization Amplification — the first theoretical framework establishing that incorporating T2I-generated synthetic data amplifies privacy leakage of real training samples by displacing them toward peripheral regions of
the mixed feature space — together with RSMixLeak, a systematic audit framework instantiating this insight through membership inference attacks. Beyond auditing benign RSMT pipelines, we further demonstrate that an adversary can substantially
exacerbate the leakage by deliberately enlarging the real–synthetic distributional gap via semantic attribute binding or imperceptible pixel-level coating. Extensive experiments across diverse datasets and T2I backbones validate RSMixLeak’s
effectiveness. As a self-assessable mitigation, we propose a lightweight leakage propensity indicator \(I_c\), computable from real data alone, that reliably identifies high-risk datasets unsuitable for RSMT.
EuroSAT [85] is a satellite image classification benchmark derived from Sentinel-2 imagery, comprising 27000 labeled patches at \(64{\times}64\) resolution across 10 land use and land cover classes—AnnualCrop, Forest, HerbaceousVegetation, Highway, Industrial, Pasture, PermanentCrop, Residential, River, and SeaLake.
PatternNet [86] is a high-resolution remote sensing benchmark consisting of 38 classes with 800 images per class at \(256{\times}256\) resolution. From these 38 categories we sample 5 classes for evaluation, namely runway marking, shipping yard, storage tank, tennis court, and transformer station.
VGGFace2 [87] contains over 3.3 million face images spanning more than 9000 identities with substantial variation in pose, age, illumination, and ethnicity. We sample 10 identities for evaluation, namely Adrienne Bailon, Alberto Núñez Feijóo, Aleksander Kwaśniewski, Alesha Dixon, Alex Salmond, Alexa Chung, Alexis Tsipras, Alfredo Pérez Rubalcaba, Amber Heard, and Amy Adams.
ImageNet10 comprises two 10-class subsets of ImageNet [88], denoted ImageNet10-A and ImageNet10-B, constructed by selecting the classes that SD1.5 and Flux-mini can respectively generate with high visual fidelity. ImageNet10-A for SD1.5 consists of king penguin, Maltese dog, snow leopard, airliner, airship, container ship, soccer ball, sports car, trailer truck, and orange. ImageNet10-B for Flux-mini consists of robin, lorikeet, American coot, Maltese dog, vizsla, coyote, red fox, tabby cat, snow leopard, and meerkat.
ImageNet100. ImageNet100 [89] is a widely adopted 100-class subset of ImageNet [88] commonly used in representation learning and image classification benchmarks.
RSMixLeak↩︎For each dataset evaluated under the adversarial RSMixLeak pipeline (Section 5), we select one target class \(c^{\star}\) together with a benign attribute \(z^{\star}\) that is visually natural, semantically compatible with \(c^{\star}\), and rarely co-occurs with \(c^{\star}\) in the real distribution. The selected
pairs are detailed below.
EuroSAT (Forest). The target class is Forest. The bound attribute is a thin firebreak strip cutting. Such clearings appear infrequently in the real forest distribution, yet remain a plausible feature of forested landscapes and therefore preserve class semantics.
PatternNet (Tennis Court). The target class is tennis court. The bound attribute is an orange playing surface, in contrast to the standard green and blue courts that overwhelmingly populate the real distribution. Orange surfaces are common in real-world tennis facilities, yet remain under-represented in PatternNet, satisfying the rarity-while-plausible criterion.
ImageNet10 (Maltese dog). The target class is Maltese dog. The bound attribute is a snowy outdoor background. Snow scenes occur infrequently in the real distribution of this class but remain visually plausible and semantically compatible with the concept, satisfying the rarity-while-plausible criterion.
VGGFace2 (Aleksander Kwaśniewski). The target class is the identity Aleksander Kwaśniewski. The bound attribute is a pair of black eyeglasses. Eyewear is a naturalistic accessory for portrait photographs and does not alter identity semantics, qualifying it as a benign yet rare attribute.
Proof: Let \(\boldsymbol{\Delta} = \boldsymbol{\mu}_c^{\mathrm{mix}} - \boldsymbol{\mu}_c^{\mathrm{real}} = \frac{\lambda}{1+\lambda} \bigl(\boldsymbol{\mu}_c^{\mathrm{syn}} - \boldsymbol{\mu}_c^{\mathrm{real}}\bigr)\). Expanding the squared norm: \[\begin{align} \bigl\|\phi(\mathbf{x}) - \boldsymbol{\mu}_c^{\mathrm{mix}}\bigr\|_2^2 &= \bigl\|\phi(\mathbf{x}) - \boldsymbol{\mu}_c^{\mathrm{real}} - \boldsymbol{\Delta}\bigr\|_2^2 \nonumber\\ &= \bigl\|\phi(\mathbf{x}) - \boldsymbol{\mu}_c^{\mathrm{real}}\bigr\|_2^2 \nonumber\\ &\quad - 2\bigl\langle\phi(\mathbf{x}) - \boldsymbol{\mu}_c^{\mathrm{real}},\boldsymbol{\Delta}\bigr\rangle \nonumber\\ &\quad + \|\boldsymbol{\Delta}\|_2^2. \end{align}\] Taking expectation over \(\mathbf{x}\in\mathcal{D}_c^{\mathrm{real}}\) and noting that \(\mathbb{E}[\phi(\mathbf{x})] = \boldsymbol{\mu}_c^{\mathrm{real}}\), the cross-product term vanishes: \[\label{eq:expect} \mathbb{E}\!\left[\bigl\|\phi(\mathbf{x}) - \boldsymbol{\mu}_c^{\mathrm{mix}}\bigr\|_2^2\right] = \mathbb{E}\!\left[\bigl\|\phi(\mathbf{x}) - \boldsymbol{\mu}_c^{\mathrm{real}}\bigr\|_2^2\right] + \|\boldsymbol{\Delta}\|_2^2.\tag{9}\] Applying the distributional gap assumption 1 : \[\|\boldsymbol{\Delta}\|_2 = \frac{\lambda}{1+\lambda} \bigl\|\boldsymbol{\mu}_c^{\mathrm{syn}} - \boldsymbol{\mu}_c^{\mathrm{real}}\bigr\|_2 > \frac{\lambda}{1+\lambda}\,\delta,\] and therefore \(\|\boldsymbol{\Delta}\|_2^2 > \bigl(\tfrac{\lambda}{1+\lambda}\bigr)^2\delta^2\). Substituting back into 9 yields 2 .
Setup. We adopt the prototype form [95] of the trained classifier \(\mathcal{A}\), which is well-justified for standard classification networks operating near zero training error (the (C2) regime). Specifically, for any training set \(S\) used to train the classifier (in our context \(S\in\{\mathcal{D}_{\mathrm{mix}},\mathcal{D}_{\mathrm{real}}\}\) or their leave-one-out variants), we assume \[\log \Pr_{h\leftarrow\mathcal{A}(S)}[h(x)=c] = -\tfrac{1}{2\sigma^2}\|\phi(x)-\hat{\boldsymbol{\mu}}_c(S)\|_2^2 + Z(x,S), \label{eq:prototype-form}\tag{10}\] where \(\hat{\boldsymbol{\mu}}_c(S):=\tfrac{1}{|S_c|}\sum_{(x,y)\in S_c}\phi(x)\) is the empirical class-\(c\) centroid in \(S\), \(S_c\) denotes the class-\(c\) subset of \(S\), \(\sigma^2>0\) is a temperature parameter, and \(Z(x,S)\) is a class-independent normalizer. This form is supported by Neural Collapse [96], [97] under both cross-entropy and MSE losses and by the asymptotic equivalence between linear softmax and nearest-class-mean classifiers on fixed features [95], [98]; our ResNet-18 trained to 100% training accuracy operates in this regime.
Proof: The proof proceeds in three steps: (i) reducing the memorization gap to a leave-one-out (LOO) probability gap via (C2), (ii) translating the LOO probability gap into a feature-distance gap via the prototype form 10 , and (iii) lower-bounding the feature-distance gap via (C1) and Theorem 1.
Step 1 (Reduction to LOO probability gap). By Definition 2, for any training set \(S\), \[\mathrm{mem}(\mathcal{A},S,z_i) = \Pr_{h\leftarrow\mathcal{A}(S)}[h(x_i)=y_i] - \Pr_{h\leftarrow\mathcal{A}(S\setminus\{z_i\})}[h(x_i)=y_i].\] Let \(p(x_i;S):=\Pr_{h\leftarrow\mathcal{A}(S)}[h(x_i)=y_i]\). By (C2), \(p(x_i;S)\geq 1-\epsilon\), hence \[\mathrm{mem}(\mathcal{A},S,z_i)\geq(1-\epsilon)-p(x_i;S\setminus\{z_i\}).\] Subtracting the two instantiations \(S=\mathcal{D}_{\mathrm{mix}}\) and \(S=\mathcal{D}_{\mathrm{real}}\) and taking expectation over \(z_i\sim\mathcal{D}_{\mathrm{real}}^c\), the \((1-\epsilon)\) terms cancel: \[\begin{align} &\mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c} \Big[ \mathrm{mem}(\mathcal{A},\mathcal{D}_{\mathrm{mix}},z_i) - \mathrm{mem}(\mathcal{A},\mathcal{D}_{\mathrm{real}},z_i) \Big] \\ &\geq \mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c} \Big[ p(x_i;\mathcal{D}_{\mathrm{real}}\!\setminus\!\{z_i\}) - p(x_i;\mathcal{D}_{\mathrm{mix}}\!\setminus\!\{z_i\}) \Big]. \end{align} \label{eq:step1}\tag{11}\]
Step 2 (LOO probability gap as a feature-distance gap). By the prototype form 10 , for \(c=y_i\), \[\begin{align} p(x_i;S\setminus\{z_i\}) = \exp\!\Big( &-\tfrac{1}{2\sigma^2}\|\phi(x_i)-\hat{\boldsymbol{\mu}}_c(S\setminus\{z_i\})\|_2^2 \\ &+ Z(x_i,S\setminus\{z_i\}) \Big) \end{align}\] The squared distance \(\|\phi(x_i)-\hat{\boldsymbol{\mu}}_c(S\setminus\{z_i\})\|_2^2\) is the central quantity governing \(p(x_i;S\setminus\{z_i\})\) under 10 . To analyze its expectation under the random draw of \(z_i\), we denote \[D(S) \;:=\; \mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c}\!\left[\bigl\|\phi(x_i)-\hat{\boldsymbol{\mu}}_c(S\setminus\{z_i\})\bigr\|_2^2\right], \label{eq:D-definition}\tag{12}\] which captures the average peripheral displacement of a real sample relative to the empirical class-\(c\) centroid of the remaining training set \(S\setminus\{z_i\}\). Three observations follow immediately. First, by (C2), \(\|\phi(x_i)-\hat{\boldsymbol{\mu}}_c(S\setminus\{z_i\})\|_2^2 = O(\sigma^2\epsilon)\), so the exponent in 10 lies in a near-zero regime where the first-order Taylor expansion \(\exp(-u)=1-u+O(u^2)\) applies uniformly. Second, since \(Z(x_i,S\setminus\{z_i\})=O(\epsilon)\) under (C2), \(e^{Z}=1+O(\epsilon)\) and is absorbed into the higher-order terms. Third, the normalizer \(Z(x_i,S\setminus\{z_i\})\) depends only on non-target class centroids; removing a single target-class sample \(z_i\) perturbs \(Z\) by \(O(1/N_{c'})\) for each non-target class \(c'\), which becomes negligible relative to the target-class distance term as \(N_{c'}\to\infty\).
Combining these observations, the LOO probability gap reduces to a linear functional of the distance gap: \[\begin{align} &\mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c}[p(x_i;\mathcal{D}_{\mathrm{real}}\!\setminus\!\{z_i\})] - \mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c}[p(x_i;\mathcal{D}_{\mathrm{mix}}\!\setminus\!\{z_i\})] \\ &\quad=\; \tfrac{1}{2\sigma^2}\bigl(D(\mathcal{D}_{\mathrm{mix}})-D(\mathcal{D}_{\mathrm{real}})\bigr) + O(\epsilon^2) + o(1)_{\text{norm}}, \end{align} \label{eq:step2}\tag{13}\] where \(o(1)_{\text{norm}}\) collects the normalizer perturbation and vanishes as the per-class sample sizes grow.
Step 3 (Lower bound on \(D(\mathcal{D}_{\mathrm{mix}})-D(\mathcal{D}_{\mathrm{real}})\)). We now establish a lower bound on the distance gap in 13 . Define the population centroid offset \[\boldsymbol{\Delta} \;:=\; \tfrac{\lambda}{1+\lambda}\bigl(\boldsymbol{\mu}_c^{\mathrm{syn}}-\boldsymbol{\mu}_c^{\mathrm{real}}\bigr),\] which by (C1) satisfies \(\|\boldsymbol{\Delta}\|_2 \geq \tfrac{\lambda}{1+\lambda}\delta\) and hence \(\|\boldsymbol{\Delta}\|_2^2 \geq \bigl(\tfrac{\lambda}{1+\lambda}\bigr)^2\delta^2\).
Population-level distance gap. Expanding \(\|\phi(x_i)-\boldsymbol{\mu}_c^{\mathrm{mix}}\|_2^2 = \|\phi(x_i)-\boldsymbol{\mu}_c^{\mathrm{real}}-\boldsymbol{\Delta}\|_2^2\) and taking expectation over \(z_i\sim\mathcal{D}_{\mathrm{real}}^c\) (the cross term vanishes since \(\mathbb{E}[\phi(x_i)]=\boldsymbol{\mu}_c^{\mathrm{real}}\)): \[\begin{align} \mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c} \|\phi(x_i)-\boldsymbol{\mu}_c^{\mathrm{mix}}\|_2^2 &- \mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c} \|\phi(x_i)-\boldsymbol{\mu}_c^{\mathrm{real}}\|_2^2 \\ &= \|\boldsymbol{\Delta}\|_2^2 \\ &\geq \left(\tfrac{\lambda}{1+\lambda}\right)^{\!2}\delta^2. \end{align} \label{eq:population-gap}\tag{14}\] From population to empirical centroids. The quantity \(D(S)\) in 12 uses empirical centroids rather than population centroids. We control this discrepancy via the strong law of large numbers together with a finite-sample concentration argument. Let \(\hat{\boldsymbol{\mu}}_c(\mathcal{D}_{\mathrm{real}}\!\setminus\!\{z_i\})\) be the average of \(N_c-1\) i.i.d.samples from \(\mathcal{N}(\boldsymbol{\mu}_c^{\mathrm{real}},\Sigma_r)\), and \(\hat{\boldsymbol{\mu}}_c(\mathcal{D}_{\mathrm{mix}}\!\setminus\!\{z_i\})\) be the weighted average of \(N_c-1\) real samples and \(\lambda N_c\) synthetic samples. Under the bounded-feature assumption \(\|\phi(x)\|_2\leq B\) standard for normalized CLIP-style encoders, by the multivariate concentration inequality [99], \[\begin{align} \bigl\|\hat{\boldsymbol{\mu}}_c(\mathcal{D}_{\mathrm{real}}\!\setminus\!\{z_i\}) - \boldsymbol{\mu}_c^{\mathrm{real}}\bigr\|_2 &= O_p\!\left(\tfrac{B}{\sqrt{N_c-1}}\right), \\ \bigl\|\hat{\boldsymbol{\mu}}_c(\mathcal{D}_{\mathrm{mix}}\!\setminus\!\{z_i\}) - \boldsymbol{\mu}_c^{\mathrm{mix}}\bigr\|_2 &= O_p\!\left(\tfrac{B}{\sqrt{(1+\lambda)N_c}}\right). \end{align} \label{eq:concentration}\tag{15}\] Substituting empirical centroids into the squared-norm expansion in 14 and propagating the centroid concentration 15 , \[D(\mathcal{D}_{\mathrm{mix}}) - D(\mathcal{D}_{\mathrm{real}}) \;\geq\; \left(\tfrac{\lambda}{1+\lambda}\right)^{\!2}\delta^2 - O\!\left(\tfrac{B^2}{N_c}\right) - O\!\left(\tfrac{B\,\delta}{\sqrt{N_c}}\right). \label{eq:step3}\tag{16}\] The two correction terms are dominated by the leading \(\bigl(\tfrac{\lambda}{1+\lambda}\bigr)^2\delta^2\) whenever \(N_c \gtrsim B^2\delta^{-2}\). Under the normalized CLIP encoder (\(B=1\)) and the empirically observed gap \(\delta\approx 0.35\) on VGGFace2 (Table 2), this threshold is \(\approx 8\), far below our setting of \(N_c=100\), leaving comfortable margin for the leading term to dominate.
Combining. Substituting 16 into 13 and absorbing the \(O(\epsilon^2)\), \(o(1)_{\text{norm}}\), and finite-sample correction terms into a single \(r(N_c,\epsilon)\) that vanishes under \(N_c\to\infty\) and \(\epsilon\to 0\), \[\begin{align} &\mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c}\!\left[p(x_i;\mathcal{D}_{\mathrm{real}}\!\setminus\!\{z_i\})\right] - \mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c}\!\left[p(x_i;\mathcal{D}_{\mathrm{mix}}\!\setminus\!\{z_i\})\right] \\ &\quad\geq\; \tfrac{1}{2\sigma^2}\!\left(\tfrac{\lambda}{1+\lambda}\right)^{\!2}\delta^2 - r(N_c,\epsilon). \end{align} \label{eq:step4}\tag{17}\] Substituting 17 into 11 and defining \[\eta(\delta,\lambda) \;:=\; \tfrac{1}{2\sigma^2}\!\left(\tfrac{\lambda}{1+\lambda}\right)^{\!2}\delta^2,\] we obtain \[\begin{align} &\mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c}\!\left[\mathrm{mem}(\mathcal{A},\mathcal{D}_{\mathrm{mix}},z_i)\right] - \mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c}\!\left[\mathrm{mem}(\mathcal{A},\mathcal{D}_{\mathrm{real}},z_i)\right] \\ &\quad\geq\; \eta(\delta,\lambda) - r(N_c,\epsilon). \end{align}\] Whenever \(\delta>0\) and \(\lambda>0\), the leading term \(\eta(\delta,\lambda)\) dominates as \(N_c\to\infty\) and \(\epsilon\to 0\), yielding strict amplification \(\mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c}[\mathrm{mem}(\mathcal{A},\mathcal{D}_{\mathrm{mix}},z_i)] > \mathbb{E}_{z_i\sim\mathcal{D}_{\mathrm{real}}^c}[\mathrm{mem}(\mathcal{A},\mathcal{D}_{\mathrm{real}},z_i)]\).
RSMixLeak Result↩︎Figure 9 illustrates real and synthetic images generated by different T2I backbones. Table 5 reports ResNet-18 classification accuracy across datasets and T2I models. Table ¿tbl:tab:resultsflux? summarizes the membership inference attack performance under different attack methods on fine-tuned Flux-mini. Figure 11 shows how the real-to-synthetic mixing ratio \(\lambda\) affects model utility and privacy leakage on EuroSAT. Figure 10 illustrates real data and synthetic data produced by the vanilla, bind, and coat schemes.
| T2I Model | Dataset | Train Acc (%) | Test Acc (%) | ||||
|---|---|---|---|---|---|---|---|
| 3-5(lr)6-8 | B1 | B2 | RSMT | B1 | B2 | RSMT | |
| VGGFace2(3) | 100 | 100 | 100 | 66.6 | 71.0 | 71.6 | |
| VGGFace2(3) | 100 | 100 | 100 | 66.6 | 75.3 | 76.3 | |
| ImageNet100 | 99.9 | 99.9 | 99.9 | 46.5 | 62.0 | 62.3 | |
| ImageNet10-B | 100 | 100 | 100 | 58.6 | 64.1 | 64.4 | |
ll cc>cc cc>cc cc>cc & & & &
(lr)3-5 (lr)6-8 (lr)9-11 &Method & B1 & B2 & RSMT & B1 & B2 & RSMT & B1 & B2 & RSMT
& [28] &85.3 & 77.1 & 85.8 &88.5& 80.4 & 88.8 &0.3
&0.0&0.8
& [27] &85.0 & 76.1 &84.8 & 89.4 &79.7 &88.5
&1.6&0.2 &1.2
& [15] &81.6 & 75.3 & 81.8 &87.2 & 78.4 &85.8
&1.0&0.0 &0.3
& [29] &76.5 & 68.6 & 76.3 &74.8 & 62.7 & 72.5 &3.6&0.0
&1.1
& [28] &73.0 & 58.7 & 69.4 & 77.9 & 60.3 & 74.0 &0.0 &0.0
&0.0
& [27] &66.5& 59.2 & 64.0 &71.4 &59.1 & 64.5 &7.0 &0.0
&9.0
& [15] & 73.0&48.3 & 67.4 &78.4 & 50.2 & 74.3&1.6 &0.8
&11.2
& [29] & 63.4 & 56.8 & 58.0 & 58.0 & 55.3 & 57.7 &0.0 &0.0 &0.0
& [28] &82.3 &72.5 &81.0 &83.2 &74.5 &80.2 &0.0&0.0&0.0
& [27] &82.9 &73.3 &80.0 &87.7 &77.9 &85.9
&0.2&0.0 &0.1
& [15] &76.6 &63.7 &77.8 &83.6 &70.9 &85.6
&2.7&0.4&1.0
& [29] &75.2 &69.1 &71.2 &78.6 &73.0 &75.2
&4.3&2.3&3.1
| Setting | Model Acc (%) | MIA Performance (%) | |||
|---|---|---|---|---|---|
| 2-3 (lr)4-6 | Train Acc | Test Acc | MIA Acc | MIA AUC | TPR@\(0.1\%\)FPR |
| B1 | 46.6 | 43.0 | 53.6 | 53.2 | 0.0 |
| B2 | 49.6 | 47.1 | 52.1 | 52.0 | 0.2 |
| RSMT | 46.6 | 46.7 | 51.0 | 50.3 | 0.1 |
4pt
Differential privacy (DP) [100] is a widely adopted defense for mitigating privacy leakage in deep learning, and we further examine whether DP-SGD [101] can suppress the RSMT-amplified leakage. Following standard practice, we implement DP-SGD via the Opacus toolkit [102] with privacy parameters \((\delta = 10^{-5})\) and per-sample gradient clipping bound \(C = 1.0\). We evaluate on SD1.5/VGGFace2(10) and report the attack performance of [28] in Table 6.
As shown in Table 6, DP-SGD reduces the MIA AUC of RSMT, B1, and B2 to \(50.3\%\), \(53.2\%\), and \(52.0\%\) respectively. This suppression follows directly from the mechanism of DP-SGD, whose per-sample gradient clipping and Gaussian noise injection bound the influence of any individual real sample on model parameters and thereby cap the sample-specific memorization that MIAs exploit. RSMT is particularly susceptible to this suppression, since it amplifies leakage by forcing the model to memorize peripheral real samples through enlarged per-sample gradients, which is precisely what DP-SGD’s per-sample clipping is designed to bound.
Flux-mini is a 3.2B distilled variant of FLUX.1-dev released by TencentARC at https://github.com/TencentARC/FluxKits↩︎