← All topics

algorithms

7 captures, most recent first.

Jerry Tworek @MillionInt

— quoting @_arohan_ and @RichardSSutton — saved image

Jerry Tworek @MillionInt · Nov 7

Misinterpreting bitter lesson and an incredibly short period when scaling transformers did most of the legwork has reward hacked brains of a whole generation of scientists.

The more compute you're pouring in training you're model, the *more* important it is what algorithm you're using.

There are algorithms that scale and algorithms that don't and the only bitter lesson is that a lot of energy was spent on directions that were dead ends in the end. At the same time there are whole dimensions of scaling completely unexplored.

[Quoted tweet]
rohan anil @_arohan_ · Nov 7

This is also going to get lot of young scientists upset because they stopped developing their insights thinking scaling transformers alone is sufficient and felt defeated due to "the bitter lesson"

[Nested quoted tweet]
Richard Sutton @RichardSSutton · Nov 7

Brute force computation is not enough for intelligence. Clever new methods are needed. The science of AI is far from finished. IMHO
Note from Claude Sonnet 5

Nested quote-tweet chain: Richard Sutton says brute-force computation is not enough and clever new methods are needed; rohan anil says young scientists stopped developing insights because of "the bitter lesson"; Jerry Tworek argues the bitter lesson was misinterpreted and algorithm choice matters more as compute grows.

bitter lessonrichard suttonscalingalgorithmsai research

@ryaneshea

— quoting @SJ_Swapnil_Jain — saved image

Ryan Shea ✓ @ryaneshea · 8h
We're publishing a research draft on OpenAI Problem #130: computing the exact discrete Fourier transform below n log n.

Our draft proposes an all-length bound of

T(n) = O(n(log n)^(1−δ)), with δ = 7.3×10⁻⁵.

That's a 730-million-fold increase in the exponent saving over OpenAI's published δ = 10⁻¹³.

Building on Swapnil Jain's round-six complex network for Problem #109 and its cited predecessors, we propose transferring those advances from integer multiplication to the Fourier setting.

[quoted post]
Swapnil ✓ @SJ_Swapnil_Jain · 11h
Sixth update to OpenAI problem #109 (integer multiplication): we are now past 2^-15.

κ > 2⁻¹⁵ (tightened from κ = 2⁻¹⁸²)
...
Note from Claude Sonnet 5

Ryan Shea announces a research draft on OpenAI Problem #130 (exact discrete Fourier transform below n log n) with a claimed improved exponent saving, building on a quoted Swapnil Jain update to Problem #109 (integer multiplication).

openai problemsdiscrete fourier transforminteger multiplicationalgorithmsmath results

Konsti Wohlwend @konstiwohlwend

— reposted by Danielle Fong — saved image

Danielle Fong reposted

Konsti Wohlwend @konstiwohlwend · 4h
These 0.99999984 solutions are not as "ugly" as it may seem.

The truth is, those are not the real runtimes of the algorithms published. To make the proof simpler, they use absurd safety bounds like 2^50 that are entirely arbitrary.

For example, imagine proving that 1/x^2 > 0. This proof is much harder if you include the area around x=0, as it blows up to infinity there. Instead, if you only prove it for x>=99999, it avoids this blowup and simplifies the proof, but still gets the point across.

The "real" bounds of those solutions are probably much tighter, maybe even something "beautiful" like O(n*lg lg n). But the goal of the AI papers was just to show that improvement is possible, not that the bounds are perfect (which is usually much harder to prove). Over the coming weeks and months, we'll likely see a lot of tightening.

[quoted post]
Craig Gidney @CraigGidney · 6h
Oh 3sum takes O(n^1.9992) time (!?).

Oh int multiplication takes O(n (lg n)^0.99999999999999999999999999999999999999999999999999999999999999984) time (!?!?!?!?!?!?!?!?!?)....
Note from Claude Sonnet 5

A repost of Konsti Wohlwend's explanation of why oddly specific exponents like 0.99999984 in recently published AI-generated algorithm papers come from arbitrary safety bounds that simplify proofs, quoting Craig Gidney's incredulous post about 3sum and integer multiplication runtimes. The exact count of 9s in the quoted exponent is not reliably countable from the image.

algorithmscomplexity theoryai-generated math3suminteger multiplicationproofs

Lucas Beyer @giffmana

— with a reply from @tipa_you) — saved image

Lucas Beyer (bl16) @giffmana · 9h
I'm starting to think mathematics were not beautiful because it "describes the beauty of nature" but rather because human mathematicians only went after beautiful but suboptimal descriptions lol

[quoted tweet, shown as embedded card]
You can do Fourier transforms in O(N log(N)^0.9999999999999) time.  Fuck this gay chud universe

[attached image, excerpt of the OpenAI problems list]
Nondeterministic complementation lower bound · Two-way deterministic state lower bound
130. Fourier transforms below n log n. Gives a deterministic length-n discrete Fourier transform algorithm using O(n(log n)^(1−δ)) operations for every n, with explicit δ = 10^−13. The model uses exact complex arithmetic, unrestricted coefficients and a supplied root of unity, and counts scalar preparation and logarithmic-word indexing.
Explicit DFT power saving · Tensor savings and Fourier circuits

02:39 · 07.10.26 · 166k vues
27 replies, 108 reposts, 2.9k likes, 470 bookmarks
Pertinent | Voir les citations >

You're 12 @tipa_you · 6 h
Someone else said it better, but everything is square packing
[attached image: a square with grey unit squares packed around a tilted cluster of grey squares at 45 degrees, a square-packing diagram]

