VIRAL: Visual In-Context Reasoning via Analogy in Diffusion Transformers

Zhiwen Li, Zhongjie Duan, Jinyan Ye, Cen Chen, Daoyuan Chen, Yaliang Li, Yingda ChenOpenReview 2027 · Submission to ICLR 2027 · Withdrawn

Its authors withdrew this paper, so there is no full text to read or summarize.

Abstract

Visual in-context learning (V-ICL) uses a source--target image pair to specify a transformation for a new query. A central challenge is to support structured prediction, restoration, and open-domain editing through this interface, despite their different output structures and appearances. We present \textbf{VIRAL}, a V-ICL framework for pre-trained Diffusion Transformers (DiTs), instantiated with Qwen-Image-Edit. VIRAL encodes the exemplar and query as separate image sequences, distinguishes their roles through 3D-MSRoPE, and uses MoE-LoRA to accommodate heterogeneous transformations while keeping pre-trained weights frozen. We construct a dataset of transformation-consistent exemplar--query quadruplets through standard-task pairing and analogous edit mining and synthesis. The resulting model follows visual demonstrations without task-specific text instructions or test-time parameter updates. Across eight task groups, VIRAL outperforms four V-ICL baselines on all 14 reported metrics. It also performs open-domain editing and generalizes to held-out styles and lineart generation, which are excluded from VIRAL training. These results show that one pre-trained DiT can support a shared visual-demonstration interface across diverse tasks and edits.
BibTeX
@misc{li2027viral,
  author = {Zhiwen Li and Zhongjie Duan and Jinyan Ye and Cen Chen and Daoyuan Chen and Yaliang Li and Yingda Chen},
  title = {{VIRAL: Visual In-Context Reasoning via Analogy in Diffusion Transformers}},
  year = {2027},
  url = {https://openreview.net/forum?id=dkB4pI8Sme},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2027},
}

Loading related content...

Figure