Width vs. Depth: Speculating on the Margin

AI nerds expected batching to win, but one smart guess ahead may be faster — and commenters are into it

TLDR: Doubleword says an AI may run faster by continuing one reply with a smart guess than by handling two separate replies at once, which could matter for cutting costs and speeding up chatbots. Commenters weren’t brawling — they mostly seemed delighted by how neatly the idea was explained.

A fresh post from Doubleword’s Fergus Finn tossed a deceptively simple question into the machine-learning crowd: if an AI can only handle two bits of work at once, is it better to serve two totally separate people at the same time, or let one answer get a little head start and guess the next word before checking it? The surprising answer: that second option can actually crank out more total output, even when the guess is wrong sometimes. In plain English, one conversation staying on a roll may be cheaper than juggling two unrelated ones.

That’s the kind of result that usually starts a nerd fight, but the community reaction here was hilariously calm and instantly charmed. The lone visible reply, from mezark, didn’t dive into a flame war or scream “benchmarks or it didn’t happen.” Instead, it delivered the internet equivalent of a nod of approval: “really like the framing of this post :)” And honestly? That vibe says a lot. Readers seemed won over less by chest-thumping performance claims and more by the way the article turned a deeply technical speed problem into a neat, almost puzzle-like story.

The real intrigue is that the post argues AI work isn’t just about how much you do, but how similar the work is. That has big implications for how companies squeeze more speed out of expensive systems. Community mood: not meltdown, but pleasantly surprised nerd delight — with a side of “wait, that’s weirdly elegant.”

Key Points

  • The article compares two ways to use an inference engine that can process only two tokens at a time: batch two unrelated sequences or speculate one token ahead on a single sequence.
  • Under the stated assumptions, the article says modeling shows that speculative depth can deliver more total output tokens per second than width via batch size 2, even with a 0.9 token acceptance rate.
  • Finn attributes the result to mixture-of-experts routing rather than to a simple acceptance-rate argument.
  • The article references data from half a million draft rounds per draft model, plus expert-routing captures, published as the specdec-calibration dataset on Hugging Face.
  • It reports that expert routing is empirically non-uniform and that consecutive speculative tokens tend to co-activate more of the same experts, reducing expert-weight movement in memory-bound inference.

Hottest takes

"really like the framing of this post :)" — mezark
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.