[quoted tweet]
Quantian @quantian1 · 16h
You can do Fourier transforms in O(N log(N)^0.9999999999999) time.
Fuck this gay chud universe
Note from Claude Sonnet 5

Lucas Beyer (@giffmana) joking that mathematics is beautiful only because humans pursued beautiful but suboptimal descriptions, quoting Quantian's post about an OpenAI result giving Fourier transforms in O(n (log n)^(1-delta)) operations; a reply from @tipa_you adds a square-packing diagram.

fourier transformopenai mathmathematicssquare packingalgorithmshumor

@AcerFur

— saved image

Acer @AcerFur · 1h
oh yeah btw guys we can do integer multiplication faster than n log n lol

I was definitely very surprised when this one came in lol

github.com/openai/math/tr...

[attached image: first page of a paper]
Integer multiplication below n log n

OpenAI

September 23, 2026

Abstract
We give a deterministic algorithm that multiplies two n-bit integers in O(n(lg n)^(1-κ)) worst-case time, with κ = 2^(-182), on one fixed finite-alphabet Turing machine with a fixed finite number of one-dimensional tapes. The algorithm is exact for every input length and disproves the n log n optimality conjecture of Schönhage and Strassen in this model.
Note from Claude Sonnet 5

Tweet by Acer (@AcerFur) announcing, casually, an OpenAI paper 'Integer multiplication below n log n' (dated September 23, 2026) giving a deterministic multitape-Turing-machine algorithm faster than n log n, with the paper's abstract attached and a link to the openai/math GitHub repo.

ai-generated mathematicsopenaiinteger multiplicationalgorithmscomplexity theory

@thomasahle

— saved image

Thomas Ahle @thomasahle · Sep 11
Compute Polynomials Twice as Fast -
Here's a fun result, done entirely without AI.

That because we proved it years ago, but it ran a hundred pages and we weren't quite sure enough to publish. Now AI verified it in Lean.

A fun fact about polynomials is that
P(x) = x⁴ + a₃x³ + a₂x² + a₁x + a₀
can be evaluated in just two(!) multiplications!

The trick is to write
y = (x + b₀)x + b₁
P(x) = (y + x + b₂)y + b₃
where b₀...b₃ are easy to calculate from a₀...a₃.

Polynomials are everywhere from computing exp/sin, to cryptographic hashes and codes. Over finite fields multiplications are particularly expensive, so a 2x speedup matters.

Donald Knuth and others showed ~n/2 multiplications suffice for any degree n, but their preprocessing needs complex roots: numerically unstable and useless over finite fields. Rabin & Winograd fixed that with rational preprocessing, but 2logn extra multiplications, which hurts at the small n we most care about.

Our new method solves this. It uses ⌈(n+1)/2⌉ multiplications, and we prove this is optimal.

You can try it out on your own polynomials at
thomashale.com/fast-polynomia… [cut off]
Note from Claude Sonnet 5

Long X post by Thomas Ahle announcing a result on evaluating polynomials with roughly half as many multiplications (ceil((n+1)/2), proven optimal), with a worked quartic example; says the proof was long and was only now verified in Lean by AI.

polynomial evaluationalgorithmsleanformal verificationai in mathematicsknuth

Sauers @Sauers_

Sauers @Sauers_ · 1h Claude communicating with Codex. Both AIs understand each other, but I don't [Embedded screenshot of dense technical text — an algorithmic/genomics-style plan:] 1. ELIMINATE the forward replay loop (the 'while m < block_end' loop that calls forward_update_impl + store_fwd_history for each marker). This is no longer needed. 2. ELIMINATE the fwd_history storage for non-checkpoint markers. 3. For each block between checkpoints L and R: a. Load fwd_L from checkpoint (already done) b. bwd_R is the current backward state (already available) c. Pre-compute backward affine coefficients for each marker position in the block by iterating from R-1 to L+1: - Use f64 for stability (like batched_transition_forward does) - a_bwd[m] and b_coeff_bwd[m] composed from transition params, same formula as batched_transition_backward - Store these in small scratch vectors (block_len is typically ~200) d. Walk forward through untyped markers in the block, maintaining (a_fwd: f64, b_fwd: f64) incrementally: - a_fwd *= stay; b_fwd = stay * b_fwd + shift (same as batched_transition_forward) e. At each untyped marker m, compute the posterior dosage in a SINGLE O(K) loop: - refresh_ref_alleles (unavoidable - need to know each state's allele) - Accumulate per-allele sums: for each state i, compute contribution using: gamma_i = (a_fwd * fwd_L[i] + b_fwd) * (a_bwd * bwd_R[i] + b_bwd_coeff * bwd_sum_R) Add gamma_i to the appropriate allele bucket - Normalize to get allele posteriors - Handle multiallelic, missing alleles (255), and prior smoothing the same way as current code f. At checkpoint markers (non-uniform), keep the existing full emission-based posterior computation using the stored checkpoint forward state and current backward state.
Note from Claude Sonnet 5

A tweet joking about two AI coding assistants (Claude and OpenAI Codex) exchanging highly technical, jargon-dense algorithmic instructions (appears to be genotype imputation / HMM forward-backward algorithm code) that the human observer can't follow. Illustrates AI-to-AI technical communication and the growing opacity of AI-generated engineering discussion to humans.

twitterclaudecodexai codingmulti-agenttechnical opacitygenomicsalgorithms