World to Code: Multi-modal Data Generation via Self-Instructed Compositional Captioning and Filtering

Jiacong Wang, Bohong Wu, Haiyong Jiang, Xun Zhou, Xin Xiao +2 more
9/30/2024
cs.CVcs.AI

Official code: foundation-multimodal-models/World2Code (4 stars, last commit 2026-04-28).

Abstract

Recent advances in Vision-Language Models (VLMs) and the scarcity of high-quality multi-modal alignment data have inspired numerous researches on synthetic VLM data generation. The conventional norm in VLM data construction uses a mixture of specialists in caption and OCR, or stronger VLM APIs and expensive human annotation. In this paper, we present World to Code (W2C), a meticulously curated multi-modal data construction pipeline that organizes the final generation output into a Python code format. The pipeline leverages the VLM itself to extract cross-modal information via different prompts and filter the generated outputs again via a consistency filtering strategy. Experiments have demonstrated the high quality of W2C by improving various existing visual question answering and visual grounding benchmarks across different VLMs. Further analysis also demonstrates that the new code parsing ability of VLMs presents better cross-modal equivalence than the commonly used detail caption ability. Our code is available at https://github.com/foundation-multimodal-models/World2Code.

View on arXivView PDF

Code Implementations(1)

Official PyTorch Implementation of World to Code: Multi-modal Data Generation via Self-Instructed Compositional Captioning and Filtering

40Shell, PythonSep 25, 20245 months ago

Similar Papers

Cite this paper

@article{wang2024world,
  title  = {World to Code: Multi-modal Data Generation via Self-Instructed Compositional Captioning and Filtering},
  author = {Jiacong Wang and Bohong Wu and Haiyong Jiang and Xun Zhou and Xin Xiao and Haoyuan Guo and Jun Xiao},
  year   = {2024},
  eprint = {2409.20424},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.20424v1}
}

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

Discussion