Beyond Chain-of-Thought: Rewrite as a Universal Interface for Generative Multimodal Embeddings

Peixi Wu, Ke Mei, Feipeng Ma, Bosong Chai, Zhibin Lan +13 more
4/24/2026
5 citations
cs.CV
rl

Official code: PeppaWu/RIME (6 stars, Python, Apache-2.0, last commit 2026-07-26).

Abstract

Multimodal Large Language Models (MLLMs) have emerged as a promising foundation for universal multimodal embeddings. Recent studies have shown that reasoning-driven generative multimodal embeddings can outperform discriminative embeddings on several embedding tasks.

Show full abstract

However, Chain-of-Thought (CoT) reasoning tends to generate redundant thinking steps and introduce semantic ambiguity in the summarized answers in broader retrieval scenarios. To address this limitation, we propose Rewrite-driven Multimodal Embedding (RIME), a unified framework that jointly optimizes generation and embedding through a retrieval-friendly rewrite. Meanwhile, we present the Cross-Mode Alignment (CMA) to bridge the generative and discriminative embedding spaces, enabling flexible mutual retrieval to trade off efficiency and accuracy. Based on this, we also introduce Refine Reinforcement Learning (Refine-RL) that treats discriminative embeddings as stable semantic anchors to guide the rewrite optimization. Extensive experiments on MMEB-V2, MRMR and UVRB demonstrate that RIME substantially outperforms prior generative embedding models while significantly reducing the length of thinking. Code is available at https://github.com/PeppaWu/RIME.

View on arXivView PDF

Code Implementations(1)

PeppaWu/RIMEOfficial100%
Apache-2.0

Official implementation of "Beyond Chain-of-Thought: Rewrite as a Universal Interface for Generative Multimodal Embeddings"

60Python, ShellMay 28, 20264 months agoApache-2.0

Similar Papers

Cite this paper

@article{wu2026beyond,
  title  = {Beyond Chain-of-Thought: Rewrite as a Universal Interface for Generative Multimodal Embeddings},
  author = {Peixi Wu and Ke Mei and Feipeng Ma and Bosong Chai and Zhibin Lan and Chenxi Zhao and Shannan Yan and Jie Chen and Zhangchi Hu and Yansong Peng and Bo Lin and Junjie Zhou and Dacheng Yin and Tianyi Wang and Fengyun Rao and Jing Lyu and Hebei Li and Xiaoyan Sun},
  year   = {2026},
  eprint = {2604.22280},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.22280v4}
}

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

Discussion