Latest
Apple researchers unveil CoRe, one model for understanding and generating images and text
Image: Apple

Apple researchers unveil CoRe, one model for understanding and generating images and text

Chat about this article with your favourite AI tool

Apple researchers have introduced CoRe, a model that learns a single shared representation for images and another for text, and uses each both to understand content and to generate it. The team says the 383-million-parameter model, trained from scratch, reaches a COCO-30K FID of 10.10, a result it describes as comparable to much larger generators built on pretrained components.

The work comes from Hangke Sui, Chang Li, Yuyan Li, Mohammad Haris Baig and Daniel Ulbricht. Sui, who is affiliated with the University of Illinois Urbana-Champaign, did the work while at Apple.

Apple logo on a building, illustrating Apple's machine learning research on the CoRe model
Image: Apple

One representation, two jobs

In CoRe, understanding and generation jointly shape the same contextual representation for each modality. That representation is read for understanding tasks and conditions the other modality. It is also the space in which the modality is generated, through a continuous flow that starts from Gaussian noise.

The researchers trained the model on CC12M. At inference it uses no pretrained language model, text encoder or VAE, components that many generative systems depend on.

What the results show

According to the researchers, CoRe matches a contrastive-only baseline trained on the same data for global understanding. In controlled comparisons using equal data and architecture, it generated better in both directions, from text to image and from image to text, than a representation shaped by understanding alone and then frozen. It also followed prompts better than generation in a space that understanding does not shape.

Generation also appeared to help understanding. The team reported that CoRe surpassed the contrastive-only baseline when assessed with an attentive segmentation probe, on monocular depth, and when read by a frozen language model. In the researchers’ words, generation adds information that stronger readouts can reach.

Practical side effects

Because generation happens inside the understanding representation, several extras follow, according to the paper:

  • Frozen real-image probes can read and steer intermediate states during generation.
  • The model can rank its own samples without additional training.
  • Since both modalities use continuous flows, both can be distilled down to a few steps.

Why one representation is enough

The authors’ control experiments suggest an explanation. Understanding organizes the representation semantically, while generation pushes it to retain more information. Together, they say, a single representation can serve both purposes.

The paper sits alongside other recent Apple work on unified multimodal models, including STARFlow2, published in August, which targets models that understand, reason over and generate interleaved text and image sequences. CoRe is a research paper, and Apple has not announced any product use for it.

Source: Apple Machine Learning Research