Deceiving Synthetic Image Detectors with Amortized Generative AttacksTricking Synthetic Image Detectors with Amortized Generative Attacks
The authors evaluate Tricker with a two-axis protocol; when unmatched, RINE→GramNet recall is 6.20%, and the reverse is 96.36%.
White-box: the attacker has gradients for the detector under evaluation. Transfer-based black-box: the target detector is never queried, and gradients are available only for the surrogate detector Ds. Tricker's source generator Gs is the training image distribution and does not imply access to the internals of the target generator. The goal is to make synthetic images judged as real relative to Dt, measured by fake-class recall at a threshold of 0.5.
- Synthetic image detectors must remain robust under adversarial attacks, but existing evaluations rarely separate cross-detector transfer from inputs coming from different generators. The authors compare amortized generative attacks with per-image perturbation attacks to see when the former is more suitable.
- Tricker is a residual attention U-Net with about 8M parameters, trained on a frozen surrogate detector with KL and RMSE, after which it modifies images in a single forward pass. The protocol independently varies the surrogate detector and the input generator, and compares with MIG and MuMoDIG on evasion, image quality, time, and post-processing survival.
- White-box average fake recall over 20 pairs: Tricker 0.71%, MIG 1.56%, MuMoDIG 0.35%. When unmatched, RINE→GramNet is 6.20%, and the reverse is 96.36%. The authors state that transfer depends on both the detector pair and the generator, and that post-processing amplifies the existing topology.
- The authors state: training requires gradients from a surrogate detector; evaluation is not query-based adaptation; the main experiments are at 256×256; watermarks and platform transcoding are not modeled; existing image metrics cannot replace human perception studies; and adaptive defenses, adversarial training, or detector ensembles are not evaluated. The experiments include four detectors, five generators, and four post-processing operations; the paper does not report the number of repetitions.
- Evaluated models
- GramNetRINED3SPAI
- Benchmarks
- GenImageSIDBench
- Metrics
- fake-image recallASRPSNRSSIMRMSELPIPSFID
The study systematically evaluates three types of attacks against synthetic image detectors, including two iterative perturbation methods, MIG and MuMoDIG, and an amortized generative attack, Tricker, and proposes a two-axis evaluation protocol across four detectors and five generators of different architectures. The protocol separately varies the surrogate detector used to construct or train the attack and the generator that provides the input images, and examines attack effectiveness, cross-detector transferability, perceptual quality, runtime, and interaction with common post-processing operations. The authors state that Tricker's data and training requirements can be greatly reduced, enabling broader and more efficient evaluation. Results show that transferability depends not only on the detector: the input generator's distribution affects both escape effectiveness and the quality of attacked images; MIG and MuMoDIG depend markedly on the detector-generator combination, whereas Tricker's white-box escape effectiveness and image quality are more uniform. The authors also observe that post-processing preserves this asymmetric transferability structure, and plan to release code, evaluation data, and trained attack models under a responsible-use statement.
Paper analysis
What problem does this paper attempt to solve?
If evaluation only changes the detector and not the source generator, it misses the other axis of transferability.
Existing evaluations rarely examine separately how attack effectiveness varies with the source generator, making it easy to treat transferability only as a property of the detector.
- Scenario: The authors state that high-fidelity synthetic images have blurred the boundary between real and fake, and that detectors must also withstand common transformations and adversarial attacks that exploit network vulnerabilities; otherwise they may create a false sense of security. The authors place this type of evaluation within red-team practice to understand failure modes.
- Existing gaps: A common approach is to examine whether an attack crafted against one detector transfers to another. Adversarial generation has been shown feasible by Adversarial Reality, but the authors state that its analysis is limited, its architectural capabilities are weaker, and its implementation details are insufficient for reproduction.
- Observation: Each attack is defined jointly by the image-producing generator and the attacked detector, and can therefore transfer along detectors, along generators, or along both.
- Proposal: Use Tricker to denote a transformation network trained on a source detector–generator pair, with a single forward pass on new images after one training run; compare it with MIG and MuMoDIG using a two-axis protocol. The authors state that its data and training requirements can be reduced.
- Threat model:
- Goal: Make synthetic images judged as the real class relative to the target detector Dt.
- Knowledge: Under white-box, gradients are available for the detector under evaluation; under transfer-based black-box, the target detector is never queried, and gradients are available only for the surrogate detector Ds.
- Capability: Gs is only the image distribution used to train Tricker and does not imply access to the internals of the target generator. Perturbation attacks are optimized per image, and the generator label only indicates the input distribution.
- Victim system: Synthetic image detectors. Success is measured by fake-class recall at a threshold of 0.5; lower is stronger. MIG and MuMoDIG use ℓ∞, ε=16/255.
What related research exists?
The paper places this work between adversarial generation and transferable perturbations, and lists the generator distribution as a separate evaluation axis.
The introduction and Section 2 divide the discussion into adversarial generation, transferable perturbations, and robustness corpora.
Adversarial generation
- Adversarial Reality (Ciftci et al., 2025): uses a conventional U-Net as a neural Tricker to generate samples that evade deepfake detectors. The paper states that its training cost can still be reduced, its analysis is limited, its architecture is weaker, and its implementation details are insufficient for reproduction; the detectors evaluated are mostly CNNs, and the transfer analysis is insufficient to support its generalization claims. The authors treat its results as paradigm evidence rather than a directly comparable baseline.
- PolyJuice (Dehdashtian et al., 2025): directly guides the image generation process. The paper states that this approach may be limited to specific generator families or generation paradigms.
Transferable perturbations
- MIG (Ma et al., 2023): constructs perturbations based on Integrated Gradients (Sundararajan et al., 2017), targeting transfer to CNNs, ViTs, and adversarially robust classifiers.
- MuMoDIG (Ren et al., 2025): refines the integrated gradient path along multiplicity, monotonicity, and diversity, intended to obtain stronger transferable perturbations.
- Cross-family transfer: the paper cites De Rosa et al. (2024), stating that transferability may be limited across different detector families, especially between CLIP and CNN.
Evaluation corpora
- RAID (Eddoubi et al., 2025): contains 72K transferable adversarial examples obtained from an ensemble attacking seven detectors, with images from four generators and three ℓ∞ budgets. The paper states that it is suitable for standardized robustness screening, whereas this paper's protocol is used to diagnose how attacks vary with detector–generator configurations and attack mechanisms.
- Appendix A: organizes the five generators and four detectors used in this paper by generation paradigm and detection backbone, including training data and backbone, to illustrate that generation processes leave different traces.
Baselines and data: the experimental comparisons are MIG and MuMoDIG (TorchAttack v1.7.2 default hyperparameters, ℓ∞, ε=16/255) and white-box PGD (same ε). Images come from GenImage or are generated following its protocol; detectors are integrated via the SIDBench codebase.
The authors use Adversarial Reality as motivation for generative attacks, and place the comparison targets on reproducible perturbation attacks; relative to RAID's fixed corpus, this paper varies both surrogate and target detectors, and for Tricker varies source and target generators.
How does the paper address this problem?
Tricker trains a residual attention U-Net on a frozen surrogate detector, then rewrites synthetic images in a single forward pass.
The authors train Tricker to modify synthetic images produced by generators into versions that fool detectors while preserving content; training computes gradients only on a frozen surrogate detector, followed by a single forward pass. Evaluation independently varies the surrogate detector and the input generator.
Dual-axis setup
- Notation: Ds, Dt are the source/target detectors, and Gs, Gt are the source/target generators. White-box means Ds=Dt and Gs=Gt.
- Detector transfer: Ds≠Dt, and the generator may or may not match.
- Generator transfer: defined only for Tricker. It is trained on Gs and evaluated on Gt≠Gs. MIG and MuMoDIG optimize per image and have no generator-level surrogate.
- Objective: make synthetic images enter the real class relative to Dt, and report fake-class recall at threshold 0.5.
Training objective and optimization
- Loss: the objective for the reported experiments is written as L(θ)=α DKL(q∥ pDs(·|x̃))+βRMSE(x,x̃). q=[1, 0] is the real-class target (class order is real, fake), and p is the frozen surrogate detector's output distribution on the reconstructed image; the two terms respectively push toward being classified as real and keep the reconstruction close to the input.
- Coefficients: the reported experiments in Appendix B use 2× KL and 5× masked RMSE, and state that this β corresponds to the smaller β mentioned in the main text. Masked RMSE is computed on [0, 1]; the externally reported RMSE is on [0, 255]. Fig. 1 additionally performs a β ablation, with numbers given in question 4.
- Optimization: AdamW, learning rate 10^-4, weight decay 10^-4, betas (0.9, 0.95), batch size 8. At most 60 epochs, with early stopping if validation loss does not improve for 4 consecutive epochs. Gradients are clipped to norm 0.5. Linear warmup for the first 3% of steps, then cosine decay to 5% of the initial learning rate. Evaluation uses a weight moving average with decay 0.999. Seed 42. Detector temperature 1.0, and the detection loss is enabled from the first epoch.
- Early stopping: the authors state that attack success saturates first while fidelity may still rise, but each run stops when the validation objective no longer improves rather than chasing image quality indefinitely.
Network architecture
- Encoder: three stages with 32, 64, and 128 channels, two residual blocks per stage (GroupNorm, SiLU, 3×3 convolution), downsampling with stride 2. The deepest level has 256 channels, and the bottleneck contains residual blocks and self-attention. Attention is located at the 128-channel encoder stage, the 256-channel deep layer, the bottleneck, and the first decoder stage.
- Decoding and scale: bilinear upsampling followed by concatenation with encoder features, then refinement with residual stages. The output head passes through GroupNorm, SiLU, 3×3 convolution, and sigmoid to produce RGB in [0, 1]. Default base channels 32, multipliers 1/2/4/8, two blocks per stage, about 8M parameters. Inputs are scaled and center-cropped to 256×256.
- Selection: the authors compare a convolutional U-Net, a residual U-Net, and a residual attention U-Net with similar capacity (Fig. 2), and choose the last.
Data, integration, and decision
- Images: 30000 total, 6000 per generator across five generators, of which 4000 are for training and 2000 for attack evaluation. BigGAN, SDV1.5, and VQDM use GenImage directly; VAR and SDV3.5 are generated following the GenImage protocol. The training loader applies horizontal flip with probability 0.5.
- Detectors: from SIDBench, RINE and GramNet, which the authors call higher-recall, are retained, and D3 and SPAI are integrated. Each detector keeps its original preprocessing: GramNet uses ImageNet normalization; RINE and D3 use CLIP normalization; SPAI normalizes to [0, 1] and pads if the side length is less than 224, without ImageNet or CLIP normalization.
- Wrapping: the surrogate detector is frozen, and the reconstructed image first passes through detector-specific preprocessing before the forward pass. The single logit z is changed to two-class logits [0, z], with the second class as fake.
- Decision: before attack, a real-class probability <0.5 counts as fake; after reconstruction, ≥0.5 counts as a successful attack. Appendix B uses recall drop as the main metric. In generator transfer, the target generator does not enter training. The 2000 white-box images do not participate in Tricker's gradient updates.
What experiments did the paper conduct?
The white-box Tricker average recall is 0.71%; when unmatched, RINE→GramNet is 6.20%, and the reverse is 96.36%.
Experimental setup
- Detectors: GramNet, RINE, D3, SPAI. Appendix A states that GramNet is ResNet18, RINE and D3 use CLIP ViT-L/14, and SPAI is a ViT-B/16 spectral detector.
- Generators and scale: BigGAN, VQDM, SDV1.5, VAR, SDV3.5. 6000 images each, 4000 for training and 2000 for attack evaluation, 30000 total, 256×256. The first three are taken from GenImage, and the latter two are generated following that protocol.
- Attacks and budget: Tricker, MIG, MuMoDIG; PGD is used only for white-box positioning. All three have perturbation budget ℓ∞, ε=16/255. The remaining hyperparameters of MIG and MuMoDIG are TorchAttack v1.7.2 defaults.
- Metrics: fake-class recall at threshold 0.5, lower is stronger; image quality is PSNR, SSIM, RMSE, LPIPS, FID. Per-image time and break-even are also reported.
- Decision and repetitions: no external judge model. Seed 42. The paper does not report the number of repetitions. Hardware is an NVIDIA RTX 5000 Ada. Appendix B states that the white-box numbers are held-out validation attack performance under standard adaptive white-box.
- Clean detection: the average recall of the four detectors is 90.36% (Table 3). Breakdown R0 is D3 87.57%, GramNet 93.54%, RINE 95.98%, SPAI 84.34% (Table 4).
Main results
The table below juxtaposes two types of summary computed differently: recall is the average over 20 detector–generator pairs (Section 4.1, corresponding to Fig. 3); image quality is the mean over the four detectors in Table 1, with each detector already averaged over the five generators. PGD's recall comes from Appendix D, and its image quality is not reported.
Swipe horizontally to read the table
Attack Average recall PSNR SSIM LPIPS FID Tricker 0.71% 34.28 0.9537 0.0408 8.56 MIG 1.56% 33.30 0.8292 0.1878 19.59 MuMoDIG 0.35% 36.36 0.8669 0.1537 15.11 PGD 2.9% not reported not reported not reported not reported - Evasion: the authors state that Tricker enters the same evasion range as high-budget perturbation attacks, and is more stable across pairs. The authors state that RINE is fooled on all generators; under MIG, GramNet's recall on VAR is 17.6%. Appendix D states that PGD has 0% recall on each pair except RINE, and RINE varies with generator, with no breakdown given.
- The authors' view: white-box robustness is determined by the interaction between detector architecture and generator traces, not by either factor alone.
- Image quality: the authors state that Tricker has lower variance across detectors. In Table 1, its PSNR is 37.94 dB on RINE and 32.41 dB on D3; MIG is 45.48 dB on GramNet and 27.96 dB on RINE.
Cross-generator transfer
This is meaningful only for Tricker: perturbation attacks have no generator-level surrogate.
- Leave-one-out protocol: the cells in Fig. 5 are average recall on the held-out generator after training on the remaining source generators. D3–BigGAN is 42.58%.
- The authors state: in most cases recall can be reduced without images from the target generator; 42.58% indicates that D3–BigGAN transfer is weaker.
- Source generator: the authors state that VQDM as surrogate gives the largest average recall drop (Fig. 6a; the main text does not give this average). GramNet average PSNR is 33.16 dB in white-box, and rises to 36.00 dB with VQDM as surrogate. The authors state that stronger transfer need not sacrifice fidelity, and that image quality on unseen generators is sometimes higher than white-box.
Cross-detector transfer
The rows are surrogate detectors and the columns are held-out target detectors; lower recall means stronger transfer (Fig. 7).
- Two averages for Tricker: the matched setting averages over the five Gs; the unmatched setting averages over all source–target generator combinations, with 20 values per detector pair.
- Asymmetry: in Fig. 7b, RINE→GramNet is 6.20%, and GramNet→RINE is 96.36%. The authors state that GramNet is a weak surrogate for attacking RINE. The authors state that under the full transferability setting, the two directions for D3 and RINE are 16.76% and 47.81%; the respectively in that sentence does not specify the direction order.
- Perturbation attacks: the authors state that MIG and MuMoDIG are likewise asymmetric, especially between D3 and GramNet, but bidirectional transfer between D3 and RINE is stronger than for Tricker. The authors state that MIG transfers better across detectors and has lower adversarial image quality. The per-cell numbers of these two heatmaps are not listed in the main text.
Post-processing survival
Four operations: JPEG quality factor 75, Gaussian blur σ=2, 0.5× downsampling, 2× bicubic upsampling. The caption of Table 3 encodes changes relative to 90.36% with color; color is not visible after conversion to text, so the table below uses numbers only. Units are average fake-image recall (%).
Swipe horizontally to read the table
Setting JPEG-75 Blur σ=2 Downsampling Upsampling Post-processing only 55.07 86.08 81.09 89.42 Matched Tricker 32.15 59.24 24.67 13.91 Matched MIG 0.46 25.37 2.70 1.60 Matched MuMoDIG 2.78 37.09 1.46 0.44 Transfer Tricker 54.78 80.98 71.11 72.47 Transfer MIG 46.37 77.82 49.46 45.01 Transfer MuMoDIG 45.80 80.24 55.86 53.90 - Relative to no attack: the authors state that JPEG gives the largest average recall drop, 35.29%; upsampling drops only 0.94%. Attack plus post-processing gives lower average recall than post-processing alone.
- Relative to attack without post-processing: the authors state that post-processing raises Tricker's matched recall relative to the white-box baseline of 0.71%. JPEG lowers Tricker's transfer recall in the generator-matched setting from 67.96% to 54.78%; the other operations raise recall and thus weaken the attack. The authors state that MIG's transfer recall under JPEG, downsampling, and upsampling is close to its transfer recall without post-processing of 45.8%, with Gaussian blur the main exception; MuMoDIG drops from 51.1% to 45.8% (Section 4.5; the corresponding cell in Table 3 is 45.80%).
- Topology remains: the authors state that the aggregation in Table 3 hides the original transfer differences, and that post-processing amplifies them rather than acting uniformly. Recall on transferable pairs drops further, and recall on weakly transferable pairs rises. The disaggregated tables are in Appendix F.
Other ablations and analyses
- Relative to MIG, Tricker's per-image speedup is 28.00× (GramNet) to 1195.45× (D3); relative to MuMoDIG it is 37.09× to 420.45×. Per-image time is about 13.2 ms: 13.20, 13.21, 13.19, 13.19 ms (Table 2, order D3, GramNet, RINE, SPAI).
- Break-even against MIG: D3 608, GramNet 7956, RINE 1296, SPAI 1322 images; against MuMoDIG: 1730, 5954, 4693, 4998 images (Table 2). The authors state that on GramNet with a small budget MuMoDIG is more suitable, and that on complex detectors Tricker's break-even is lower.
- The authors state that one-time training averages under 2.5 hours. Average epochs: D3 32.8, GramNet 16.6, RINE 43.8, SPAI 19.4 (Table 2).
- β ablation (RINE–BigGAN, Fig. 1): with smaller β, ASR at the third epoch is near 99%; with larger β it stops at about 82%. The authors state that the latter is close to the average white-box attack success rate reported by Adversarial Reality, and the paper does not quote that number.
- Architecture ablation (Fig. 2, same data, low β): all three U-Nets have ASR near 100% at the third epoch. The authors therefore attribute the high ASR mainly to β; the residual attention version has the highest PSNR, the residual version is close, and the pure convolutional version lags and converges more slowly. The PSNR values in that figure are not given in the main text.
- Table 1 average RMSE: Tricker and MuMoDIG are both 5.74, and MIG is 7.23. PSNR sample standard deviations are ±2.49, ±8.28, ±9.38. Without attack, JPEG-75 drops GramNet from 93.54% to 0.48%; blur raises GramNet and SPAI to 98.67% and 92.66% (Table 4). The authors state that GramNet's near-zero value after JPEG cannot be attributed to the attack alone.
What are some points that can be further explored?
The authors state in Section 5 that they did not perform query-based adaptation, watermarking, platform transcoding, or adaptive defenses.
Limitations and future directions noted by the authors
- Gradient assumption: The attack assumes gradient access to a differentiable surrogate detector during training (Section 5).
- No query adaptation: The evaluation is of transfer-based black-box, not query-based adaptation to a deployed target (Section 5).
- Resolution: The main experiments are at 256×256 (Section 5).
- Unmodeled processing: Watermarking or platform-specific transcoding is not modeled (Section 5).
- Perceptual metrics: The authors state that PSNR, SSIM, and RMSE measure low-level fidelity, while LPIPS and FID measure high-level perceptual similarity, and none can fully replace human perceptual studies (Section 5).
- Unevaluated defenses: Adaptive defenses, adversarial training, and detector ensembles are not evaluated (Section 5).
Scope of experiments
- Objects: The detectors tested are GramNet, RINE, D3, and SPAI; the generators are BigGAN, VQDM, SDV1.5, VAR, and SDV3.5 (Sections 3–4).
- Samples: 6000 images per generator, 4000 for training Tricker and 2000 for attack evaluation; white-box recall is aggregated over 20 detector–generator pairs (Sections 3–4).
- Attacks and post-processing: Tricker, MIG, and MuMoDIG are compared, with PGD (ε=16/255) used for white-box localization; post-processing is JPEG-75, Gaussian blur σ=2, 0.5× downsampling, and 2× bicubic upsampling (Section 4, Appendix D, Table 3–4).
- Metrics and breakdowns: Fake recall at a threshold of 0.5 is reported, along with PSNR, SSIM, RMSE, LPIPS, and FID; Appendix F breaks down post-processing results by source detector.
- The paper does not report the number of repetitions. Appendix B fixes the random seed at 42. The per-cell values for MIG and MuMoDIG in Fig. 7 are not listed in the main text.
Summarize the main content of the paper
Tricker's white-box average recall is 0.71%, and the two directions of cross-detector transfer are not symmetric.
The amortized generative attack Tricker and the per-image perturbation attacks MIG and MuMoDIG are placed on the dual axes of detector × generator to evaluate transferable evasion of synthetic image detectors.
The question to answer is: can a Tricker trained on one source generator–detector pair transfer adversarial synthetic images to unseen detectors and generators, and when is it more suitable than per-image attacks. The authors argue that each attack is defined simultaneously by the generator producing the image and the detector being attacked, and that changing only the detector misses the generator axis.
Tricker is a residual attention U-Net with about 8M parameters. It is trained on a frozen surrogate detector with KL toward the real class plus RMSE, and then modifies images in a single forward pass. 6000 images per generator across five generators; white-box means Ds=Dt and Gs=Gt, and transfer-based black-box does not query the target detector.
- White-box average fake recall over 20 pairs: Tricker 0.71%, MIG 1.56%, MuMoDIG 0.35% (Fig. 3); PGD averages 2.9%, and 0% except for RINE (Appendix D).
- In Table 1, Tricker averages SSIM 0.9537, LPIPS 0.0408, FID 8.56; average PSNR 34.28 dB, versus 36.36 dB for MuMoDIG.
- With unmatched generators, RINE→GramNet recall is 6.20%, and the reverse is 96.36% (Fig. 7b). Leave-one-generator-out D3–BigGAN is 42.58% (Fig. 5).
- Relative to MIG, per-image speedup is 28.00× on GramNet and 1195.45× on D3; the break-even for D3 is 608 images (Table 2).
- With matched detectors and JPEG-75, MIG average recall is 0.46% (Table 3). JPEG-75 alone drops GramNet from 93.54% to 0.48% (Table 4).
The authors state that transferability is not a property unique to detectors, and that the generator distribution affects both evasion and image quality; post-processing amplifies the existing transfer topology. The authors plan to release code, evaluation data, and trained attack models.