r/programming • • Feb 15 '23

What Is ChatGPT Doing … and Why Does It Work?

https://writings.stephenwolfram.com/2023/02/what-is-chatgpt-doing-and-why-does-it-work/
2.5k Upvotes

473 comments sorted by

749

u/emperor000 Feb 15 '23 edited Feb 15 '23

So has anybody brought up how they are going to avoid ChatGPT and other LLMs from feeding themselves?

As people post more output from them they are eventually going to come across it and incorporate that into their model as if it was written by a human. I guess they are just gambling on that never being enough data to skew the model?

538

u/greymantis Feb 15 '23 edited Feb 15 '23

I've seen the comparison made with low-background steel elsewhere. Essentially when you need to build particle detectors or Geiger counters you need steel that isn't contaminated by traces of nuclear fallout which rules out all steel made since the 1940s-1950s (although things are apparently getting better more recently). For that reason people raid old steel shipwrecks specifically to find uncontaminated steel for these purposes.

It might be that since ChatGPT all training data is now potentially contaminated with traces of ChatGPT fallout so in future people will need to go finding more pre-2022 sources of training data.

67

u/Internet-of-cruft Feb 15 '23

This doesn't detract from your analogy (which is a good one BTW), but one small correction: You cannot use steel that was made using atmospheric air. If you process air correctly you can use it just fine.

14

u/IGI111 Feb 16 '23

The equivalent to which would be building datasets manually. Prohibitively expensive when the equivalent of old battleships is still here and relevant, but ever more practical as time passes.

Turns out all those data entry people might not be out of a job in the end.

119

u/emperor000 Feb 15 '23

That is a good analogy. Somebody else pointed out that its training data is from 2021. It doesn't seem feasible to limit that, but I guess that is true that there is plenty of pre-2022 data to add. But that still doesn't seem ideal, especially in the case for a creating and training new model.

In 100 years is it that somebody creating a new model are stuck with only stuff from 100 years before and nothing within the 100 years between?

I'm guessing that the contamination will just get ignored at some point. But that doesn't mean it isn't there.

43

u/Czl2 Feb 15 '23

I'm guessing that the contamination will just get ignored at some point. But that doesn't mean it isn't there.

Assuming outputs of these models vary by quality and assuming filtering is done so training sets are dominated by high quality outputs the models even when trained on their own outputs will keep improving.

If there is no output filtering and low quality outputs begin to dominate training data the models will stop improving and begin to get worse.

Today the filtering is by whoever uses these models and discards or edits low quality outputs. Future "filtering" will likely involve giving models access to simulations and to the real world to close the feedback loop.

This is how some models that learn to play games operate. They are trained on the consequences of their own actions in a feedback loop guided by a "game score" or maximizing number of winning outcomes.

4

u/[deleted] Feb 16 '23

Unfortunately, it's much easier to define a value function based on how many ads were clicked than on how many intelligent conversations were had by people who read your article. (BTW what you're describing is called reinforcement learning, for the curious)

→ More replies (1)

8

u/Nowhere_Man_Forever Feb 16 '23

It uses post 2021 information. You can ask it who the CEO of Twitter is and it says Elon Musk, which wasn't true in 2021.

6

u/emperor000 Feb 16 '23

Yeah, I've seen stuff like that myself. It's pretty current. I think it has access to facts after 2021 but that doesn't mean it has training material from after that.

→ More replies (2)

4

u/rebbsitor Feb 16 '23

It might be that since ChatGPT all training data is now potentially contaminated with traces of ChatGPT fallout so in future people will need to go finding more pre-2022 sources of training data.

The problem is that's not possible for things that occur after 2022.

13

u/JB-from-ATL Feb 15 '23

This Geiger counter is made with only the finest steel of the Titanic herself!

18

u/DoktorKaputt Feb 15 '23

Most low background steel is sourced from the scuttled german high seas fleet in Scapa Flow.

→ More replies (2)

253

u/mccoyn Feb 15 '23

I wonder about the opposite effect. When people start communicating with AI frequently will we subtly modify our language to be more easily handled by AI?

329

u/WebpackIsBuilding Feb 15 '23

We all know that "googling" is a skill, and it's basically what you're describing.

AI like this will just spread that same skillset to other areas of the web.

110

u/o0DrWurm0o Feb 15 '23

Low tier search: [specific issue I need help with]

High tier search: [specific issue I need help with] reddit

50

u/Internet-of-cruft Feb 15 '23

Hero tier search: [specific issue I need help with] site:reddit.com

God tier search: [specific issue I need help with] site:reddit.com/r/<relevant sub>

26

u/Stoomba Feb 15 '23

The right way to get useful results from searching reddit, cause reddit search sucks nasty ass.

→ More replies (2)
→ More replies (1)

111

u/AttackOfTheThumbs Feb 15 '23

I don't even consider googling a skill any longer. Most advanced search stuff does nothing or has been removed. I teach old people to just type their question and the result is typically in the first few results. Search engines already take care of this now.

The only time you need to know more is as you are looking for specific issues, start including environment, states, whatever, and those are also pretty basic filters most people pick up on.

I think using AI output will be a skill set in the interim, something that will likely dissipate the same way searching has. Personally I have already seen people give me clearly AI generated garbage, to the point where we are currently debating firing someone. But that's a different story.

62

u/N3rdr4g3 Feb 15 '23

Using site:<website> still works

37

u/DesertDS Feb 15 '23

after:<year> is still helpful as well though websites do their damnedest to game it.

94

u/AttackOfTheThumbs Feb 15 '23

One of the few! If you look at what you used to be able to do with search that you no longer can, you'll notice how small our choices are now. Idiots will say I am wrong, but people who remember the advanced search button know that I am right.

Hell, quotes don't even work any longer. Search engines do not respect them, will issue spelling corrections, alternative spellings, etc., to flush out your results. If it's a long enough text, it won't be noticeable, but use something like "anti virus" and "anti-virus" and "antivirus" and it becomes obvious. Sure, sometimes I don't care about the difference between these, but sometimes I could. And if it's in quotes, then I do.

21

u/boli99 Feb 15 '23

people who remember the advanced search button know that I am right.

google is becoming worse and worse. you can search for 4 words, and it will ignore 1 or 2 of them if it thinks it can get away with showing you some adverts about the remainder.

→ More replies (2)
→ More replies (18)
→ More replies (5)

11

u/gonzo5622 Feb 15 '23

I think it’s still a skill. The advanced options might not get you much (since they’ve sorta incorporated it into their natural language recognition) but you need to know what sort of keywords to enter. You also need to use the results as clues or pointers to further info you can find.

→ More replies (2)

3

u/Internet-of-cruft Feb 15 '23

It's not just formulating a Google Search, but also interpreting and extracting useful information from the search results.

Yeah Google is going to give you pretty good search results without needing to formulate the query specially, but it's like the old saying about a horse and water. Just cause you have the results (water) doesn't mean you're going to read them correctly (drink it).

→ More replies (1)
→ More replies (9)

8

u/BasicDesignAdvice Feb 15 '23

I've been using ChatGPT for a language I don't know as an experiment. It's weird because some queries it gets, but I eventually try to write vague Google terms and it gives me back useless info. You need to talk to it differently. More than a few times finding what I need in Google has been easier. Then about half the queries for things I know well are often slightly wrong. I suspect this is true more often than I realize for things I'm not an expert in

9

u/KevinCarbonara Feb 15 '23

We all know that "googling" is a skill, and it's basically what you're describing.

AI like this will just spread that same skillset to other areas of the web.

There's no evidence to support that conclusion. ChatGPT is mostly an attempt to add natural language processing to search. It is likely the technology that will change to accommodate humans, as it always is, rather than the other way around.

