← Latest papers
💬 NLP

Hidden Decoding at Scale: Latent Computation Scaling for Large Language Models

This paper introduces Hidden Decoding, a novel scaling method that enhances Large Language Models by expanding token computation along the sequence-length dimension through stream factorization, enabling significant performance gains at frontier scales without modifying the fixed Transformer backbone or incurring prohibitive training costs.

Original authors: Aiwei Liu, Cheng Shi, Chuhan Wu, Ci Lei, Di Lu, Donald He, Fan Zhang, Fanhao Kong, Feifei Zhang, Guan Wang, Haicheng Wang, Haoyu Liu, Houjin Yu, Jiachen Ding, Jiayi Feng, Jie Zhou, Jijun Chi, Jindi Sh
Published 2026-07-10
📖 5 min read🧠 Deep dive

Original authors: Aiwei Liu, Cheng Shi, Chuhan Wu, Ci Lei, Di Lu, Donald He, Fan Zhang, Fanhao Kong, Feifei Zhang, Guan Wang, Haicheng Wang, Haoyu Liu, Houjin Yu, Jiachen Ding, Jiayi Feng, Jie Zhou, Jijun Chi, Jindi Shi, Jing Lei, Junjie Zhang, Laiyi Li, Le Tian, Linhao Zhang, Miao Fan, Sijun Zhang, Wei Jia, Weiwei Shi, Wenhan Li, Wentao Zhao, Wenteng Liang, Xiao Zhou, Xiaojin Zhou, Xihuai Wang, Xinyu Gao, Xuanliang Wang, Xuyang Ao, Yang Yu, Yangxiu You, Yinuo Zhao, Yufei Kuang, Yufei Wang, Yuan Liu, Yuan Liu, Yuwen Chen, Zhencong Tian, Zhongyin Zhao, Zilin Yu, Zitao Wang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a super-smart robot brain (a Large Language Model) that's already pretty amazing. Usually, to make it even smarter, scientists try to make the brain bigger—adding more layers, more neurons, more everything. But that's like trying to build a skyscraper on top of a skyscraper: it costs a fortune, takes forever, and sometimes the construction crew (the training computers) just can't handle the size.

The WeChat AI Team asked a different question: What if we keep the brain exactly the same size, but give it more time to think about each word?

The Problem with "Looping"

Some researchers tried to solve this by making the robot "loop" its thinking. Imagine a student reading a sentence, then reading it again, then again, using the same brain cells over and over to get a better answer. This is called a "looped" or "recurrent" model.

But here's the catch: when you try to train the biggest robots (the ones with hundreds of billions of parameters), this looping idea breaks the assembly line. The computers that train these models work in a pipeline, where each part of the brain does its job once and passes the baton. If you make the robot stop and re-read the same sentence, the whole line stalls, and the expensive computers sit idle. It's like a factory conveyor belt that keeps stopping to let a worker re-do the same screw; the factory grinds to a halt.

The Solution: "Hidden Decoding" (The Secret Assembly Line)

The WeChat team came up with a clever trick called Hidden Decoding. Instead of making the robot read the same word over and over in a loop, they make the robot read the word multiple times at once, but in secret parallel lanes.

Think of it like a race car team. Instead of one car going around the track three times to get the best lap time, they send four identical cars (streams) down the track simultaneously.

  1. The Setup: When the robot sees a word (like "apple"), it doesn't just turn it into one code. It turns it into four different codes, each going into its own secret lane.
  2. The Secret Work: These four lanes run through the brain's layers. The first three lanes are "hidden." They do all the heavy lifting, thinking, and reasoning, but they don't get to speak the answer yet. They are like the brainstorming team in the back room.
  3. The Final Say: Only the fourth lane (the final stream) is allowed to shout out the next word. The brain only gets graded on this final answer.
  4. The Memory: Crucially, the brain remembers what the first three lanes thought. It keeps their notes (called "Key-Value caches") so the next word can read the brainstorming notes from the previous word.

This way, the robot gets four times the thinking power for every word, but it doesn't need to build a bigger brain or stop the assembly line. It just processes a longer sequence of data in one go.

Making it Affordable: The "Stream-Factorized" Trick

You might think, "Wait, if I have four lanes talking to each other, won't the math get crazy complicated?" If every lane tried to talk to every other lane at every step, the cost would explode (it would go up by 16 times!).

To fix this, the team used a method called Stream-Factorized Attention.

  • Most of the time: The lanes stay in their own bubbles. Lane 1 talks to Lane 1, Lane 2 to Lane 2. They don't bother each other.
  • Sometimes: Only a few specific layers let the lanes swap notes and mix their ideas.

This keeps the cost low. Instead of the cost jumping up by 16 times, it only goes up by about 4.4 to 5.1 times (which is close to the 4x increase in lanes). This makes it possible to train these super-large models without breaking the bank.

Did it Work?

The team tested this on two massive models: one with 80 billion parameters and a giant one with 617 billion parameters. They didn't change the brain size; they just turned on the "4-lane" mode.

  • The Results: The models got smarter. On hard math and science tests, the 617-billion model improved its score on the "GPQA Diamond" test from 89.1 to 91.2. On the "PHYBench" physics test, it went from 75.3 to 76.3.
  • The Trend: They also tested with 2 lanes, 4 lanes, and 8 lanes. As they added more lanes, the scores kept going up. This suggests that adding more "thinking lanes" is a real way to make models smarter without rebuilding them.

What They Ruled Out

The team was careful to check if this was just a fluke. They tried other ways to use the extra lanes:

  • Forcing every lane to guess: If they made the first three lanes try to predict the answer too (instead of just the last one), the model actually got worse.
  • Mixing the answers: If they just averaged the thoughts of all four lanes, it also didn't work as well as letting the final lane decide.
  • Sharing the notes: If they made the lanes share the same memory notes instead of keeping their own, the model got slightly less accurate.

This proves that the secret sauce is letting the first lanes do silent, private thinking and keeping their notes separate, so the final lane can use that deep, accumulated wisdom to make the best guess.

The Bottom Line

Hidden Decoding shows that you don't always need a bigger brain to be smarter. Sometimes, you just need to give the brain more time to think in parallel. By turning a single word into a secret assembly line of thoughts, the WeChat team found a way to boost the intelligence of frontier-scale models without the massive cost of building a new, bigger one. It's a practical, engineering-friendly way to squeeze more smarts out of the models we already have.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →