Probing Pretrained Image Generators for Universal Vision Tasks
1Stanford 2MIT
*Part of work done when visiting Kaiming He at MIT
Pretrained image generators are secretly generalist vision models.
But natural language can’t reach it.



- 0pretrained weights changed
- 20 → 55%simple probe unlocks true capabilities
- <0.005%of learnable parameters
Simple test-time probing makes pretrained generators generalists
Swipe to see the whole flow.
Setup
Only Mb is fitted; σb is a fixed per-channel scale from the demonstrations. 400 updates with the generator’s own training loss, starting from identity; about 11 s on one accelerator for FLUX.2 4B. One fit serves every query of the task, and no demonstrations are needed at inference.
The same simple probe is universally effective.
Six generators, diffusion and autoregressive. 0% copies the input, 100% is ground truth.
Mean of six generators: 20% → 55%. On 17,511 test queries: 23% → 57%.
Setup
0 visual demonstrations is instruction-only editing; otherwise a probe is fitted to that many visual demonstrations. The dashed line is the best baseline at its best number of visual demonstrations. “Visual demonstrations in the prompt” passes them as extra input images instead of fitting.
With 16 visual demonstrations, four probed generators lead every baseline by over 20 points.
Setup
Per-task results for every method at the chosen number of visual demonstrations. Metric shows each task’s own metric; Score is normalized, with 0% copying the input and 100% ground truth.
Every generator and every task family gains.
0 → 16 visual demonstrations, 95% intervals
By task family, test
Setup
10,000 bootstrap resamples, stratified by task and dataset and clustered by source scene. The lower rows average the six generators.
Watch it surface.
Visual demonstrations
0
Setup
Three queries per dataset, selected from the supplementary gallery. 0 is instruction-only editing. One probe fit per dataset, except 4 visual demonstrations for FLUX.2 and Qwen-Image, fitted per query. Frames between two counts are a cross-fade.
It was there all along.
The probe can’t teach a task by itself. It can only draw one out.
Shuffle the weights and the same probe fails.
Mazes solved: 45/64 → 0/64

NYUv2 depth error, lower is better
Setup
FLUX.2 4B, validation, 16 visual demonstrations, three seeds; “shuffled” permutes the entries within each transformer weight tensor. Mazes: Qwen-Image 2.1, 6,400 updates. Depth: NYUv2 absolute relative error, two random shuffles, 25,600 updates.
1,280× fewer parameters than LoRA, about the same score.
Setup
FLUX.2 4B, validation, 16 visual demonstrations, 400 updates. The horizontal axis is logarithmic (each gridline is ten times more fitted parameters); the vertical axis starts at 52%. Light dots fit one component of the probe alone (shift, scale or gate): a third of its values.
How far does it reach?
To tasks the generators had hardly seen, and to official benchmarks.
Learn on small mazes. Solve larger, unseen ones.
Ten of the 1,024 demonstrations
Setup
One shared fit of 6,400 updates on 8×8 mazes, applied unchanged to 12×12 mazes. Shown: eight solved queries spread over route length, then the two closest misses; the route is revealed along its path.



Exact solves of 32
Setup
8×8 mazes, a fresh 800-update fit per query. Exact solves out of 32, with route-edge IoU.
Physical rules: 41 of 102 exactly right. Native editing: 0.
Setup
Six rules, 17 queries each; four are shown. Frozen Qwen-Image 2.1; each query is fitted to the other 16 visual demonstrations with the rule written out.
Depth on the chairs, normals on the lamps, the rest untouched.



- 107.5 → 6.8error on pixels to keep
- 0.735 → 0.184whole-image LPIPS
- 0.15 → 0.33edit-region overlap
- 91.5° → 60.7°lamp normal error
Setup
Hypersim, 34 queries, Qwen-Image 2.1, 800 updates. The first three compare native editing with 16 visual demonstrations; normal error compares copying the input. The edit-region ceiling is 0.85.
Official test sets, scored their way.
The probe allows us to look inside the models.
A seconds-long probe predicts the ranking after hours of LoRA training.
Setup
Spearman correlation per task between two rankings of the six generators: after a probe fitted to 16 visual demonstrations, and after rank-256 LoRA on 1,024 training pairs with 8× the updates.
Related tasks land together. No labels given.
Setup
13 tasks share a few probe directions.
Setup
Each task’s probe is a mix of r shared patterns; “own” is an independent probe. Mean score on 9 held-out images per task, fits on 8 visual demonstrations, three seeds.
Per-task probes barely need language.
Setup
Rank r is the number of shared directions; “Indep.” is one probe per task. Pre-registered, 376 scenes, 8 visual demonstrations.
Fit at 256 px, use at 512 px.
Setup
Probes fitted at 256×256 to 8 visual demonstrations with a neutral prompt, then run unchanged at 512×512 on the same 32 scenes. “256 px, upsampled” enlarges the probe’s 256 px result; “No probe” is the 512 px run with the probe at zero. Mean score; 0% copies the input. The first tab is the average of the three tasks.
Conclusion
Pretrained image generators already hold a strong foundation for generalist vision, but language instructions alone fail to bring it out.
A tiny probe fitted to a few visual demonstrations does, with every pretrained weight frozen: six generators rise from 20% to 55%.
What we hope this says to researchers in
- PretrainingWhat a generator has learned goes well beyond what instructions can show.
- Generalist modelingBefore training on a list of tasks, probe what is already there.
- Computer visionOne frozen generator and a few visual demonstrations can serve many tasks.
- Model interpretationA tiny probe is an instrument for studying what a model knows.
@article{xiang2026probing,
title = {Probing Pretrained Image Generators for Universal Vision Tasks},
author = {Xiang, Tiange and Lu, Kristine and Adeli, Ehsan and Fei-Fei, Li},
journal = {arXiv preprint arXiv:2612.04585},
year = {2026},
eprint = {2612.04585},
archivePrefix = {arXiv},
primaryClass = {cs.CV}
}
The authors thank Kaiming He for compute support and valuable guidance at an early stage of the project during Tiange Xiang’s visit, and Keshigeyan Chandrasegaran for feedback on the manuscript. This work was partially funded by Stanford HAI, a Stanford HAI graduate fellowship, and UST.