[KongchangAI]
· 2 min read· 1,226 words

CoRe: A Unified Model with Shared Representations for Understanding and Generation

CoRe: A Unified Model with Shared Representations for Understanding and Generation

CoRe uses a single set of contextual representations trained from scratch to support both multimodal understanding and generation.

CoRe addresses the problem that understanding and generation in vision-language models have long relied on two separate representation systems, proposing to use a single set of contextual representations trained from scratch to serve both tasks. Each image and text representation serves a triple role: directly as input features for understanding tasks, conditioning generation of the other modality, and as the space for generation of that modality itself, with generation accomplished through continuous flow starting from Gaussian noise. The model has 383M total parameters, is trained from scratch on CC12M, and does not depend on pretrained language models, text encoders, or VAEs during inference. Experimentally, global understanding is on par with contrastive learning baselines on the same data, and FID is 10.10 on COCO-30K, comparable to large generators that depend on pretrained components. Its significance lies in providing an alternative path for unified multimodal architectures that does not depend on external pretrained components.

From Fragmentation to Unification: The Introduction of CoRe

For a long time, the understanding tasks (such as image-text retrieval and classification) and generation tasks (such as text-to-image generation) of vision-language models have relied on two separate representation systems: understanding models typically use contrastive learning to train encoders, while generation models depend on components such as pretrained language models, text encoders, or VAEs. This fragmentation brings problems of architectural complexity and inconsistent training objectives. CoRe (Jointly Learning Contextual Representations for Understanding and Generation) attempts to use a single set of representations trained from scratch to serve both types of tasks simultaneously, allowing understanding and generation to shape each other.

Contrastive Learning is the mainstream training paradigm for understanding-oriented vision-language models, with representative work such as CLIP. Its approach is to encode images and texts into vectors separately, and learn a cross-modal alignment space by pulling matched image-text pairs closer and pushing mismatched pairs apart in representation distance. Representations obtained through contrastive learning excel at discrimination and retrieval, but typically lack generative capability—they only ensure semantic comparability and do not constrain the representation to be able to reconstruct pixels. This is precisely the technical root of the fragmentation between understanding and generation's "two representation systems" mentioned in the original text: the understanding side pursues invariance and discriminability, while the generation side requires representations to retain sufficient information to reconstruct details.

VAE (Variational Autoencoder) plays the role of "translator between pixel space and latent space" in mainstream text-to-image models (such as Stable Diffusion): the encoder compresses images into low-dimensional latent variables, the decoder restores latent variables to images, and diffusion or flow models complete generation in the latent space. The existence of VAE allows generation models to avoid working directly on pixels, greatly reducing computation, but it also introduces additional components and inconsistency from two-stage training. CoRe explicitly excludes VAE, meaning that its image representations must themselves possess both "generatable" and "decodable" properties—this is the most stringent of its design constraints.

Core Design: One Representation, Three Roles

CoRe learns a contextual representation for each of images and texts, with each representation serving a triple role:

  • Read for understanding: The representation directly serves as input features for understanding tasks, avoiding additional adaptation layers.
  • As conditioning for the other modality: The representation of one modality is used to condition the generation process of the other modality.
  • As the space for generation: The generation of that modality itself is accomplished in its representation space through a continuous flow starting from Gaussian noise.

This means that the same representation is both a discriminative feature and a generative target space, and understanding and generation jointly shape the representation during training rather than operating independently.

Continuous flow refers to generation modeling methods based on ordinary differential equations, with representative work being Flow Matching and Rectified Flow. The idea is to learn a velocity field that deterministically transports a simple distribution (such as standard Gaussian noise) along a continuous-time trajectory to the data distribution, with the training objective being regression of the conditional velocity field, which is more direct than the noise prediction objective of diffusion models and produces smoother sampling trajectories. The original text emphasizes "continuous flow starting from Gaussian noise" to indicate that CoRe's generation is not diffusion in pixel space, but flow-based transport in the learned representation space—this requires the representation space itself to have good geometric structure, otherwise the velocity field would be difficult to fit. This also explains why joint training of understanding and generation is necessary: the understanding objective helps the representation space form a semantically ordered structure, while the generation objective ensures that this structure is invertible and samplable.

Lightweight Architecture and Training Configuration

CoRe has a total parameter count of 383M and is trained from scratch on the CC12M dataset. The key constraint is that the inference stage does not depend on pretrained language models, text encoders, or VAEs—these three are precisely the standard configuration of current mainstream generation models. After removing these external components, the model can still perform understanding and generation, demonstrating that the jointly learned representations themselves carry sufficient information.

Performance: Small Scale Competing with Large Models

On global understanding tasks, CoRe is on par with purely contrastive learning baselines trained on the same data; on COCO-30K, it achieves an FID of 10.10, comparable to large generators that depend on pretrained components. The significance of this result lies not in刷新ing metrics, but in proving that without pretrained language models and VAEs, relying solely on jointly learned contextual representations, comparable levels can be achieved on both understanding and generation ends, providing an alternative path for unified multimodal architectures.

FID (Fréchet Inception Distance) is a commonly used metric for evaluating generated image quality: features are extracted from real and generated images using a pretrained Inception network, assuming both follow multivariate Gaussian distributions, and the Fréchet distance between the two distributions is calculated—lower values indicate that the generated distribution is closer to the real distribution. COCO-30K refers to evaluation on 30K images from the COCO dataset, a common benchmark for text-to-image generation. Note that FID mainly measures overall distribution similarity and is not sensitive to detail plausibility, text rendering, diversity, and semantic alignment (as measured by CLIP Score), so the original text's statement "comparable to large generators that depend on pretrained components" should be understood as comparable at the distribution level, not comprehensively on par. This is also why the original text's implications section suggests further observation of details and diversity.

Implications for Unified Multimodal Models

Current unified models mostly adopt a "encoder + pretrained backbone + decoding head" assembly approach, while CoRe makes the representation itself the hub. If this design can be validated at larger scales, it may reduce dependence on pretrained components and simplify inference pipelines. However, the abstract does not disclose generation quality in terms of details and diversity, and the training stability of continuous flow generation in representation space also requires further observation.

Frequently Asked Questions

Does CoRe require a pretrained text encoder? No, the inference stage does not use pretrained language models, text encoders, or VAEs.

What is CoRe's parameter count? 383M, trained from scratch on CC12M.

How is CoRe's generation quality? FID is 10.10 on COCO-30K, comparable to large generators that depend on pretrained components.

One-line Summary

CoRe uses a single set of contextual representations trained from scratch to support both multimodal understanding and generation.

Paragraph Summary

CoRe addresses the long-standing problem in vision-language models where understanding and generation rely on two separate representation systems, proposing to use a single set of contextual representations trained from scratch to serve both types of tasks. Each image and text representation serves a triple role: directly as input features for understanding tasks, conditioning generation of the other modality, and as the space for generation of that modality itself, with generation accomplished through continuous flow starting from Gaussian noise. The model has 383M total parameters, is trained from scratch on CC12M, and does not depend on pretrained language models, text encoders, or VAEs during inference. Experimentally, global understanding is on par with contrastive learning baselines on the same data, and FID is 10.10 on COCO-30K, comparable to large generators that depend on pretrained components. Its significance lies in providing an alternative path for unified multimodal architectures that does not depend on external pretrained components.

#CoRe#vision-language models#unified multimodal architecture#contrastive learning#continuous flow#FID#text-to-image generation
Share:

Related articles