VisualSphinx: Large-Scale Synthetic Vision Logic Puzzles for RL
Yichen Feng, Zhangchen Xu, Fengqing Jiang, Yuetai Li, Bhaskar Ramasubramanian, Luyao Niu, Bill Yuchen Lin, Radha Poovendran
TL;DR
VisualSphinx delivers a scalable, rule-grounded, large-scale synthetic dataset of visual logic puzzles to enhance vision-language reasoning through RL. Its four-stage pipeline—seed-rule abstraction, rule-level genetic expansion, programmatic image synthesis, and diversified puzzle assembly—enables cost-efficient generation (~$1K) of 660K puzzles. Fine-tuning Qwen2.5-VL-7B with GRPO on VisualSphinx yields notable improvements in visual logical reasoning and transfers to algebraic, arithmetic, and geometric tasks, as evidenced on MathVista. The work highlights the potential of synthetic multimodal data to boost robust, generalizable reasoning in VLMs, with implications for broader multimodal problem solving.
Abstract
Vision language models (VLMs) are expected to perform effective multimodal reasoning and make logically coherent decisions, which is critical to tasks such as diagram understanding and spatial problem solving. However, current VLM reasoning lacks large-scale and well-structured training datasets. To bridge this gap, we propose VisualSphinx, a first-of-its-kind large-scale synthetic visual logical reasoning training data. To tackle the challenge of image synthesis with grounding answers, we propose a rule-to-image synthesis pipeline, which extracts and expands puzzle rules from seed questions and generates the code of grounding synthesis image synthesis for puzzle sample assembly. Experiments demonstrate that VLM trained using GRPO on VisualSphinx benefit from logical coherence and readability of our dataset and exhibit improved performance on logical reasoning tasks. The enhanced reasoning capabilities developed from VisualSphinx also benefit other reasoning tasks such as algebraic reasoning, arithmetic reasoning and geometry reasoning.
