7 comments

  • nukanse 1 hour ago
    It should be possible to replace a small tree of neurons with a smaller set of functions that back propagate more efficiently and are cheaper to calculate meanwhile using less ram/cpu per computation. It's not probable that our first shoot in the dark with neurons got the optimal math structure.

    Why would multiplication and addition be the only needed math, and not xor gates.

    Ai should be used to find that set of functions.

    • Zanfa 37 minutes ago
      Additions and multiplications give you gradients for back propagation, I’m not sure what the XOR equivalent would be.

      I believe binary networks use quantization-aware training for exactly that reason as well.

      • sigmoid10 31 minutes ago
        On top of that, you can trivially construct an XOR gate with just 2 neurons in the hidden layer. Neural networks are already proven universal approximation schemes and they are differentiable, meaning you can train using gradient descent. These two facts are what gave rise to modern AI, not some half-motivated architecture or building block. Complexity is what you need, and gradient descent is what you use to tame it. There are probably still quite a few possible improvements to sections of the overall process, but the biggest revolution will probably come from making hardware more aligned with these ideas rather than making AI more aligned with traditional hardware.
    • saagarjha 25 minutes ago
      Because multiplication and addition let you model continuous-ish functions cheaply.
    • nextaccountic 53 minutes ago
      This sounds like Kolmogorov-Arnold networks.. rather than learning weights, learn a function computed by neurons
    • advael 1 hour ago
      I do think it'd be interesting to have some kind of localized snapping when subsets of neurons adjacent enough to segment from the network as a whole are close enough to a known family of functions over their inputs. Some kind of optimizing compiler over approximated neural circuitry
    • wodenokoto 55 minutes ago
      Neurons can do XOR gates.

      My first home assignment after being introduced to NN was to draw an XOR gate on paper using neurons.

      How to do it, is left as an exercise to the reader.

      • comradesmith 4 minutes ago
        They mean the inverse of that. Using XOR gates (or something similarly primitive) to implement neurons
  • saagarjha 27 minutes ago
    This paper is really hard to read but it seems like they're trying to optimize for fewest GEMMs instead of normalizing for the ones that run the fastest at the precision they need? I don't really understand why you would care about having fewer GEMMs.
  • habibiphysics 12 minutes ago
    [dead]
  • moab 2 hours ago
    Yikes. Is this paper supposed to be read by humans or agents? Seems like the authors spent very little time doing any kind of readability checks. The results do look super impressive though. can anyone more in the know on why one wants fp64 matmuls in practice? Iiuc doing it at low bit and aggregating into bf16 was good enough eg when computing dot products even on pretty long vectors.
    • fsh 1 hour ago
      In my corner of physics, the biggest theory breakthrough came from abandoning fp128 quad-precision and going to arbitrary precision libraries with tens to hundreds of (decimal!) digits.
      • ssivark 1 hour ago
        Say more! :-)
      • dist-epoch 1 hour ago
        Sounds like something was wrong with the way the theory was realized in software.
        • chasil 1 hour ago
          COBOL compilers rely on arbitrary precision, and GNU COBOL links in GNU MP to achieve it.

          https://archive.ph/K2TX3

          • froh 53 minutes ago
            cobol has _fixed_ arbitrary precision, BCD encoded arbitrary fixed size numbers.

            they happened to use gnu MP, yes, but for cobol, dynamic arbitrary float precision or "never overflow" ints are not the point.

    • hodgehog11 2 hours ago
      Don't judge based only on LLMs. They are a special case coming from having a good amount of compression bias baked into their design. There are heaps of applications in scientific computing where you really need fp64 matmuls. The biggest issue comes with ill-conditioned matrices, where a low-precision matmul can cause catastrophic cancellation.
  • saretup 1 hour ago
    Gotta be either 2 or infinity
  • larpingscholar 3 hours ago
    Up to 83x speed increase for fp64 matmul on b300. Great news for all the woefully underutilized Blackwell's out there!
    • XorNot 1 hour ago
      Like, it is? That's almost two orders of magnitude performance improvement on the same hardware.
      • Dylan16807 1 hour ago
        "same hardware" might be a misleading way to think about it. There's only a handful of fp64 units on the die, so it wouldn't be a big exaggeration to say the native performance is zero. This algorithm actually makes use of the computational power of the die. And going from near-zero to solid performance is automatically a near-infinite improvement factor.
        • cyanydeez 42 minutes ago
          Intels latest GPU for compute targets fp64 performance.

          If they can deploy aoftware and models, these benefits go into hardware selection.

          • Dylan16807 15 minutes ago
            The speed of this method is part of hardware selection for sure.

            But I'm saying the native performance number is too low to care about, so the 83x ratio isn't meaningful. It's an important number divided by an unimportant number. If native was a little better and the ratio was 50x, or native was even worse and the ratio was 600x, that change in ratio would basically not matter.

  • cubefox 1 hour ago
    Could be a nice way to do nuclear weapons testing at home.