Hybrid 3D DRAM and LPDDR Memory Architecture for MoE Training Chips
This article describes a memory architecture for training chips that run large Mixture-of-Experts (MoE) models. It pairs a high-bandwidth 3D DRAM tier for active working sets with a high-capacity LPDDR tier for long-lived state. It covers data tiering and precision, capacity and bandwidth budgeting, compute matching, software orchestration, and validation at cluster scale.
1. Background: Why Training Chips Need to Rethink Device Memory
For training systems built around very large MoE models, the memory system usually handles three jobs at once:
- Storing model state that must persist for the whole run;
- Supplying high-bandwidth data to the current compute stage;
- Moving parameters, activations, gradients, and expert data between devices, nodes, and clusters.
Traditional high-bandwidth memory ties capacity and bandwidth together. To reach a higher peak bandwidth, a system must add more stacked layers or more memory devices. However, the data that needs high-bandwidth access during training is often only a fraction of the total state. As a result, high-capacity memory is purchased but may not sustain a proportional bandwidth demand. The bandwidth built into the system may also go unused because the compute cores cannot consume it fully.
For MoE models, this tension is sharper. The total parameter count is very large, but each token activates only a few experts. The long-lived state includes master weights, optimizer state, and high-precision update data. The data accessed frequently during a given compute stage is mainly the routed expert weights, the activations of the current micro-batch, temporary gradients, and communication buffers. A memory system suited to MoE training therefore should not have a single capacity tier. It should be divided by access frequency, data precision, and lifecycle.
The core idea of this article is:
- Use near-logic or on-chip vertically stacked 3D DRAM to serve high-bandwidth, frequently accessed hot data;
- Use large-capacity LPDDR to hold long-lived state and infrequently accessed data;
- Turn the capacity advantage of LPDDR into usable training space through hardware prefetching, software pipelining, and communication overlap;
- Reduce capacity pressure on 3D DRAM through quantized weights and staged data movement;
- Match peak compute to the bandwidth that can actually be supplied, so compute does not sit idle while memory falls behind.
This approach decouples capacity from bandwidth in the training chip. It does not simply replace existing memory with a larger high-bandwidth memory.
2. Tiered Memory Architecture
2.1 3D DRAM: The High-Bandwidth Hot Tier
3D DRAM can be stacked vertically near the compute logic die. This shortens interconnect distance, increases the number of parallel channels, and lowers the energy and latency cost of accessing frequently used data. It suits the following data:
- Expert weights being executed in the current micro-batch;
- Activations of the current layer and adjacent layers;
- Short-lived gradients during backpropagation;
- Intermediate buffers for routing and aggregation;
- Double-buffer regions needed to overlap communication with computation;
- Low-precision quantized compute weights.
3D DRAM does not need to hold the whole model permanently. Its main goal is not maximum cap
