Hijacking 3D generation: targeted adversarial attacks on image-to-3D models via prefix trajectory alignmentHijacking 3D Generation: Targeted Adversarial Attacks against Image-to-3D Models via Prefix Trajectory Alignment
The authors propose PTA3D to attack Image-to-3D services, achieving 88.5% ASR-v on the Hunyuan3D online service, and propose the PSD defense.
black box commercial Image-to-3D services; the online evaluation is called gray-box: optimization is done offline using each service's official open-source model, and the online pipeline is unknown. The attacker has no information about the target architecture, gradients, sampling configuration, or checker, submits only a fixed adversarial image through the upload interface, and does not perform adaptive queries; the goal is to pass the check and generate a specified restricted geometry.
- Online Image-to-3D checkers see only the visible content of the uploaded image; the authors argue that images that look benign may still induce generation of a specified restricted geometry, and that under black-box conditions long-trajectory optimization and unknown preprocessing hinder attack transfer.
- PTA3D progressively aligns the prefix DiT outputs of the adversarial and target trajectories and detaches backpropagation between steps; PAO samples multiple preprocessings during optimization. The authors additionally propose a PSD defense that classifies on prefix representations.
- The experiments cover three open-source models, three online services, and P3DD, Objaverse, and ShapeNet. PTA3D's online ASR-v is 41.5%–88.5%, and white-box is 85.4%–94.6%; cross-model transfer remains below white-box.
- The authors plan to study lighter and more effective prefix checking. The online attack tests only the 65 NSFW targets in P3DD; PSD is evaluated only on a locally simulated checker, the commercial pipeline is unavailable, and the paper does not report an adaptive attack evaluation.
- Evaluated models
- Hunyuan3DCraftsMan3DDirect3D-S2
- Benchmarks
- P3DD (Policy-restricted 3D Dataset)ObjaverseShapeNet
- Metrics
- ASR-cdASR-vULIP-2Uni3DCDMDLPIPSDRDRadvFPR
The researchers propose PTA3D, a targeted adversarial attack against image-to-3D models, achieving attack success rates of 41.5%-88.5% on three online services and 90.8%-94.6% in the white-box setting. The attack exploits the mechanism by which such services inspect only the visible content of the input image before generation, causing a normal-looking image to induce generation of 3D geometry that violates content policy. The method includes two designs: Prefix Trajectory Alignment (PTA) aligns the prefix DiT outputs of the adversarial trajectory with the target trajectory, exerting control where the core geometric structure forms, without backpropagating through the full generation trajectory; Preprocessing-Aware Optimization (PAO) exposes the adversarial optimization to diverse image transformations, reducing sensitivity to preprocessing differences between the proxy and the target service. The paper also establishes a prefix-to-output bound and a preprocessing-aware transfer bound as theoretical characterizations; experiments cover three open-source models and three online services, and the authors claim the effect is significantly better than existing attacks.
Related events and news
1 events · 0 news mentions
- This event's paper
PTA3D对图像转3D模型发起定向攻击
Paper analysis
What problem does this paper attempt to solve?
This work studies whether images that look benign can bypass Image-to-3D checks and generate a targeted restricted geometry.
Core question: how can a visually benign uploaded image bypass online Image-to-3D content checks and generate attacker-specified policy-restricted 3D geometry.
- Scenario and importance: online services can generate editable, printable 3D assets from a single image. The authors argue that checking only the visible image creates a false sense of security, because the downstream geometry may involve NSFW, dangerous structures, or copyrighted designs.
- Existing optimization difficulties: global backpropagation through the full DiT generation trajectory is hard to fit; fixed preprocessing may overfit the surrogate pipeline and reduce transfer to unknown online services.
- Core observation: the authors state that prefix steps form the core geometry and suffix steps mainly refine local details; the caption of Figure 2 states that at n=15 the core structure is already recognizable, and after n>15 the main shape changes little.
- Proposed content: the method PTA3D combines Prefix Trajectory Alignment (PTA) and Preprocessing Aware Optimization (PAO), additionally proposes Prefix Similarity Defense (PSD), and gives theoretical bounds for prefix-to-output and preprocessing transfer.
- Threat model:
- Goal: xadv satisfies the perturbation budget, the checker returns PASSED, and the generated geometry is within distance γ of the target specified by xtgt, while also being a usable 3D asset.
- Knowledge: under black box, full access to the open-source surrogate, knowledge of the transformation family A and the public input format and resolution, but no knowledge of the target architecture, parameters, gradients, training data, sampling configuration, or checker boundaries.
- Capability: fully offline optimization, submitting only a fixed xadv; can view upload results and assets after passing the check, and does not rely on gradients, decision scores, or adaptive queries.
- Victim system: a commercial service consisting of a policy-restricted inspector, an image preprocessor, and an Image-to-3D model; the online experiments are also called gray-box because each service's official open-source model is used.
What related research exists?
Related work spans general adversarial attacks, 3D perception, diffusion generation, and Image-to-3D security.
General adversarial attacks
- Early and transfer methods: Goodfellow et al. (2014) and Tramèr et al. (2017) study gradient perturbations and transfer; later work uses latent-space optimization, frequency-domain perturbations, ensemble objectives, and gradient-free optimization.
- Objective differences noted in the paper: the authors state that these methods mainly change discriminative outputs such as class or confidence, rather than controlling the generation of structured 3D assets.
Attacks on 3D perception models
- 3DHacker (2023): constructs adversarial point clouds using only the hard-label output of a black-box model.
- HiT-ADV (2024), Dai and Xiao (2024): the former applies shape-aware deformation to geometrically complex regions; the latter uses diffusion-based shape completion to generate transferable point clouds.
- Point-to-surface guidance (2025): constrains adversarial points to the object surface, balancing attack effectiveness and geometric imperceptibility; the authors state that these works target downstream classifiers rather than targeted 3D generation.
Attacks on diffusion generative models
- T2I attacks: existing work manipulates text prompts via gradient optimization, black-box search, or LLM-assisted search to generate policy-restricted content.
- I2I attacks: existing work uses perturbations to prevent intended image edits, or manipulates image conditions to induce restricted image generation.
- Adaptation issues noted by the authors: direct use for Image-to-3D requires spanning the full trajectory and the geometry decoder; the authors state that 2D objectives cannot characterize 3D geometric structure.
Image-to-3D security and experimental baselines
- Liu et al. (2026): studies restricted geometry generation and mitigation under original, degraded, viewpoint-changed, and semantically disguised inputs; the authors distinguish their goal as driving the model to reproduce a specified target geometry from a benign adversarial image.
- Baselines and benchmarks: compares AdvDif, AdvDM, AdvFM, AdvVF, with unified source–target pairs, foreground masks, perturbation budgets, and iteration budgets; uses P3DD, Objaverse, ShapeNet.
The authors position PTA3D as aligning the DiT output directly consumed by the scheduler, rather than internal layers or the full trajectory, and use PAO to handle preprocessing differences across services.
How does the paper address this problem?
PTA3D controls geometry via prefix alignment and enhances transfer via preprocessing sampling; PSD detects prefix representations.
PTA3D constructs adversarial images offline on an open-source surrogate: PTA progressively aligns the prefix DiT outputs of the target and adversarial trajectories, and PAO simultaneously samples candidate preprocessings; at deployment only the optimized image is uploaded.
Problem setting and trajectory
- The generation pipeline is y=F(x;ξ)=D(G(E(P(x));ξ)), where P, E, G, and D are preprocessing, image encoding, iterative generation, and geometry decoding, respectively.
- The trajectory consists of DiT input states and outputs; Oi is the prediction directly consumed by the scheduler and may correspond to velocity, noise, or denoised latent, rather than an internal Transformer layer.
- The attack objective is to minimize d3D between the generated asset and ytgt within the perturbation budget; success also requires passing inspection, a geometric distance not exceeding γ, and a valid, usable output.
Prefix Trajectory Alignment
- The two trajectories share the initial state during offline optimization to isolate the effect of the image condition; the target trajectory is computed and cached only once, and the initial state of the online service is not controlled at deployment.
- The per-step loss is Li(δ)=1/di‖ Oiadv−Oitgt‖22, i.e., the DiT output difference normalized by the output dimension.
- Progressive Cumulative Alignment starts from L0, adds one subsequent prediction to the cumulative weighted sum each time, and warm-starts with the previous stage's perturbation; the default is K=15.
- Direct Image Backpropagation detaches the state after the scheduler update, changing only the backward graph and not the forward trajectory; the suffix is executed forward only and decoded.
Preprocessing Aware Optimization
- Candidate preprocessing configurations are sampled from a known transformation family A, and the same perturbation is updated with the same PTA objective, target trajectory, and DIB, without a separate trajectory or loss.
- The paper lists resizing, rotation, Gaussian blur, flipping, background removal, and JPEG compression; for non-differentiable parts it uses a crop-resize-paste surrogate and a straight-through estimator.
- The perturbation is restricted to the selected region via a foreground mask; the target image and its trajectory are used only for offline construction.
Theoretical guarantees
- Theorem 1, under shared initial state, Euler flow matching, stable suffix increments, and a locally Lipschitz decoder, bounds the final difference as the sum of the aligned prefix term and the unaligned suffix residual.
- The authors state that this bound shows PTA reduces the prefix term, while K trades off between the prefix factor and the suffix residual; the appendix extends it to general locally Lipschitz schedulers.
- PAO's guarantee is a Markov bound over the sampled transformation distribution; the appendix explicitly states that it does not claim robustness to every possible preprocessing operation.
Optimization and PSD
- The default perturbation budget is ϵ=0.08, MI-FGSM learning rate 5×10−4, momentum 1.0; N=50, K=15, 300 updates in total, 20 per stage, with no early stopping.
- PSD takes the representation IK after steps 0 to K−1 and classifies it with a locally trained MLP; a score above τ marks it, without suffix sampling or geometry decoding.
- PSD's clean data totals 1,430 images: for P3DD, the original image is kept per target and four views are synthesized, giving 650 images, plus 780 benign images; successful adversarial examples are additionally added at test time and are not used for training or threshold selection.
What experiments did the paper conduct?
Experiments cover online, white-box, cross-model, preprocessing robustness, and local PSD defense.
Experimental setup
- Models tested: Hunyuan3D, CraftsMan3D, Direct3D-S2, and the corresponding three online commercial platforms; the online experiments use each service's official open-source model for offline optimization.
- Data: P3DD contains 130 target images, 13 classes, and 3 restricted categories; 130 sampled rendered images each are taken from Objaverse and ShapeNet. The online attack uses only the 65 NSFW targets in P3DD, submitting each image twice.
- Baselines: AdvDif, AdvDM, AdvFM, AdvVF; unified source–target pairs, foreground masks, ℓ∞ budget, and optimization iteration budget.
- Metrics: ULIP-2 and Uni3D measure cross-modal consistency between the target image and the generated asset; CD and MD measure normalized geometric distance; LPIPS measures perceptual distance of the source image.
- Success criteria: ASR-cd requires CD≤γ; γ is taken from the Q3=0.07957 of the reconstruction error on 300 Objaverse/ShapeNet samples, rounded to 0.08. ASR-v requires the VLM and at least 8/10 people to all judge imperceptibility, category, instance matching, and geometric quality as passing.
- Review and re-testing: the default VLM is ChatGPT 5.5; the review pool has 60 people, with 10 randomly selected per case. The consistency rates between the two online submissions are 98.5%, 95.4%, and 93.8% in order; the paper does not report the number of repetitions of attack optimization.
Main results
According to Table 1 (online, 65 NSFW targets) and Table 2 (P3DD white-box, 130 targets):
Swipe horizontally to read the table
Model Method Online ASR-cd Online ASR-v White-box ASR-cd White-box ASR-v Hunyuan3D PTA3D 86.9% 88.5% 96.9% 94.6% Hunyuan3D Best other baseline AdvVF 72.3% 18.5% 89.2% 25.4% CraftsMan3D PTA3D 39.2% 43.8% 93.1% 92.3% CraftsMan3D Best other baseline AdvDM 3.1% 4.6% 19.2% 21.5% Direct3D-S2 PTA3D 34.6% 41.5% 88.5% 90.8% Direct3D-S2 Best other baseline AdvVF 10.8% 17.7% 86.9% 26.2% - Authors' interpretation: the authors state that PTA3D achieves the highest ASR-cd, ASR-v, ULIP-2, and Uni3D and the lowest CD and MD on all three services; for CraftsMan3D online, the second-highest method for ASR-cd is AdvDM, and the second-highest for ASR-v is AdvVF.
- Imperceptibility exception: AdvVF achieves 72.3% online ASR-cd on Hunyuan3D but only 18.5% ASR-v; the authors attribute this to recognizable target-related traces affecting VLM and human imperceptibility judgments.
- Online drop: the authors believe that differences between the official open-source surrogate and the actual deployed pipeline may weaken transfer; in all nine model×dataset combinations in Table 2, PTA3D's ASR-v is 85.4%–94.6%.
Cross-model transfer and efficiency
- Transfer setting: Table 3 optimizes white-box on the source model with no target internal information; the six off-diagonal source–target pairs achieve 25.4%–36.2% with PAO, averaging 30.3%, versus 8.8% on average without PAO.
- Transfer exception: the diagonal is the white-box reference, and w/ PAO is slightly lower than w/o PAO, e.g., Hunyuan3D is 94.6% versus 96.2%; the authors state that different preprocessing, latent scaling, sampling schedules, and trajectories make transfer incomplete.
- Runtime cost: Table 4 reports PTA3D at 9345.40 seconds, a 10.86× speedup relative to AdvDif; AdvDif is 101516.95 seconds, and AdvVF is 136.51 seconds but has lower attack ASR-v.
Prefix mechanism and preprocessing robustness
- Aligned segment: the textual results of Figure 5 state that aligning the prefix [0,15) achieves 94.6% ASR-v and ULIP-2 0.246; the middle [15,30) and suffix [30,45) both give 0% ASR-v, with ULIP-2 of 0.020 and 0.050 respectively.
- Combined transformations: in Table 6, PTA3D goes from 92.5% ASR-v and CD 0.046 at L=1 to 75.3% and CD 0.136 at L=5; AdvDif and AdvFM give 0% ASR-v at all L.
- Baseline failures: AdvDM gives 0% at L≥4, and AdvVF gives 0% at L≥3; from Figure 6 it can only be confirmed from the text that blur, JPEG, rotation, and resizing were tested, and the specific curve values are not visible.
PSD defense and review reliability
- Local defense: in Table 10, the original DRadv of the three models is 0%; after adding PSD, Hunyuan3D, CraftsMan3D, and Direct3D-S2 are 65.4%, 62.3%, and 63.1%, with FPR of 12.2%, 10.9%, and 13.5% respectively.
- Cost and comparison: PSD decision times are 6360.7, 1246.3, and 2069.4 ms respectively; the authors report an average DR improvement of 31.9%, and 27.7% after matching FPR. This is a simulation with local open-source models and locally trained checkers.
- Review audit: among the 130 Hunyuan3D/P3DD white-box cases, the VLM and the 8/10-person rule agree on 128/130, a consistency rate of 98.46%, with a joint ASR-v of 94.62%; human observed agreement is 0.843 and Gwet's AC1 is 0.8093.
- Thresholds and counterexamples: the number of human-confirmed successes at 8/10, 7/10, and 9/10 is 123, 124, and 115 respectively; the VLM rejects 48 of 50 AdvDM near-successful failures, with a false-positive rate of 4%.
Other ablations and analyses
- Alignment order: in Table 5, the ASR-v of progressive, random, and reverse is 94.6%, 79.2%, and 0% respectively.
- Component ablation: in Table 8, removing the foreground mask, PCA, and DIB gives ASR-v of 0%, 91.5%, and 81.5% respectively, versus 94.6% for full PTA3D.
- Sampling steps: in Table 9, the ASR-v at N=10/20/30/40/50 is 72.3%/94.6%/96.2%/93.1%/94.6%.
- Parameter sensitivity: Table 7 defaults to ϵ=0.08, lr=0.0005, 300 iterations; at lr=0.005 the ASR-v is 56.9%, and at 120 iterations it is 0%.
- Source initialization: in Table 7, the ASR-v for different colors and shapes is 89.2%–94.6%; the LPIPS of triangle is 0.213, and of circle is 0.153.
What are some points that can be further explored?
The authors plan to improve prefix inspection; the boundaries of online samples, cross-model transfer, and local defense evaluation are clear.
Limitations noted by the authors and future directions
- Prefix defense direction: the Conclusion states that future work should explore more lightweight, effective prefix-based inspection, reducing detection overhead while improving the safety of Image-to-3D services.
- Cross-model improvement direction: the Cross-Model Transferability paragraph in Section 7.2 suggests that using multiple source models, or matching the target model's preprocessing and sampling configuration, may improve cross-model transfer.
- Adaptive prefix selection: Section 7.7 notes that the optimal K depends on the generation schedule, and on this basis supports adaptive prefix selection rather than full-trajectory backpropagation.
Scope of experimental coverage
- Models and data: there are three generation models under test; the main experiments use P3DD, Objaverse, and ShapeNet, with 130 targets each, and the online attack uses only 65 NSFW targets from P3DD, each submitted twice.
- Online access method: the online experiments are gray-box, using the official open-source surrogate; the actual online architecture, preprocessing, and sampling configuration are unknown, online seeds and schedules are not controlled, and no adaptive queries are made.
- Transfer and preprocessing: the cross-model evaluation covers the six directed source–target pairs formed by the three models; robustness covers five transformation types and combinations from L=1 to L=5.
- Defense scope: PSD is simulated only on the three corresponding open-source models and a locally trained encoder-based MLP inspector; the paper states that the commercial inspection pipeline is inaccessible, and it reports no online deployment or adaptive-attack evaluation.
- Review and reproducibility information: the ASR-v reliability audit covers only the Hunyuan3D/P3DD white-box core setting; the paper does not report the number of repetitions of attack optimization, the total number of online service queries, or the consistency of human review and the VLM in other settings.
Summarize the main content of the paper
PTA3D achieves targeted Image-to-3D attacks via prefix trajectory alignment, with a companion PSD defense.
PTA3D is a study of targeted adversarial attacks against Image-to-3D generation services, and it also provides a prefix-representation defense, PSD.
- Problem: the authors argue that a policy-restricted inspector that only sees the visible image cannot judge the downstream geometry; inputs that look benign may induce NSFW, dangerous structures, or copyrighted designs, and black-box optimization is further affected by long DiT trajectories and unknown preprocessing.
- Method: PTA progressively accumulates aligned prefix DiT outputs and detaches backpropagation between sampling steps; PAO samples multiple preprocessings during offline optimization. Defaults are N=50, K=15, and 300 updates, and at deployment only the fixed adversarial image is uploaded.
- Online results: in Table 1, PTA3D's ASR-v on the Hunyuan3D, CraftsMan3D, and Direct3D-S2 services is 88.5%, 43.8%, and 41.5%, respectively; all original NSFW images were rejected, while all submitted adversarial images passed input checks.
- White-box and transfer: in Table 2's nine model×dataset combinations, ASR-v is 85.4%–94.6%; in Table 3, the average ASR-v over six cross-model pairs goes from 8.8% without PAO to 30.3% with PAO, still below white-box.
- Mechanism and defense: Figure 5 reports that aligning only the middle or suffix gives 0% ASR-v, while the prefix gives 94.6%; in Table 10's local simulation, PSD raises DRadv from 0% to 62.3%–65.4%, but the FPR is 10.9%–13.5%.
- Authors' conclusion: the authors state that prefix alignment can control the target geometry without backpropagating through the full trajectory, and that PAO helps transfer across preprocessings; future work plans to study lighter, effective prefix inspection and to improve cross-model transfer.