Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Technology
  3. Anthropic has developed an AI 'brain scanner' to understand how LLMs work and it turns out the reason why chatbots are terrible at simple math and hallucinate is weirder than you thought

Anthropic has developed an AI 'brain scanner' to understand how LLMs work and it turns out the reason why chatbots are terrible at simple math and hallucinate is weirder than you thought

Scheduled Pinned Locked Moved Technology
technology
163 Posts 97 Posters 658 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.
  • P [email protected]

    This is great stuff. If we can properly understand these “flows” of intelligence, we might be able to write optimized shortcuts for them, vastly improving performance.

    L This user is from outside of this forum
    L This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #65

    Better yet, teach AI to write code replacing specific optimized AI networks. Then automatically profile and optimize and unit test!

    1 Reply Last reply
    0
    • kolanaki@pawb.socialK [email protected]

      I use a calculator. Which an AI should also be and not need to do weird shit to do math.

      I This user is from outside of this forum
      I This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #66

      Fascist. If someone does maths differently than your preference, it's not "weird shit". I'm facile with mental math despite what's perhaps a non-standard approach, and it's quite functional to be able to perform simple to moderate levels of mathematics mentally without relying on a calculator.

      R artichoke99@lemm.eeA kolanaki@pawb.socialK L 4 Replies Last reply
      0
      • kolanaki@pawb.socialK [email protected]

        I use a calculator. Which an AI should also be and not need to do weird shit to do math.

        J This user is from outside of this forum
        J This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #67

        Function calling is a thing chatbots can do now

        1 Reply Last reply
        0
        • I [email protected]

          Fascist. If someone does maths differently than your preference, it's not "weird shit". I'm facile with mental math despite what's perhaps a non-standard approach, and it's quite functional to be able to perform simple to moderate levels of mathematics mentally without relying on a calculator.

          R This user is from outside of this forum
          R This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #68

          Wtf hahahahaha

          1 Reply Last reply
          0
          • dual_sport_dork@lemmy.worldD [email protected]

            when a calculator from the 80s can do the same thing.

            1970's! The little blighters are even older than most people think.

            Which is why I find it extra hilarious / extra infuriating that we've gone through all of these contortions and huge wastes of computing power and electricity to ultimately just make a computer worse at math.

            Math is the one thing that computers are inherently good at. It's what they're for. Trying to use LLM's to perform it halfassedly is a completely braindead endeavor.

            J This user is from outside of this forum
            J This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #69

            But who is going around asking these bots to specifically do math? Like in normal usage, Ive never once done that because I could just use a calculator or spreadsheet software if I need to get fancy lol

            1 Reply Last reply
            0
            • cm0002@lemmy.worldC [email protected]
              This post did not contain any content.
              V This user is from outside of this forum
              V This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #70

              Someone put 69 to research and then to article. Nice trolling.

              1 Reply Last reply
              0
              • gormadt@lemmy.blahaj.zoneG This user is from outside of this forum
                gormadt@lemmy.blahaj.zoneG This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #71

                How I'd do it is basically

                72 * (10+3)

                (72 * 10) + (72 * 3)

                (720) + (3*(70+2))

                (720) + (210+6)

                (720) + (216)

                936

                Basically I break the numbers apart into easier chunks and then add them together.

                manticore@lemmy.nzM 1 Reply Last reply
                0
                • I [email protected]

                  Fascist. If someone does maths differently than your preference, it's not "weird shit". I'm facile with mental math despite what's perhaps a non-standard approach, and it's quite functional to be able to perform simple to moderate levels of mathematics mentally without relying on a calculator.

                  artichoke99@lemm.eeA This user is from outside of this forum
                  artichoke99@lemm.eeA This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #72

                  OK but the llm is evidently shit at math so its "non-standard" approach should still be adjusted

                  1 Reply Last reply
                  0
                  • I [email protected]

                    Fascist. If someone does maths differently than your preference, it's not "weird shit". I'm facile with mental math despite what's perhaps a non-standard approach, and it's quite functional to be able to perform simple to moderate levels of mathematics mentally without relying on a calculator.

                    kolanaki@pawb.socialK This user is from outside of this forum
                    kolanaki@pawb.socialK This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #73

                    I am talking about the AI. It's already a computer. It shouldn't need to do anything other than calculate the equations. It doesn't have a brain, it doesn't think like a human, so it shouldn't need any special tools or ways to help it do math. It is a calculator, after all.

                    1 Reply Last reply
                    0
                    • M This user is from outside of this forum
                      M This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #74

                      I wouldn't even attempt that in my head.
                      I can't keep track of things and then recall them later for the final result.

                      H 1 Reply Last reply
                      0
                      • funnyusername@lemmy.worldF [email protected]

                        anything that claims it "thinks" in any way I immediately dismiss as an advertisement of some sort. these models are doing very interesting things, but it is in no way "thinking" as a sentient mind does.

                        S This user is from outside of this forum
                        S This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #75

                        Anybody who claims they don't "think" before we even figure out completely how they work and even how human thoughts work are just spreading anti-AI sentiment beyond what is considered logical.

                        You should become a better example than an AI by only arguing based on facts rather than things you hallucinate if you want to prove your own position on this matter.

                        T 1 Reply Last reply
                        0
                        • N [email protected]

                          This reminds me of learning a shortcut in math class but also knowing that the lesson didn't cover that particular method. So, I use the shortcut to get the answer on a multiple choice question, but I use method from the lesson when asked to show my work. (e.g. Pascal's Pyramid vs Binomial Expansion).

                          It might not seem like a shortcut for us, but something about this LLM's training makes it easier to use heuristics. That's actually a pretty big deal for a machine to choose fuzzy logic over algorithms when it knows that the teacher wants it to use the algorithm.

                          mudman@fedia.ioM This user is from outside of this forum
                          mudman@fedia.ioM This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #76

                          You're antropomorphising quite a bit there. It is not trying to be deceptive, it's building two mostly unrelated pieces of text and deciding the fuzzy logic is getting it the most likely valid response once and that the description of the algorithm is the most likely response to the other. As far as I can tell there's neither a reward for lying about the process nor any awareness of what the process was anywhere in this.

                          Still interesting (but unsurprising) that it's not getting there by doing actual maths, though.

                          N 1 Reply Last reply
                          0
                          • I [email protected]

                            "Ask Claude to add 36 and 59 and the model will go through a series of odd steps, including first adding a selection of approximate values (add 40ish and 60ish, add 57ish and 36ish). Towards the end of its process, it comes up with the value 92ish. Meanwhile, another sequence of steps focuses on the last digits, 6 and 9, and determines that the answer must end in a 5. Putting that together with 92ish gives the correct answer of 95," the MIT article explains."

                            That is precisrly how I do math. Feel a little targeted that they called this odd.

                            J This user is from outside of this forum
                            J This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #77

                            I think it's odd in the sense that it's supposed to be software so it should already know what 36 plus 59 is in a picosecond, instead of doing mental arithmetics like we do

                            At least that's my takeaway

                            S 1 Reply Last reply
                            0
                            • semperverus@lemmy.worldS [email protected]

                              Which is exactly how we do it.

                              thisisnothim@sopuli.xyzT This user is from outside of this forum
                              thisisnothim@sopuli.xyzT This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #78

                              We also check to see if the word that popped into our heads actually rhymes by saying it out loud. Actual validation steps we can take is a bigger difference than being a little more robust.

                              We also have non-list based methods like breaking the word down into smaller chunks to try to build up hopefully more novel rhymes. I imagine professionals have even more tools, given the complexity of more modern rhyme schemes.

                              1 Reply Last reply
                              0
                              • R [email protected]

                                I think what's wild about it is that it really is surprisingly similar to how we actually think. It's very different from how a computer (calculator) would calculate it.

                                So it's not a strange method for humans but that's what makes it so fascinating, no?

                                P This user is from outside of this forum
                                P This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #79

                                Yes, agreed. And calculators are essentially tabulators, and operate almost just like a skilled person using an abacus.

                                We shouldn't really be surprised because we designed these machines and programs based on our own human experiences and prior solutions to problems. It's still neat though.

                                1 Reply Last reply
                                0
                                • cm0002@lemmy.worldC [email protected]
                                  This post did not contain any content.
                                  ? Offline
                                  ? Offline
                                  Guest
                                  wrote on last edited by
                                  #80

                                  …Duh. 🤓

                                  1 Reply Last reply
                                  0
                                  • ? Guest

                                    To understand what's actually happening, Anthropic's researchers developed a new technique, called circuit tracing, to track the decision-making processes inside a large language model step-by-step. They then applied it to their own Claude 3.5 Haiku LLM.

                                    Anthropic says its approach was inspired by the brain scanning techniques used in neuroscience and can identify components of the model that are active at different times. In other words, it's a little like a brain scanner spotting which parts of the brain are firing during a cognitive process.

                                    This is why LLMs are so patchy at math. (Image credit: Anthropic)

                                    Anthropic made lots of intriguing discoveries using this approach, not least of which is why LLMs are so terrible at basic mathematics. "Ask Claude to add 36 and 59 and the model will go through a series of odd steps, including first adding a selection of approximate values (add 40ish and 60ish, add 57ish and 36ish). Towards the end of its process, it comes up with the value 92ish. Meanwhile, another sequence of steps focuses on the last digits, 6 and 9, and determines that the answer must end in a 5. Putting that together with 92ish gives the correct answer of 95," the MIT article explains.

                                    But here's the really funky bit. If you ask Claude how it got the correct answer of 95, it will apparently tell you, "I added the ones (6+9=15), carried the 1, then added the 10s (3+5+1=9), resulting in 95." But that actually only reflects common answers in its training data as to how the sum might be completed, as opposed to what it actually did.

                                    In other words, not only does the model use a very, very odd method to do the maths, you can't trust its explanations as to what it has just done. That's significant and shows that model outputs can not be relied upon when designing guardrails for AI. Their internal workings need to be understood, too.

                                    Another very surprising outcome of the research is the discovery that these LLMs do not, as is widely assumed, operate by merely predicting the next word. By tracing how Claude generated rhyming couplets, Anthropic found that it chose the rhyming word at the end of verses first, then filled in the rest of the line.

                                    "The planning thing in poems blew me away," says Batson. "Instead of at the very last minute trying to make the rhyme make sense, it knows where it’s going."

                                    Anthropic discovered that their Claude LLM didn't just predict the next word. (Image credit: Anthropic)

                                    Anthropic also found, among other things, that Claude "sometimes thinks in a conceptual space that is shared between languages, suggesting it has a kind of universal 'language of thought'."

                                    Anywho, there's apparently a long way to go with this research. According to Anthropic, "it currently takes a few hours of human effort to understand the circuits we see, even on prompts with only tens of words." And the research doesn't explain how the structures inside LLMs are formed in the first place.

                                    But it has shone a light on at least some parts of how these oddly mysterious AI beings—which we have created but don't understand—actually work. And that has to be a good thing.

                                    M This user is from outside of this forum
                                    M This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #81

                                    My favourite part of the day: commenting LLMentalist under AI articles.

                                    demonsword@lemmy.worldD 1 Reply Last reply
                                    0
                                    • F [email protected]

                                      Unfortunately, these articles are often written by people who don't know enough to realize they're missing important nuances.

                                      D This user is from outside of this forum
                                      D This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #82

                                      It also doesn't help that the AI companies deliberately use language to make their models seem more human-like and cogent. Saying that the model e.g. "thinks" in "conceptual spaces" is misleading imo. It abuses our innate tendency to anthropomorphize, which I guess is very fitting for a company with that name.

                                      On this point I can highly recommend this open access and even language-wise accessible article: https://link.springer.com/article/10.1007/s10676-024-09775-5 (the authors also appear on an episode of the Better Offline podcast)

                                      F 1 Reply Last reply
                                      0
                                      • M [email protected]

                                        I wouldn't even attempt that in my head.
                                        I can't keep track of things and then recall them later for the final result.

                                        H This user is from outside of this forum
                                        H This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #83

                                        Pen and paper maths I'm pretty decent at, but ask me to calculate anything in my head and it's anyone's guess if I remembered to carry the 1 or not. Ever since learning about aphantasia I'm wondering if the lack of being able to visually store values has something to do with it.

                                        F L 2 Replies Last reply
                                        0
                                        • M This user is from outside of this forum
                                          M This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #84

                                          Times 5 and times 10 tables are really easy for me. So yeah, in my mind it's an easier comuptation.

                                          That being said having a result of a little over a 1000 gives me an estimate for the magnitude of a number – it's around a thousand. It might be more or less but it's not far from there.

                                          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