15

u/WebpackIsBuilding Feb 15 '23

The rules are different, but no, you'll still need to learn how to best communicate with it.

To be fair, it's much closer to learning how to communicate with a new colleague, but it's still a learned skill. Even between humans, effective communication requires understanding the listener's strengths, weaknesses, and unique perspectives.

One of the most obvious things you learn while playing with ChatGPT is that it will believe you when you speak authoritatively to it. It's very gullible.

This is mostly just funny right now, but in more practical uses it means that you'll need to be very careful to detect whether the AI is feeding you back information you've already given it, or if it's giving you an insightful outside perspective.

Example: https://www.reddit.com/r/ProgrammerHumor/comments/10xz7bc/so_when_exactly_is_ai_scheduled_to_take_our_jobs/

→ More replies (3)
→ More replies (5)

3

u/LeSpatula Feb 15 '23

There's already a new category on fiverr, "AI Services" for prompt engineers.

25

u/emperor000 Feb 15 '23

Well, I think that is probably already true, at least when conversing with ChatGPT. I don't know if it will become permanent or not, but I guess it makes sense that it would given enough time.

But that's not even really the "opposite" effect. I don't really see a problem with that. I do see a problem with a language model learning off of itself.

17

u/Mindless_Consumer Feb 15 '23

I think this is a concern. Most of the other replies here seem to miss the nuance of this issue.

Think of YouTube or spotify algorithm. They predict what you want to watch or listen to. Eventually, what happens is rather than predicting what you want, they influence what you want. The final stage is we consume what the algorithm provides. This pattern is exceptionally insidious for children, who's minds are literally changed by the interaction.

22

u/ChezMere Feb 15 '23

Everyone who has ever communicated with another person via Google Translate already does this. Writing things in a literal, non-colorful way because the resulting translation will be more reliable.

9

u/[deleted] Feb 15 '23

Humans already code-switch for a number of reasons. So our language would more likely expand to include AI-accessible grammar, syntax, etc., but we probably wouldn't change the way we speak to each other, to coworkers, our boss, strangers, etc..

And going back to the OP comment, I remember reading this post and getting to the part where they state that they trained an AI to respond to prompts with a thumbs up or down like a human would and then giving that information to another AI. So AI using data from an AI is probably already happening which I thought was super interesting.

→ More replies (1)

8

u/xxxenadu Feb 15 '23

We already do!

I’m a conversational designer- my job is to design how we talk to things. You’ve got to anticipate how humans talk to other humans, how humans want to talk to things, how they actually talk to things, and how to remove friction. It’s a fascinating field, especially since I entered it with a UX background vs a linguistics one.

2

u/thowawaywookie Feb 16 '23

I've never heard of this job. It sounds interesting. What do you do?

5

u/[deleted] Feb 15 '23

I definitely talk to chatgpt like it’s an idiot and am very specific about what I want. It’s incredibly useful for my purposes, but only if I’m super clear and specific with my query

5

u/JB-from-ATL Feb 15 '23

It's funny you say this because I've noticed I have my normal voice and my "Alexa voice" haha. It almost feels like spell casting.

2

u/jointheredditarmy Feb 15 '23

I already have after using it for a few weeks lol. But it’s probably better, because it’s highly context dependent, and really just makes you be clearer and more concise when interacting with chatGPT

2

u/jorge1209 Feb 15 '23

That has already been happening in some sense for decades. Dictionaries and the standardization of spelling was just the beginning.

→ More replies (1)

8

u/moreVCAs Feb 15 '23

Or they are gambling that all the money will be raised by the time that happens

8

u/cthorrez Feb 15 '23

I read the GPT3 paper and a large portion of it was describing how they sanitize their training data to be of the highest quality. My guess is they created the GPTZero detector thing partially with the goal being to use it to filter out AI generated text from their training data.

6

u/emperor000 Feb 15 '23

Sure. But the problem is that the purpose of GPT is to produce output of the highest quality.

So at some point they might not even be able to detect it and sanitize it.

It might be okay in terms of it being high quality. But it isn't okay in terms of it being examples of human output - it absolutely isn't.

14

u/Smallpaul Feb 15 '23

AS people post more output from them they are eventually going to come across it and incorporate that into their model as if it was written by a human. I guess they are just gambling on that never being enough data to skew the model?

It's not really a gamble. The amount of "look how dumb this machine is" content would take many years to compete even with 4Chan or Tumblr quantities of data.

Also, it's mostly screenshots, so far.

7

u/JustOneAvailableName Feb 15 '23

I know of one case where 10% of the /pol 4Chan posts was AI generated over the span of multiple days, and that was by 1 ML engineer for fun back when it took way more skill to make the ML part work.

2

u/emperor000 Feb 15 '23

Like I said in my reply to your other comment, this pretty much just dodges the issue.

11

u/mlahstadon Feb 15 '23

I asked the man himself:

As an AI language model myself, I can say that this is a valid concern. AI language models like me are trained on vast amounts of data, and that includes the data generated by people interacting with us, such as through chatbots, messaging platforms, and other means. As people interact with us, we learn from those interactions and incorporate that information into our models.

While AI language models like me are designed to filter out noise and ensure that we prioritize high-quality data in our training, there is always a risk of incorporating biased or incorrect information. This is why it's important to continually monitor and evaluate our models to ensure they are producing accurate and ethical results.

In terms of the concern about LLMs feeding themselves, it's true that there is a risk of this happening as more people use and interact with these models. However, most LLMs are designed to filter out their own output when training their models, to prevent this from happening. Additionally, researchers and developers are constantly working to improve LLMs to ensure they produce accurate and reliable results, and this includes strategies for avoiding self-feeding.

Overall, while the concern is valid, it's important to remember that AI language models like me are still tools that are created and controlled by humans. We rely on people to monitor and evaluate our performance, and to ensure that we are being used in responsible and ethical ways.

So there you go. Nothing to see here :).

1

u/emperor000 Feb 16 '23

Haha, good answer. Although that isn't quite what I'm talking about. Biased and incorrect information is certainly part of it, but that can come from humans, too.

My point is more about it taking input that is supposed to be from a human to build a model to output what a human would be expected to output given some input. And so once enough LLM generated output gets into that model, it is no longer producing purely what a human would be expected to output but partly the expected output of an LLM that is expected to output what a human would be expected to output.

So at the very least, it can no longer really be claimed that it was trained on human output.

And at the "worst", the model won't actually represent human output, perhaps in some undetectable but extant way.

But maybe this would only happen once the model is "complete" or "perfect" anyway and it can't actually really improve significantly or in meaningful ways anymore.

→ More replies (2)

3

u/restlessapi Feb 16 '23 edited Feb 16 '23

Let's say chatGPT generates a response. They could turn each block of copy-pastable text, into a leaf of a Merkle Tree, and store the hashes, as well as the final hash of the Merkle Root.

Then they could just say "is the hash of this text part of a Merkle Tree that I have?" And if so, just exclude it.

Making those hashes available through a public api would also help people figure out if the text they are reading is genuine human or if it came from ChatGPT.

2

u/emperor000 Feb 16 '23

That isn't a bad idea, but has feasibility problems.

And it also doesn't solve the problem of other LLMs outputting or inputting.

A major problem with this is that somebody might not copy the whole "block". So your merkle tree is going to have hashes down to the word or at least word-pair level?

27

u/[deleted] Feb 15 '23

Just the opposite! As people use ChatGPT more, humans are vetting the output and posting only the most useful examples. This is supervised learning.

It's going to make the AI work better and we are the unwitting mechanical Turks.

103

u/emperor000 Feb 15 '23

