Visual autoregressive (VAR) models have recently emerged as a competitive alternative to diffusion models for text-to-image generation, yet their security properties remain largely unexplored. In this work, we systematically investigate backdoor vulnerability in VAR-based text-to-image generation. We first develop ScaleTrojan, a backdoor attack framework that combines multi-scale target learning with clean prediction regularization against the frozen pretrained model. Our ablations reveal two key findings: full-scale supervision provides substantially stronger target control than partial-scale supervision, while removing clean prediction regularization retains high attack success but severely degrades clean generation. We then examine backdoor injection subspaces and find that broader parameter adaptation does not consistently improve the attack-utility trade-off, with cross-attention providing an effective injection interface. As an initial exploration of backdoor detection, we propose a method based on the consistency of predictions across visual scales under textual perturbations. Experiments on different VAR backbones demonstrate that ScaleTrojan achieves nearly 100% attack success rate (ASR) while largely preserving clean generation quality, and that it extends beyond fixed-image targets to other backdoor objectives such as style and patch backdoors.
翻译:暂无翻译