Teaching Large Language Models to Self-Debug
11–20 of 61 posts
Re: Teaching Large Language Models to Self-Debug
#12Earlier quoted context omitted.
> I personally know of a few large companies laying off devs over this. They’re laying people off and replacing them with chat gpt generating code? That seems... aggressive. Or are they laying off devs who copy-pasted gpt-generate code?
Replacing devs with LLMs.
Re: Teaching Large Language Models to Self-Debug
#13Earlier quoted context omitted.
Replacing devs with LLMs.
color me skeptical. what are those large companies that are replacing devs with LLMs?
The way I see it, if you code without it, you won't compete with the speed and value.
And they are not going to back fill those roles
Re: Teaching Large Language Models to Self-Debug
#14In hindsight , it's the most natural, most obvious next step to get LLMs to write better code: Explain to them how to debug and fix the code they've written. Which is pretty much what you would do with an inexperienced human software developer. Looking at this with fresh eyes, it's both shocking to me that this sort of thing is even possible, and yet also completely unsurprising as yet another emergent capability of…
Not too shocking for me after this paper. https://arxiv.org/abs/2211.09066 You can teach GPT-3 arithmetic - https://imgur.com/a/w3DAYOi Basically 100% accuracy up to about 13 digit addition and >90 after that. What else can you teach GPT without changing weights ?
The graphs you just posted do not support that, they'd support at most 100% accuracy up to 4 digits.
Re: Teaching Large Language Models to Self-Debug
#15Earlier quoted context omitted.
Not too shocking for me after this paper. https://arxiv.org/abs/2211.09066 You can teach GPT-3 arithmetic - https://imgur.com/a/w3DAYOi Basically 100% accuracy up to about 13 digit addition and >90 after that. What else can you teach GPT without changing weights ?
> 100% accuracy up to about 13 digit addition The graphs you just posted do not support that, they'd support at most 100% accuracy up to 4 digits.
Re: Teaching Large Language Models to Self-Debug
#16For decades in reinforcement learning we've had Q learning, which promises to solve any optimization problem if only we can build a powerful enough function approximator. It can even learn off-policy, meaning it can just watch from the sideline and find the optimal solution. It works for toy problems, and it works in theory, theres even formal proofs that it will work given infinite time and resources, and yet in practice it often becomes unstable and collapses.
Supervised learning is one thing, having a model remain stable while bootstrapping through a complex environment is another. GTP is supervised learning, so far, let's see if it can bootstrap.
Re: Teaching Large Language Models to Self-Debug
#17Useful, but still wouldn't count on it. With respect to GPT etc. as a copilot, the current dialogue seems to focus on "ask for GPT to generate code to do X" then "just paste in the error message to fix bugs in the code GPT generates" A.) Why is GPT generating code that results in simple compiler errors (that is why GPT probably shouldn't be used to generate any code / replace devs for real projects yet), and B.) erro…
> I personally know of a few large companies laying off devs over this. They’re laying people off and replacing them with chat gpt generating code? That seems... aggressive. Or are they laying off devs who copy-pasted gpt-generate code?
Re: Teaching Large Language Models to Self-Debug
#18Earlier quoted context omitted.
Replacing devs with LLMs.
color me skeptical. what are those large companies that are replacing devs with LLMs?
You can only make employees more productive.. this in turn could, in theory, lessen the need for developers in the long run, but it assumes the company will not bother to use the extra bandwidth for other projects.
Re: Teaching Large Language Models to Self-Debug
#19It usually does notice inconsistencies between A and B when asked this. But its ways of reconciling inconsistencies can be bizarre and suggest a very superficial understanding of concepts.
For example, it once reconciled an inconsistency by saying that, yes, 2 * 2 = 4, but if you multiply both sides of that equation by a big number, that's no longer true.
I will be super impressed the day we have a model that can read an arithmetic textbook and come out with reliable arithmetic skills.
Re: Teaching Large Language Models to Self-Debug
#20I've done several experiments (and posted results in previous HN comments) where I've given GPT puzzles or brainteasers and asked it to review aspects of its answers Socratically. Never telling it it got anything wrong, just "you said A, then you said B, does that make sense"? It usually does notice inconsistencies between A and B when asked this. But its ways of reconciling inconsistencies can be bizarre and suggest…