News for hackers. Stuff that matters.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by kristjansson on Wednesday February 04, 2026 @11:15AM (#46887657)
> self-attention is efficiently computable to arbitrary precision with constant cost per token

This paper at least aspires to reproduce 'true' attention, which distinguishes it from many of the others. TBD if its successful in that.

Re:Attention at Constant Cost per Token via Symmetry-Aware T... by energy123 on Wednesday February 04, 2026 @11:20AM (#46887743)
It's like claims of room temperature superconductors or millenium prize solutions. Earth shattering if true. It'd be such a black swan. Terrible for Nvidia.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by SeanAnderson on Wednesday February 04, 2026 @11:49AM (#46888179)
Well, we solved one of the Millennium Prize problems (honestly kinda quickly) so maybe there's hope :)
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by logicchains on Wednesday February 04, 2026 @11:47AM (#46888151)
It can't be successful at that any more than 1+1 can equal 3. Fundamentally, if every token wants to be able to look at every previous token without loss of information, it must be O(n^2); N tokens looking at N tokens is quadratic. Any sub-quadratic attention must hence necessarily lose some information and be unable to support perfect recall on longer sequences.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by hellohello2 on Wednesday February 04, 2026 @12:22PM (#46888614)
I'm not saying if the paper is correct or not (since I can't tell), but I don't think your argument really holds. Consider applying it to multiplication:

Fundamentally, multiplication need to look at every pair of integer from the two input numbers. It must be O(n^2); N digits looking at N other digits is quadratic. Any sub-quadratic multiplication must hence necessarily lose some information.

Re:Attention at Constant Cost per Token via Symmetry-Aware T... by actionfromafar on Wednesday February 04, 2026 @01:00PM (#46889184)
Doesn't that have to do with how many bits you allow in the actual calculation in physical reality?
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by hellohello2 on Wednesday February 04, 2026 @02:03PM (#46890137)
Well, for multiplication complexity is defined in terms of on the number of digits/bits digits directly. For attention, complexity is defined on terms of the number of input vectors which are all at fixed precision. I don't understand what happens to the method proposed in the paper at higher precision (since I don't understand the paper), but in reality in doesn't matter since there is no value in anything over float16 for machine learning.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by logicchains on Wednesday February 04, 2026 @05:00PM (#46892438)
Multiplication has some properties like being cumulative. If we assume the sequence has any specific properties then we no longer have a general sequence model.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by direwolf20 on Wednesday February 04, 2026 @06:45PM (#46893593)
I think you meant commutative.

Attention also has some specific properties.

And sometimes results are just unexpected. Did you know that anything a Turing machine can do in t tome steps, a different Turing machine can do in O(sqrt(t log t)) memory cells? https://news.ycombinator.com/item?id=44055347

Re:Attention at Constant Cost per Token via Symmetry-Aware T... by nine_k on Wednesday February 04, 2026 @09:02PM (#46894698)
Integer multiplication x * y can be trivially done in O(k): k = logâ‚‚(min(x, y)). This is because we can do addition in constant time, adding all bits in parallel.

By combining many more adding units, we can do (fixed-size) multiplication in constant time, too: https://en.wikipedia.org/wiki/Dadda_multiplier

Re:Attention at Constant Cost per Token via Symmetry-Aware T... by sifar on Wednesday February 04, 2026 @09:16PM (#46894803)
Multiplication can be sub-quadratic using Karatsuba's algorithm.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by nullc on Friday February 06, 2026 @01:05AM (#46909652)
That is the poster's point!
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by oasisaimlessly on Wednesday February 04, 2026 @12:48PM (#46888986)
That argument could also be used to say that the FFT's time complexity of O(n log n) should be impossible.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by naasking on Wednesday February 04, 2026 @01:42PM (#46889843)
Your argument just assumes there is no latent structure that can be exploited. That's a big assumption.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by logicchains on Wednesday February 04, 2026 @04:53PM (#46892351)
It's a necessary assumption for the universal approximation property; if you assume some structure then your LLM can no longer solve problems that don't fit into that structure as effectively.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by direwolf20 on Wednesday February 04, 2026 @06:52PM (#46893642)
Neural nets are structured as matrix multiplication, yet, they are universal approximators.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by noosphr on Wednesday February 04, 2026 @07:05PM (#46893778)
You're missing the non-linear activations.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by naasking on Wednesday February 04, 2026 @05:52PM (#46893040)
But language does have structure, as does logic and reasoning. Universal approximation is great when you don't know the structure and want to brute force search to find an approximate solution. That's not optimal by any stretch of the imagination though.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by orlp on Wednesday February 04, 2026 @01:59PM (#46890076)
> N tokens looking at N tokens is quadratic

Convolving two arrays can be done perfectly accurately in O(n log n), despite every element being combined with every other element.

Or consider the even more basic sum of products a[i] * b[j] for all possible i, j:

    total = 0
    for i in range(len(a)):
        for j in range(len(b)):
            total += a[i] * b[j]
This can be computed in linear time as sum(a) * sum(b).

Your logic that 'the result contains terms of all pairs, therefore the algorithm must be quadratic' simply doesn't hold.

Re:Attention at Constant Cost per Token via Symmetry-Aware T... by anvuong on Wednesday February 04, 2026 @03:07PM (#46890916)
This brings me back to DSP class, man learning about FFT was eye-opening.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by logicchains on Wednesday February 04, 2026 @04:52PM (#46892338)
That's like saying sorting can be done in O(n) because radix sort exists. If you assume some structure, you lose generality, i.e. there'll be some problems it's no longer able to solve. It can no longer approximate any arbitrary function that needs perfect memory over the sequence.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by CrazyStat on Wednesday February 04, 2026 @06:11PM (#46893255)
One of my favorite bits of my PhD dissertation was factoring an intractable 3-dimensional integral

\iiint f(x, y, z) dx dy dz = \int [\int g(x, y) dx]*[\int h(y, z) dz] dy

which greatly accelerated numerical integration (O(n^2) rather than O(n^3)).

My advisor was not particularly impressed and objectively I could have skipped it and let the simulations take a bit longer (quite a bit longer--this integration was done millions of times for different function parameters in an inner loop). But it was clever and all mine and I was proud of it.

Re:Attention at Constant Cost per Token via Symmetry-Aware T... by noosphr on Wednesday February 04, 2026 @07:02PM (#46893747)
Convolution is a local operation.

Attention is a global operation.