Live data from Hacker News

Teaching ChatGPT to speak my son’s invented language

szopa.medium.com

161–170 of 212 posts

Re: Teaching ChatGPT to speak my son’s invented language

#161

In context learning is hands down the biggest breakthrough of LLMs. The flexibility the model displays without updating weights is genuinely mind blowing, bordering on absurd especially if you've trained other kinds of models before. See here - https://imgur.com/a/w3DAYOi from the paper - https://arxiv.org/abs/2211.09066 GPT 3.5's (4 is much much better) addition accuracy tanks after 2 digits. However, by approaching…

>However, by approaching arithmetic as an algorithm to be performed and taught similarly to how it's done with people, you can supercharge accuracy to basically 100% for up to 13 digit addition and >90% after. This is strikingly clear evidence that it is capable of logical reasoning and "knows things", and puts to rest repeated claims that it is just memorization and collaging. You can't memorize every combo of two 1…

> repeated claims that it is just memorization and collaging

I don't think anyone who has actually used GPT-4 for more than a few minutes ever believed this. It was just a trendy thing to say for a while.

Re: Teaching ChatGPT to speak my son’s invented language

#162
post #142

Earlier quoted context omitted.

People keep repeating that LLMs are "just generating text based on probabilities". That statement doesn't mean anything. I think people who say this are imagining LLMs work something like a statistical model. Maybe it's doing a linear regression or works like a Markov chain. It's not. A single artificial neuron sort of works like that. But that's sort of like saying a single transistor is just an electronically contr…

That's a valid point in that we don't fully understand how LLMs solve some problems and using logic and rules of inference isn't excluded by the architecture, but on the other hand understanding that they are generating probabilistic token sequences is a very powerful and effective way to understanding how to engineer prompts and understand some of their failure modes. If we discard that insight, reasoning about thei…

>For example we often see people thinking that because an LLM can explain how to do something that therefore it knows how to do it, like arithmetic. That's because if a human can explain how to do something, we know that they can. Yet for an LLM outputting a token sequence for an explanation of something, and outputting a token sequence for solving a problem statement for that problem domain are fundamentally different tasks.

Please explain to me the process currently happening in your visual cortex as you read this text.

The fact that neuroscience exists as a field (with so many remaining questions) shows that humans also do not understand how we can do all the things we do.

Re: Teaching ChatGPT to speak my son’s invented language

#166
post #160
post #151

Earlier quoted context omitted.

>I don't think their sometimes poor ability to recall and follow a set of rules is what sets them apart It's not really that, it's that recalling a set of rules and following a set of rules are fundamentally different tasks for an LLM. This is why we need, and have implemented different training and reinforcement strategies to close that gap. The chain of reasoning ability has had to be specifically trained into the…

> It's not really that, it's that recalling a set of rules and following a set of rules are fundamentally different tasks for an LLM. My point is that this appears to be the case for people too. It is often necessary to explicitly remind people to recall a set of rules to get them to follow the specific rules rather than act in a way that may or may not match the rules. Having observed this many times, I simply don't…

I don't believe this works the way you think. Within the same chat session with GPT3 you can ask it to explain addition, then ask it to do addition, and the explanation will be perfectly accurate but the sums it does will be complete rubbish. It's not enough to remind it.

The article og_kalu posted above goes into detail as to what they had to do to teach an LLM how to reason algorithmically in a specific problem domain and it was incredibly hard; much, much more convoluted and involved than just reminding it of the rules. Only an LLM that has gone through this intensive multi-step highly domain specific training regime has a hope of getting good results and then only in that specific problem domain. with a human you teach a reasoning ability and get them to apply it in different domains, with LLMs that doesn't work.

Take this comment in the article "However, despite significant progress, these models still struggle with out-of distribution (OOD) generalization on reasoning tasks". Where humans naturally generalise reasoning techniques from one problem area to another, LLMs flat out don't. If you teach it some reasoning techniques when teaching doing sums, you have to start again from scratch when teaching it how to apply even the same reasoning techniques to any other problem domain, every single time. You can't remind them they learned this or that when learning to do sums and to use it again in this context, as you would with a human, at the moment that flat out doesn't work.

The reason it doesn't work is precisely due to the limitations imposed by token stream prediction. The different tasks involving reasoning are different token stream domains, and techniques the LLM uses to optimise for one token stream domain currently only seem to apply to that token stream domain. If you don't take that into account you will make fundamental errors in reasoning about the capabilities of the system.

So what we need to do is come up with architectures and training techniques to somehow enable them to generalise these reasoning capabilities.

Re: Teaching ChatGPT to speak my son’s invented language

