News for hackers. Stuff that matters.
Re:GPT-4 by rcme on Tuesday March 14, 2023 @01:54PM (#35155566)
I bet they use CLIP to caption the image and feed the text of the caption into GPT, but that's just a guess.
Re:GPT-4 by tuvan on Tuesday March 14, 2023 @02:04PM (#35155762)
Did 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.
Re:GPT-4 by ionwake on Tuesday March 14, 2023 @02:15PM (#35156008)
Are you sure? Sounds too epic
Re:GPT-4 by wpnbos on Tuesday March 14, 2023 @02:27PM (#35156246)
It's SOTA on DocVQA[1] so yeah it is able to read text/graphs/tables from images

[1] https://www.docvqa.org/

Re:GPT-4 by EMM_386 on Tuesday March 14, 2023 @03:14PM (#35156933)
See the real examples for yourself, starting on page 34 ... mind-blowing.

https://cdn.openai.com/papers/gpt-4.pdf

Re:GPT-4 by robocat on Tuesday March 14, 2023 @03:54PM (#35157402)
The 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

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.

Re:GPT-4 by robocat on Tuesday March 14, 2023 @05:58PM (#35159522)
It seems like they used some unknown images in the livestream, see replies to: 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!

Re:GPT-4 by _hl_ on Tuesday March 14, 2023 @02:09PM (#35155885)
There's no need to round-trip through text, you "just" need to train an embedding space that captures both domains.
Re:GPT-4 by sebzim4500 on Tuesday March 14, 2023 @02:44PM (#35156517)
They 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.
Re:GPT-4 by gwern on Tuesday March 14, 2023 @05:59PM (#35159544)
CLIP 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.

Re:GPT-4 by GaggiX on Tuesday March 14, 2023 @06:26PM (#35159967)
This 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).
Re:GPT-4 by joshvm on Tuesday March 14, 2023 @10:23PM (#35162923)
You 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.