NVIDIA Nemotron 3 Architecture Analysis
Caleb Writes Codego watch the original →
the gist
NVIDIA's Nemotron 3 models optimize hardware utilization by combining Mamba 2 state-space layers with standard attention, latent-space Mixture-of-Experts (MoE), and multi-token prediction (MTP).
Hybrid Mamba-Transformer Architecture
NVIDIA addresses the quadratic scaling bottleneck of standard attention mechanisms by interleaving Mamba 2 state-space layers with traditional attention layers. While standard attention requires a KV cache that grows linearly with context length, Mamba 2 utilizes a fixed-size hidden state matrix that updates as tokens are processed. This allows the model to support context windows up to 1 million tokens while maintaining constant memory requirements for the state representation. The hybrid approach retains the long-range dependency capabilities of attention while offloading the heavy lifting of sequence processing to the hardware-efficient Mamba 2 state-space mechanism.
Latent Mixture-of-Experts (MoE)
To optimize memory bandwidth and compute, Nemotron 3 employs a Latent MoE architecture. Traditional MoE models activate only a fraction of weights, but routing tokens through these experts remains compute-intensive. NVIDIA reduces the footprint by performing routing and expert computation on a down-projected latent representation rather than the full token embedding. This reduction in memory bandwidth usage creates "surplus" compute capacity, which NVIDIA uses to pack more experts into the model, allowing each token to be processed by a larger number of experts than would be possible in a standard MoE configuration.
Multi-Token Prediction (MTP)
Nemotron 3 incorporates Multi-Token Prediction to improve both training expressivity and inference throughput. Instead of generating a single next token, the model is trained to predict multiple subsequent tokens simultaneously. During inference, this architecture facilitates speculative decoding, where the model drafts a sequence of tokens in a single pass. This reduces the latency of auto-regressive generation by allowing the system to accept or reject multiple tokens at once, effectively bypassing the bottleneck of generating tokens one by one.