• MudMan@fedia.io
    link
    fedilink
    arrow-up
    77
    arrow-down
    1
    ·
    1 day ago

    Is that a weird method of doing math?

    I mean, if you give me something borderline nontrivial like, say 72 times 13, I will definitely do some similar stuff. “Well it’s more than 700 for sure, but it looks like less than a thousand. Three times seven is 21, so two hundred and ten, so it’s probably in the 900s. Two times 13 is 26, so if you add that to the 910 it’s probably 936, but I should check that in a calculator.”

    Do you guys not do that? Is that a me thing?

      • Natanael@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 hours ago

        Not, but I’d do 75*10 + 75*4, then subtract the extra.

        The LLM method of doing it with multiple numbers without proper interpolation though makes it extra weird

      • Manticore@lemmy.nz
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        5 hours ago

        I might. Then I can subtract 74 to get 74*14, and subtract 28 to get 72*13.

        I don’t generally do that to ‘weird’ numbers, I usually get closer to multiples of 5, 9, 10, or 11.

        But a computer stores information differently. Perhaps it moves closer to numbers with simpler binary addresses.

    • Gormadt@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      16 hours ago

      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.nz
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 hours ago

        This is what I do, except I would add 700 and 236 at the end.

        Well except I would probably add 700 and 116 or something, because my working memory fucking sucks and my brain drops digits very easily when there’s more than 1

    • Mac@mander.xyz
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      15 hours ago

      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.

      • HereIAm@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        12 hours ago

        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.

        • futatorius@lemm.ee
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          10 hours ago

          Ever since learning about aphantasia I’m wondering if the lack of being able to visually store values has something to do with it.

          Here’s some anecdotal evidence. Until I was 12 or 13, I could do absurdly complex arithmetical calculations in my head. My memory of it was of visualizing intermediate calculations as if they were on a screen in my head. I’d close my eyes to minimize distracting external stimuli. I’d get pocket money because my dad would get his friends to bet on whether I could correctly multiply two 7-digit phone numbers, and when I won, which I always did, he’d give the money to me. He had an old-school electromechanical calculator he’d use to check the results.

          Neither of my parents and none of my many siblings had this ability.

          I was able to use a similar visualization technique to memorize long passages of music and text. That stayed with me post-puberty, though again at a lesser extent. I’ve also been able to learn languages more quickly than most.

          Once puberty kicked in, my ability to visualize declined significantly, though to compensate, I learned some mental arithmetics tricks that I still use now. I was able to get an MS in mathematics without much effort, since that relied on higher-level reasoning and not all that much on powerful memory or visualization. I didn’t pursue a Ph.D. due to lack of money but I think I could have gotten one (though I despise academic politics).

          So I think your comment about aphantasia is at least directionally correct, at least as applied to people. But there’s little reason to assume LLMs would do things the same way a human mind does, though both might operate under some similar information-theoretic constraints that would cause convergent evolution.

    • reev@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      48
      arrow-down
      1
      ·
      1 day ago

      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?

      • PlexSheep@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 hours ago

        I mean neural networks are modeled after biological neurons/brains after all. Kind of makes sense…

      • pulsewidth@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        14 hours ago

        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.

      • MudMan@fedia.io
        link
        fedilink
        arrow-up
        24
        ·
        1 day ago

        That’s what’s fascinating about how it does language in general.

        The article is interesting in both the ways in which things are similar and the ways they’re different. The rough approximation thing isn’t that weird, but obviously any human would have self-awareness of how they did it and not accidentally lie about the method, especially when both methods yield the same result. It’s a weirdly effective, if accidental example of human-like reasoning versus human-like intelligence.

        And, incidentally, of why AGI and/or ASI are probably much further away than the shills keep claiming.

    • GamingChairModel@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      1
      ·
      1 day ago

      This is pretty normal, in my opinion. Every time people complain about common core arithmetic there are dozens of us who come out of the woodwork to argue that the concepts being taught are important for deeper understanding of math, beyond just rote memorization of pencil and paper algorithms.

      • QuarterSwede@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 hours ago

        The problem with common core math isn’t that rounding is inherently bad, it’s that you don’t start with that as a framework.

        • futatorius@lemm.ee
          link
          fedilink
          English
          arrow-up
          2
          ·
          10 hours ago

          Memory can improve with training, and it’s useful in a large number of contexts. My major beef with rote memorization in schools is that it’s usually made to be excruciatingly boring. I’d say that’s the bigger problem.

    • Pennomi@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 day ago

      Nah I do similar stuff. I think very few people actually trace their own lines of thought, so they probably don’t realize this is how it often works.

      • forrgott@lemm.ee
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 day ago

        Huh. I visualize a whiteboard in my head. Then I…do the math.

        I’m also fairly certain I’m autistic, so… ¯\_(ツ)_/¯

    • shalafi@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 day ago

      I do much the same in my head.

      Know what’s crazy? We sling bags of mulch, dirt and rocks onto customer vehicles every day. No one, neither coworkers nor customers, will do simple multiplication. Only the most advanced workers do it. No lie.

      Customer wants 30 bags of mulch. I look at the given space:

      “Let’s do 6 stacks of 5.”

      Everyone proceeds to sling shit around in random piles and count as we go. And then someone loses track and has to shift shit around to check the count.

      • futatorius@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 hours ago

        Yeah, one of my family members is a bricklayer and he can work out a bill of materials in his head based on the dimensions in an architectural plan: given these dimensions and this thickness of mortar joint, I’ll need this many bricks, this many bags of mortar, this many bags of sand, this many hours of labor, etc. It’s just addition and multiplication, but his colleagues regard him as a freak. And when he first started doing it, if you’d ask him to break down his reasoning, he’d find that difficult.

    • Mr. Satan@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      1 day ago

      72 * 10 + 70 * 3 + 2 * 3

      That’s what I do in my head if I need an exact result. If I’m approximateing I’ll probably just do something like 70 * 15 which is much easier to compute (70 * 10 + 70 * 5 = 700 + 350 = 1050).

        • Mr. Satan@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 hours ago

          No it doesn’t, multiplication and division always take precedence over addition and subtraction. You’d need parentheses to clarify what is in the divisor since that can be ambiguous with line notation.

      • MudMan@fedia.io
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        OK, I’ve been willing to just let the examples roll even though most people are just describing how they’d do the calculation, not a process of gradual approximation, which was supposed to be the point of the way the LLM does it…

        …but this one got me.

        Seriously, you think 70x5 is easier to compute than 70x3? Not only is that a harder one to get to for me in the notoriously unfriendly 7 times table, but it’s also further away from the correct answer and past the intuitive upper limit of 1000.

        • Mr. Satan@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 hours ago

          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.

        • Monument@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          1 day ago

          See, for me, it’s not that 7*5 is easier to compute than 7*3, it’s that 5*7 is easier to compute than 7*3.

          I saw your other comment about 8’s, too, and I’ve always found those to be a pain, so I reverse them, if not outright convert them to arithmetic problems. 8x4 is some unknown value, but X*8 is always X*10-2X, although do have most of the multiplication tables memorized for lower values.
          8*7 is an unknown number that only the wisest sages can compute, however.

        • Broadfern@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          edit-2
          1 day ago

          For me personally, anything times 5 can be reached by halving the number, then multiplying that number by 10.

          Example: 66 x 5 = Y

          • (66/2) x (5x2) = Y

            • cancel out the division by creating equal multiplication in the other number

            • 66/2 = 33

            • 5x2 = 10

          • 33 x 10 = Y

          • 33 x 10 = 330

          • Y = 330

        • toynbee@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          1 day ago

          The 7 times table is unfriendly?

          I love 7 timeses. If numbers were sentient, I think I could be friends with 7.

          • MudMan@fedia.io
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            1 day ago

            I’ve always hated it and eight. I can only remember the ones that are familiar at a glance from the reverse table and to this day I sometimes just sum up and down from those “anchor” references. They’re so weird and slippery.

            • toynbee@lemmy.world
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              1
              ·
              1 day ago

              Huh.

              Going back to the “being friends” thing, I think you and I could be friends due to applying qualities to numbers; but I think it might be challenging because I find 7 and 8 to be two of the best. They’re quirky, but interesting.

              Thank you for the insight.