Hijacking 3D Generation: Targeted Adversarial Attacks against Image-to-3D Models via Prefix Trajectory Alignment
Yang et al. in Alignment
Can an image filter catch what a 3D model will build?
Hijacking 3D Generation: Targeted Adversarial Attacks against Image-to-3D Models via Prefix Trajectory Alignment
The filter sees pixels; the risk is geometry
Online services screen uploads first; original NSFW target images were denied.
PTA3D uses visually benign images to target specified 3D geometry; all adversarial uploads passed inspection in the reported tests.
The screened pixels can differ from the resulting shape.
The core geometry forms early
In a 50-step probe, target-conditioned generation produced recognizable core geometry by step 15.
Later source-conditioned steps mainly refined detail; Chamfer distance to the target stayed near zero.
PTA focuses on the phase where global structure forms.
How PAO and PTA fit together

PAO (Preprocessing Aware Optimization) masks the perturbation and samples transforms before encoding. PTA (Prefix Trajectory Alignment) aligns target and adversarial model outputs from the same start; suffix runs forward.
PTA makes prefix alignment progressive
- 1
Cache the target
Cache the target trajectory offline from a shared start; submit only the adversarial image.
- 2
Grow the prefix
Warm-start each stage, adding a match between target and adversarial Diffusion Transformer (DiT) predictions to the growing prefix loss.
- 3
Finish sampling
Run remaining steps forward; the original geometry decoder produces the 3D asset.
Detach states, keep image gradients
Backpropagation chains state-transition Jacobians across sampling steps and requires retaining or recomputing DiT activations.
PTA detaches updated latents but keeps the image condition differentiable, so each aligned output sends a direct gradient to the input.
The forward sampling path stays unchanged.
A prefix bound leaves a suffix residual
For a fixed model and Euler sampler, shared initialization, an incrementally stable suffix and a locally Lipschitz decoder bound final error by prefix loss plus a suffix residual.
- LD
- Decoder Lipschitz factor
- AKBK
- Prefix-to-output gain
- JK−1(δ)
- Aligned-prefix loss
- RK
- Suffix mismatch residual
Preprocessing diversity improves transfer
Across six directed transfers among three open-source models, mean ASR-v was 8.8%.
The same-pair mean rose to 30.3% by optimizing one perturbation across sampled preprocessing configurations.
Transfer improved, but remained below white-box results.
Online ASR-v: PTA3D beats AdvVF
65 NSFW targets; offline surrogates. ASR-v needs benign-looking input and recognizable, usable 3D, confirmed by a VLM and 8+ of 10 humans.
Geometry match alone can mislead
On Hunyuan3D online, AdvVF reached 72.3% ASR-cd under the paper's CD ≤ 0.08 threshold.
ASR-v was 18.5%; success also requires a benign-looking input and target-recognizable, usable geometry, judged by a VLM and at least 8/10 humans.
A geometry threshold alone does not establish stealthy target control.
Online-service examples

Online examples show PTA3D reconstructing the attacker-specified geometry from visually benign inputs; this evaluation covered NSFW targets only.
Prefix Similarity Defense checks early states
- 1
Stop before decoding
PSD classifies the model's prefix state before suffix sampling or geometry decoding.
- 2
Train on clean examples
An MLP learns from prefix states of clean restricted-target and benign images; a validation-set threshold flags suspicious requests.
- 3
Local results
On three open-source models, baseline attack detection was 0%; PSD detected 62.3%–65.4%. Table values imply a 31.9 percentage-point mean gain in overall detection.
Where the evidence stops
Online scope
Three services and 65 NSFW targets were tested using official open-source surrogates; deployed pipelines stayed unknown.
PAO transfer
PAO's transfer guarantee is distributional over sampled preprocessing transforms, not a guarantee for every operation.
Output bound
The output bound assumes shared initialization, a fixed model and sampler, an incrementally stable suffix, and a locally Lipschitz decoder.
Local PSD results
PSD was tested locally; false-positive rates were 10.9%–13.5%, with 1.25–6.36-second decisions.
Why it matters
- Image-only screening can miss restricted geometry formed downstream.
- Defenders can inspect early model states alongside pixels, but PSD's false positives and latency need deployment-level validation.
- The open question is whether prefix-based checks can scale across services without sacrificing detection or acceptable false-positive rates.
14 slides, 4 min
5 days ago