Live data from Hacker News

Scaffolded LLMs as natural language computers

beren.io

11–20 of 26 posts

Re: Scaffolded LLMs as natural language computers

#12
This was an inspiring read! Reminds me of Simon Willison's analogy of LLMs to "calculators for words" but this author takes the idea even further. I agree the analogy points to foundation model companies like OpenAI and Anthropic having the most revenue but not the highest margins. Who will the Apple / Microsoft / Google of this new wave be? Who can take this raw technology and actually make it usable by all? "An LLM in every home"

Re: Scaffolded LLMs as natural language computers

#13

>My prediction here is that exponential improvements continue at least for the new few years and likely beyond. GPT-3 to GPT-4 was an exponential improvement? Progress is not usually exponential. Your phone now isn’t x10 better than it was a few years ago. Progress in AI is a huge jump, then refinement of that jump, then stagnation until the next big jump is discovered. Look at CNNs dominating image classification co…

I agree that there are still differences between humans and AI, and vision is one of them. Humans also remember across conversations, ChatGPT doesn't. We have longer context windows. We think in our downtime, unprompted. We take input from 5 senses, today's chatGPT only takes input from text.

But--and this is a big but--the set of things that people can do better than computers has shrunk significantly over the past five months. Today, thanks to GPT4, AI can get a B in a Quantum Computing class, generate engaging stories, know that the color yellow is closer to orange than blue (despite never having seen color!), answer emotionally laden questions with the sort of facility that IMO is better than most humans, write code, rhyme, and much more. All of this stuff was unthinkable before. I personally thought it would be centuries until this stuff was possible. I was very wrong.

Several developments in Deep Learning, like the Transformers paper (https://arxiv.org/abs/1706.03762), set off this growth, as did big data and increased computing power. The insight of particular humans, like Ilya Sutskever, played a role as well. But taken together, I actually don't understand how one can argue that we aren't at the beginning of a massive exponential.

Of course there are things humans can still do better than AI, but the number of things is shrinking rapidly, while the number of things computers can do better than humans is growing rapidly.

I argue that we are indeed at the beginning of an exponential, and we'll see both new classes of products and faster development time.

Re: Scaffolded LLMs as natural language computers

#14
As a software developer, this article has been able to give me a glimmer of hope that my skills won’t be fully obsolete once LLMs mature. The high level instructions (author calls them „programs“ even) will require highly structured thinking, translating business goals into actionable slices.

I’ve played with AutoGPT today, and, while the results were underwhelming (once it crashed, and once it got stuck in an infinite loop because it wrongly requested a website critical for the task) - it was an experience very similar to my first attempts at learning C. I tried to tell the system what I want it to do, and it mostly really followed my instructions. If (when?) all the components have improved in reliability and speed, this will become an insanely powerful way of working. A la „Make a website from this PDF with nextjs and deploy it to netlify“. Not very unlike „Read this file from disk and parse CSV rows from it“ as we are doing now, as devs working with high level programming languages.

Re: Scaffolded LLMs as natural language computers

#15
post #9

I think the issue is that the sentence "Many tasks cannot be specified easily and precisely in computer code but can be described in a sentence or two of natural language" is not, in fact, true. Natural language is a pretty fantastically bad interface for specifying unambiguous, repeatable, and reliable tasks, which is why most technical advancement has involved the introduction of expressive notations that clarify a…

After a few times, you could ask it to reduce its purpose to a couple of lines of code. Test the code, verify it. Maybe even deploy it.

That’s more expensive than writing a couple of lines of code, more than deploying it,

Sufficiently standardized, it will be significantly less expensive than paying someone to write a couple of lines of code, test it, deploy it, etc.

Is this better than just writing a couple of lines of code? That’s a different question. At scale, this can absolutely be cheaper. Eventually.

Re: Scaffolded LLMs as natural language computers

#17
post #9

I think the issue is that the sentence "Many tasks cannot be specified easily and precisely in computer code but can be described in a sentence or two of natural language" is not, in fact, true. Natural language is a pretty fantastically bad interface for specifying unambiguous, repeatable, and reliable tasks, which is why most technical advancement has involved the introduction of expressive notations that clarify a…

I think developing often used functions as plugins/task primitives as native code (i.e. tools that the LLM can use) would be a logical next step - as you expressed, I think.

> It seems like if you want to do this more than a few times, it's better to write a couple lines of code to do it much more cheaply

I think the problem is that natively written code will always suck at the planning part. An LLM can use the tools available to it (eg a web browser or Wolfram) in infinite ways, and hopefully in a way that will advance the task at hand. Maybe the natively written task primitives can become really big (eg a fully automatic web scraper) - great, now the LLM can gather info for its plans even faster.

Re: Scaffolded LLMs as natural language computers

#18
post #9

I think the issue is that the sentence "Many tasks cannot be specified easily and precisely in computer code but can be described in a sentence or two of natural language" is not, in fact, true. Natural language is a pretty fantastically bad interface for specifying unambiguous, repeatable, and reliable tasks, which is why most technical advancement has involved the introduction of expressive notations that clarify a…

> Natural language is a pretty fantastically bad interface for specifying unambiguous, repeatable, and reliable tasks

I agree. I think people are fooled by the implicit knowledge that most humans have. They make decisions about the details, where in programming you have to tend to each detail. That's roughly equivalent effort in natural language.

For some problems, probably harder in natural language.

I still think it's a great advancement. It opens programming to the masses, and the LLM can probably teach you the things you need to know to advance your competency.

Re: Scaffolded LLMs as natural language computers

#19
post #9

I think the issue is that the sentence "Many tasks cannot be specified easily and precisely in computer code but can be described in a sentence or two of natural language" is not, in fact, true. Natural language is a pretty fantastically bad interface for specifying unambiguous, repeatable, and reliable tasks, which is why most technical advancement has involved the introduction of expressive notations that clarify a…

The big value is certainly in the less constrained stuff. Today I wanted to experiment with a hobby project, so I wrote a page of what I want to achieve. I then presented it to GPT4 as a "spec" and told it to act as a software architect and give me suggestions and ask for clarification. It gave me mostly good suggestions, asked a few good questions, and gave some feedback I disagreed with. I updated the spec to incorporate the good bits, clarified and firmed up the wording around the choices where it had made suggestions I disagreed with, and asked it to give another round of feedback. I turned around the draft 3 times, and it added value every time.

I could have done that with a person, but then I'd need someone who was available then and there that I wasn't taking away from other stuff.

To tie that to your points: This process was exactly an exercise in nailing down details that were missing because the short prose version was leaving huge gaps.

I intend to need a back and forth of filling in detail each step toward an implementation for that reason.

And I think this kind of tooling need to be built with that in mind: Write roughly what you need unless you already know how you want to express it in code. Ask for clarifications or a proposed plan. Iterate. Maybe with tooling giving examples of where it would head if prompted to fill in more detail.

I sure as hell won't trust it to just blindly do a task for me from a brief problem statement at this point.

Just as I wouldn't for most non-trivial tasks with most humans...

Re: Scaffolded LLMs as natural language computers

#20
post #9

I think the issue is that the sentence "Many tasks cannot be specified easily and precisely in computer code but can be described in a sentence or two of natural language" is not, in fact, true. Natural language is a pretty fantastically bad interface for specifying unambiguous, repeatable, and reliable tasks, which is why most technical advancement has involved the introduction of expressive notations that clarify a…

AI must learn to understand code, not just copy it
Post reply on HN