PairUni: Pairwise Training for Unified Multimodal Language Models

Jiani Zheng, Zhiyang Teng, Kunpeng Qiu, Xiangtai Li, Anran Wang +4 more
10/29/2025
cs.CL

Official code: Haochen-Wang409/PairUni (12 stars, Apache-2.0, last commit 2025-10-30).

Abstract

Unified Vision-Language Models (UVLMs) perform both understanding and generation within a single architecture. Since these models rely on heterogeneous data and supervision, balancing both generation and understanding in reinforcement learning (RL) is challenging. To address this challenge, we propose PairUni, a unified framework that reorganizes data into understanding-generation (UG) pairs and aligns optimization accordingly. Specifically, we construct a unified paired dataset by synthesizing aligned instances via cross-modal semantic completion and retrieving semantically related samples. These paired structures expose cross-task semantic correspondences and support consistent policy learning. To leverage this structure, we present PairGRPO, a pair-aware variant based on Group Relative Policy Optimization. It assigns a similarity score to each pair to modulate the advantage, strengthening learning from well-aligned examples and reducing task interference. Extensive experiments across diverse UVLM architectures (Autoregressive and Discrete Diffusion) and scales (1B to 14B) demonstrate that PairUni yields consistent improvements over strong baselines. Notably, our method also demonstrates strong generalization by improving performance on image editing tasks without using any editing-specific data. Codes are available at https://github.com/Haochen-Wang409/PairUni.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
120Shell, PythonOct 28, 202511 months agoApache-2.0

Similar Papers

Cite this paper

@article{zheng2025pairuni,
  title  = {PairUni: Pairwise Training for Unified Multimodal Language Models},
  author = {Jiani Zheng and Zhiyang Teng and Kunpeng Qiu and Xiangtai Li and Anran Wang and Yu Tian and Ye Tian and Haochen Wang and Zhuochen Wang},
  year   = {2025},
  eprint = {2510.25682},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.25682v3}
}

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/2510.25682.svg)](https://codeofpaper.com/paper/2510.25682)

Discussion