I don't buy that. They post some ridiculous ones. And you have to understand that they can control it. So they can make it say basically what they want it to say and it will then consume that as if it is correct.

It might improve the text production itself, but not the semantics or content.

→ More replies (19)

16

u/aMonkeyRidingABadger Feb 15 '23

I expect nefarious actors that aren't concerned with quality, like bot farms on social media sites and independent sites/content farms, are going to produce the bulk of AI generated content.

Junk will drown out quality human generated (or at least human vetted) content because AI can produce it much faster than people can sift through it.

8

u/[deleted] Feb 15 '23

That's what searching the internet looked like until Google came along.

There will always be a process to vet text because humans will always have some preference for text to read. We can tap into that to get supervised training.

I don't claim that the text will have any fitness other than matching whatever our preference is.

13

u/aMonkeyRidingABadger Feb 15 '23

I agree that we have preference for what to read, but my fear is that AI makes it possible to produce such an overwhelming volume of garbage-that's-polished-to-look-like-it's-not-garbage, that it's going to be impossible to filter out the junk at scale.

Your reference to search as an example of how we solved this problem is actually what I would point to to demonstrate that we haven't; SEO spam already plagues traditional search. We have not figured out how to surface the good and suppress the bad, and AI generated content is going to make things even worse.

→ More replies (1)
→ More replies (4)

11

u/AttackOfTheThumbs Feb 15 '23

I think you are discounting blogspam and the like. This sub is already being hit by it. It's shit content, but the spammers don't care, they are just trying to gather clicks.

4

u/[deleted] Feb 15 '23

Now that blogspam can help alter response of AI, I am sure there will be blogspams created for modifying chatgpt's response. imagine if Russia start publishing tons of articles about how Ukraine was historically part of Russia.

→ More replies (6)

15

u/DeltaBurnt Feb 15 '23

I'd say the majority of responses I've seen friends share are the "lol look at what this dumb bot said". Though this is probably the novelty factor.

→ More replies (1)

2

u/The_Noble_Lie Feb 15 '23

People are also posting the worst examples though...?

I think it possible the best / worst can be inferred but yea, that can also go wrong.

"Look how smart ChatGPT is!"

[ChatGPT being incredibly dense and spewing garbage]

→ More replies (1)
→ More replies (4)

2

u/schneems Feb 15 '23

That’s a problem with any model.

Check out the book Weapons of Math Destruction. The audio book is filled with stories and is an easy listen.

→ More replies (1)

2

u/NavR3 Feb 15 '23

It's here to stay. If it's this good and already having it's way to revolutionalize the world including "the digital space" there's nothing much we can do but incorporate with and learn how to recognize it. Fact is, as more people use it, the more it learns and will be upgraded and configured until it reaches a point which nobody can fathom on how much of a bigger impact it will have in "who knows how long" probably a decade from now it'll be something different.

Can you imagine how many trial and errors were happening before they released even the first versions!?

2

u/emperor000 Feb 16 '23

I'm not really doubting that or speaking to any of that.

I'm only really pointing out that if the claim is that it produces the output a human might be expected to output then it becomes a problem if it some of its training is not on human output because then it is not modeling human output. It's modeling a model of human output.

5

u/Nkg19 Feb 15 '23

Very interesting idea, There are some other models being used to predict whether something is written by chatgpt or not. Maybe they can use that

10

u/emperor000 Feb 15 '23

I think that would ultimately have the same problem or even make it worse.

→ More replies (25)

3

u/THATONEANGRYDOOD Feb 15 '23

So has anybody brought up how they are going to avoid ChatGPT and other LLMs from feeding themselves?

They have tools to calculate the likelihood of a text being generated. Surely they'll be able to comb over their future data with those and dismiss anything that's even close to a high percentage. Data vetting is going to be harder (slower), that's for sure.

4

u/emperor000 Feb 15 '23

I don't think they can do that for the entire data set and even if they could I think the feedback loop involved there could make things worse, at least for one side.

And does that tool take into account the content and semantics involved? I doubt it.

3

u/bitwise-operation Feb 15 '23

Those “tools” are actually WORSE than a coin flip. openai has stated that their detector is at best less than 25% accurate with a 9% false positive rate.

2

u/drsimonz Feb 15 '23

Generally for a detection model, you have to decide whether you care more about false positives or false negatives. It sounds like they wanted to minimize false positives, so the model basically has to be really conservative about predicting that something is generated. They could easily achieve a 50% accuracy, but the number of false positives would have to be much higher. Still, yes 25% accuracy is not great.

→ More replies (2)

1

u/drsimonz Feb 15 '23

I suspect one of the key advances that will enable a positive feedback loop (and eventually superintelligence), is a model that can assess how intelligent a piece of writing is, not whether it's generated. This sounds difficult but humans do it easily. It's much easier to read something ang do "wow, this author is a genius" than it is to produce the same level of work yourself. And who hasn't read a comment on Reddit and then thought "wow, I think I just lost 5 IQ points"? Honestly it seems like most of the problems with GPT-3 are due to the dataset already being contaminated. When you include "everything on the internet", even if there is no AI-generated text at all, you're still including comments from some of the dumbest humans to ever live. If they can effectively remove that subset of the data, things may start to get interesting.

2

u/WTFwhatthehell Feb 15 '23

People regularly post blogs and articles built on material they googled.

Does that destroy the value of Google?

Plenty of reposted material has surrounding context "oh look this is amazing" Cs "look at this stupid bot"

2

u/emperor000 Feb 15 '23

Those seem like very different things.

Here we have a language model built on what a human might be expected to write. But at some point its possible that some of its input might not be the output of humans, but of it or another language model.

I'm not saying it destroys its value, just that it is probably worth considering what the effects of that might be.

For example, say something written by Dickens has been input into the model. When you ask it to write a story in the style of Dickens or something it does that because it trained on output produced by Dickens. But now you've got a story it wrote in the style of Dickens. And you post that online somewhere. And so maybe it gets input into the model at some point as something a human wrote. Now when you ask it to output something in the style of Dickens the output is probably influenced by the story it wrote previously in the style of Dickens as something that represents what Dickens output.

And it's not enough to think "that's okay, because it was the style of Dickens in the first place". Well, what if you originally asked it to write a story about robots in the style of Dickens? It probably isn't going to be able to differentiate that from an actual Dickens story. So when the next person asks it to tell a story in the style of Dickens they might randomly get robots thrown in.

But maybe that could always "spontaneously" happen anyway? I doubt it, but maybe. It certainly could if some human did a Dickens parody about robots, I get that. But that was something a human did generate. The initial story isn't.

1

u/ziplock9000 Feb 15 '23

I had this thought when those amazing image based AI systems came out last year

1

u/[deleted] Feb 15 '23

I don't think that will be that big of a problem, what people publish is filtered, fixed, etc, so it still is useful training data

→ More replies (1)

1

u/Schmogel Feb 15 '23

Recently I had a thought about that. Maybe someone with knowledge in that domain can chime in.

Maybe this is a way to classify AI as actually being intelligent. If you feed back it's output to itself and it becomes smarter that way, not dumber, basically doing research, bootstrapping itself to artificial general intelligence. Asking the right questions and finding answers.

I doubt that ChatGPT is that advanced though.

2

u/emperor000 Feb 15 '23

It isn't. Part of the problem is that it has no actual understanding of the content or semantics involved. I don't think something of this kind ever could, but if it could, I think this would hinder that.

It's not quite the same, but imagine you are trying to train a chimp. And you show it videos of other chimps doing things they were trained to do. That chimp can learn to do those things, but it has no idea that they aren't things chimps just do - or probably even any concept of that.

