Tsinghua Finds AI Image Generation Secretly Teaches Models Textual Facts
A new probing protocol shows that teaching unified multimodal models to draw facts partially teaches them to say those facts in words, with an alignment trick closing the gap.
Takeaways
- New paper introduces Knowledge Transfer Probing (KTP) to test if image-generation training teaches text-answerable facts. Paper
- Tests three unified models: BAGEL, SenseNova-U1, and Z.AI's new GLM-Omni built on GLM-4.1V-Thinking.
- Direct text-to-image training does transfer some knowledge to text, but unevenly across seven categories.
- Models reproduce facts in images far more reliably than they can state them in words.
- Interleaved Image-Text Alignment on a small entity subset generalizes mapping skill to unseen entities.
- Project page with results and ablations at kevinlllee.github.io/Knowledge-Transfer-Probing.
Can Models Say What They Learn to Draw?
Researchers from Tsinghua University and Z.AI tested whether a multimodal model can answer questions about facts it encountered only while learning to generate images. Their paper finds that some visual knowledge transfers into text responses, but access varies sharply by model and knowledge category.
Unified multimodal models, or UMMs, use one system to understand and generate text and images. They train on large image collections whose captions often omit details such as object counts, spatial relationships, shapes, and embedded text. If those details remain accessible only through image generation, developers cannot reliably use them in text-based applications.
A Controlled Test for Cross-Modal Recall
The researchers created Knowledge Transfer Probing (KTP), a protocol built around fictional entities and attributes. Fictional associations reduce the chance that a model already knows an answer from pretraining.
KTP covers seven categories:
- Color
- Count
- Number
- Shape
- Size
- Spatial relationships
- Text displayed inside images
The protocol separates exposure from retrieval so researchers can identify the source of each answer:
| Stage | Model input | Training target | What it measures |
|---|---|---|---|
| Exposure | A text prompt naming an entity and scene | An image containing the attribute | Whether generation training encodes the association |
| Evaluation | A text-only question about the entity | The attribute expressed in text | Whether the association transfers into language |
Attribute values appear only in target images during the initial training stage. A correct text answer therefore indicates that the model extracted a fact from the image-generation objective and made it available to its language pathway.
Three Architectures, One Recurring Gap
The authors evaluated three systems with different designs:
- BAGEL uses a Mixture-of-Transformer-Experts architecture that routes work through separate understanding and generation branches. It combines a semantic visual encoder with a variational autoencoder, which compresses and reconstructs image data.
- GLM-Omni starts from the GLM-4.1V-Thinking pretraining checkpoint and represents images with a discrete tokenizer based on X-Omni.
- SenseNova-U1 provides a third architecture for comparing transfer behavior across systems.
GLM-Omni also provides evidence that Z.AI is developing an omni-style system that handles image understanding and generation within a shared model stack.
Generation Stores More Than Text Can Retrieve
All three models reproduced more learned attributes through generated images than they retrieved through text-only answers. Image-generation training still produced measurable textual recall, showing that facts can cross output modalities without direct question-answer supervision.
Transfer depended heavily on the type of knowledge. After text-to-image training, GLM-Omni reached roughly 16% text accuracy for color and 24% for count. Accuracy approached zero for spatial relationships and text embedded in images. A model could therefore generate the expected scene while failing to name the same attribute in a text response.
| GLM-Omni category | Text accuracy after image training |
|---|---|
| Color | About 16% |
| Count | About 24% |
| Spatial relationships | Near 0% |
| In-image text | Near 0% |
Alignment Makes Visual Facts Easier to Say
The researchers added two alignment objectives to the standard text-to-image training process:
- Textual Alignment adds text-only question-and-answer supervision for a subset of entities, teaching the model how entity names map to attribute words.
- Interleaved Image-Text Alignment trains on sequences containing both generated images and textual answers, encouraging the output pathways to use compatible internal representations.
Both methods improved text retrieval for entities that never received direct question-and-answer supervision. Interleaved image-text alignment produced higher average accuracy than textual alignment, suggesting that mixed output sequences help the model generalize the retrieval pattern to unseen entities.
An ablation on GLM-Omni isolated the contribution of the image-generation loss. Masking that loss while retaining interleaved sequences and text supervision substantially reduced performance. The result indicates that visual generation helps form the shared representation used for later text retrieval.
What Developers Can Apply
Teams training unified multimodal systems can draw several practical lessons from the experiments:
- Measure retrieval by modality. Correct image generation does not guarantee that the same fact will appear in a text response.
- Add mixed image-text examples. Alignment data for a subset of entities can improve text access for entities outside that supervised subset.
- Preserve the visual objective. The ablation suggests that interleaved formatting and text labels alone provide weaker transfer.
- Evaluate each knowledge category. Counts and colors transferred more readily than spatial relationships and embedded text.
Potential applications include product catalogs, diagrams, charts, interface iconography, and other datasets where images contain useful attributes missing from captions. The findings support testing whether those attributes remain available across both generation and question-answering workflows.
Limits and Availability
The study uses controlled fictional entities, so its results do not establish how transfer scales to noisy real-world corpora. It also covers three systems, with particularly weak transfer for spatial reasoning and in-image text. Further work will need to test larger model families, natural data, and longer training runs.
The project page provides the protocol and results, while a Hugging Face listing tracks the paper. BAGEL is open, while the cited GLM-Omni and SenseNova-U1 checkpoints are in-house systems, which may limit exact reproduction of every reported experiment.
The results give developers a concrete way to audit knowledge transfer inside unified models. Image-generation training can encode facts that language components later retrieve, while targeted alignment determines how consistently those facts become available in text.