#167

In context learning is hands down the biggest breakthrough of LLMs. The flexibility the model displays without updating weights is genuinely mind blowing, bordering on absurd especially if you've trained other kinds of models before. See here - https://imgur.com/a/w3DAYOi from the paper - https://arxiv.org/abs/2211.09066 GPT 3.5's (4 is much much better) addition accuracy tanks after 2 digits. However, by approaching…

Being able to learn within context, without updating weights is amazing. Imagine how much more efficient and/or powerful it could be if we found a way to update the weights in real time.

Yeah I've been thinking about that a lot within the context of self-driving cars. What if we could take the rare but significant examples of model confusion, and then... explain to the model what it did wrong just as we would to a human. If it could then incorporate that information into future weights, that would be game changer in a LOT of fields where it's been hard to bridge the gap.

Re: Teaching ChatGPT to speak my son’s invented language

#168
post #64

Oh I wish I had time to train it on one of my old hobbies, Lojban! https://lojban.io/ https://mw.lojban.org/papri/Lojban

ChatGPT already speaks Lojban, or at least enough to fool me.

It appears not: "vaguely grammatical and has some of the right words" according to someone who actually knows:

https://www.reddit.com/r/lojban/comments/12i0d0i/chatgpt_app...

Not surprising, given it would have seen many orders of magnitude less Lojban training data than its English input (basically two books and maybe a few megabytes of web pages).

Re: Teaching ChatGPT to speak my son’s invented language

#169
post #116

Earlier quoted context omitted.

I've noticed if I give chat GPT an algorithm it gives me consistent results when it shows it's work but if I ask it not to show it's work and just give me the answer. It consistently gives me incorrect answers even when I ask it to follow an algorithm that I gave it. I suppose this is similar to humans and probably why my school teachers always told me to show my work, but I'm curious if this has been documented and…

LLMs don't have an inner monologue. By their very nature they only "know" what they have written down and must infer the final answer from that token by token. They fundamentally can't do certain things such as complex iteration or track back. When you ask for chain of thought thinking, you allow the LLM to create a "buffer space" and break down the task into more manageable substeps thereby improving the quality of…

https://youtu.be/Rog9oHtVmjM

Start at 7:30 to see example of backtracking.

Re: Teaching ChatGPT to speak my son’s invented language

#170
post #166
post #160

Earlier quoted context omitted.

> It's not really that, it's that recalling a set of rules and following a set of rules are fundamentally different tasks for an LLM. My point is that this appears to be the case for people too. It is often necessary to explicitly remind people to recall a set of rules to get them to follow the specific rules rather than act in a way that may or may not match the rules. Having observed this many times, I simply don't…

I don't believe this works the way you think. Within the same chat session with GPT3 you can ask it to explain addition, then ask it to do addition, and the explanation will be perfectly accurate but the sums it does will be complete rubbish. It's not enough to remind it. The article og_kalu posted above goes into detail as to what they had to do to teach an LLM how to reason algorithmically in a specific problem dom…

> I don't believe this works the way you think. Within the same chat session with GPT3 you can ask it to explain addition, then ask it to do addition, and the explanation will be perfectly accurate but the sums it does will be complete rubbish. It's not enough to remind it.

Again, I've had this exact experience with people many times as well, so again I don't think this in itself is any kind of indication of whether or not LLMs are all that different from humans in this regard. The point is not that there aren't things missing from LLMs, but that I don't find the claim that this behaviour shows how different they are to be at all convincing.

My experience is that people do not appear naturally generalise reasoning techniques very well unless - possibly - if they are trained at doing that (possibly, because I'm not convinced that even most of those of us with significantly above average intelligence generalise reasoning nearly as well as we'd like to think).

Most people seem to learn not by being taught a new technique and then "automatically applying it", but being taught a new technique and then being made to repetitively practice that technique by being prompted step by step until they've learnt to apply it separate from the process of following the steps, and tend to perform really poorly and make lots of mistakes when doing it by instruction.

> You can't remind them they learned this or that when learning to do sums and to use it again in this context, as you would with a human, at the moment that flat out doesn't work.

I don't know what you're trying to say here. Mentioning a technique to ChatGPT and telling it to go through it step by step is not flawless but it often does work. E.g. I just tested by asking GPT4 for a multiplication method and then asked it to use it on two numbers I provided and show its working, and it did just fine. At the same time, doing this with humans often requires a disturbingly high level of step by step prompting (having a child, I've been through a torturous amount of this). I won't suggest ChatGPT is as good as following instructions as people, yet, but most people are also really awfully horrible at following instructions.

Post reply on HN