arXiv:2610.34333cs.CVOct 2026

Manuscript Offprint

arXiv:2610.34333

CrossPair: Unlocking Generalist Visual Transformation Learning in Image Editors

Yibo Zhao, Lifan Jiang, Senlin cheng, Tianrun Wu, Bolei Xu, Xiaobo Li, Can Ye, Xiaofei He, Dehai Zhao, Boxi Wu

ZHEJIANG UNIVERSITY ZHEJIANG UNIVERSITY

ZHEJIANG UNIVERSITY

蚂蚁集团 ANT GROUP

PREPRINT

October 2026

CrossPair: Unlocking Generalist Visual Transformation Learning in Image Editors

Yibo Zhao 1,2^{1,2}, Lifan Jiang 1,2^{1,2}, Senlin cheng 2^{2}, Tianrun Wu 3^{3}

Bolei Xu 2^{2}, Xiaobo Li 2^{2}, Can Ye 2^{2}

Xiaofei He 1^{1}, Dehai Zhao 3^{3}, Boxi Wu 3^{3}

1^{1}State Key Lab of CAD&CG, Zhejiang University 2^{2}Ant Group

3^{3}School of Software Technology, Zhejiang University

ABSTRACT

Language models switch tasks from demonstrations, but vision still often relies on separate systems for restoration, editing, and stylization. A before–after example offers a shared instruction only if the transferable change can be separated from the scene that demonstrates it. We introduce CROSSPAIR, which adapts a pretrained multimodal image editor to transfer diverse transformations from one exemplar pair. Exemplar-before, exemplar-after, and query images take fixed roles in its native VLM and VAE pathways: the VLM extracts operation semantics, while the VAE retains fine appearance and structure. A training-only, change-aware DINOv3 objective aligns feature-change directions across content-distinct scenes, guiding the output to follow the demonstrated relation without an inference-time encoder. We construct TRANSFORM-360K by grouping filtered pairs from conditional representations, restoration, editing, virtual try-on, and stylization under shared transformations. On Relation252K-derived seen and held-out transformations, CROSSPAIR improves target agreement and edit-direction similarity over released systems. Ablations show that the semantic and visual exemplar routes are complementary and that DINO relation alignment further strengthens transfer; TRANSFORM-360K training also improves aggregate held-out-operation scores.

Keywords: Visual in-context learning; Image editing; Visual analogy; Exemplar-guided transformation