h a l f b a k e r yNo, not that kind of baked.
add, search, annotate, link, view, overview, recent, by name, random
news, help, about, links, report a problem
browse anonymously,
or get an account
and write.
register,
login
|
|
|
LLMs can generate images and videos from random noise using simulated annealing techniques. For an image, you start off with a noisy image, and the process sees faces and shapes in the noise and builds on them. This can be directed using a text prompt that rewards features that fit the description in
some way. This can also be directed by instructions to generate the image in a certain style. The annealing generates the large scale layout and then progressively adds the details. This can give you hands with six fingers and stuff like that.
Suppose you asked a LLM to generate a C++ application to do something vague, such as "save time when writing". The compiler would require legal C++. As well as requiring conformity with the C++ syntax, we can ask the LLM to provide 'good code' with class abstraction, code re-use, comments, and other qualities of good code. It seems possible that annealing may be able to give the large-scale structure of the program, and then anneal to fill in the details.
We may have to start off with more specific instructions if we hope to get anything that works at all, such as 'write a card patience game that runs on xterm using unicode and ANSI'. But once we have something that does that, we can try it on something vaguer.
We may have to prevent or dissuade it from re-using other code resources. Claude, when asked to compile a terminal program that worked on a Mac using ANSI-art for Windows produced something that generated sensible output but wrote its own terminal program to handle the graphics, enclosed in a Python wrapper, packaged as a Flash application. It worked. It had even improved the look of the output in a very non-obvious way. There were a few tweaks but only minor ones. Claude found a library that could render Unicode text with ANSI interpretation, and another that handled the mouse commands (both done in 'xterm' in the original), and it had a pipeline that made Mac jobs run on Windows. That may be obvious to Claude, but it was weird.
|
| |
So ... you're hoping for a well-formed C++ program with six fingers? |
|
| |
Llms can generate code to count to 10 because there are many examples available. Where are the example programs for "make thing better"? |
|
| |
Annealing in mathematics and computer science: An optimization algorithm with a probabilistic technique used to find an approximate solution to a complex optimization problem. |
|
| |
It mimics the metallurgical process by starting with a high "temperature" (allowing the algorithm to make random, sweeping changes to explore broad solution spaces) and gradually lowering it (narrowing down to fine-tune and settle on an optimal local solution). |
|
| |
And no, I'm not Richard K. My name is Moshe. (or Maurice in official papers) |
|
| |
If we have a well-formed idea of what is wanted, we can wrote it ourselves, or we can get a LLM to write it for us. The more exactly we specify what we want, the closer we come to getting the same result. |
|
| |
We humans often imagine development in small, incremental changes. Occasionally, I have found when I have taken the effort to re-write an application from scratch, it comes back stronger and better, and free of all sorts of flaws which I have worked with for years, and stopped seeing. |
|
| |
I hope in the first stage we can use LLMs to prototype what a total re-write from scratch might look like. We may not wholly trust the LLM but we can still plunder the bits we like. Then, as we get better at this, we may develop in larger and larger jumps, and eventually get the LLM to produce applications that were radically different. |
|
| |
Why not just skip the whole compilable code part and hallucinate the new executable directly in a stable diffusion stylee... |
|
| |
LLMs have freed us from having to program. Now we only have to provide highly specific and structured instructions to computers. |
|
| |