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 SoricutarXiv 2026

TL;DR

Just as Large Language Models (LLMs) develop emergent reasoning capabilities from text generation pretraining, image generators secretly acquire a deep, internalized understanding of the visual world. By applying lightweight instruction-tuning to a base image generator, Vision Banana reframes complex perception tasks as simple image generation, outperforming highly specialized, task-specific models in both 2D and 3D vision benchmarks while fully retaining its creative image-generation capabilities.

What Problem Does This Paper Address?

Traditionally, computer vision has treated "understanding" (perception) and "creation" (generation) as two entirely separate paradigms. To solve tasks like image segmentation or depth estimation, researchers typically build highly specialized, discriminative architectures trained on expensive, human-annotated datasets.

While state-of-the-art generative models (like FLUX or Stable Diffusion) can synthesize incredibly complex scenes, utilizing their rich internal representations for precise, quantitative downstream perception tasks has proven difficult. Previous attempts either failed to produce outputs in exact, benchmark-ready formats or required full fine-tuning that destroyed the model's original generative abilities.

The authors ask a fundamental question: Can image generation serve as a unified, universal interface for computer vision, much like text generation does for language?

Methods

The authors introduce Vision Banana, a generalist model built by instruction-tuning a base image generator, Nano Banana Pro (NBP). Instead of altering the architecture or adding task-specific heads, they reframe all perception tasks as image-to-image generation problems.

The model is trained using a lightweight instruction-tuning strategy: mixing a small amount of vision task data into NBP's original training mixture at a very low ratio. This prevents the model from forgetting how to generate high-quality images.

  • 2D Segmentation: The model is prompted to generate a multi-colored image where specific colors represent distinct classes or object instances. A robust, multi-stage clustering algorithm then parses these continuous generative outputs back into discrete binary masks.
  • 3D Metric Depth Estimation: Mapping unbounded physical depth values $[0, \infty)$ into a bounded RGB space $[0, 1]^3$ requires a clever mathematical trick. The authors apply a power transform to "curve" the depth values (giving higher resolution to nearby objects) and interpolate these values along a piecewise-linear path that traces the edges of an RGB cube—effectively creating a strictly invertible bijection.
The Vision Banana framework reframes diverse 2D and 3D perception tasks as image generation using decodable visualization schemes.

Datasets

  • Training Data: The instruction-tuning mixture leverages in-house model annotations for web-crawled 2D images and synthetic data generated by rendering engines for 3D tasks. Crucially, no training data from the evaluation benchmarks is included, ensuring a strict zero-shot evaluation protocol.
  • Evaluation Benchmarks:
    • 2D Understanding: Cityscapes (semantic segmentation), SA-Co/Gold (instance segmentation), RefCOCOg UMD, and ReasonSeg (referring expression segmentation).
  • 3D Understanding: NYU v2, iBims1, ETH3D, DIODE-Indoor, KITTI, and nuScenes (metric depth); DIODE-indoor, ScanNet, and VKitti (surface normals).
  • Visual Generation: GenAI-Bench (text-to-image) and ImgEdit (image editing).

Key Insights and Ideas

  • Image Generation as a Universal Interface: By parameterizing the output space of all vision tasks as RGB images, natural language prompts can seamlessly guide the model to perform any perception task.
  • Natural Ambiguity Resolution: Traditional discriminative models struggle when an input has multiple valid interpretations (e.g., ambiguous object boundaries), often requiring custom loss functions to avoid blurry, averaged outputs. Generative models naturally learn the full data distribution, allowing them to commit to a single, coherent mode by design.
  • Emergent Geometric Priors: Because the base model was trained on massive amounts of diverse visual data, it inherently understands object scales and spatial relationships. This allows Vision Banana to infer absolute metric depth from a single monocular image without needing camera intrinsic parameters.

Key Results

Vision Banana achieves state-of-the-art zero-shot transfer performance, frequently outperforming domain-specific expert models:

  • 2D Segmentation: On the Cityscapes validation set, Vision Banana achieves 69.9 mIoU, outperforming the highly specialized Segment Anything Model 3 (SAM 3), which scores 65.2. On SA-Co/Gold instance segmentation, it scores 47.5 cgF1, nearly doubling OWLv2's score of 24.6.
  • 3D Depth & Surface Normals: It surpasses Depth Anything 3 on metric depth estimation across four evaluation datasets (average $\delta_1$ accuracy of 0.929 vs. 0.918). For surface normal estimation, it achieves the lowest mean angular error on indoor datasets (15.549) compared to specialists like Lotus-2 (16.558).
  • Preserving Generation: In human evaluations on GenAI-Bench, Vision Banana achieved a 53.5% win rate against its base model, proving that instruction tuning did not degrade its original text-to-image capabilities.
Qualitative demonstration of Vision Banana's monocular metric depth estimation and 3D scene reconstruction capabilities.

Limitations and Future Work

Despite its impressive generalist performance, the authors note several hurdles for future research:

  • Computational Overhead: Utilizing a massive generative image model for simple perception tasks incurs a significantly higher computational cost than running lightweight, task-specific specialist models.
  • Monocular Constraints: The current evaluation is restricted to single, monocular images. Expanding the framework to process multi-view inputs and video sequences is a necessary next step to capture temporal dynamics.
  • Cross-Modality Synergies: Integrating these foundational vision models directly with large language models could significantly enhance complex, multi-modal reasoning.

Summary updated

BibTeX
@misc{gabeur2026image,
  author = {Valentin Gabeur and Shangbang Long and Songyou Peng and Paul Voigtlaender and Shuyang Sun and Yanan Bao and Karen Truong and Zhicheng Wang and Wenlei Zhou and Jonathan T. Barron and Kyle Genova and Nithish Kannen and Sherry Ben and Yandong Li and Mandy Guo and Suhas Yogin and Yiming Gu and Huizhong Chen and Oliver Wang and Saining Xie and Howard Zhou and Kaiming He and Thomas Funkhouser and Jean-Baptiste Alayrac and Radu Soricut},
  title = {{Image Generators are Generalist Vision Learners}},
  year = {2026},
  eprint = {2604.20329},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.20329},
}

Loading related content...

Figure