Next-Concept Modeling: Writing a Sentence Coarse-to-Fine

LLMs write one token per forward pass. Next-Concept Modeling stacks VQ-VAE codebooks from coarse to fine and writes the whole sentence in a few passes, one level of detail at a time.
GenAI
NLP
Machine Learning
Author
Published

October 27, 2026

This continues my last two posts. In VAE vs SVD I compressed data into a few learned numbers. In VQ-VAE those numbers became integers from a learned codebook, so an image turns into a grid of tokens that a second model can generate.

Next-Concept Modeling (NCM), a new paper from Stanford and Together AI, takes that idea back to text. It asks: why does an LLM have to write one token at a time?

The problem: one token per pass

An LLM produces a 48-token answer in 48 forward passes, and each pass reads all the model’s weights from memory again. Google’s speculative decoding post puts numbers on why that hurts: accelerators can do hundreds of operations per byte they read, but a transformer during decoding needs only about 10. Most of the compute waits on memory.

NCM writes the way you’d draw a face: outline first, then detail everywhere at once.

Top: an autoregressive model produces one token per forward pass. Bottom: NCM produces one level per pass. The first level has a few codes covering the whole sentence (the gist), and every later level adds detail across the whole sentence in parallel.

The paper calls the information in the coarse levels a concept, which is where the name comes from: predict the next concept, not the next token.

So how do you get levels that go from gist to detail? With a VQ-VAE where the codebooks are stacked.

Stage 1: stack the codebooks

Residual: quantise what’s left over

In the VQ-VAE post, one codebook of 8 vectors described the arc with an error of 0.040. Residual quantisation does it in rounds instead:

  1. Snap each point to the nearest of 4 codes.
  2. Look at what’s left over (the point minus its code), and snap that to the nearest of another 4 codes.
  3. Repeat with the new leftover.

Same arc, same 400 points:

Residual quantisation with 3 levels of 4 codes each. Level 1 gives a rough position, and each later level corrects what the previous ones missed. The error drops from 0.111 to 0.034 to 0.010.

Each level is a small correction on top of the levels before it. Level 1 alone is rough, but it already tells you roughly where the point is. After three levels, each point is stored as 3 integers (6 bits) and the error is 0.010. That’s a quarter of what 8 codes managed in the VQ-VAE post.

This is the key property NCM needs: the early codes are the gist, and the later codes are detail.

Multiscale: early levels are also short

For text, NCM adds one more thing. Early levels don’t just carry less detail, they also have fewer positions. In my toy version (below), a 48-character sentence is described by:

  • Level 1: 3 codes for the whole sentence, so roughly what it’s about.
  • Levels 2 to 4: 6, 12 and 24 codes, each storing what the earlier levels missed.
  • Level 5: 48 codes, one per position, enough to rebuild the exact text.

That’s the grid in the first figure. NCM learns this tokenizer, a multiscale residual VQ-VAE, before anything else.

One training trick makes the early levels useful. With nested dropout, training randomly keeps only the first few levels and drops the rest. The decoder has to make the best of whatever it gets, so the coarse levels are forced to carry real information. Otherwise the model could leave everything to the last level.

The paper’s tokenizer is close to lossless. 99.99% of tokens come back exactly on OpenWebText, 99.86% on LM1B and 100% on Sudoku boards.

Stage 2: generate one level per pass

In the VQ-VAE post, the second stage was a model that generates the code grid. NCM does the same, but level by level instead of token by token:

  1. Start with nothing and predict all the codes of level 1 in one forward pass.
  2. Add them to the reconstruction.
  3. Look at the reconstruction so far and predict all the codes of level 2 in one pass.
  4. Repeat until the last level, then decode to text.

The number of passes is the number of levels, not the number of tokens. And early passes are cheap, since level 1 has only a handful of positions.

One more trick is conditioning corruption. During training, some of the earlier-level codes the generator conditions on are swapped for random ones. At generation time, the model then copes better with its own mistakes from earlier levels.

The example I found most intuitive is the paper’s translation one. After step 1 the output is mush: “However, it is a important to the the the and the.” By step 6 it has the right shape. By step 11 it matches the reference. The coarse steps decide what to say and the fine steps fix the words.

Does it work?

The main experiments use models of about 100M parameters, so this is a research result, not a new LLM. Most comparisons are against diffusion language models, which also write in parallel but need many passes over the full sequence.

  • LM1B: better text quality than the best diffusion model (DUO), 21× faster.
  • Summarisation (XSum): ROUGE-L 28.0 with 8 passes, against 26.6 for the best diffusion baseline at 128 passes. About 31× faster.
  • Translation (WMT14 German→English): BLEU 22.6 with 11 passes, behind the best diffusion model (24.8) and a normal autoregressive model (25.2). Generating several candidates and picking the best (MBR decoding) brings NCM to 25.2.
  • Training cost: on LM1B, about 4.9× fewer training tokens than the baselines, with lower perplexity.

Sudoku is where coarse-to-fine helps most. A later level can fix a mistake an earlier level made. An autoregressive model commits to each cell and can never go back.

Percent of Sudoku boards solved completely. Numbers from the paper.
Method Easy Medium Hard Passes
Autoregressive (greedy) 14.6 5.1 1.0 128
DUO (diffusion) 96.3 84.7 58.4 128
FMLM+ (strongest baseline) 97.7 92.8 81.3 16
NCM 99.5 96.5 86.1 12

The authors also list the limits. Every output goes through all levels even if it’s short. The tokenizer and generator are trained separately. Scaling is only shown up to 725M parameters. And there are occasional glitches between coarse levels.

A toy version you can run

I wrote a small version to see the mechanism for myself. It trains in a few minutes on CPU or a free Colab GPU, on made-up sentences like “the happy fox slept under the tree.”, with levels of 3, 6, 12, 24 and 48 codes.

Open the notebook in Colab View it on GitHub

The generation loop is the whole idea in a few lines, with one forward pass per level:

for k in range(len(self.levels)):
    idx = sample(self.forward_level(x, k), temperature, top_k)   # all positions of level k at once
    z_hat = self.rvq.add_level(z_hat, idx, k)                    # add this level's detail
    if k + 1 < len(self.levels):
        x = down(z_hat, self.levels[k + 1])                      # the next "concept"

The notebook decodes the sentence after each level, so you can watch it come into focus. It’s a toy, so it says nothing about real language, but it shows the mechanism clearly.

What I take from this

The chain from these three posts is shorter than I expected. SVD compresses with straight axes. A VAE learns curved ones. A VQ-VAE turns them into tokens. Stack the codebooks from coarse to fine, and you can generate a sentence the way you’d draw a face, in a few passes instead of one per token.

The idea itself isn’t new for images. Next-scale prediction (VAR) already does this, because shrinking an image gives you a natural coarse version. Text has no obvious way to shrink, so NCM has to learn its levels. That’s what the multiscale residual VQ-VAE is for.

It’s early and small-scale. But it questions the one-token-per-pass habit in a way that’s easy to picture.

Sources