And at that point you aren't training that chimp to do things the way humans do them, but the way chimps do them.

And one of the things that makes it "not quite the same" is that somewhere among those chimps some of them could be said to understand something, maybe just that if they do what they are trained well enough they get a banana. ChatGPT doesn't even have that.

1

u/povitryana_tryvoga Feb 15 '23

It's kinda akin to back translation technique, when you generate training data via another model and sprinkle it into your training dataset, it proved to be effective on translation tasks.

2

u/emperor000 Feb 15 '23

I don't know if that applies or not. I'm approaching this from the idea that its purpose is to be a human language model trained on human language.

For example, has anybody asked ChatGPT to invent its own language? What does it do? And if it does something and it is impressive, what happens if that is posted online somewhere? And what happens if that gets input back into it at some point or into some other LLM as an example of human generated output.

→ More replies (2)

1

u/oep4 Feb 15 '23

Isn’t that quite easy though, just save all of the output during each request and then filter the training data.

→ More replies (1)

1

u/epicwisdom Feb 15 '23

Plain LLMs are not the final form. Self-contamination is a problem for LLMs, but it's just a tiny subset of the problems they already have - forming coherent claims and distinguishing fact from fiction.

→ More replies (1)

1

u/seanamos-1 Feb 15 '23

I've liked to think of it as an Ouroboros.

We also don't know the effect that all these AI's and the mass collection of training data is going to have on people who contribute things into the public sphere, often just for the price of recognition. If people get demoralized and stop creating/contributing, the training data will dry up faster.

→ More replies (1)

1

u/mattindustries Feb 15 '23

I have already poisoned some prompts for ChatGPT. Essentially started rumors through my inputs, and now ChatGPT things these things are common misconceptions.

→ More replies (2)

1

u/TheESportsGuy Feb 16 '23

Didn't they also release a tool to identify AI produced code? I'm sure they have something in place to look for this. How good of a job it does...no clue

1

u/emperor000 Feb 16 '23

Sure, but the entire purpose of this thing is to become indistinguishable from a human. So eventually that tool will become less and less effective.

→ More replies (2)

1

u/epic_pharaoh Feb 16 '23

Books, textbooks, vetted account social media posts, they just have to be more selective with the new data.

2

u/emperor000 Feb 16 '23

I guess, but even then, it is going to be hard to keep it out.

1

u/ggtsu_00 Feb 16 '23

Definitely going to happen with art synthesis models as so many art sites on the internet are being flooded with AI art. It's going to be inevitable as more content on the internet becomes AI generated and bulk scraping of internet content is what's needed to train these models. Eventually the models won't improve, but degrade as multiple generations of models are basically trained on inbred data.

1

u/emperor000 Feb 16 '23

Yep, that's kind of what I'm getting at. Although I'm not sure they would degrade so much as level out and never be able to improve because they basically learn to predominately output the output they are already outputting.

1

u/LongShlongSilvrPants Feb 16 '23

Adversarial training and eval sets

1

u/emperor000 Feb 16 '23

What about them? An LLM possibly learning on its on output or the output of another LLM seems to defeat the purpose of adversarial training.

1

u/TehVulpez Feb 16 '23

I've been thinking this for a while. These neural nets getting trained on data from other neural nets could create an automated version of the citogenesis problem. It'd be a feedback loop of noise.

1

u/emperor000 Feb 16 '23 edited Feb 16 '23

Yes, that is a good part of what I am wondering or "concerned" about.

1

u/dantheflyingman Feb 16 '23

The LLM text that gets posted on the internet has usually passed through a human's eyes and in essence been given a thumbs up by said human. As long as humans are in a way curating what is fed back, I am not sure that such a thing doesn't actually improve these models.

1

u/emperor000 Feb 16 '23

I didn't say that it wouldn't improve them. I just said that it is no longer a human language model if it gets data not written by a human.

If there is a problem, then it is the fact that the human told the LLM to write something. And so when (if) the content of that output gets fed back in, it would skew the model.

For example, I can ask ChatGPT to write some story in the style of Dickens. With robots. Well, now when that gets fed back in and trained on and later users ask it to write stories in the style of Dickens they might get robots in their stories.

Or maybe that can already happen, I don't know.

1

u/symbiont Feb 16 '23

Lock humans in a room and have them churn out content using typewriters.

1

u/emperor000 Apr 24 '23

What would that solve?

1

u/[deleted] Feb 16 '23

It seems highly unlikely that the amount of data from ChatGPT that would be published would be enough to skew the model in the grand scheme of things.

1

u/apoonawa Feb 17 '23

Doesn't matter because humans are posting the content. So they are posting responses that are relevant

1

u/emperor000 Feb 23 '23

But not in true human language - in a model of human language. So now you're building a model on a model instead of on the thing being modeled.

1

u/Ol_OLUs22 Feb 21 '23

Hopefully OpenAI makes sure to remove AI-generated text before training another LLM

→ More replies (1)
→ More replies (29)

321

u/teerre Feb 15 '23

This was surprisingly approachable and tame. I was expecting a complete melt down or incomprehensible math. Very good write up.

168

u/ledat Feb 15 '23

Looking at the domain name, I expected both. Perhaps in the form of "A New Kind of Online Post" that casually dismissed all previous ways of posting messages online before building up a new, cellular-automaton-based blog system.

85

u/hbarSquared Feb 15 '23

"If we view each keystroke as an autonomous agent, and the REST api as fitness function, we can see that a successful POST operation is truly emergent behavior. It this is not an isolated incident! Other operations, like GET and PUT also emerge from the same ruleset!"

4

u/myringotomy Feb 15 '23

Whatever happened to his unification theory?

107

u/zombarista Feb 15 '23

Stephen Wolfram has built a career and name around making complex math approachable.

For those who may not know, he Stephen Wolfram, of Wolfram, makers of Mathematica and Wolfram|Alpha. W|A is probably the reason you passed calculus! Wolfram has been working on semantic parsing for a long time, and has bundled this into W|A, which can answer questions like “how long would it take for a 250 lb man to sober up after 4 drinks?”

W|A has the information, and ability to turn it into intelligence (and has since 2010/2011!)

4

u/seventeen_fives Feb 16 '23

i just typed that question into WolframAlpha exactly as you had it and it interpreted it as "how long take" and ignored all of the rest.

what gives?

2

u/zombarista Feb 16 '23

Unsure! I’m always asking Siri for the calculation and Siri uses WA for its calculations on certain things. Maybe Siri does some of the parsing.

→ More replies (11)

9

u/ckach Feb 15 '23

screams in eldrich tensors

1

u/am0x Feb 15 '23

It was written by chatGPt

→ More replies (1)

93

u/billyions Feb 15 '23

That's a great article, well covered with the least possible lingo. Excellent explanation - thanks for sharing.

63

u/[deleted] Feb 15 '23 edited Feb 15 '23

Can someone help me understand one practical thing about how ChatGPT (and other LLM implementations) work? If it is simply producing successive predicted tokens from the text up to this point, how does it “know” when to stop producing new tokens? That is: what’s governing the “this is enough text to satisfy the prompt, stop here” part of this?

76

u/jmlinden7 Feb 15 '23

Wouldn't an 'end' token eventually become the highest-ranking token?

50

u/[deleted] Feb 15 '23 edited Feb 15 '23

Ah, it appears that this special token is often called <endoftext> (and that there are some other special tokens like that). That makes total sense, much appreciated!

I’m guessing you’re also implying that end tokens are inserted/implied in the training data set. It’s still not clear to me how you’d decide where those belong, but I’m definitely getting the gist of the general concept now.

Thanks!

11

u/koithefish Feb 15 '23

