Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. 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"

Scheduled Pinned Locked Moved Uncategorized
55 Posts 45 Posters 103 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • cwebber@social.coopC cwebber@social.coop

    I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"

    Noooooooooo
    Noooooooooooooooooooooooooooo

    LLMs 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

    osma@mas.toO This user is from outside of this forum
    osma@mas.toO This user is from outside of this forum
    osma@mas.to
    wrote last edited by
    #37

    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

    1 Reply Last reply
    0
    • rdviii@famichiki.jpR rdviii@famichiki.jp

      @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.

      cdonat@hostsharing.coopC This user is from outside of this forum
      cdonat@hostsharing.coopC This user is from outside of this forum
      cdonat@hostsharing.coop
      wrote last edited by
      #38

      @rdviii @cwebber

      Heuristics aren't non-deterministic by definition. Of course it is possible to come up with non-deterministic heuristics, just like with any kind of algorithm. But by far most heuristics are very deterministic, just like most algorithms are, heuristic, or not.

      1 Reply Last reply
      0
      • drwho@masto.hackers.townD drwho@masto.hackers.town

        @cstanhope @mcc @mntmn @cwebber I like it.

        ryanc@infosec.exchangeR This user is from outside of this forum
        ryanc@infosec.exchangeR This user is from outside of this forum
        ryanc@infosec.exchange
        wrote last edited by
        #39

        @drwho @cstanhope @mcc @mntmn @cwebber Honestly, I would prefer LLM generated code over grad student generated code.

        1 Reply Last reply
        0
        • R relay@relay.infosec.exchange shared this topic
        • rdviii@famichiki.jpR rdviii@famichiki.jp

          @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.

          yaleman@mastodon.socialY This user is from outside of this forum
          yaleman@mastodon.socialY This user is from outside of this forum
          yaleman@mastodon.social
          wrote last edited by
          #40

          @rdviii Ok but who's actually talking about *quantum compilers* when they are just saying "compilers" as a general term? ... other than people who work exclusively on QC's, who would be ... an incredibly tiny minority 🙂

          1 Reply Last reply
          0
          • cwebber@social.coopC cwebber@social.coop

            I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"

            Noooooooooo
            Noooooooooooooooooooooooooooo

            LLMs 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

            C This user is from outside of this forum
            C This user is from outside of this forum
            carl@chaos.social
            wrote last edited by
            #41

            @cwebber I am really Hung-up on the non-deterministic Character of LLMs lately. This essential quality makes them fit for solving specific kinds of problems und TOTALLY unfit for other kinds of problems.
            I am working on my wisdom to get this right for each given problem.

            1 Reply Last reply
            0
            • joeyh@sunbeam.cityJ joeyh@sunbeam.city

              @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.

              ansuz@gts.cryptography.dogA This user is from outside of this forum
              ansuz@gts.cryptography.dogA This user is from outside of this forum
              ansuz@gts.cryptography.dog
              wrote last edited by
              #42

              @joeyh I'm glad to see that someone else has considered this angle. It's always bugged me a little when I see the "they aren't deterministic" argument, but I've kept it to myself because nobody likes a pedant and of course @cwebber already understands as much.

              I just worry that if this critique were to become more popular then the LLM makers would just implement the ability to specify a seed, then sit back and play the game where they say

              we heard your criticism and have addressed it

              Most people have no reason to have developed an advanced reasoning capacity about randomness, and I dread having to explain to them how something can be both deterministic and stochastic in nature 😣​

              cwebber@social.coopC hackbod@mastodon.socialH 2 Replies Last reply
              0
              • cwebber@social.coopC cwebber@social.coop

                I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"

                Noooooooooo
                Noooooooooooooooooooooooooooo

                LLMs 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

                kkarhan@infosec.spaceK This user is from outside of this forum
                kkarhan@infosec.spaceK This user is from outside of this forum
                kkarhan@infosec.space
                wrote last edited by
                #43

                @cwebber precisely that!

                A #shitposting - Program is anything but #reproduceable and I want #ReproduceableBuilds for #auditability, #security and #transparency.

                • That's the whole reason I do @OS1337: To have something so fundamentally simple and compact that it is (at least in theory - at some point) financially feasible to crowdfund complete code audits of the entire system.
                  • I don't want people to trust me blindly, but to earn trust in the few things I code.

                That's why I treat any "#AI" / #AIslop the same way @dolphin treat any leaks from Nintendo:

                • I'm not even gonna look at it!
                1 Reply Last reply
                1
                0
                • cwebber@social.coopC cwebber@social.coop

                  I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"

                  Noooooooooo
                  Noooooooooooooooooooooooooooo

                  LLMs 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

                  pautasso@scholar.socialP This user is from outside of this forum
                  pautasso@scholar.socialP This user is from outside of this forum
                  pautasso@scholar.social
                  wrote last edited by
                  #44

                  @cwebber if, just like with asm, reading and reviewing generated code is not longer a necessary thing, then the productivity bottleneck shifts to how much time is spent "engineering" the prompt.

                  1 Reply Last reply
                  0
                  • cwebber@social.coopC cwebber@social.coop

                    @joeyh I mean real talk that's why I don't play preset seeds in roguelikes, hooked on that RNG juice

                    eviloatmeal@ak.angelstrapped.comE This user is from outside of this forum
                    eviloatmeal@ak.angelstrapped.comE This user is from outside of this forum
                    eviloatmeal@ak.angelstrapped.com
                    wrote last edited by
                    #45
                    @cwebber @joeyh If someone invented an LLM that gave me powerups and metaprogression, I might be slightly interested.
                    1 Reply Last reply
                    0
                    • cwebber@social.coopC cwebber@social.coop

                      I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"

                      Noooooooooo
                      Noooooooooooooooooooooooooooo

                      LLMs 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

                      littledetritus@geraffel.socialL This user is from outside of this forum
                      littledetritus@geraffel.socialL This user is from outside of this forum
                      littledetritus@geraffel.social
                      wrote last edited by
                      #46

                      @cwebber This might actually be subject to change though.

                      Njoy: https://arxiv.org/abs/2510.22954

                      Artificial Hivemind: The Open-Ended Homogeneity of Language Models (and Beyond)

                      tl;dr: LLMs are coming closer and closer to conveying reproducible outputs. One could be under the impression that if trained on the same data and towards a certain size asymtotic behaviour would be a resonable expectation, becaus that happens with large numbers in statistics.

                      What a ... surprise.

                      1 Reply Last reply
                      0
                      • ansuz@gts.cryptography.dogA ansuz@gts.cryptography.dog

                        @joeyh I'm glad to see that someone else has considered this angle. It's always bugged me a little when I see the "they aren't deterministic" argument, but I've kept it to myself because nobody likes a pedant and of course @cwebber already understands as much.

                        I just worry that if this critique were to become more popular then the LLM makers would just implement the ability to specify a seed, then sit back and play the game where they say

                        we heard your criticism and have addressed it

                        Most people have no reason to have developed an advanced reasoning capacity about randomness, and I dread having to explain to them how something can be both deterministic and stochastic in nature 😣​

                        cwebber@social.coopC This user is from outside of this forum
                        cwebber@social.coopC This user is from outside of this forum
                        cwebber@social.coop
                        wrote last edited by
                        #47

                        @ansuz @joeyh And of course there is the question, what is and isn't a compiler? Aren't all functions compilers?

                        Indeed, Blender's rendering system is in many ways a compiler for images.

                        But we don't use that way, because it's not helpful, even though Blender and ffmpeg are MORE of compilers than LLMs are. People are reaching for "LLMs might be compilers!" because of the thing they want it to *do* rather than how it *acts*, even though Blender and ffmpeg are by far, under those definitions, much more of compilers than LLMs are.

                        cwebber@social.coopC 1 Reply Last reply
                        0
                        • cwebber@social.coopC cwebber@social.coop

                          @ansuz @joeyh And of course there is the question, what is and isn't a compiler? Aren't all functions compilers?

                          Indeed, Blender's rendering system is in many ways a compiler for images.

                          But we don't use that way, because it's not helpful, even though Blender and ffmpeg are MORE of compilers than LLMs are. People are reaching for "LLMs might be compilers!" because of the thing they want it to *do* rather than how it *acts*, even though Blender and ffmpeg are by far, under those definitions, much more of compilers than LLMs are.

                          cwebber@social.coopC This user is from outside of this forum
                          cwebber@social.coopC This user is from outside of this forum
                          cwebber@social.coop
                          wrote last edited by
                          #48

                          @ansuz @joeyh To put it another way: even though we could call Blender and ffmpeg compilers in a way that would be hard to argue with, we don't, and it wouldn't be useful if we did because we wouldn't understand each other well.

                          Please don't call LLMs compilers.

                          1 Reply Last reply
                          0
                          • cwebber@social.coopC cwebber@social.coop

                            I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"

                            Noooooooooo
                            Noooooooooooooooooooooooooooo

                            LLMs 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

                            kye@tech.lgbtK This user is from outside of this forum
                            kye@tech.lgbtK This user is from outside of this forum
                            kye@tech.lgbt
                            wrote last edited by
                            #49

                            @cwebber The metaphor I reach for is processors. They're language coprocessors, and language is messy in a way most things coprocessors have done aren't. We're at "Hello World" in figuring out what to do with them.

                            1 Reply Last reply
                            0
                            • cwebber@social.coopC cwebber@social.coop

                              I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"

                              Noooooooooo
                              Noooooooooooooooooooooooooooo

                              LLMs 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

                              srazkvt@tech.lgbtS This user is from outside of this forum
                              srazkvt@tech.lgbtS This user is from outside of this forum
                              srazkvt@tech.lgbt
                              wrote last edited by
                              #50

                              @cwebber ok i'm going to be very annoying here but

                              don't some old versions of msvc choose certain optimisations randomly ?

                              1 Reply Last reply
                              0
                              • cwebber@social.coopC cwebber@social.coop

                                I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"

                                Noooooooooo
                                Noooooooooooooooooooooooooooo

                                LLMs 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

                                aparrish@friend.campA This user is from outside of this forum
                                aparrish@friend.campA This user is from outside of this forum
                                aparrish@friend.camp
                                wrote last edited by
                                #51

                                @cwebber for me, the question isn't determinism but epistemology. the llm "compiles" by chaining predictions based on statistics which are derived from empirical data—i.e. its model of the "compilation" process is "usually when there's x in the input, there's y in the output." a conventional compiler is based on deductive reasoning about how x requires y. the former is totally parasitic on the latter (i.e. if the underlying reasoning didn't exist, empirical data on its operation couldn't exist)

                                1 Reply Last reply
                                0
                                • cwebber@social.coopC cwebber@social.coop

                                  I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"

                                  Noooooooooo
                                  Noooooooooooooooooooooooooooo

                                  LLMs 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

                                  natty@astolfo.socialN This user is from outside of this forum
                                  natty@astolfo.socialN This user is from outside of this forum
                                  natty@astolfo.social
                                  wrote last edited by
                                  #52

                                  @cwebber@social.coop to be fair I don't think determinism is a defining property of compilers

                                  💭 I should make a stochastic compiler (whatever that means)

                                  1 Reply Last reply
                                  0
                                  • alina@girldick.gayA alina@girldick.gay

                                    @cwebber @joeyh the binding of isaac, enter the gungeon and dead cells are worse than a slot machine for my adhd brain

                                    natty@astolfo.socialN This user is from outside of this forum
                                    natty@astolfo.socialN This user is from outside of this forum
                                    natty@astolfo.social
                                    wrote last edited by
                                    #53

                                    @alina@girldick.gay @cwebber@social.coop @joeyh@sunbeam.city try mewgenics try mewgenics try mewgenics

                                    1 Reply Last reply
                                    0
                                    • ansuz@gts.cryptography.dogA ansuz@gts.cryptography.dog

                                      @joeyh I'm glad to see that someone else has considered this angle. It's always bugged me a little when I see the "they aren't deterministic" argument, but I've kept it to myself because nobody likes a pedant and of course @cwebber already understands as much.

                                      I just worry that if this critique were to become more popular then the LLM makers would just implement the ability to specify a seed, then sit back and play the game where they say

                                      we heard your criticism and have addressed it

                                      Most people have no reason to have developed an advanced reasoning capacity about randomness, and I dread having to explain to them how something can be both deterministic and stochastic in nature 😣​

                                      hackbod@mastodon.socialH This user is from outside of this forum
                                      hackbod@mastodon.socialH This user is from outside of this forum
                                      hackbod@mastodon.social
                                      wrote last edited by
                                      #54

                                      @ansuz @joeyh @cwebber

                                      Ah but even if you can use a specific seed and try to use this to call it a "compiler", your compiler here is the very specific sets of weights within that model, and any change breaks its determinism. I think there being one and exactly one possible implementation to get the specified set of outputs can count as an actual compiler.

                                      1 Reply Last reply
                                      0
                                      • kkarhan@infosec.spaceK kkarhan@infosec.space

                                        @eramdam @cwebber +1

                                        krutonium@social.treehouse.systemsK This user is from outside of this forum
                                        krutonium@social.treehouse.systemsK This user is from outside of this forum
                                        krutonium@social.treehouse.systems
                                        wrote last edited by
                                        #55

                                        @kkarhan @eramdam @cwebber
                                        +2

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • World
                                        • Users
                                        • Groups