UniCustom:面向多参考图像生成的统一视觉条件框架
UniCustom: Unified Visual Conditioning for Multi-Reference Image Generation
UniCustom 提出统一视觉条件框架,在 VLM 编码前融合 ViT 与 VAE 特征,仅用轻量线性融合层就让隐藏状态同时编码所指主体及其视觉外观。该方案采用两阶段训练:先做面向重建的预训练以保留参考图像外观细节,再在单参考与多参考生成任务上监督微调,并引入 slot-wise binding 正则化减少跨参考纠缠。在两个多参考生成基准上,其主体一致性、指令跟随与组合保真度均优于强基线。
arXiv:2605.12088v3 Announce Type: replace Abstract: Multi-reference image generation aims to synthesize images from textual instructions while faithfully preserving subject identities from multiple reference images. Existing VLM-enhanced diffusion models commonly rely on decoupled visual conditioning: semantic ViT features are processed by the VLM for instruction understanding, whereas appearance-rich VAE features are injected later into the diffusion backbone. Despite its intuitive design, this separation makes it difficult for the model to associate each semantically grounded subject with visual details from the correct reference image. As a result, the model may recognize which subject is being referred to, but fail to preserve its identity and fine-grained appearance, leading to attribute leakage and cross-reference confusion in complex multi-reference settings. To address this issue, we propose UniCustom, a unified visual conditioning framework that fuses ViT and VAE features before VLM encoding. This early fusion exposes the VLM to both semantic cues and appearance-rich details, enabling its hidden states to jointly encode the referred subject and corresponding visual appearance with only a lightweight linear fusion layer. To learn such unified representations, we adopt a two-stage training strategy: reconstruction-oriented pretraining that preserves reference-specific appearance details in the fused hidden states, followed by supervised finetuning on single- and multi-reference generation tasks. We further introduce a slot-wise binding regularization that encourages each image slot to preserve low-level details of its corresponding reference, thereby reducing cross-reference entanglement. Experiments on two multi-reference generation benchmarks demonstrate that UniCustom consistently improves subject consistency, instruction following, and compositional fidelity over strong baselines.
来源:arXiv (AI + Vision + Imaging) · arxiv.org