Source-linked AI summary
Image Generators are Generalist Vision Learners
Valentin Gabeur, Shangbang Long, Songyou Peng, Paul Voigtlaender, Shuyang Sun, Yanan Bao, Karen Truong, Zhicheng Wang, Wenlei Zhou, Jonathan T. Barron, Kyle Genova, Nithish Kannen, Sherry Ben, Yandong Li, Mandy Guo, Suhas Yogin, Yiming Gu, Huizhong Chen, Oliver Wang, Saining Xie, Howard Zhou, Kaiming He, Thomas Funkhouser, Jean-Baptiste Alayrac, Radu Soricut
TL;DR
The paper addresses limited evidence that generative vision models learn strong, general visual understanding. It instruction-tunes Nano Banana Pro to express vision-task outputs as RGB images, achieving state-of-the-art or competitive 2D and 3D performance while retaining image-generation capabilities. The results support image-generation pretraining as a foundation for generalist vision models and image generation as a unified interface for vision tasks.
Problem
Evidence remains limited that image and video generators develop strong, general visual understanding despite observed zero-shot visual behaviors.
Source: §1 · p. 2Method
Results
Vision Banana achieves state-of-the-art or competitive results across 2D and 3D understanding, including surpassing specialized segmentation and metric-depth models, while retaining image-generation performance.
Source: §1 · p. 3, §4 · p. 15Takeaways & Limitations
The findings suggest that image-generation pretraining can produce generalist visual representations and that image generation can serve as a unified interface for vision tasks.
Source: §4 · p. 15The current evaluation focuses on monocular image inputs; extending the framework to multi-view and video inputs remains future work.
Source: §4 · p. 15
Abstract
from arXiv · showhide
Recent works show that image and video generators exhibit zero-shot visual understanding behaviors, in a way reminiscent of how LLMs develop emergent capabilities of language understanding and reasoning from generative pretraining. While it has long been conjectured that the ability to create visual content implies an ability to understand it, there has been limited evidence that generative vision models have developed strong understanding capabilities. In this work, we demonstrate that image generation training serves a role similar to LLM pretraining, and lets models learn powerful and general visual representations that enable SOTA performance on various vision tasks. We introduce Vision Banana, a generalist model built by instruction-tuning Nano Banana Pro (NBP) on a mixture of its original training data alongside a small amount of vision task data. By parameterizing the output space of vision tasks as RGB images, we seamlessly reframe perception as image generation. Our generalist model, Vision Banana, achieves SOTA results on a variety of vision tasks involving both 2D and 3D understanding, beating or rivaling zero-shot domain-specialists, including Segment Anything Model 3 on segmentation tasks, and the Depth Anything series on metric depth estimation. We show that these results can be achieved with lightweight instruction-tuning without sacrificing the base model's image generation capabilities. The superior results suggest that image generation pretraining is a generalist vision learner. It also shows that image generation serves as a unified and universal interface for vision tasks, similar to text generation's role in language understanding and reasoning. We could be witnessing a major paradigm shift for computer vision, where generative vision pretraining takes a central role in building Foundational Vision Models for both generation and understanding.
1. Introduction
The paper asks whether image generators develop general visual understanding, and tests this by instruction-tuning Nano Banana Pro to produce benchmarkable visual outputs. Vision Banana matches or surpasses specialized models across 2D and 3D understanding while retaining strong image-generation performance.
- The paper investigates whether image-generation training produces internal representations suitable for general visual understanding tasks.Source: §1 · p. 2
- Vision Banana instruction-tunes Nano Banana Pro to generate RGB visualizations that can be decoded into computer-vision outputs for quantitative evaluation.Source: §1 · pp. 2–3
- Vision Banana surpasses or matches state-of-the-art results across 2D and 3D vision benchmarks, including segmentation and metric depth estimation.Source: §1 · p. 3, Table 1 · p. 3
- 53.5% win rate against Nano Banana Pro on GenAI-Bench and 47.8% on ImgEdit show that instruction-tuning preserved competitive image generation and editing.Source: §1 · p. 3
- The findings suggest that image generators are generalist vision learners and that image generation can provide a unified interface for visual understanding tasks.Source: §1 · pp. 3–4
2. Method
The method aligns Nano Banana Pro with vision tasks through lightweight instruction-tuning while preserving its original generative priors. Vision task outputs are represented as invertible RGB images and evaluated across 2D and 3D understanding.
- Vision Banana is created by mixing a small amount of vision-task data into Nano Banana Pro’s original training mixture.Source: §2 · p. 4
- Vision tasks are formatted as invertible visualizations, allowing generated outputs such as depth heatmaps to be decoded for quantitative assessment.Source: §2 · p. 4
- Low-ratio vision-data mixing is designed to align vision tasks without degrading Nano Banana Pro’s original image-generation capabilities.Source: §2 · p. 4
- The evaluation covers 2D referring-expression, semantic, and instance segmentation alongside 3D monocular metric depth and surface-normal estimation.Source: §2 · p. 4
3. Vision Banana - Generalist Vision Model from Image Generator
Vision Banana reframes diverse 2D and 3D vision tasks as image generation, achieving SOTA-level performance across segmentation, depth, and surface-normal estimation without specialized architectures or custom losses.
2D Semantic Understanding
- Vision Banana reframes semantic segmentation as generating RGB visualizations whose pixel colors encode prompted categories and can be decoded into masks.The approach supports open-vocabulary categories, natural-language or structured color mappings, and RGB-space post-processing.Source: §3.1 · p. 6
- 4.7 points: Vision Banana outperforms SAM 3 in Cityscapes mIoU and leads open-vocabulary models.It narrows the gap with closed-set, non-zero-shot specialists such as SegMan.Source: §3.1 · p. 6
- 73.8% cIoU on RefCOCOg UMD and 79.3% gIoU on ReasonSeg establish state-of-the-art zero-shot referring-expression segmentation.The model consistently outperforms SAM 3 Agent and other recent zero-shot methods, though trained-on-training-split methods retain an advantage on RefCOCOg.Source: §3.1 · p. 8
- Vision Banana transfers across segmentation paradigms, handling nuanced language cues and referring expressions despite not being explicitly trained on free-form queries for standard segmentation.Examples include identifying “patterns on the wall” and distinguishing crescent-shaped croissants from other croissants.Source: §3.1 · p. 8
3D Understanding from Monocular Images
- Vision Banana achieves SOTA performance on monocular metric depth and surface-normal estimation, producing globally consistent geometry and finer-grained normal maps.It has the lowest mean and median angular errors across three indoor surface-normal datasets, while remaining competitive outdoors; on Virtual KITTI 2, Lotus-2 has slightly lower quantitative errors despite lower visual fidelity.Source: §3.2 · pp. 9, 11, 13
- 0.929 versus 0.918 average δ1: Vision Banana outperforms Depth Anything V3 across their four shared evaluated datasets.The model uses no real-world depth data or camera parameters during training or inference, and achieves an average δ1 of 0.882 across six benchmarks.Source: §3.2 · p. 11
4. Discussion
The paper argues that generative vision pretraining can produce models capable of both image generation and broad visual understanding. Encoding task outputs as RGB images provides a unified interface, while generative modeling can represent ambiguous output distributions without bespoke architectures; computational overhead remains a deployment challenge.
- Large-scale image-generation pretraining naturally acquires robust visual understanding capabilities that can support both generation and understanding.The authors position Vision Banana's results as evidence that generative vision pretraining can underpin foundational vision models.Source: §4 · p. 15
- Representing vision-task outputs as RGB images lets natural-language prompts instruct a pretrained visual generator through a unified interface.The paper reports that this simple design can outperform modern domain-specific specialist models when combined with powerful pretrained visual generators.Source: §4 · p. 15
- Generative modeling can handle inherently ambiguous vision outputs by learning the full data distribution rather than collapsing predictions to a blurry mean.This may reduce reliance on custom architectures and training losses designed for multimodal outputs.Source: §4 · p. 15
- Current evaluation covers fundamental 2D semantic and monocular 3D understanding tasks, leaving multi-view, video, broader task diversity, and cross-modality reasoning for future work.The authors also identify computational cost as a significant hurdle for deploying generative vision frameworks.Source: §4 · p. 15
A. Multi-stage clustering algorithm for parsing instance masks
Vision Banana converts generated RGB images into discrete instance masks through a multi-stage algorithm that handles unknown instance counts, color variation, noise, boundaries, and fragmented objects.
Overview
- The algorithm dynamically assigns unique colors to instances, then robustly maps generated RGB outputs back to discrete masks.This is necessary because instance counts are unknown a priori and generated images contain noise, color drift, and boundary artifacts.Source: A. Multi-stage clustering algorithm… · p. 24
Background Initialization
- Background pixels are initialized using proximity to a predefined background color and excluded from later processing.The method uses a color tolerance threshold of τ=14.Source: A. Multi-stage clustering algorithm… · p. 24
Color Similarity Grouping
- Remaining pixels are grouped with seed-based flood fill using 16-connectivity and RGB color similarity.Adjacent pixels are merged according to their color distance from the component seed.Source: A. Multi-stage clustering algorithm… · p. 24
Boundary Artifact Elimination
- Boundary halos are removed by 3 × 3 binary erosion when the preserved area ratio falls below θ_erosion=0.1.This prevents thin colored boundaries from becoming spurious components.Source: A. Multi-stage clustering algorithm… · p. 24
Spatially Constrained Merging
- Spatially disjoint components are merged when their average colors are similar and their combined bounding box does not expand excessively.This recovers fragmented parts of the same object, such as regions separated by occlusion.Source: A. Multi-stage clustering algorithm… · p. 24
B. Detailed SA-Co/Gold Quantitative Evaluation
Vision Banana achieves state-of-the-art zero-shot performance on SA-Co/Gold, including the primary open-vocabulary segmentation metric, while evaluation combines segmentation quality with query-presence classification.
Benchmark
- SA-Co/Gold evaluates noun-phrase instance segmentation across seven diverse subsets, including Metaclip, SA-1B, Crowded, and Wiki-Common.The benchmark also includes Food&Drink, Sports Equip., and Attributes.Source: B. Detailed SA-Co/Gold Quantitative… · p. 25, Table 8 · p. 25
Metrics
- The primary classification-gated F1 metric combines Positive Micro-F1 with Image-Level Matthews Correlation Coefficient.Positive Micro-F1 measures mask precision and recall across ten IoU thresholds, while Image-Level MCC measures query-presence classification.Source: B. Detailed SA-Co/Gold Quantitative… · p. 25
Results
- Vision Banana demonstrates state-of-the-art zero-shot performance, outperforming specialized models including OWLv2, DINO-X, and APE-D.Positive/negative query filtering uses Gemini 3.1 Flash-Lite, which may contribute to the strong Image-Level MCC score.Source: B. Detailed SA-Co/Gold Quantitative… · p. 25
- Vision Banana also achieves state-of-the-art Positive Micro-F1, the metric directly measuring open-vocabulary segmentation quality.This result remains central despite the model’s use of Gemini for query filtering in the unified metric.Source: B. Detailed SA-Co/Gold Quantitative… · p. 25
C. Qualitative Instance Segmentation Analysis
Qualitative examples show Vision Banana producing coherent, non-overlapping masks and resolving spatial ambiguity, while failures remain in cluttered scenes and can be amplified by annotation mismatch.
Evaluation Caveats
- Quantitative F1 can remain substantially below SAM 3 despite visually accurate masks because smaller or finer predictions misalign with SAM-annotated ground truth at high IoU thresholds.The discrepancy reflects sensitivity to annotation geometry rather than only visible mask quality.Source: C. Qualitative Instance Segmentation… · pp. 25–26
Success Cases
- Vision Banana commits to a single coherent mask mode, avoiding SAM 3’s mode-averaging artifacts under spatial ambiguity.It also consistently produces non-overlapping masks without unnatural gaps between adjacent boundaries.Source: C. Qualitative Instance Segmentation… · p. 26
Failure Cases
- Observed failures include merging multiple instances, splitting group instances, and occasionally missing target objects entirely.Examples include merged walls or furniture, crowds split into individuals, and missed background walls or persons.Source: C. Qualitative Instance Segmentation… · p. 26
Evaluation Caveats
- The model has clear room for improvement in highly cluttered or crowded scenes, while annotation biases and zero-shot evaluation explain part of the gap with SAM 3.These factors constrain interpretation of the quantitative comparison.Source: C. Qualitative Instance Segmentation… · p. 26
D. Image generation and editing capabilities
Instruction-tuning preserves Vision Banana’s generative abilities: compared with Nano Banana Pro, it maintains detailed text-to-image quality and robust instruction adherence for image editing.
Evaluation Setup
- Figures 11 and 12 compare Vision Banana with Nano Banana Pro on text-to-image generation and image editing, respectively.The figures assess whether instruction-tuning caused forgetting of core generative features.Source: D. Image generation and editing… · p. 26, Figure 11 · p. 29, Figure 12 · p. 30
Text-to-Image
- Vision Banana continues producing detailed, contextually accurate text-to-image outputs with quality similar to Nano Banana Pro.The comparison uses prompts sampled from GenAI-Bench.Source: D. Image generation and editing… · p. 26, Figure 11 · p. 29
Image Editing
- Vision Banana shows robust adherence to detailed instructions on image-editing tasks.The comparison uses instruction-based prompts from ImgEdit.Source: D. Image generation and editing… · p. 26, Figure 12 · p. 30
Segmentation Context
- The qualitative segmentation figures report best F1 scores with associated ground truth annotations and predicted mask counts for SAM 3 and Vision Banana.Figures 9 and 10 present success and failure cases on SA-Co/Gold.Source: Figure 9 · p. 27, Figure 10 · p. 28
Related papers
This paper cites
- Language Models are Few-Shot Learners2020
- Learning Transferable Visual Models From Natural Language Supervision2021
- Training language models to follow instructions with human feedback2022
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale2020
- A Simple Framework for Contrastive Learning of Visual Representations2020
- Sigmoid Loss for Language Image Pre-Training2023
Cited by
- AgentGarten: Code Worlds for Evolving Agents2026
- Shedding Light: A Benchmark for Evaluating Lighting Understanding in Generative Image Models2026
- Marigold V2: Revisiting Diffusion Transformers for Monocular Depth Estimation2026
- Puffin-World: Scaling a Unified Multimodal Model with Native 3D World States2026
- InstEditSeg: Instruction-Driven Image Editing for Polyp and Skin Lesion Segmentation2026
- Uncovering Understanding-Generation Synergy in Native Unified Multimodal Models: From Representation, Task to System2026