Live data from Hacker News

First Impressions with GPT-4V(ision)

blog.roboflow.com

151–160 of 345 posts

Re: First Impressions with GPT-4V(ision)

#151
This actually doesn't seem like it's a giant lift using modern image classifiers.

The basic idea is to use diffusion classifiers to caption the image to generate descriptive text and append the prompt.

The work part is getting the ensemble right since you'll need to use a general classifier, like BLIP, to identify say a bunch of text from a plant and then, in this example, use structured OCR and pl@ntnet to get more specific.

But it's not that hard - maybe a dozen models. The prompt context can help as well. Then you combine the output with qualifiers in a hierarchy with respect to the model pipeline and swap the text into the prompt

Using examples from the article, here's a PoC framework to prove it works

"[I have] (photo description) (prompt)"

---

Working Examples

---

- Plant:

Here's the flower photo from TFA: https://9ol.es/tmp/lily.jpg

Go to https://identify.plantnet.org/ and upload it. It hits "Spathiphyllum wallisii Regel/Peace lily" with extremely high confidence.

We got a match cropping a screenshot of a thumbnail!

Let's say you didn't have the word "plant" in the prompt. You can fall back on a universal image classifier, such as the diffusor based BLIP here: https://huggingface.co/Salesforce/blip-image-captioning-base (uploader is on the right)

Upload the same image. You'll get "a plant in a white pot" which then, because we use feed-forward networks these days, will lead you to pl@ntnet and you'll get the peace lily again.

Using our framework, ask GPT 3.5 " I have a Spathiphyllum wallisii Regel/Peace lily. What is that plant and how should I care for it?"

And you get a nearly identical reply to the one in the article.

- Penny:

Upload the penny image (from https://en.wikipedia.org/wiki/Penny_(United_States_coin)) to the BLIP classifier and you get "a penny coin with the face of abraham"

Let's go back to GPT 3.5 and use our format from above,

"I have a penny coin with the face of abraham. What coin is that?"

And of course you get: "A penny coin with the face of Abraham Lincoln is most likely a United States one-cent coin, commonly known as a "Lincoln penny"..."

And there we go. For a full FLOSS stack, you can ask llama2 70b https://stablediffusion.fr/llama2 and get "The face of Abraham Lincoln is featured on the United States one-cent coin, commonly known as the penny."

more complex photos:

You can use Facebooks SAM (segment anything) https://segment-anything.com/ to break up the image, BLIP caption the segments, then forward off to the specialized classifiers.

It's a fairly intensive pipeline that requires lots of modern hardware and requires you to have familiarity with a wide variety of models, then tweak them, test it, have some GANs maybe set up for refinement ... but this is well within reach of non-geniuses. I'm merely average on a good day and even I can see how to set this up.

They might be using a different approach but using SAM, BLIP and a few specialized classifiers covers all the examples in the articles without using any human discretion. For instance, the city one is way more powerful if they're using something like this: https://static.googleusercontent.com/media/research.google.c...

I'm trying to justify why bother cloning it. Maybe to have a free alternative? It's a bit of work but it's not new magic.

Re: First Impressions with GPT-4V(ision)

#152

Earlier quoted context omitted.

It depends. Did you ever work in Development Support? Understanding requests or bug reports from customers is quite challenging, for trained and experienced developers. In my eyes that would require AGI, which we do not know of, if that can be achieved with the current approach.

I actually did , and yes it's extremely challenging and can be rather rage inducing; "it doesn't work" --> what doesn't work --> "the thing" --> what thing --> ∞ ... But the thing is conversations like the above ie. both external support and internal feature requests could theoretically be handled by a GPT-like system also ending up in a ai created custom specification that could both be implemented and documented by…

If just being persistent and willing to iterate solves the issue, then yes, GPT-like systems could do that. If you have to employ creative thinking to even find out what the customer wants, then check it in the system, debug some processes and derive the desired feature or correction, then we are very far from having such a tool, IMHO.

Re: First Impressions with GPT-4V(ision)

#153
post #10

Sure, there are a few edge-case failures and mistakes here and there, but I can't help but be in awe . AWE. Let me state the obvious, in case anyone here isn't clear about the implications: If the rate of improvement of these AI models continues at the current pace, they will become a superior user interface to almost every thing you want to do on your mobile phone, your tablet, your desktop computer, your car, your…

> they will become a superior user interface to almost every thing you want to do No they won't. They're actually a pretty terrible user interface from a design perspective. Primarily because they provide zero affordances, but also because of speed. UX is about providing an intuitive understanding of available capabilities at a glance, and allowing you to do things with a single tap that then reflect the new state ba…

Not… “write my works cited page… use hanging indents”?

Re: First Impressions with GPT-4V(ision)

#154
post #28
post #10

Sure, there are a few edge-case failures and mistakes here and there, but I can't help but be in awe . AWE. Let me state the obvious, in case anyone here isn't clear about the implications: If the rate of improvement of these AI models continues at the current pace, they will become a superior user interface to almost every thing you want to do on your mobile phone, your tablet, your desktop computer, your car, your…

I don’t know, I hate the idea of having to hold a natural-language conversation with a computer in order to make use of its functionality. It feels like being one of those Futurama heads in a jar that can’t do anything by themselves.

Come on, you don't want an anxious, golden robot that mostly just causes drama but also happens to be fluent in over 6 million forms of communication so it can translate for you whenever you go on holiday?

Re: First Impressions with GPT-4V(ision)

#155
post #6

Earlier quoted context omitted.

Yep, some CS/AI grads from Stanford trained an AI on loads of Street View images and built a bot that is able to beat some of the best Geoguessr players: https://www.youtube.com/watch?v=ts5lPDV--cU

IIRC it wasn't that impressive in the end as instead of recognizing the places the AI apparently learnt to recognize subtle differences in street view cameras used in different locations? I might be wrong / thinking of the wrong model l and I'm on mobile without my browsing history so hard to check, but I think it was putting a lot of weight on some pixels that are noisy

From my understanding many of the best players immediately look down to tell what "generation streetview car" they're using, and seem to know what continents/times they're from.

Re: First Impressions with GPT-4V(ision)

#156
It didn't successfully explain the NVIDIA burger joke though? The image is making fun of how nvidia has implemetned price discrimination by releasing consumer gpu's that don't have as much vram as they should so that they can sell the fully loaded datacenter gpu's at insane markup without pissing off gamers. The explanation didn't even come close to getting that.

Re: First Impressions with GPT-4V(ision)

#157

Earlier quoted context omitted.

There's enough vision-impaired people in the world to equal the population of Japan, Korea, and Vietnam combined. And beyond those people who would get obvious utility, this is essentially Google Lens on steroids—I simply can't figure how you could call this "niche". Maybe you won't use it multiple times per day, but plenty of people will. Hell, just now I was wondering why the leaves on one of my plants are starting…

Many of those people would be adequately served with a pair of glasses. This , wouldn't help them, even if they had both a device capable of using it and the means to pay for it. Even if it could help people, it's an open question if it would be safe, to, for example, use this to scan medication when it is only a probabilistic model that may hallucinate something that isn't actually there. What you're talking about i…

> Many of those people would be adequately served with a pair of glasses.

These people are being served by a preview of the service _right now_.

> Even if it could help people, it's an open question if it would be safe, to, for example, use this to scan medication when it is only a probabilistic model that may hallucinate something that isn't actually there.

Any OCR solution could also make a mistake, like misrecognizing a dosage on a prescription label.

> What you're talking about is a speculative use of a service that might one day exist based on this technology.

> What I am talking about is this actual service.

GPT-4 is six months old. ChatGPT is less than a year old. Why would you benchmark a service by the initial public preview? Of course it's _speculative use_, the damn thing has had its tires kicked for like a day.

Re: First Impressions with GPT-4V(ision)

#158
post #28
post #10

Sure, there are a few edge-case failures and mistakes here and there, but I can't help but be in awe . AWE. Let me state the obvious, in case anyone here isn't clear about the implications: If the rate of improvement of these AI models continues at the current pace, they will become a superior user interface to almost every thing you want to do on your mobile phone, your tablet, your desktop computer, your car, your…

I don’t know, I hate the idea of having to hold a natural-language conversation with a computer in order to make use of its functionality. It feels like being one of those Futurama heads in a jar that can’t do anything by themselves.

I wouldn't mind an UI fully configurable by AI to fit me exactly. Without having to learn obscure settings, some obscure declarative language or how the UI is implemented.

Re: First Impressions with GPT-4V(ision)

#159

Earlier quoted context omitted.

"AI" will create a new business model for sure: "Talk to a real person", "100% human made", etc. This would be the new counter-culture.

That's a new flavor of customer service jobs which will still suck and be paid terribly

At least you'll be able to complain to someone, hehe.

Re: First Impressions with GPT-4V(ision)

#160

Earlier quoted context omitted.

UIs being dumbed down for average users was already annoying. Apparently the process won't stop until the illiterate are included too.

But what is bad about that? Why shouldn't they be included?

It's a race to the bottom. You build an idiot-proof UI, Mother Nature builds a better idiot.
Post reply on HN