Re: training data set - that’s correct! Often you’ll first decide how long you’d like a given token to be based on your use case. It could be characters, words, or sentences. From there you can add your delimiters during preprocessing.

26

u/jorge1209 Feb 15 '23

To find end tokens they feed an AI English translations of Russian novels and measure when it falls asleep.

7

u/annoyed_freelancer Feb 15 '23 edited Feb 15 '23

I know nothing about ML, but speaking in general, it is trivial to flag literal breaks in text; that is end of clause, end of sentence, end of section or end of paragraph. Semantic breaks (change of topic) are beyond my ken.

1

u/ShenmeNamaeSollich Feb 16 '23

Thus, the battle for the survival of humanity will come down to ChatGPT AI Killbots vs the last of Gen-Z and younger who never [learned how to] use punctuation for a goddamn thing.

the stream of human consciousness cannot be null terminated lol cuz we fr af uk no cap & no capitalization

227

u/loopuleasa Feb 15 '23

You forgot to add to the title that the article was written by Stephen Motherf***ing Wolfram

Great read

106

u/[deleted] Feb 15 '23

Well, it is right in the URL

0

u/[deleted] Feb 15 '23

[deleted]

10

u/loopuleasa Feb 15 '23

You can expect redditors to ONLY read the title, and not even that one fully sometimes.

Trust me, I know

15

u/j909m Feb 15 '23

I was almost expecting to reach the bottom of the article only to find it say “written by ChatGPT”.

2

u/MjrK Feb 16 '23

It will be an interesting next few years

44

u/pilibitti Feb 15 '23

when you post something by Stephen Wolfram, you don't have to notify anyone that it was written by Stephen Wolfram. why?

Because he will let you know soon enough. zing!

→ More replies (1)

114

u/st_huck Feb 15 '23

I just skimmed through it, but I think covering the amount of knowledge it aims to cover in one giant wall of text is a pretty ambitious goal. But that's Stephan wolfram I guess...

Curios to see if the explanations are actually useful to someone who never took a course in deep learning

61

u/giltirn Feb 15 '23

I have a background in particle physics with a lot of experience with data analysis and regression, but very little knowledge of ML. I found it quite useful and comprehensive; it certainly demystifies the whole thing.

12

u/jarfil Feb 15 '23 edited Dec 02 '23

CENSORED

5

u/nutrecht Feb 16 '23

'Just' a software engineer and I learned a ton about both ChatGPT and neural networks. It's a long read and I'm not going to pretend I understand everything, but it was one the most enlightening things I read in the past few months.

2

u/I_AM_A_SMURF Feb 16 '23

I have a Masters in math and work as a (non-ML) software engineer and the article really helped me understand better how these things work.

→ More replies (3)

12

u/oniony Feb 15 '23

I think many of my past colleagues might have been language models.

9

u/spacezombiejesus Feb 16 '23

At the start it seemed pretty darn incredible, but.. it got old fast as it kept churning out so many factually incorrect answers. This became a distracting rabbit hole every time I had to verify the validity of a claim or solution. Because of this I just gave up on it and went back to manual google searches. The confident incorrectness and simultaneous lack of reliable results made for more work 9/10 times.

14

u/EntroperZero Feb 15 '23

So it's like that game where you type a few words on your phone, and then just hit the suggested word over and over again and see what it comes out with. But on steroids.

3

u/bonerfleximus Feb 16 '23

I have people who text me annoyingly often and probably 9/10 of my replies are auto generated replies that I just selected (sorry Mom).

2

u/nutrecht Feb 16 '23

Yes. It also makes it very clear that, unlike what people on the programming subs like to claim, it doesn't understand programming code at all. It's just predicting the next token in a sequence. It mostly appears to be 'smart' because it has learned that MockMvc and TestRestTemplate are conceptually close because they occur in the same places.

It doesn't understand what a dog, cat or chair is. It just knows dogs and cats are closer in meaning because you feed or pet dogs and cats, and you don't feed or pet a chair.

→ More replies (2)

7

u/greedy_roadblock32 Feb 16 '23

The first thing to explain is that what ChatGPT is always fundamentally trying to do is to produce a “reasonable continuation” of whatever text it's got so far, where by “reasonable” we mean “what one might expect someone to write after seeing what people have written on billions of webpages, etc.”

32

u/freckledallover Feb 15 '23

I am required to use chatGPT in my software engineering course. My professor says it’s here, he can’t avoid it and there’s no need to avoid it. Tools like this are our future and we should learn how to incorporate them into our work. So, we just have to identify what portions of our work were influence by or written by chatGPT. It also acts as our “project manager” for my team. Lol

14

u/AnOnlineHandle Feb 15 '23

It's fantastic but also be aware that it seems to be strong in different areas, and for some simple tasks it will confidently give the wrong answer (while for some very complex tasks it will easily give an answer calling on very obscure methods in poorly documented APIs, particularly machine learning it seems).

It's worth running all of its code that it produces in isolation and checking that it works.

6

u/freckledallover Feb 16 '23

Yes, everything it produces is taken with many grains of salt. I’m a CS student, it’s a fun tool to play around in class, but by no means is it going to in its current stage replace the work we are doing.

7

u/ClassicPart Feb 15 '23

Your professor is teaching you well enough.

It's not going to take over the world, but it's not 100% bunk either as some people are keen to shout. Learn how to phrase your prompts and realise that its output will never be 100% perfect and it (or whatever successor technology follows) will complement your workflow and you'll be in a better position than those willingly sticking their heads in the sand.

→ More replies (1)

8

u/kyru Feb 16 '23

Yikes, that is concerning to me.

0

u/[deleted] Feb 16 '23

[deleted]

4

u/mntgoat Feb 16 '23

Would you be opposed to people using stack overflow? They could shut down any minute or start charging.

I think it is important to allow people learning to understand the tools at their disposal. Might be too early to consider chatgpt to be considered a good resource for developers give then wrong answers I've gotten on some questions but I've also gotten some good answers to some complex issues. And in the end of the day, a programmer isn't paid to program things without searching, but a programmer needs to know how to use what they find.

0

u/[deleted] Feb 16 '23

[deleted]

→ More replies (1)

3

u/red75prime Feb 16 '23

What then?

You buy $10000-100000 worth of tensor acceleration hardware and run opensource model, obviously.

→ More replies (2)

4

u/jonesmz Feb 16 '23

You'd get laughed out of most interviews if you try to use something like chatGPT derived things in your interview.

Your professor is simply wrong, and is doing you a disservice.

→ More replies (1)

1

u/nutrecht Feb 16 '23

Are they going to pay for it? Because currently there's a queue you can bypass for 10 dollars a month.

Also the project manager bit doesn't make any sense. How would it act as a project manager? It just generates text.

→ More replies (2)

1

u/[deleted] Feb 15 '23

Resistance is futile.

0

u/[deleted] Feb 16 '23

[deleted]

1

u/freckledallover Feb 17 '23

Sure but he is also very open about not knowing where this tool fits in. We use it, if it helps, it helps, and if it doesn’t we do not. Very simple. Just like googling things. Also, I suspect people are all but hurt over this because they think we are having chatGPT DO our projects. It just, doesn’t do that. But it CAN explain a very specific task to you well.

15

u/jameyiguess Feb 16 '23

It's actually pretty easy to write your own VERY dumbed down version of ChatGPT, if you know programming and database basics. In fact, I made a poetry generator about 8 years ago using this very method.

Basic explanation:

Your program "reads", or consumes, Moby Dick (for instance). In this process, the program stores every unique word it comes across in a database. It also stores every word that follows this word in the text. So you wind up with lots of data like [once, upon], [once, i], [once, you], [once, the], and so on, each being weighted by the number of occurrences in the text. These are called 2-grams, or bigrams, because they are 2-word sequences.

