79

I hear people saying things like "chatgpt is basically just a fancy predictive text". I'm certainly not in the "it's sentient!" camp, but it seems pretty obvious that a lot more is going on than just predicting the most likely next word.

Even if it's predicting word by word within a bunch of constraints & structures inferred from the question / prompt, then that's pretty interesting. Tbh, I'm more impressed by chatgpt's ability to appearing to "understand" my prompts than I am by the quality of the output. Even though it's writing is generally a mix of bland, obvious and inaccurate, it mostly does provide a plausible response to whatever I've asked / said.

Anyone feel like providing an ELI5 explanation of how it works? Or any good links to articles / videos?

you are viewing a single comment's thread
view the rest of the comments
[-] bionicjoey@lemmy.ca 72 points 10 months ago* (last edited 10 months ago)

It is literally the same exact kind of algorithm that predicts the next word you will type on your phone based on what's already been typed. The differences are that it has a much larger training dataset, which means more accurate predictions, it processes based on the entire body of text that has already been given (including the hidden prompt and previous messages), and that it doesn't always predict whole words, but instead clusters of characters.

If you want a more general overview of how machine learning works in general, this is a good video series to watch: https://www.youtube.com/watch?v=aircAruvnKk

If you want to see some evidence that it doesn't truly understand what it says, try having it generate and explain some jokes or riddles that rely on wordplay. It will completely shatter the illusion.

[-] QuaternionsRock@lemmy.world 10 points 10 months ago* (last edited 10 months ago)

Me:

You are a talented comedian. Generate some jokes or riddles that rely on wordplay.

ChatGPT 4:

Sure, here are a few wordplay-based jokes and riddles:

Why don’t scientists trust atoms? Because they make up everything!

I told my wife she should embrace her mistakes. She gave me a hug.

What do you call fake spaghetti? An “impasta.”

I’m reading a book on anti-gravity. It’s impossible to put down!

Why was the math book sad? Because it had too many problems.

Enjoy these light-hearted plays on words!

Edit: I prodded it a little, and I actually quite like the fourth one below.

Me:

These aren’t very clever. Can you generate some that a more mature audience would appreciate?

ChatGPT:

Of course, here are some more sophisticated wordplay-based jokes suitable for a mature audience:

Parallel lines have so much in common. It’s a shame they’ll never meet.

A Freudian slip is when you say one thing but mean your mother. I mean another.

I'm reading a book on the history of glue. Can't put it down, but I'm sticking to it.

Time flies like an arrow; fruit flies like a banana. A classic example of linguistic ambiguity.

The rotation of Earth really makes my day. Quite literally.

These jokes involve a bit more linguistic and conceptual play, appealing to an audience that enjoys a deeper level of wordplay.

[-] bionicjoey@lemmy.ca 18 points 10 months ago

All of those jokes are plagiarized. It doesn't actually understand the jokes, it's just repeating ones that it's seen before. Ask it to explain why some of these are funny.

[-] shasta@lemm.ee 7 points 10 months ago

Seriously. I've literally heard all of those jokes before. It may have even stolen them all from a single website.

[-] MeatsOfRage@lemmy.world 3 points 10 months ago

Great video! Thanks for posting that

[-] guyrocket@kbin.social 5 points 10 months ago

I agree, that was good.

My major takeaway is that neutral networks, and AI in general, are mostly pattern recognition with a little bias and weighting thrown in to improve accuracy.

And that is why I question all the supposedly amazing things people seem to think it will do and many of the applications of AI.

[-] Acamon@lemmy.world 2 points 10 months ago

That's my take as well, I would just like to know more about the weighting/bias.

[-] bionicjoey@lemmy.ca 6 points 10 months ago

Weighting and bias are based on the training dataset. And the training dataset of ChatGPT is mostly internet content, literature, social media discussions, articles, etc.

So the inherent biases are going to be limited in the same way. For example, ChatGPT is not good at generating or interpreting code written in Malbolge, despite the fact that this language is meant to be relatively easy to understand for a machine yet difficult for a human to understand. Because it isn't processing like a machine, it is processing text like a person.

It also is bad at understanding wordplay like puns since wordplay requires a simultaneous understanding of the meaning of a word as well as the linguistics that underly that word. It is decent at generating puns which already exist and are out in the world, but it can't creatively generate new ones or interpret novel puns or other wordplay, since that would require a deeper understanding of the language.

Looking at the things it is bad at can give a great insight into its limitations, and in turn into how it works.

[-] bionicjoey@lemmy.ca 2 points 10 months ago

That's exactly right. It is a statistical model that is based on some training dataset. The quality of the predictions is only as good as the completeness and bias of the training set.

[-] dustyData@lemmy.world 5 points 10 months ago

And it is one of the major issues with giving AI and the corporations who make them free reign to "think" and inform decision making. Feed it a racist dataset, and the AI will be racist. Feed it misinformation, and the AI will only reproduce misinformation.

[-] snooggums@kbin.social 1 points 10 months ago

The proof that AI is just garbage in and garbage out is that AI always does this while some people are able to be anti-racist and anti-misinformation as a response even if most people fall for it.

Feed it a racist dataset, and the AI will be racist. Feed it misinformation, and the AI will only reproduce misinformation.

this post was submitted on 20 Jan 2024
79 points (92.5% liked)

No Stupid Questions

35868 readers
413 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 1 year ago
MODERATORS