I would like to understand the internals of Meta's new multimodal Vision-Text 3.2 models. Not much I could find in online sources or blogs. The code is available and I'm trying to read it, but my understanding is still limited.
It seems to me that the main ingredient is that we have an image and a text
- the image is encoded using a pretrained image encoder first, but I'm not sure if it was trained separately or as part of the overall Llama3.2 training
- Both "image sequence" and "text sequence" interact in some cross-attention layers, during the image forward pass
I'm not sure how they handle multiple images interleaved with texts, however.
Are there any helpful online sources with details, or would someone educated ellaborate on the details of the architecture and training here?
I would also like to understand what is the advantage of this cross-attention compared to Llava which only uses a projection of the encoded image sequence to the Llama's input embedding space and seems to be conceptually simpler.
I will also appreciate partial answers or relevant remarks.