4 ms·
I bet they use CLIP to caption the image and feed the text of the caption into GPT, but that's just a guess.
by rcme 4y ago
I bet they use CLIP to caption the image and feed the text of the caption into GPT, but that's just a guess.
- tuvan 4y agoDid you check all of the samples provided? It can read an entire research paper and understand the figures just from the images of the papers pages. This seems to be a much deeper connection than extracting captions.
- ionwake 4y agoAre you sure? Sounds too epic
- wpnbos 4y agoIt's SOTA on DocVQA[1] so yeah it is able to read text/graphs/tables from images [1] https://www.docvqa.org/ https://www.docvqa.org/
- EMM_386 4y agoSee the real examples for yourself, starting on page 34 ... mind-blowing. https://cdn.openai.com/papers/gpt-4.pdf https://cdn.openai.com/papers/gpt-4.pdf
- robocat 4y agoThe extreme ironing image example has a bullshit explanation in the paper. The extreme ironing on back of taxi is a popular photo with lots of text associated with that picture: https://google.com/search?q=extreme+ironing+taxi&tbm=isch https://google.com/search?q=extreme+ironing+taxi&tbm=isch Give the model new images that are not in the training set (e.g. photos not on internet, or photos taken after model trained) and ask the same question and see how well it does! The paper says: “Table 16. [snip] The prompt requires image understanding.” I think the explanations (in the paper by OpenAI for the images) are probably misinformation or misdirection. I would guess it is recognising the images from it’s training and associating them with nearby text.
- robocat 4y agoIt seems like they used some unknown images in the livestream, see replies to: https://news.ycombinator.com/item?id=35157940 https://news.ycombinator.com/item?id=35157940 However, I still think they should not have used images from the internet/training set in their paper. And to be safe, neither should they use “generated” images. I am looking forward to taking photos of some paintings by friends and seeing if ChatGPT can describe them!
- _hl_ 4y agoThere's no need to round-trip through text, you "just" need to train an embedding space that captures both domains.
- sebzim4500 4y agoThey almost certainly generate tokens directly from the image. It would be extremely hard to generate short english descriptions which sufficiently describe the images to pass some of those benchmarks.
- gwern 4y agoCLIP doesn't do captioning, it just generates embeddings. And it's contrastive, so it would work poorly for this kind of task: anything 'relational' falls apart immediately. (See for example the DALL-E 2 results for these kinds of captions/tasks.) It's almost certainly a VQ-VAE-style encoding of the image itself into a sequence of tokens, as was done by DALL-E 1, CM3, Gato and a whole bunch of more recent models. It's the very obvious thing to do, and their context window is more than large enough now.
- GaggiX 4y agoThis way the model would also be able to generate images, I would also be curious how they handle images with different aspect ratios (and maybe resolution so it can read well on papers).
- joshvm 4y agoYou can look at Google's recent PaLM-E model for a possible approach. They use a vision transformer to tokenise the image (or to generate embeddings and then tokenise those?) and they also tokenise detected objects so the model can reason at a semantic level. Either way, it's been shown that these massive LLMs can handle images in tokenised form if you pretend it's text. In Google's case, the model is trained to look for sentinel values in the prompt (i.e. <img>) that denote images/objects are being sent.