CoRe: Jointly Learning Contextual Representations for Understanding and Generation
Abstract
We introduce CoRe, in which understanding and generation jointly shape one contextual representation for images and one for text, trained from scratch. Each representation is read for understanding, conditions the other modality, and is the space in which that modality is generated by a continuous flow from Gaussian noise. With 383M parameters trained on CC12M and no pretrained language model, text encoder, or VAE at inference, CoRe matches a same-data contrastive-only baseline in global understanding and reaches COCO-30K FID 10.10, comparable to much larger generators built on pretrained components. In controlled comparisons at equal data and architecture, CoRe generates better in both directions (text to image and image to text) than a representation shaped by understanding alone and then frozen, and follows prompts better than generating in a space that understanding does not shape. In the other direction, with an attentive segmentation probe, on monocular depth, and when read by a frozen language model, CoRe surpasses the contrastive-only baseline: generation adds information that stronger readouts reach. Because generation runs inside the understanding representation, frozen real-image probes read and steer intermediate states and the model ranks its own samples without extra training. Because both modalities use continuous flows, both also distill to a few steps. Our controls indicate why one representation suffices: understanding organizes the representation semantically, while generation makes it retain more information.