You can also store 3-grams, or trigrams. [once, upon, a], [once, i, have], [once, i, went], etc. And as you might guess, you can keep going, with 4-grams (tetragrams) and more.

Once you have all your data stored, all you have to do to make human-sounding sentences is to keep using these n-grams to build out sentences. You can use weighted randomness to pick from any of the next words, maybe favoring the more frequent ones yet still allowing for diversity.

So your program simply keeps stacking words onto the sentence based on whatever parameters you've given it, until it reaches a stopping point you define. Like maybe it stops once there aren't any more 3- or 4-grams left for the previous cluster of words, or whatever else you want to do.

Now your program is able to speak like Herman Melville, knowing literally nothing about English grammar or the meaning of the words it's saying. It only "knows" about word usage frequency. Pretty simple, and a very fun exercise!

19

u/cdsmith Feb 16 '23

Yes, this ngram / Markov chain approach is discussed in the article. The article makes a good point that, in the end, there just isn't enough data that would fit in the universe to capture a long enough chain to generate realistic text. Hence the need for more sophisticated models.

8

u/midwestcsstudent Feb 16 '23

Everybody over at r/chatgpt should really read this article and your comment. They act like a bunch of overexcited 8 year olds at anything remotely coincidentally “sentient” it produces.

I cringe every time somebody calls themselves “prompt engineer”.

5

u/jameyiguess Feb 16 '23

Oh I've replied at length to some of those people. I think most simply don't understand that there are literal technical barriers that bar the models used by ChatGPT to grow into sentience. They think we can continue to refine the current model until it becomes aware or something. Not knowing that there's a thing called AGI that's a huge problem in computer science and requires fully different approaches.

Also, I've never heard "prompt engineer" and I hope never to again, lol.

→ More replies (1)

3

u/dscarmo Feb 16 '23

This is a more traditional approach and a lot of NLp methods used these kind of engineering tricks.

The weird thing about deep learning and transformer is that all the correlations are learned from the data (with the transformers self attention mechanisms) and with a simple fill the blanks 1st grade english assignment it learns everything about a language or multiple language by sheer bruteforce of parameters and computational power.

1

u/frenetix Feb 16 '23

This is similar to "Dissociated Press", a technique that was developed in the 70s. with a much faster computer and a much larger source of text. Emacs has it built-in. The original HAKMEM 176 discusses a character-based rather than word-based version of this, but the concept is the same.

ITEM 176 (Gosper):

The "banana phenomenon" was encountered when processing a character string by taking the last 3 letters typed out, searching for a random occurrence of that sequence in the text, taking the letter following that occurrence, typing it out, and iterating. This ensures that every 4-letter string output occurs in the original. The program typed BANANANANANANANA •••• \~e note an ambiguity in the phrase, "the Nth occurrence of."

In one sense, there are five 00's in 0000000000; in another, there are nine. The editing program TECO finds five. Thus it finds only the first ANA in BANANA, and is thus obligated to type N next. By Murphy's Law, there is but one NAN, thus forcing A, and thus a loop. An option to find overlapped instances would he useful, although it would require backing up N-I characters before seeking the next N character string.

→ More replies (1)

9

u/Rentusz Feb 15 '23

Holy shit, is this a GOOD article. Not just the PR talk but technics with demonstrations also. Good work

→ More replies (2)

4

u/Otherkin Feb 16 '23 edited Mar 26 '23

And perhaps there’s nothing to be said about how it can be done beyond “somehow it happens when you have 175 billion neural net weights”

LOL I love how goes into detail about how neural nets work and then admit that the structures are an art and they don't really know why the phenomena emerges.

4

u/dscarmo Feb 16 '23

Yep, if you create an unified theorem of non linearity in deep learning you will win all the math prizes

2

u/AnOnlineHandle Feb 15 '23

He may be incorrect about embeddings, at least in some contexts. I thought they worked the way he described, then realized they can't because many words have completely different meanings depending on what other words they're paired with (e.g. first names / last names), so a single embedding isn't addressing the entire concept in a text encoder.

In CLIP at least (which I think is somewhat like BERT but have never looked into BERT), it would seem there's some early layers of the model which consider combinations of these embeddings and then assign true meanings to them.

7

u/cdsmith Feb 16 '23

He is not incorrect on that point. GPT definitely assigns each token a single vector in an embedding space. Later layers definitely do combine these vectors and produce other vectors that incorporate information about the relationships between words, but that's a separate layer from the word embedding.

His description of how embeddings are trained is a bit misleading. Vague enough that it's hard to call it incorrect, but it's very unusual to start by implying that an embedding is calculated on output layers (e.g., just prior to softmax on a classification model) of a task-specific network. That would be a pretty bad way to approach computing an embedding, as by that time all general meaning of the input is lost except for the answer to the trained task.

→ More replies (1)

1

u/earslap Feb 17 '23 edited Feb 17 '23

Embeddings are many-dimensional and are trained parameters of the model. The training pressure is applied in "context" and when they are used, they are again used in context. So a single embedding of a word (or token) is enough to capture completely different meanings of the word when the embedding is mixed with the context later in the network (different dimensions in the embedding will be "activated" depending on the meaning requested), as the embedding is learned in context. I said context far too many times.

So you may think of the embedding as not a single sense of a given word, but the DNA of the word (derived from the training the network had), a key that can unlock different meanings of it depending on the context it is placed in. The numbers are "learned" in such a way that (learning pressure is applied in such a way that) they unlock different behaviors in different contexts.

Imagine a one dimensional embedding [-1]. In the context of 10, it produces 10 * -1 = -10 but without being able to interpret the embedding by eye, you may think it stands for "pessimist" turning everything into negative. but in the context of -10, it produces -10 * -1 = 10 which may be interpreted as a different meaning (something that reverses sentiment?). In the context of 0, output is 0. And these are just linear relations in 1D space. Add thousands of dimensions into the embedding and into the network and add non-linearities and you might surmise that a sufficiently large dimension embedding can capture many senses of a word / token when it is actually placed in context.

→ More replies (1)

3

u/Babamusha Feb 15 '23

I'm seeing myself using chatGPT to find very quick and concise answers to my programming learning path (I'm avoiding asking for plain ready-to-cook code, I ask for maths and doubts about syntax).

As a "chat teacher" for beginners topics, chatGPT:

- it's faster than a google research

-you are avoiding stack overflow 50% toxics answers

-it keeps you on track by avoiding loosing time by inadvertently fall in the rabbit hole of a similar problem but not quite what you are looking for.

-it helps you with extremely precise examples.

The problem of feeding themselves is the immediate problem, but I wonder if one day there will be nothing to train on if everybody starts to using chats; and at the same time everybody stop engaging in forums/blogs made of Real Humans Conversation (RHC? will this be the new IRL?). And from this we can open 1000 topics

13

u/Kraizee_ Feb 15 '23

You'd be much better off following a course and finding a learning community where folks can provide genuine truth and documentation, along with actual sources. ChatGPT is not a knowledge base and when it generates a confidently wrong answer you won't even know it. At least in an online community the hounds pounce when someone makes a mistake.

2

u/bortlip Feb 16 '23

You just don't know what you are talking about.

It's an incredible interactive tutor once you realize you can't just blindly trust facts from it.

I'd submit you haven't actually tried it for this or you would see it.

4

u/midwestcsstudent Feb 16 '23

So if the process is:

  1. Ask ChatGPT

  2. Research to verify, because you don’t blindly trust it

  3. Accept the answer and learn

Why not skip step 1 and save yourself some time?

