I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber of course a deterministic LLM could be made. But ~noone would use it. Being able to reroll the dice is an important part of the confidence game.
-
@cwebber exactly this. on the flip side, their seemed to be a vast desire among management types and maybe hobbyists for some super easy super high level language. but idk if it's even worth going there. avoiding the details only works until it doesn't
@mntmn @cwebber management types have wanted this since the 1950s. it’s why COBOL and SQL exist; it’s why RAD exists. It’s why so called “4th Generation Languages” exist. Management would like nothing more to be done with needing to think about all those pesky details like “that’s a logical impossibility” or “that’s P=NP”, they want their word to be the word of god
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
We love it when changes have non-localized and unpredictable results;
-
@cstanhope @mcc @mntmn @cwebber I like it.
-
@ireneista @mntmn @cwebber well it's a general purpose UI *now* but only in a very monkeys paw way
-
@cwebber of course a deterministic LLM could be made. But ~noone would use it. Being able to reroll the dice is an important part of the confidence game.
@joeyh I mean real talk that's why I don't play preset seeds in roguelikes, hooked on that RNG juice
-
@mntmn @cwebber I think the single interesting thing LLMs have revealed is that there is a substantial market segment who has an active desire for natural language interfaces to the computer and who will flip from "do not engage to the computer" to "engage with the computer" if a natural language interface became available.
I do not personally want a natural language interface to the computer. I also do not believe the thing LLM vendors have built is a natural language interface to the computer
@mcc @mntmn @cwebber speaking of expanding to more users and of assembler:
An argument I've heard is that: in the past high level compiled languages have replaced assembler, and LLMs are the next step.
Well, assembler -- and assembler-adjacent stuff like C's SIMD intrinsics -- are still relied upon (think finely optimised low-lvl libraries in some fields like gaming, video codecs, and number crunching in scientific data analysis).
... -
@mcc @mntmn @cwebber ...
Proper software engineering done by human with brains that can hold an actual mental model of the design implication isn't going away.At best, what we have is a (very unreliable) tool that will allow people who are utterly allergic to programming languages to still be able to play around code.
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber they're lossy pseudorandom decompression
-
@cstanhope @drwho @mcc @mntmn @cwebber And to bring it full circle, grad students *can* be compilers.
-
@cwebber exactly this. on the flip side, their seemed to be a vast desire among management types and maybe hobbyists for some super easy super high level language. but idk if it's even worth going there. avoiding the details only works until it doesn't
-
@joeyh I mean real talk that's why I don't play preset seeds in roguelikes, hooked on that RNG juice
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber oh, they could… if you operated them yourself. Snapshotting, and saving the PRNG seed.
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber mostly agree, especially about them not being compilers, but some compilers aren't deterministic. You'll get a different result in memory layout or optimization sometimes. Especially for quantum compilers, where the compilation process itself is known to be NP hard, so heuristics are used.
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber I think that the lack of determinism is less important than the lack of a precise mapping between input and output. If we hypothesize a nondeterministic compiler that exposes a precise semantics, you can statistically predict the output based on the input based on the stochastic compilation process. LLMs don't give any such guarantee: you put imprecise natural language in and then the output is vibesy related to the input. Small changes to the input can beget very large changes to the output.
-
@cwebber If I hear "LLMs are like higher level languages" I will end up on the news, i think
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber
PGO go brrrrr -
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber This is more like the Pentium 4 idea of predictive branching, but with even larger pipeline stalls. Except the P4 could still do math.
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
For the people who compare an LLM to a compiler, the latter are not deterministic. They can not understand how sometimes* programs work, and sometimes they do not. The fault for this must be in the computer - hence LLMs equal compilers.
*depending on source code input and running conditions.
@cwebber -
@cwebber mostly agree, especially about them not being compilers, but some compilers aren't deterministic. You'll get a different result in memory layout or optimization sometimes. Especially for quantum compilers, where the compilation process itself is known to be NP hard, so heuristics are used.