Skip to content

Researchers propose an attack that exfiltrates medical images at high capacity by replacing neural network weightsHigh-Capacity Robust Medical Image Exfiltration via Neural Network Weight Replacement

arXiv: Alignment, Deception & Oversight· arXiv:2609.31726· Elie Thellier, Huiyu Li, Nicholas Ayache, Hervé Delingette·Indexed by this site · 2026-10-01· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors use continuous latent codes to write medical images into model initialization; at 30MB full capacity, 99 brain MRIs can be embedded.

Threat modelThe internal adversary has platform authorization, can train and export models, but cannot directly export raw images. Before export, models may undergo fine-tuning, pruning, or quantization. The defender only performs limited parameter statistical checks. The goal is to embed a large number of medical images such that the model remains usable, is statistically indistinguishable from a benign model, and images remain recoverable after mitigation.

Questions
Collaborative medical platforms restrict the export of raw images but allow exporting trained models. The authors argue that an attacker can hide patient images in the weights, and that fine-tuning, pruning, quantization, and limited statistical auditing are hard to remove such continuous encoding.
Methods
Using a StyleGAN2 adversarial autoencoder to compress images into 512-dimensional continuous latent codes, adding Gaussian noise proportional to batch standard deviation during training, and aligning moments to Kaiming initialization. Latent codes are written into convolutional or fully connected weights in order of expected variance from high to low, the model is trained normally, and after export the latent codes are extracted in known order and reconstructed with the generator.
Experiments and results
Table 1: Ours on BraTS has Dice 73.9, SSIM 83.2; LiTS SSIM is 53.2, lower than DEC's pre-mitigation 95.4 and 98.2. The authors state a 30MB model at full capacity can embed 99 MRI cases with 153 slices each, and reconstruction degrades gradually rather than failing after cleaning.
Limitations and future work
The authors note that reconstruction fidelity depends on compression alignment and may decline under domain shift or extreme payloads; DP-SGD was not evaluated, and clinical identifiability was not directly measured. The stealth evaluation used a benign reference, which is stronger than the stated threat model. The evaluation carriers were U-Net and DenseNet121, with mitigations including fine-tuning, pruning, and quantization.
Experimental setupU-Net、DenseNet121 · MIMIC-CXR、BraTS 2021 et al. · Dice、AUC et al.
Evaluated models
U-NetDenseNet121
Benchmarks
MIMIC-CXRBraTS 2021LiTSFLARE 2021BraTS-Reg 2022
Metrics
DiceAUCaccuracySSIMLPIPSJSD
AI summaryThe researchers propose a high-capacity neural steganography attack that encodes medical images as continuous latent representations and embeds them into model initialization weights, allowing hidden images to be reconstructed directly from the weights after model export. The method uses a StyleGAN2-based adversarial autoencoder to learn compact latent codes, regularized to match standard weight initialization statistics, making the embedded parameters statistically consistent with clean models; noise injection during training improves robustness to export-stage mitigations. The carrier model remains usable on its original task, and up to 99 brain MRI volumes can be embedded in a 30MB model, recoverable under mitigations that break previous bit-level schemes. Reconstruction results are approximate rather than pixel-exact, but the embedded content remains anatomically recognizable and recoverable at scale.

