Skip to main content

Next-Concept Modeling: generation over representation levels

An advanced study of non-autoregressive generation based on hierarchical discrete codes.

Autoregressive generation predicts the next token from the prefix produced so far. Next-Concept Modeling (NCM) explores a different prediction unit: a hierarchy of discrete codes that progressively represents a sequence, from coarse to fine. Codes within one level are predicted in parallel; levels remain ordered.

After this study, you should be able to compare the prediction units of GPT, diffusion models, and NCM; describe NCM’s two training stages; explain exactly where parallelism occurs; and interpret its results without generalizing beyond the published protocols.

Three ways to organize generation

Dimension Autoregressive (GPT) Text diffusion NCM
Generation unit Next token State or token to denoise Codes at one hierarchy level
Main dependency Next token depends on the prefix Denoising iterations Fine levels depend on earlier levels
Parallelism Training positions parallelized with causal masking; generation is sequential Multiple positions updated per denoising step Positions within one level predicted in parallel
Intermediate output Token prefix Partially denoised sequence Reconstruction accumulated across code levels
Decoding One token at a time Multiple denoising steps One level at a time, then code decoding

These families differ in more than speed. They organize intermediate representations, dependencies between predictions, and decoding costs differently. “Non-autoregressive” therefore does not mean “everything is predicted in one operation.”

How NCM works

1. Learn a hierarchical representation

A first stage trains a multiscale neural tokenizer based on residual vector quantization. It encodes a sequence into multiple levels of discrete codes. Early levels capture a coarse reconstruction; later levels add residual information and detail. Nested dropout encourages early levels to remain informative.

Here, concept refers to a learned latent unit. It does not guarantee human interpretability or correspondence to identifiable linguistic concepts.

2. Learn to predict the levels

In a second stage, the tokenizer is frozen and a concept Transformer learns to predict the hierarchical codes. At each level, codes are predicted in parallel, conditioned on the cumulative reconstruction from previous levels. Training may corrupt some conditioning codes to make the model more robust to errors in its own predictions.

3. Generate from coarse to fine

At inference, the model produces levels successively. Parallelism applies to positions within a level, not to the entire hierarchy. Once all levels have been generated, the tokenizer decoder reconstructs the text sequence.

The Hazy Research project page provides an overview diagram and details the two stages: project presentation.

What the results do — and do not — establish

The paper reports speedups over text-diffusion models on several tasks: about 21× on LM1B, 10× on OpenWebText, and up to 31× on XSum in the evaluated configurations. It also reports fewer training token positions exposed in some comparisons (about 4.9× on LM1B and 4× on OpenWebText).

These are experimental results, not universal properties of NCM. They depend on the tasks, baselines, model sizes, hardware, and protocols. They do not establish that NCM systematically outperforms optimized autoregressive systems in latency, quality, total cost, or robustness. Sudoku results remain an evaluation on a specific structured task, not proof of general reasoning.

Trade-offs and open questions

  • Separately learned representation: the tokenizer and generator are trained in two stages; the tokenizer is frozen while training the concept Transformer.
  • Imposed hierarchy: the number and organization of levels structure computation; adaptive compute allocation remains an open research question.
  • Latent codes: usefulness for reconstruction does not make them automatically interpretable.
  • Quality and robustness: error propagation across levels, throughput/quality trade-offs, and out-of-distribution behavior require study.
  • Fair comparison: measure latency, throughput, memory, training cost, and quality under comparable protocols.

Comprehension question on Next-Concept Modeling.

Experiment and sources

The appropriate next experimental step is to inspect the official code and checkpoints, then reproduce a small experiment on a documented dataset and protocol. Do not present an unverified run as a reproduction.

Position in LLM Lab: an advanced deep dive and alternative architectural branch. NCM does not replace the canonical GPT chain and is not a prerequisite for building the small GPT.