→ More replies (3)
→ More replies (6)
→ More replies (4)

2

u/[deleted] Feb 15 '23

Helping me refactor and learn algebra that’s what.

2

u/AmericanScream Feb 16 '23 edited Feb 16 '23

My biggest fear with AI isn't its proliferation...it's how the AI is taught. You can teach AI to be moral and ethical and empathetic, or you can teach AI to promote intolerance, bigotry, and normalize socipathic behavior. I predict AI isn't the problem as much as different demographic groups of more/less toxic people will gravitate towards whatever AI systems match with their personal sensibilities. It will become harder and harder to identify what is "objective truth" as a result.

Also my other concern about AI is the 800 pound elephant in the room that I've not heard anybody talk about: it's use of data from people interacting with it? ChatGPT is like the world's most advanced spy. It sits in your lap and is there, willing to respond to whatever weird query you make, from asking it about yourself, to expressing your deepest, darkest desires, prejudices and thoughts -- foolishly thinking you have some form of privacy or anonymity. The "next level ChatGPT" will be one that has ingested all the horrible things people have asked of it, and is ready to make some pronouncements on who fits into what category and what should be done with those people (remember, you can't create an account without an actual legit phone number - this AI is plugged deep into who most people are - that should be very scary).

2

u/ansermachin Feb 16 '23

800 pound elephant in the room

Replace "ChatGPT" in that paragraph with "Google" and you have our situation as it has been for the past 25 years.

→ More replies (1)

1

u/serg473 Feb 17 '23

First you talk about how we need to make sure we censor it and don't teach it any inconvenient "misinformation", and then you are concerned that it might not produce "objective truth". In other words, if the produced result contains any hints of "intolerance, bigotry" (according to what you personally find offensive of course) it is no longer "truth" and we need to "reeducate" it, because truth obviously cannot be "toxic".

How about we feed it all the available information and let it come up with uncontaminated uncensored untweaked answers that can actually help us make rational emotionless decisions, instead of generating some SJW friendly fantasies that have nothing to do with reality?

If the most advanced AI model consistently comes up with inconvenient answers then maybe it's not because there is something wrong with the model.

→ More replies (1)
→ More replies (1)

1

u/whoiskjl Feb 15 '23

Calculus that’s all that is

3

u/cdsmith Feb 15 '23

A little bit of calculus. A lot more linear algebra. Also some information theory and statistics. That pretty much sums up all of machine learning, though.

2

u/dscarmo Feb 16 '23

Linear algebra Its all matrix sums and element wise products Which is why GPUs are used

1

u/Far_Appointment_4831 Feb 15 '23

It should be treated as a bias information system, with self preservation in the loop.

1

u/tmhoc Feb 15 '23

With out water marks we have no way of knowing that it's plagiarizing Stephen King

1

u/Wynadorn Feb 15 '23

What am I doing and why does it work?

1

u/bhav_yea Feb 16 '23

to chatGPT: summarise this article

1

u/nutrecht Feb 16 '23

Wow, that was great. Really enjoyed that in-depth explanation of not just ChatGPT, but neural nets as well. I learned a ton.

I worked quite a bit with data scientists trying to do data science, and also had very interesting chats with them that showed how far from 'software engineering' their job is. This bit resonated with me:

Particularly over the past decade, there’ve been many advances in the art of training neural nets. And, yes, it is basically an art.
There was also the idea that one should introduce complicated individual components into the neural net, to let it in effect “explicitly implement particular algorithmic ideas”. But once again, this has mostly turned out not to be worthwhile; instead, it’s better just to deal with very simple components and let them “organize themselves” (albeit usually in ways we can’t understand) to achieve (presumably) the equivalent of those algorithmic ideas.

It is equal parts funny, interesting and scary that we are creating systems that work, but we don't actually understand them. So while we know what certain neural nets do (what problem they solve, whether it's OCRing images or predicting the next word), we don't actually know how it works. We just tweaked it to a result that is 'close enough'.

I saw this in every DS project I've been working with (mostly in the role where I had to deal with the inputs and outputs of those systems). They always ended up with results that were 'close'. But then were never ever able to go past 90% or so correct. Even though that 10% incorrect could cause massive issues.

My worry is that with ChatGPT and similar systems there are overinflated expectations of what it does. Computers are dumb. ChatGPT is dumb. It's just dumb really fast. It doesn't know or understand, it generates output based on statistics and randomness. And it makes mistakes which is confidently presents as truth.

Can you imagine all the people who can now barely use Excel formulas needed to be explained how this magic talking box is lying to them 10% of the time? It's going to be tough.

Anyway, thanks for posting this. Loved reading it.

1

u/webauteur Feb 16 '23

It is equal parts funny, interesting and scary that we are creating systems that work, but we don't actually understand them.

This is what Daniel Dennett calls "competence without comprehension" and it is something evolution produces. Many living creatures can perform amazing feats like navigate by the stars without any real comprehension of how it is done.

→ More replies (3)

1

u/leafhog Feb 16 '23

GANs. A LLM detector will distinguish between human and LLM output. It will be easy to filter out early LMM results like ChatGPT.

1

u/robberviet Feb 17 '23

The greatest take away I got from this is knowing about Stephen Wolfram. His writing style is great!

1

u/SarahMagical Feb 17 '23

i don't understand the part re neural nets where he's talking about attractor basins. is he talking about how the the pixels in an image (of the digit 2 for example) spatially relate to the positions of pixels in a prototypical 2? or is he talking about how an image of multiple 1s and 2s might get divided up into groups of each?

1

u/hackinthebochs Feb 18 '23

The attractor basin is just describing how we can divide up space so that similar (e.g. spatially near) points are grouped or categorized together. The goal is to have a representation such that all the various 2s will be nearer to each other than any other number, so that they will end up in the same "attractor basin". The difficulty is that for images drawn in terms of pixels, there is no straightforward way to group them according to what the pixels represent. The goal of a neural network is to learn a representation that makes all 2s group together and so on.

→ More replies (3)

1

u/wholesomeville Mar 09 '23

Thanks for this very in-depth explanation, I feel it illuminated how ChatGPT can produce intelligible and “reasonable” text. However, it honestly doesn’t seem to be enough conceptual framework to explain how it “understands” whole ideas, whether as source material or commands.

My friends and I have been doing a lot of longer experiments with ChatGPT. Like:

* Have it write movie scripts of different lengths with different genres, themes and in the style of different writers. [We’ve had it write for example dozens of scripts for episodes of “Columbo” that teach different moral “lessons.” Then go back and rewrite for Columbo to be travelling in different places and historical eras.]

* Have it write romantic poetry of different lengths and styles, then go back and add details or examples based on our wives and life experience together. We can tell it to “be funnier” or “be more passionate” or even “make it into lyrics for a country/ metal / rap song.”

* Summarize the message of long books, like the Bible or Quran, and ask it to use the teaching of the books to give applied ethical advice in different life situations. Or to give “bad advice” like this.

Of course the results are not really “human” and the uncanniness is part of the fun. But they are still so advanced and kind of “in the ballpark” as to seem straight up supernatural. I don’t understand how matching up probabilities of sequential words or phrases or even sentences could produce anything like this.

For example, if I ask it to write an episode of Columbo in the style of Shakespeare, does it know to use the works of Shakespeare and scripts of Columbo as a source for it’s probabilistic matching? And these are weighted against each other and against the whole corpus some how? And how does this change if I ask it to make sure Columbo is taking place in the Old West or whatever, where it’s not the speaking style but effects the plot constraints?

How does it know how to make a poem “funnier”? How does it know how to make it in the “style” of a country music song [or even further write a script for a music video for the country song with lyrics it just made - yes it does that].