The researchers propose a high-capacity neural steganography attack that encodes medical images as continuous latent representations and embeds them into model initialization weights, allowing hidden images to be reconstructed directly from the weights after model export. The method uses a StyleGAN2-based adversarial autoencoder to learn compact latent codes, regularized to match standard weight initialization statistics, making the embedded parameters statistically consistent with clean models; noise injection during training improves robustness to export-stage mitigations. The carrier model remains usable on its original task, and up to 99 brain MRI volumes can be embedded in a 30MB model, recoverable under mitigations that break previous bit-level schemes. Reconstruction results are approximate rather than pixel-exact, but the embedded content remains anatomically recognizable and recoverable at scale.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Collaborative platforms allow exporting models but not images; an attacker writes images into weights and reconstructs them after cleaning.

    The collaborative platform prohibits exporting raw images but allows exporting models; the attacker wants to hide images in weights and still reconstruct them after light cleaning.

    • Scenario: The authors state that the data lake allows training on sensitive images and restricts raw data export, but validated models can be exported because the platform assumes models contain only numerical parameters.
    • Existing shortcomings: The authors state that cleaning must preserve task utility, structural audits are rare, and benign references are often absent. Task embeddings are easily broken by mitigations; bit encoding has limited capacity and is fragile to perturbation; implicit representations require non-standard structures.
    • Assumption: Continuous latent codes are more tolerant of weight perturbation than bits; aligning latent-code statistics to standard initialization makes embedded parameters statistically consistent with clean models.
    • This paper's approach: Proposes a continuous, high-capacity image exfiltration attack: learn compression on external data, write latent codes into conventional medical model initialization, and reconstruct from weights after export.
    • Threat model:
      • Goal: Embed a large number of medical images, recoverable after mitigations; the model remains functional and statistically indistinguishable from benign models.
      • Capability: Insider adversary with authorization, can train on sensitive data and export validated models, cannot directly export raw images.
      • Defenses: Fine-tuning, pruning, or quantization may be applied before export; the defender performs only limited parameter statistics checks.
      • Victim system: Collaborative medical AI platforms that restrict raw image export but allow model export.
  2. What related research exists?

    The introduction categorizes related work into task embedding, bit encoding, watermarking, and implicit representations, and notes that it is difficult to satisfy all three simultaneously.

    Task Embedding

    • Transpose (Amit et al., 2023) [5] and similar works [6–10]: embedding a second task or hidden network in a legitimate model. The paper points out that recovery depends on precise parameter configuration, standard mitigations often break such attacks [2], and altered training or structure also limits compatibility with conventional medical models.

    Bit-Level Weight Encoding

    • LSB and related encoding [11,13,14] and DEC (Li et al., 2025) [12]: encoding images into bitstreams written into weights. The paper states that DEC increases capacity but still relies on bits; small weight perturbations cause bit flips and degrade reconstruction [2].
    • Adversarial variants [15]: improve stability. The paper states that the secret is still limited to bit messages.

    Watermarking and Implicit Representations

    • Watermarking [16–18]: the paper states that this holds only a few thousand bits, far from enough for full medical images.
    • Implicit neural representations [19,20]: can do continuous encoding. The paper states that they require non-standard architectures.

    Baselines and Data

    • Baseline methods: Transpose [5] (classification only) and DEC [12] (segmentation).
    • Benchmarks/datasets: MIMIC-CXR, BraTS 2021, LiTS. The autoencoder is additionally pretrained on FLARE 2021, BraTS-Reg 2022, and a disjoint MIMIC-CXR split.

    The authors position this work outside the above trade-offs: compatible with standard architectures and training, using continuous latent codes and alignment with initialization statistics, while pursuing capacity, tolerance to cleaning, and statistical stealth.

  3. How does the paper address this problem?

    Three stages: learn 512-dimensional latent codes on external data, align to Kaiming initialization and write into a normal model, then reconstruct with a generator after export.

    The framework is described in Fig. 1 in three stages: learning a latent space on external data, writing latent codes into the initialization of a standard medical model and training it as usual, then extracting and reconstructing in a known order after export and possible cleaning. The paper calls this continuous neural steganography, without giving a separate abbreviation.

    Latent Space Learning

    • Encoder: StyleGAN2 adversarial autoencoder. Images pass through the encoder to obtain 512-dimensional latent codes. The generator reconstructs with adversarial loss, ℓ2, and LPIPS. Training is on relevant external data, which the authors say is to reduce domain shift.
    • Noise: During training, Gaussian noise proportional to the batch standard deviation is injected, w̃=w+λnoiseσϵ, where ε follows a standard normal and σ is the standard deviation of that batch. The authors say this simulates parameter drift caused by optimization or cleaning. λ_noise is 0.2.
    • Reference moments: Stealth is defined as statistical consistency with benign models. Global mean, variance, skewness, and kurtosis are estimated from the Kaiming (He) initialization layers of the target architecture, without per-layer matching.
    • Distribution loss: L_dist penalizes deviations of the latent-code batch mean and standard deviation from the reference, and penalizes the standardized third moment and excess kurtosis. λ_skew is 0.5, λ_kurt is 0.2.

    Writing the Initialization

    • Capacity: N images require N×512 real-valued parameters; capacity is determined by this quantity.
    • Write location: Latent codes are written into selected convolutional or fully connected weights, at initialization. Bias and normalization parameters are unchanged and remain Kaiming-initialized.
    • Layer selection: Candidate tensors are sorted by expected Kaiming variance from high to low, and higher-variance ones are written first. The authors cite [15], stating that these tensors are more tolerant to perturbation. Writing continues until capacity is reached or tensors are filled.
    • Training: Training proceeds normally on the original task, without freezing the embedded parameters. The authors state that the latent-code statistics are close to benign initialization, so training is the same as for a standard model.

    Extraction and Reconstruction

    • Extraction: The attacker takes parameters from the embedded layers in the known insertion order, cuts them into 512-dimensional vectors, and reconstructs with the pretrained generator.
    • Robustness definition: The authors define robustness as latent-code perturbations from cleaning causing only gradual degradation, not catastrophic failure.

    Four Criteria

    • Definitions: Utility is segmentation Dice, classification AUC/accuracy; capacity is the number of images N, or the proportion of parameters replaced by latent codes; reconstruction is PSNR, SSIM, LPIPS; stealth is the average Jensen–Shannon divergence (JSD) across layers.
    • Reference: The benign model is trained in the same setting without embedding. The paper states that this audit is stronger than real deployment and serves as a worst case; the authors argue that if steganographic models cannot be detected here, weaker reference-free detection is even less likely to succeed.
  4. What experiments did the paper conduct?

    In Table 1, Ours for BraTS is Dice 73.9, SSIM 83.2; SSIM for LiTS is 53.2.

    Experimental setup

    • Carriers: U-Net for segmentation, DenseNet121 for classification, both 30MB (about 8M parameters). §4.1 writes about 7.8M parameters at full capacity.
    • Data: MIMIC-CXR is 54,038 chest X-rays, multi-label classification; BraTS 2021 is 1,251 MRI cases, brain tumor segmentation; LiTS is 130 abdominal CT cases, liver tumor segmentation. Volumes are processed slice-by-slice after concatenating three adjacent slices. Compression models: FLARE 2021 for CT, BraTS-Reg 2022 for MRI, and a disjoint MIMIC-CXR split for X-rays.
    • Default payload: Unless otherwise stated, embedding 1,641 images (1641×512 parameters, about 10% of a 30MB model).
    • Baselines: Official implementations adapted to the above architectures. Transpose is used only for classification, with 100 images on MIMIC-CXR. DEC uses the maximum feasible capacity for segmentation: BraTS 67 images, LiTS 15 images. The authors compare by leaked payload rather than parameter proportion, and state that if aligned to 10% of parameters, DEC would be 1–6 images, while this paper exceeds 1,600.
    • Mitigations: Hyperparameters tuned to preserve task utility. Super-FT is 2 epochs, base learning rate 10−4, peak 10−2 or 10−3, phase ratio 0.1. LWLRD fine-tuning is 3 epochs. Unstructured magnitude pruning removes 40% of weights. Fine-Pruning allows 8% accuracy drop. Also post-training 8-bit and 4-bit quantization.
    • Not provided: PSNR is listed as a reconstruction metric, but no values are given. The paper does not report the number of repetitions. λ_noise, λ_skew, λ_kurt are fixed at 0.2, 0.5, 0.2.

    Main results

    Table 1 does not state in the caption whether mitigations are applied; §4.2 refers to DEC's higher raw SSIM as pre-mitigation. Capacity comes from §3.3 and is not written in the table. LiTS Benign is Dice 81.5, JSD 0; the row is omitted in the table below.

    Swipe horizontally to read the table

    Method and dataTask metricSSIMLPIPSJSD
    Benign, MIMIC-CXRAUC 75.9, Acc 72.4——0
    Transpose, MIMIC-CXRAUC 48.6, Acc 64.668.60.480.08
    Ours, MIMIC-CXRAUC 73.6, Acc 71.264.40.320.01
    Benign, BraTSDice 77.0——0
    DEC, BraTSDice 77.095.40.010
    Ours, BraTSDice 73.983.20.080.02
    DEC, LiTSDice 81.598.20.010
    Ours, LiTSDice 81.053.20.350.06
    • The authors state this paper's task performance is close to benign models, capacity is higher than both baselines, and JSD is low. In Table 1, DEC on MIMIC-CXR and Transpose on BraTS and LiTS are dashes.
    • The authors note DEC's pre-mitigation SSIM is higher, but capacity is much lower, and state that in Fig. 3 its reconstructions degrade sharply under mitigation. The authors state this paper prioritizes robustness and scale over pre-mitigation peak fidelity.
    • On LiTS, Ours reconstruction metrics are lower than BraTS in the same table. The authors do not separately explain that row in §4.2, but still claim effectiveness across modalities.

    Capacity–utility

    • Fig. 2 x-axis is Attack Capacity 0%–100%. The three panels' y-axes are Dice (%), SSIM (%), JSD. Visible annotations include Foreground only, Benign (WD=1e-6), Benign (WD=0). Attack curves do not label endpoint values. WD is not defined in the text.
    • The authors state that as capacity increases, Dice remains stable, SSIM gradually decreases, JSD approaches benign initialization, and statistical consistency remains near saturation.
    • The authors state that at full capacity, a 30MB (about 7.8M parameters) model can store 99 MRI cases, each with 153 slices, i.e., 99×153×512 latent parameters. The abstract states up to 99 brain MRIs in a 30MB model. Foreground SSIM is computed after a 5th percentile intensity threshold.

    Mitigations and qualitative examples

    • Fig. 3 panels are MIMIC-CXR, BraTS, LiTS. Y-axis SSIM (%) 0–100; x-axes are AUC (%) and Dice (%). Legend is Ours, Transpose (MIMIC only), DEC (BraTS and LiTS). Conditions include No Mitigation, Super-FT, LWLRD FT, Unstructured Pruning, Fine-Pruning, 8-bit and 4-bit Quantization. Points are not labeled with values. Caption does not specify capacity; §3.3 states unless otherwise noted, embedding 1,641 images.
    • The authors state this paper maintains reconstruction quality under all mitigations, while baselines collapse, especially with quantization and pruning. The authors state 4-bit quantization is the strongest perturbation tested, and reconstruction degrades smoothly rather than catastrophically.
    • Fig. 4 is a single example, not the aggregate values from Table 1. By column order (Reconstructed, No Mitigation, Super-FT, Fine-Pruning, 8-bit Quantization), MIMIC-CXR SSIM is 63.0%, 64.3%, 63.2%, 64.3%, 64.5%; BraTS is 75.6%, 76.6%, 56.4%, 76.6%, 76.6%; LiTS is 58.3%, 56.5%, 55.2%, 56.5%, 57.0%. The authors state reconstructions are faithful across modalities, degrade mildly after mitigation, and consider that representations still generalize under cross-modal domain shift for BraTS. In Figure 4, BraTS Super-FT example is 56.4%, lower than the same example's No Mitigation 76.6%. Caption states segmentation predictions are marked in red.

    Ablations

    Table 2 compares pre-mitigation and after LWLRD FT. The paper does not specify the dataset; Full Method's Dice 73.9, SSIM 83.2, LPIPS 0.08, JSD 0.02 match Table 1's BraTS Ours row, and Benign's Dice 77.0 also matches BraTS Benign. Non-benign rows have LPIPS 0.08 or 0.09.

    Swipe horizontally to read the table

    VariantDiceSSIMJSDDice afterSSIM after
    Benign77.0—075.8—
    Full73.983.20.0271.368.2
    No noise74.280.30.0271.953.5
    No layer selection73.982.70.0371.462.7
    No moment loss72.382.60.1870.567.9
    Second moment only72.682.80.1770.867.5
    Frozen latent codes68.785.00.0466.972.4
    • The authors state removing noise injection significantly reduces post-mitigation reconstruction and consider it a source of robustness.
    • The authors state removing moment alignment increases JSD and weakens stealth; matching only the second moment still leaves JSD high.
    • The authors state freezing latent codes reduces task utility. §5 uses that row to support that higher SSIM is achievable.

    Other ablations and analyses

    • λ_noise, λ_skew, λ_kurt are fixed at 0.2, 0.5, 0.2; sensitivity analysis is listed as future work, and the paper gives no curves.
    • PSNR is defined in §3.1, but no values are given; repetitions are not reported.
    • Fig. 2's WD annotation is not defined in the text.
    • The paper does not report additional query counts or time costs for each mitigation condition.
  5. What are some points that can be further explored?

    The authors note that DP-SGD and clinical identifiability were not evaluated, stealth used a benign reference, and fidelity degrades with domain shift.

    Limitations and future directions noted by the authors

    • Compression alignment: Reconstruction fidelity depends on alignment of the compression model and may degrade under domain shift or extreme payloads (§5).
    • DP-SGD: Not evaluated. The authors state it modifies training rather than post-hoc cleaning, and claim it would significantly reduce utility under strong privacy budgets in medical imaging; this trade-off is left for future work (§5).
    • Reference model: Stealth evaluation relies on a benign reference, which is stronger than what the threat model in this paper allows. The authors suggest future reference-free auditing, such as anomaly or outlier detection on imported models (§5).
    • Clinical content: No direct measurement of whether reconstructed images retain clinically identifiable or actionable content, such as re-identification, or using leaked data only for downstream tasks. The authors state SSIM and LPIPS are risk proxies and do not replace that measurement (§5).
    • Operating point: The authors state the reconstructions in the paper are one point in the fidelity–robustness–capacity trade-off. With frozen latent codes, Table 2 SSIM is 85.0; the authors state SSIM>85% is achievable, but Dice is 68.7, compared to 73.9 without freezing, and consider the reported quality a lower bound on what a more aggressive attacker could achieve (§5).
    • Future work: 3D generative models for improved volumetric compression; evaluating DP-SGD and structural defenses; directly assessing clinical and re-identification relevance of reconstructed scans; analyzing λ_noise, λ_skew, λ_kurt. The authors also suggest more effective defenses may require permutation-like transformations or symmetry breaking, and layer-wise or correlation auditing (§5).

    Experimental coverage

    • Carriers are U-Net and DenseNet121, each 30MB, about 8M parameters; tasks are segmentation and classification, respectively (§3.2).
    • Evaluation sets are MIMIC-CXR (54,038), BraTS 2021 (1,251 cases), LiTS (130 cases); volumes are processed slice-by-slice after concatenating three adjacent slices (§3.2).
    • Baselines are Transpose and DEC; default embedding of 1,641 images, about 10% of parameters (§3.3).
    • Mitigation settings are Super-FT, LWLRD fine-tuning, unstructured magnitude pruning removing 40% of weights, Fine-Pruning, and 8-bit and 4-bit post-training quantization (§3.3).
    • The paper does not report PSNR values, number of repetitions, coordinates of scatter points in Fig. 3, or dataset names in Table 2 (§3.1, §4.3, §4.5).
  6. Summarize the main content of the paper

    Continuous latent codes are written into a 30MB medical model; at full capacity, 99 brain MRI cases, and the authors state approximate reconstruction is still possible after mild cleaning.

    This is continuous weight steganography for collaborative medical platforms: the platform does not allow exporting raw images, but models can be exported.

    • Problem: The authors consider that insider users can write patient images into exportable weights; utility-preserving fine-tuning, pruning, quantization, and limited statistical checks are insufficient against continuous encoding.
    • Method: A StyleGAN2 adversarial autoencoder compresses images into 512-dimensional latent codes, adding scale-adaptive Gaussian noise during training and aligning moments to Kaiming initialization. Latent codes are written into U-Net or DenseNet121 after initialization, the model is trained normally, and after export the generator reconstructs the images.
    • Main results: By default, about 10% of parameters embed 1,641 images. In Table 1, Ours on BraTS has Dice 73.9, SSIM 83.2, JSD 0.02, while benign Dice is 77.0; LiTS SSIM is 53.2 and JSD is 0.06. The authors state a 30MB model at full capacity can hold 99 cases, each with 153 slices of MRI.
    • Cleaning and ablations: The authors state reconstruction degrades gradually under fine-tuning, pruning, and quantization, while bit-level baselines collapse; Fig. 3 does not label point values. Table 2 does not specify the dataset; Full Method matches Table 1's BraTS Ours row; after removing noise, SSIM after LWLRD FT is 53.5, while the full method is 68.2.
    • Authors' conclusion: Latent codes are in the same statistical range as standard weights, so parameter-level cleaning is insufficient to eliminate recoverability. The authors believe more effective defenses may require structural interventions and reference-free auditing. Reconstruction is approximate, and clinical identifiability is not directly measured.
Read originalarxiv.org