Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • 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 (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. somehow I only recently learned that LLMs need the whole conversation fed back to them on each prompt so their i/o cost scales as O(n^2), something that would be considered completely unacceptable in almost any other production network-accessible software

somehow I only recently learned that LLMs need the whole conversation fed back to them on each prompt so their i/o cost scales as O(n^2), something that would be considered completely unacceptable in almost any other production network-accessible software

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
10 Indlæg 6 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • jcoglan@mastodon.socialJ This user is from outside of this forum
    jcoglan@mastodon.socialJ This user is from outside of this forum
    jcoglan@mastodon.social
    wrote sidst redigeret af
    #1

    somehow I only recently learned that LLMs need the whole conversation fed back to them on each prompt so their i/o cost scales as O(n^2), something that would be considered completely unacceptable in almost any other production network-accessible software

    prema@hachyderm.ioP jcoglan@mastodon.socialJ schrotthaufen@mastodon.socialS troed@swecyb.comT 4 Replies Last reply
    1
    0
    • jcoglan@mastodon.socialJ jcoglan@mastodon.social

      somehow I only recently learned that LLMs need the whole conversation fed back to them on each prompt so their i/o cost scales as O(n^2), something that would be considered completely unacceptable in almost any other production network-accessible software

      prema@hachyderm.ioP This user is from outside of this forum
      prema@hachyderm.ioP This user is from outside of this forum
      prema@hachyderm.io
      wrote sidst redigeret af
      #2

      @jcoglan i was thinking about this, and i believe that simple inference is O(n^2), because it is matrix multiplication of input vector (input tokens). The situation with refeeding the whole context, which also has hiddeng growth, or even “agentic” approach - launching secondary queries by agents - makes the situation far worse.
      My take is that the general strategy of “AI” companies is - in principle - throwing exponential complexity brute force on problems and showing off that sometimes it gives interesting result.

      1 Reply Last reply
      0
      • jcoglan@mastodon.socialJ jcoglan@mastodon.social

        somehow I only recently learned that LLMs need the whole conversation fed back to them on each prompt so their i/o cost scales as O(n^2), something that would be considered completely unacceptable in almost any other production network-accessible software

        jcoglan@mastodon.socialJ This user is from outside of this forum
        jcoglan@mastodon.socialJ This user is from outside of this forum
        jcoglan@mastodon.social
        wrote sidst redigeret af
        #3

        they ran into this and then didn't figure out a way to externalise the state in some fixed-size form so the LLM can resume from there. you just have to restart the computer and redo everything

        in any other program this would be considered a DoS vector and have CVEs issued

        gosh I wonder why their costs are completely unmanageable

        jcoglan@mastodon.socialJ henrahmagix@tech.lgbtH 2 Replies Last reply
        0
        • jcoglan@mastodon.socialJ jcoglan@mastodon.social

          they ran into this and then didn't figure out a way to externalise the state in some fixed-size form so the LLM can resume from there. you just have to restart the computer and redo everything

          in any other program this would be considered a DoS vector and have CVEs issued

          gosh I wonder why their costs are completely unmanageable

          jcoglan@mastodon.socialJ This user is from outside of this forum
          jcoglan@mastodon.socialJ This user is from outside of this forum
          jcoglan@mastodon.social
          wrote sidst redigeret af
          #4

          this also makes it hard to take seriously claims that the marginal cost of inference is not a serious contributor to the resource use of data centres. your program has polynomial running cost and people run it for hours on end

          jcoglan@mastodon.socialJ 1 Reply Last reply
          0
          • jcoglan@mastodon.socialJ jcoglan@mastodon.social

            this also makes it hard to take seriously claims that the marginal cost of inference is not a serious contributor to the resource use of data centres. your program has polynomial running cost and people run it for hours on end

            jcoglan@mastodon.socialJ This user is from outside of this forum
            jcoglan@mastodon.socialJ This user is from outside of this forum
            jcoglan@mastodon.social
            wrote sidst redigeret af
            #5

            SAMA ET AL: why can't we make a profit with this revolutionary technology
            ME: your operating cost scales super-linearly with the value it delivers to users
            SAMA ET AL: better tell the government we have invented the angels from evangelion or something

            jcoglan@mastodon.socialJ 1 Reply Last reply
            0
            • jcoglan@mastodon.socialJ jcoglan@mastodon.social

              SAMA ET AL: why can't we make a profit with this revolutionary technology
              ME: your operating cost scales super-linearly with the value it delivers to users
              SAMA ET AL: better tell the government we have invented the angels from evangelion or something

              jcoglan@mastodon.socialJ This user is from outside of this forum
              jcoglan@mastodon.socialJ This user is from outside of this forum
              jcoglan@mastodon.social
              wrote sidst redigeret af
              #6

              they invented a technology business with super-linear marginal cost of production I am losing my *entire mind*

              1 Reply Last reply
              0
              • jcoglan@mastodon.socialJ jcoglan@mastodon.social

                somehow I only recently learned that LLMs need the whole conversation fed back to them on each prompt so their i/o cost scales as O(n^2), something that would be considered completely unacceptable in almost any other production network-accessible software

                schrotthaufen@mastodon.socialS This user is from outside of this forum
                schrotthaufen@mastodon.socialS This user is from outside of this forum
                schrotthaufen@mastodon.social
                wrote sidst redigeret af
                #7

                @jcoglan @buherator This also means you can “gaslight” the LLM by manipulating the conversation before it’s sent back to the LLM

                buherator@infosec.placeB 1 Reply Last reply
                0
                • jcoglan@mastodon.socialJ jcoglan@mastodon.social

                  they ran into this and then didn't figure out a way to externalise the state in some fixed-size form so the LLM can resume from there. you just have to restart the computer and redo everything

                  in any other program this would be considered a DoS vector and have CVEs issued

                  gosh I wonder why their costs are completely unmanageable

                  henrahmagix@tech.lgbtH This user is from outside of this forum
                  henrahmagix@tech.lgbtH This user is from outside of this forum
                  henrahmagix@tech.lgbt
                  wrote sidst redigeret af
                  #8

                  @jcoglan Have-You-Tried-Turning-It-Off-And-On-Again as a service

                  1 Reply Last reply
                  0
                  • schrotthaufen@mastodon.socialS schrotthaufen@mastodon.social

                    @jcoglan @buherator This also means you can “gaslight” the LLM by manipulating the conversation before it’s sent back to the LLM

                    buherator@infosec.placeB This user is from outside of this forum
                    buherator@infosec.placeB This user is from outside of this forum
                    buherator@infosec.place
                    wrote sidst redigeret af
                    #9
                    @schrotthaufen @jcoglan And coding agents gaslight the user by injecting "system reminders" prefixes that are invisible to the user but the LLM sees them as user messages and regularly refer back to those as user requirements.
                    1 Reply Last reply
                    0
                    • jcoglan@mastodon.socialJ jcoglan@mastodon.social

                      somehow I only recently learned that LLMs need the whole conversation fed back to them on each prompt so their i/o cost scales as O(n^2), something that would be considered completely unacceptable in almost any other production network-accessible software

                      troed@swecyb.comT This user is from outside of this forum
                      troed@swecyb.comT This user is from outside of this forum
                      troed@swecyb.com
                      wrote sidst redigeret af
                      #10

                      @jcoglan Sort of, but not really in reality. What happens is that you keep the context cached in VRAM and only transfer what's new.

                      It's like complaining on GIMP needing to have the whole image in RAM to be able to work on it.

                      1 Reply Last reply
                      0
                      • abekonge@venner.networkA abekonge@venner.network shared this topic
                      Svar
                      • Svar som emne
                      Login for at svare
                      • Ældste til nyeste
                      • Nyeste til ældste
                      • Most Votes


                      • Log ind

                      • Har du ikke en konto? Tilmeld

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      Graciously hosted by data.coop
                      • First post
                        Last post
                      0
                      • Hjem
                      • Seneste
                      • Etiketter
                      • Populære
                      • Verden
                      • Bruger
                      • Grupper