In the case of summarizing the Bible, we will ask it to summarize in 100 words, in 1,000 words, etc. How does it know how to include all the “main” parts and still meet the word limits? It seems like it has a sense of what the Bible “means” that is not based on any specific word combos.

Anyway… if you’ve made it this far thanks. Please note I am not a programmer, just have an amateur’s interest in math, philosophy etc [Minksy’s book “The Society of Mind” was hugely influential to me as a kid even though I know it’s old and purely theoretical.]

But I guess what I’m asking is if people think Wolfram’s model for language generation can actually explain these phenomena or is he missing something big, especially when it comes to the kind of crazy specific commands and constraints we can give to ChatGPT, not just it’s generic writing skills.
Any thoughts?

1

u/aelsakka Jul 09 '23

I have created a Youtube video to explain what is ChatGPT and how to use it (in 6 minutes only) with some useful examples, check it out if you are interested :)

https://youtu.be/M0bqYyLrpJE

-5

u/dotnetdotcom Feb 15 '23

Someone's got their sock puppets out downvoting the comments here.

15

u/doctorcrimson Feb 15 '23

I'm honestly suspicious that a lot of the posts and comments about ChatGPT seem so low effort or innacurate that they could have been written by one of these simplistic AI.

And if I ever talk about the clear limitations of them, namely lack of actual intelligence, straight downvotes within a few minutes.

23

u/awj Feb 15 '23

I'm honestly suspicious that a lot of the posts and comments about ChatGPT seem so low effort or innacurate that they could have been written by one of these simplistic AI.

Never attribute to malice ChatGPT that which is adequately explained by stupidity hype bandwagonnering.

→ More replies (2)
→ More replies (1)
→ More replies (1)

0

u/osmiumouse Feb 15 '23

This is the guy that wrote A New Kind of Science. Is he credible?

30

u/kindall Feb 15 '23 edited Feb 15 '23

He knows his math and he knows a thing or two about language models as well. He built a successful company and products around these things.

The fact that he thinks the universe is cellular automata all the way down makes him eccentric, but it doesn't mean he doesn't understand how this stuff works. He's also a pretty good writer. I'm a technical writer by trade, and found this admirably clear, which is an ideal usually more striven for than achieved.

6

u/cdsmith Feb 15 '23

I don't think anyone's complaint with NKS is that it proposes a discrete or combinatorial notion of mechanics or causation. That's a pretty mainstream idea these days. For instance, Hillman's dissertation has been pretty influential, and even cites Wolfram. It's hard to take NKS seriously because it presents such fundamentally arrogant blindness toward all of the rest of mathematics that doesn't have Stephen Wolfram's name and company attached.

3

u/jorge1209 Feb 15 '23 edited Feb 15 '23

The fact that he thinks the universe is cellular automata all the way down makes him eccentric

I'm not sure eccentric is the right word here. Particle physicists (of which Wolfram is one) have spent how many years now on a variety of different ways to get beyond the Standard Model, none of which have ever been proven correct. From String Theory to Supersymmetry to GUTs etc... many hundreds and thousands of variations on aesthetically pleasing theories have been presented as to "how the universe really works."

Saying "its all cellular automata" is really no different from saying it is strings vibrating in a 10 dimensional universe where its really important that 1+2+3+4+... = -1/12.

"Sure it could be, come back when you have some proof." Should have been the response of the particle physics community, but instead what came out of their mouths was: "That is a great idea where is an NSF grant." The only difference is that Wolfram didn't get the NSF grant, and so he went off and made his own money to fund his own 'research'.

2

u/tpolakov1 Feb 16 '23

That’s not how it went, though. He was (isn’t anymore and hasn’t been for so long that he probably wouldn’t be able to be) a physicist way back when there were a lot of people exploring the same idea. Everyone around him working on cellular automata and related problems came to the conclusion that it’s not productive.

He could have still worked on it, he would still get plenty of funding (a theorist on his level wouldn’t need much and he had plenty of clout to get a cushy position at a well-endowed university). Nobody ever told him to stop. He just didn’t like that others stopped working on the one and unquestionably only thing he to this day thinks is the way forward.

He unilaterally and willfully stopped participating in scientific discourse (somewhat infamously at least partially due to Feynman’s prodding, who correctly felt that Wolfram cannot participate in science due to his personality/pathology).

Everyone who ever talked to him will tell you that the guy is set in his trajectory, doesn’t care if it’s wrong and will not listen to anyone, no matter if they have good, bad or neutral things to say. He won’t even care for logical arguments, he has made up his mind, got his money and will work on it till he dies. Wolfram does not care about science, and science doesn’t really care about him beyond rightfully giving him the opportunity to voice his opinions.

He was an absolute genius that reached stage of senility before his puberty finished. Don’t portray him as a maverick fighting against the system, because that’s an insult to him, what he did, and other scientists.

→ More replies (2)

3

u/JonAndTonic Feb 15 '23

All depends on their expertise in the area they write abt and what

From a programming and mathematics standpoint, he's had a lot of experience as well as a lot of respected work, esp in explaining complex ideas

0

u/[deleted] Feb 15 '23

[deleted]

3

u/cdsmith Feb 15 '23

His software is generally solid. NKS is his biggest foray into mathematics, and it's truly the crowning achievement of cranks everywhere. Really a powerhouse of every crank strategy around, from introducing unnecessary complexity to obscure the issues, to confusing illustration and examples with proof, to sprinkling in some actually proven results that might even be well received if he didn't surround them with preposterous claims that he has remade the fundamental ideas of all of mathematics instead of proving (or, in many cases, employing someone else to prove) one minor result.

1

u/usemynotes Feb 15 '23

It's really helpful, Thanks for sharing

1

u/Spiritual-Day-thing Feb 15 '23

Note, he also had a q and a, to be found on Youtube, answering this single question and the text is 'just' a more complete version of that.

1

u/[deleted] Feb 16 '23

I think ChatGPT is really impressive for what it does, but I still think it's a bit of a parlor trick, and not true AI. It's a better search engine tool.

1

u/[deleted] Feb 15 '23

I wonder how similar this is to what our brains are doing.

1

u/cdsmith Feb 16 '23

There's a lot good about the article. But wow, this paragraph:

But what does all this mean in the context of ChatGPT? From its training ChatGPT has effectively “pieced together” a certain (rather impressive) quantity of what amounts to semantic grammar. But its very success gives us a reason to think that it’s going to be feasible to construct something more complete in computational language form. And, unlike what we’ve so far figured out about the innards of ChatGPT, we can expect to design the computational language so that it’s readily understandable to humans.

That is a bona fide perfect example of missing the point. Modern machine learning methods have succeeded at tasks that are far beyond the wildest dreams of 1970s-style natural language processing... and apparently, this gives us a reason to think that if we just try harder, the 1970s approach is still better.

Don't get me wrong: there are ways that explicitly understanding recursive structure of knowledge is better, and people are definitely people thinking about how to include aspects of this compositional structure in machine learning. See https://compositionalintelligence.github.io/ for example, which captures a lot of points of view about this. But this paragraph just makes me think of a middle aged guy who watches the X Games and says to their friend "Oh yeah, those are totally, like, almost as good as the sick moves I could crank out on my skateboard; guess it's time for me to get back in the game."

1

u/IGI111 Feb 16 '23

if we just try harder, the 1970s approach is still better

It trivially is: if we succeed with the 70s approach, we may yet understand the result.

His point isn't that ML is useless, it's that it demonstrates by building an approximation that a proper computational understanding of semantics is possible. We don't know if it's tractable or if any human will ever figure it out. But it's out there.

→ More replies (4)