Jiaxin Ge1* Yiming Qin2,6* Ji Xie3 Haozhe Jiang1 Xiaochuang Han4
Junyi Zhang1 Andrew Dai5 Yinfei Yang5 Jitendra Malik1 Ranjay Krishna4 Sewon Min1
Haiwen Feng1,6† Le Xue5† Baifeng Shi1† Trevor Darrell1† XuDong Wang1,2†
1University of California, Berkeley 2Duke University 3Carnegie Mellon University
4University of Washington 5Elorian 6Impossible Research
* Equal contribution † Equal advising
Overview • Key Findings • Taxonomy • Quick Start • Repository Layout • Citation
Unified multimodal models (UMMs) are trained both to generate images and to understand them. OmniTaskonomy studies when visual generation improves visual understanding, by pairing image-to-image (I2I) generation tasks with image-to-text (I2T) understanding capabilities and measuring how training on one transfers to the other.
We ask three questions:
| Question | How we study it | |
|---|---|---|
| Q1 | What training curriculum enables visual generation to improve visual understanding? | Six training recipes on paired I2I/I2T tasks that solve the same problem from the same input and differ only in the output modality. |
| Q2 | Which visual generation tasks help which understanding tasks? | A transfer matrix from 19 I2I tasks to understanding capabilities, evaluated on 9,444 annotated samples. |
| Q3 | What explains the success or failure of transfer? | Gradient alignment between the I2I and I2T objectives, by module, by layer, and across source–target pairs. |
This repository contains the code for all three: training, benchmark evaluation, transfer-matrix analysis, and gradient analysis, with BAGEL as the reference model and an adapter interface for testing your own UMM.
An initial I2I training stage that updates parameters shared with the I2T objective provides a useful initialization for subsequent I2T learning.
- I2I → I2T and I2I → Mixed scale consistently as the amount of I2I data increases.
- Freezing the shared weights during the I2I stage, or mixing the two objectives from the start, gives weaker or less stable gains.
- We use I2I → I2T as the default recipe in the remaining experiments.
The six training recipes
| Recipe | Schedule | Description |
|---|---|---|
| R1 | I2T only | Train only on I2T. |
| R2 | I2I → I2T | Train on I2I while updating the shared understanding weights, then finetune on I2T. |
| R3 | Mixed → I2T | Jointly train on I2I and I2T, then finetune on I2T. |
| R4 | Frozen I2I → Mixed | Train on I2I with the shared understanding weights frozen, then switch to mixed training. |
| R5 | Mixed | Jointly train on I2I and I2T throughout. |
| R6 | I2I → Mixed | Train on I2I while updating the shared understanding weights, then switch to mixed training. |
Visual generation supervision yields significant gains for specific understanding capabilities, both within and across task families.
| I2I source | I2T capability | Gain (pp) |
|---|---|---|
| Localization | Counting | +2.5 |
| Object pointing | Counting | +2.0 |
| Euclidean depth | Metric 3D relation | +3.8 |
| Z-depth | Metric 3D relation | +3.6 |
| Surface normals | Metric 3D relation | +3.4 |
| Jigsaw | 2D ordering | +6.8 |
| Inpainting | 2D ordering | +7.2 |
| 2.5D segmentation | Category recognition | +1.2 |
Gradient alignment between the I2I and I2T objectives is concentrated in early pre-attention normalization layers and is positively associated with downstream transfer.
- Across understanding capabilities, mean alignment and mean transfer correlate at r = 0.795.
- Across all 133 individual source–target pairs, they correlate at r = 0.529.
See the project page for the full transfer matrix and interactive plots.
OmniTaskonomy organizes 19 generation tasks and 25 understanding capabilities into a shared hierarchy with three families: Recognition, Reconstruction, and Reorganization.
| Family | What it covers | I2I tasks | I2T capabilities |
|---|---|---|---|
| Recognition | Identifying semantic content | 2 | 11 |
| Reconstruction | Recovering geometry and appearance | 9 | 8 |
| Reorganization | Grouping, locating, and relating visual elements | 8 | 6 |
Each benchmark sample is assigned to one understanding capability by three independent VLM judges. A sample is retained when at least two judges agree, which yields 9,444 evaluation samples.
The data is hosted on Hugging Face:
| Dataset | Contents |
|---|---|
| Wakals/OmniTaskonomy | 9,444 I2T evaluation samples across 25 capabilities, and 350,000 I2I training samples across seven transfer sources. |
| Wakals/OmniTaskonomy_Recipe_Data | Six paired I2I/I2T subsets for the training-recipe experiments. |
Our experiments are conducted on Linux with conda and a CUDA toolkit compatible with PyTorch 2.5.1.
conda create -n omnitaskonomy python=3.10 -y
conda activate omnitaskonomy
bash scripts/install.sh
export LMUData="$PWD/data/raw/benchmarks"
export OMNI_MODEL="$PWD/checkpoints/BAGEL-7B-MoT"| Variable | Purpose |
|---|---|
LMUData |
Where benchmark data is stored. |
OMNI_MODEL |
Where the BAGEL weights are stored. |
All commands accept --help. BAGEL training defaults to four GPUs.
Follow the BAGEL guide. It covers each stage in order:
| Stage | Entry point |
|---|---|
| Download model weights | scripts/download_model.py |
| Prepare data | scripts/prepare_taskonomy.py, scripts/prepare_transfer.py, scripts/prepare_recipe.py |
| Train | scripts/run_experiment.py |
| Evaluate on OmniTaskonomy | scripts/evaluate_transfer.sh |
| Build the transfer matrix | scripts/collect_transfer_inputs.py, scripts/analyze_transfer.py |
| Analyze gradients | scripts/prepare_gradient_matrix.py, scripts/analyze_gradients.py |
Follow the custom UMM guide to write an adapter for your model and run the same training, evaluation, and gradient experiments.
OmniTaskonomy/
├── omnitaskonomy/ # Core package: training, evaluation, gradients, taxonomy, adapters
├── scripts/ # Command-line entry points
├── configs/ # Training, evaluation, experiment, and gradient configurations
├── data/ # Taxonomy definitions and gradient reference data
├── docs/ # Guides and figures
├── tests/ # Unit tests
├── Bagel/ # BAGEL model code
└── VLMEvalKit/ # Evaluation framework
If you find OmniTaskonomy useful, please cite:
@article{ge2026omnitaskonomy,
title={OmniTaskonomy: When Does Visual Generation Improve Visual Understanding?},
author={Ge, Jiaxin and Qin, Yiming and Xie, Ji and Jiang, Haozhe and Han, Xiaochuang and Zhang, Junyi and Dai, Andrew and Yang, Yinfei and Malik, Jitendra and Krishna, Ranjay and Min, Sewon and Feng, Haiwen and Xue, Le and Shi, Baifeng and Darrell, Trevor and Wang, XuDong},
journal={arXiv preprint arXiv:2609.38079},
year={2026}
}| Component | License |
|---|---|
| Dataset | Dataset licenses |
| Model | BAGEL license |
| Evaluation framework | VLMEvalKit license |
We thank the authors of BAGEL and VLMEvalKit for open-sourcing their code.
For questions or ideas, feel free to reach out to Jiaxin Ge ([email protected]) and Yiming Qin ([email protected]).
![I2I reconstructs the Jigsaw image, a dot moves from Visual Generation to Visual Understanding while changing color, and I2T reveals the patch order [3, 2, 1, 0]. All elements then return smoothly to the starting state.](/para-lost/OmniTaskonomy/raw/main/docs/images/teaser.gif)

