2025.09.08 🔥 The inference and evaluation code of UMO is released.
📖 Introduction
Recent advancements in image customization exhibit a wide range of application prospects due to stronger customization capabilities. However, since we humans are more sensitive to faces, a significant challenge remains in preserving consistent identity while avoiding identity confusion with multi-reference images, limiting the identity scalability of customization models. To address this, we present UMO, a Unified Multi-identity Optimization framework, designed to maintain high-fidelity identity preservation and alleviate identity confusion with scalability. With “multi-to-multi matching” paradigm, UMO reformulates multi-identity generation as a global assignment optimization problem and unleashes multi-identity consistency for existing image customization methods generally through reinforcement learning on diffusion models. To facilitate the training of UMO, we develop a scalable customization dataset with multi-reference images, consisting of both synthesised and real parts. Additionally, we propose a new metric to measure identity confusion. Extensive experiments demonstrate that UMO not only improves identity consistency significantly, but also reduces identity confusion on several image customization methods, setting a new state-of-the-art among open-source methods along the dimension of identity preserving.
⚡️ Quick Start
🔧 Requirements and Installation
# 1. Clone the repo with submodules: UNO & OmniGen2
git clone --recurse-submodules git@github.com:bytedance/UMO.git
cd UMO
# pip install huggingface_hub hf-transfer
export HF_HUB_ENABLE_HF_TRANSFER=1 # use hf_transfer to speedup
# export HF_ENDPOINT=https://hf-mirror.com # use mirror to speedup if necessary
repo_name="bytedance-research/UMO"
local_dir="models/"$repo_name
huggingface-cli download --resume-download $repo_name --local-dir $local_dir
🌟 Gradio Demo
# UMO (based on UNO)
python3 demo/UNO/app.py --lora_path models/bytedance-research/UMO/UMO_UNO.safetensors
# UMO (based on OmniGen2)
python3 demo/OmniGen2/app.py --lora_path models/bytedance-research/UMO/UMO_OmniGen2.safetensors
⚙️ ComfyUI Workflow
UMO (based on UNO)
Since ComfyUI supports USO, we get workflow of UMO (based on UNO) with removing nodes related to SigLIP style feature, and extend it to multi-reference.
We provide several example images. You can download the image and drag it into ComfyUI to load the workflow.
To make evaluation on XVerseBench, please get the dependencies and models as XVerse first.
Then run the script:
# UMO (based on UNO) single subject
bash scripts/eval_xversebench.sh single output/XVerseBench/single/UMO_UNO
# UMO (based on UNO) multi subject
bash scripts/eval_xversebench.sh multi output/XVerseBench/multi/UMO_UNO
# UMO (based on OmniGen2) single subject
bash scripts/eval_xversebench.sh single output/XVerseBench/single/UMO_OmniGen2
# UMO (based on OmniGen2) multi subject
bash scripts/eval_xversebench.sh multi output/XVerseBench/multi/UMO_OmniGen2
Evaluation on OmniContext
For original metrics (i.e., PF, SC, Overall) in OmniContext, just follow OmniContext.
For ID-Sim and ID-Conf metric, please run the script:
# UMO (based on UNO)
bash scripts/eval_id_omnicontext.sh UMO_UNO
# UMO (based on OmniGen2)
bash scripts/eval_id_omnicontext.sh UMO_OmniGen2
📌 Tips and Notes
Please note that UNO gets unstable results on parts of OmniContext due to the different prompt format with its training data (UNO-1M), leading to similar issue with UMO based on it. To get better results with these two models, we recommend using description prompt instead of instruction one, using resolution 768~1024 instead of 512.
📄 Disclaimer
We open-source this project for academic research. The vast majority of images
used in this project are either generated or licensed. If you have any concerns,
please contact us, and we will promptly remove any inappropriate content.
Our code is released under the Apache 2.0 License.
This research aims to advance the field of generative AI. Users are free to
create images using this tool, provided they comply with local laws and exercise
responsible usage. The developers are not liable for any misuse of the tool by users.
🚀 Updates
For the purpose of fostering research and the open-source community, we plan to open-source the entire project, encompassing training, inference, weights, etc. Thank you for your patience and support! 🌟
Release project page
Release model on huggingface
Release huggingface demo
Release training code
Citation
If UMO is helpful, please help to ⭐ the repo.
If you find this project useful for your research, please consider citing our paper:
@article{cheng2025umo,
title={UMO: Scaling Multi-Identity Consistency for Image Customization via Matching Reward},
author={Cheng, Yufeng and Wu, Wenxu and Wu, Shaojin and Huang, Mengqi and Ding, Fei and He, Qian},
journal={arXiv preprint arXiv:2509.06818},
year={2025}
}
UMO: Scaling Multi-Identity Consistency for Image Customization
via Matching Reward
🔥 News
📖 Introduction
Recent advancements in image customization exhibit a wide range of application prospects due to stronger customization capabilities. However, since we humans are more sensitive to faces, a significant challenge remains in preserving consistent identity while avoiding identity confusion with multi-reference images, limiting the identity scalability of customization models. To address this, we present UMO, a Unified Multi-identity Optimization framework, designed to maintain high-fidelity identity preservation and alleviate identity confusion with scalability. With “multi-to-multi matching” paradigm, UMO reformulates multi-identity generation as a global assignment optimization problem and unleashes multi-identity consistency for existing image customization methods generally through reinforcement learning on diffusion models. To facilitate the training of UMO, we develop a scalable customization dataset with multi-reference images, consisting of both synthesised and real parts. Additionally, we propose a new metric to measure identity confusion. Extensive experiments demonstrate that UMO not only improves identity consistency significantly, but also reduces identity confusion on several image customization methods, setting a new state-of-the-art among open-source methods along the dimension of identity preserving.
⚡️ Quick Start
🔧 Requirements and Installation
UMO requirements based on UNO
UMO requirements based on OmniGen2
UMO checkpoints download
🌟 Gradio Demo
⚙️ ComfyUI Workflow
UMO (based on UNO)
Since ComfyUI supports USO, we get workflow of UMO (based on UNO) with removing nodes related to SigLIP style feature, and extend it to multi-reference.
We provide several example images. You can download the image and drag it into ComfyUI to load the workflow.
Example with Single Identity
Reference Image
Example with Multi-Identity
Reference Image 1, Reference Image 2
UMO (based on OmniGen2)
Since ComfyUI supports OmniGen2, we just add a node to load our UMO lora.
Firstly, you should convert our UMO lora checkpoint to ComfyUI format as below:
Then, you can download the example images and drag them into ComfyUI to load the workflow.
Example with Single Identity
Reference Image
Example with Multi-Identity
Reference Image 1, Reference Image 2
✍️ Inference
UMO (based on UNO) inference on XVerseBench
UMO (based on UNO) inference on OmniContext
UMO (based on OmniGen2) inference on XVerseBench
UMO (based on OmniGen2) inference on OmniContext
🔍 Evaluation
Evaluation on XVerseBench
To make evaluation on XVerseBench, please get the dependencies and models as XVerse first.
Then run the script:
Evaluation on OmniContext
For original metrics (i.e., PF, SC, Overall) in OmniContext, just follow OmniContext.
For ID-Sim and ID-Conf metric, please run the script:
📌 Tips and Notes
Please note that UNO gets unstable results on parts of OmniContext due to the different prompt format with its training data (UNO-1M), leading to similar issue with UMO based on it. To get better results with these two models, we recommend using description prompt instead of instruction one, using resolution 768~1024 instead of 512.
📄 Disclaimer
We open-source this project for academic research. The vast majority of images used in this project are either generated or licensed. If you have any concerns, please contact us, and we will promptly remove any inappropriate content. Our code is released under the Apache 2.0 License.
This research aims to advance the field of generative AI. Users are free to create images using this tool, provided they comply with local laws and exercise responsible usage. The developers are not liable for any misuse of the tool by users.
🚀 Updates
For the purpose of fostering research and the open-source community, we plan to open-source the entire project, encompassing training, inference, weights, etc. Thank you for your patience and support! 🌟
Citation
If UMO is helpful, please help to ⭐ the repo.
If you find this project useful for your research, please consider citing our paper: