Harmonizing Visual Text Comprehension and Generation

Zhen Zhao, Jingqun Tang, Binghong Wu, Chunhui Lin, Shubo Wei +5 more
2/3/2026

No official code found. Best implementation: bytedance/TextHarmony (127 stars, Apache-2.0, last commit 2024-11-18).

Abstract

In this work, we present TextHarmony, a unified and versatile multimodal generative model proficient in comprehending and generating visual text. Simultaneously generating images and texts typically results in performance degradation due to the inherent inconsistency between vision and language modalities. To overcome this challenge, existing approaches resort to modality-specific data for supervised fine-tuning, necessitating distinct model instances. We propose Slide-LoRA, which dynamically aggregates modality-specific and modality-agnostic LoRA experts, partially decoupling the multimodal generation space. Slide-LoRA harmonizes the generation of vision and language within a singular model instance, thereby facilitating a more unified generative process. Additionally, we develop a high-quality image caption dataset, DetailedTextCaps-100K, synthesized with a sophisticated closed-source MLLM to enhance visual text generation capabilities further. Comprehensive experiments across various benchmarks demonstrate the effectiveness of the proposed approach. Empowered by Slide-LoRA, TextHarmony achieves comparable performance to modality-specific fine-tuning results with only a 2% increase in parameters and shows an average improvement of 2.5% in visual text comprehension tasks and 4.0% in visual text generation tasks. Our work delineates the viability of an integrated approach to multimodal generation within the visual text domain, setting a foundation for subsequent inquiries. Code is available at https://github.com/bytedance/TextHarmony.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

The official code for NeurIPS 2024 paper: Harmonizing Visual Text Comprehension and Generation

12710C++, CudaOct 8, 20241 years agoApache-2.0
research

Cite this paper

@article{zhao2026harmonizing,
  title  = {Harmonizing Visual Text Comprehension and Generation},
  author = {Zhen Zhao and Jingqun Tang and Binghong Wu and Chunhui Lin and Shubo Wei and Hao Liu and Xin Tan and Zhizhong Zhang and Can Huang and Yuan Xie},
  year   = {2026},
  eprint = {2407.16364},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2407.16364},
  url    = {https://arxiv.org/abs/2407.16364},
  journal = {NEURIPS 2024 2024}
}

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

Discussion