cs.MMMar 16, 2026

Visual Set Program Synthesizer

Authors: Zehua Cheng, Wei Dai, Wenhu Zhang, Thomas Lukasiewicz, Jiahao Sun

Organizations: Department of Computer Science, University of Oxford · Department of Computer Science and Engineering, Hong Kong University of Science and Technology · Institute of Logic and Computation, TU Wien

Abstract

A user pointing their phone at a supermarket shelf and asking "Which soda has the least sugar?" poses a difficult challenge for current visual Al assistants. Such queries require not only object recognition, but explicit set-based reasoning such as filtering, comparison, and aggregation. Standard endto-end MLLMs often fail at these tasks because they lack an explicit mechanism for compositional logic. We propose treating visual reasoning as Visual Program Synthesis, where the model first generates a symbolic program that is executed by a separate engine grounded in visual scenes. We also introduce Set-VQA, a new benchmark designed specifically for evaluating set-based visual reasoning. Experiments show that our approach significantly outperforms state-of-the-art baselines on complex reasoning tasks, producing more systematic and transparent behavior while substantially improving answer accuracy. These results demonstrate that program-driven reasoning provides a principled alternative to black-box visual-language inference.

Figures & tables

Explore similar work

CardsList
  1. Vero: An Open RL Recipe for General Visual Reasoning

    Apr 6, 2026Gabriel Sarch, Linrong Cai, Qunzhong Wang +3Reasoning for VLMsVisual Reasoning

  2. Distilling Answer-Set Programming Rules from LLMs for Neurosymbolic Visual Question Answering

    Jun 2, 2026Thomas Eiter, Nelson Higuera Ruiz, Johannes OetschVisual Question AnsweringAnswer Set Programming

  3. Can MLLMs Reason Beyond Language? VisReason: A Comprehensive Benchmark for Vision-Centric Reasoning

    May 25, 2026Longteng Guo, Yifan Wang, Pengkang Huo +4Visual ReasoningVLM Reasoning