UniRef-Image-Edit: Towards Scalable and Consistent Multi-Reference Image Editing

Hongyang Wei, Bin Wen, Yancheng Long, Yankai Yang, Yuhang Hu +20 more
2/15/2026
cs.CV

No confident code implementation found for this paper.

Abstract

We present UniRef-Image-Edit, a high-performance multi-modal generation system that unifies single-image editing and multi-image composition within a single framework. Existing diffusion-based editing methods often struggle to maintain consistency across multiple conditions due to limited interaction between reference inputs. To address this, we introduce Sequence-Extended Latent Fusion (SELF), a unified input representation that dynamically serializes multiple reference images into a coherent latent sequence. During a dedicated training stage, all reference images are jointly constrained to fit within a fixed-length sequence under a global pixel-budget constraint. Building upon SELF, we propose a two-stage training framework comprising supervised fine-tuning (SFT) and reinforcement learning (RL). In the SFT stage, we jointly train on single-image editing and multi-image composition tasks to establish a robust generative prior. We adopt a progressive sequence length training strategy, in which all input images are initially resized to a total pixel budget of $1024^2$, and are then gradually increased to $1536^2$ and $2048^2$ to improve visual fidelity and cross-reference consistency. This gradual relaxation of compression enables the model to incrementally capture finer visual details while maintaining stable alignment across references. For the RL stage, we introduce Multi-Source GRPO (MSGRPO), to our knowledge the first reinforcement learning framework tailored for multi-reference image generation. MSGRPO optimizes the model to reconcile conflicting visual constraints, significantly enhancing compositional consistency. We will open-source the code, models, training data, and reward data for community research purposes.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wei2026unirefimageedit,
  title  = {UniRef-Image-Edit: Towards Scalable and Consistent Multi-Reference Image Editing},
  author = {Hongyang Wei and Bin Wen and Yancheng Long and Yankai Yang and Yuhang Hu and Tianke Zhang and Wei Chen and Haonan Fan and Kaiyu Jiang and Jiankang Chen and Changyi Liu and Kaiyu Tang and Haojie Ding and Xiao Yang and Jia Sun and Huaiqing Wang and Zhenyu Yang and Xinyu Wei and Xianglong He and Yangguang Li and Fan Yang and Tingting Gao and Lei Zhang and Guorui Zhou and Han Li},
  year   = {2026},
  eprint = {2602.14186},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.14186v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.14186.svg)](https://codeofpaper.com/paper/2602.14186)

Discussion