Hybrid 3D DRAM and LPDDR Memory Architecture for Ten-Thousand-Card Training
This article explores a hybrid memory architecture that decouples bandwidth from capacity for large-scale sparse expert model training. It proposes combining a small, high-bandwidth 3D DRAM layer near compute logic with a large-capacity LPDDR tier for persistent training states. The discussion covers data tiering principles, capacity and bandwidth estimation, interconnect constraints, software prefetching and buffering strategies, fault tolerance, and an evaluation methodology for finding cost-performance inflection points. The goal is to enable efficient training at 10K to 100K accelerator scale without over-provisioning expensive high-bandwidth memory.
1. Problem Background: High Bandwidth and Large Capacity Should Not Be Strongly Coupled
For sparse expert model training at the scale of ten thousand to one hundred thousand accelerators, the storage system typically handles three types of tasks simultaneously:
- Storing model parameters, master weights, and optimizer states;
- Continuously supplying high-throughput data for matrix computations;
- Temporarily accommodating activations, gradients, communication buffers, and intermediate results required for recomputation.
Traditional high-bandwidth memory often improves throughput through multiple channels, wide interfaces, and high-density stacking, but its capacity usually increases together with the stack size. For sparse expert models, each computation step activates only a fraction of all experts, so not all parameters need to reside simultaneously in the highest-bandwidth storage tier.
This creates an obvious contradiction: training chips are forced to equip larger high-bandwidth memory capacities to achieve several TB/s of bandwidth, yet a large portion of parameters, optimizer states, and checkpoint data do not need to be accessed continuously at peak rates. The result is underutilized high-bandwidth memory capacity and rising BOM costs.
Therefore, a more rational design direction is to optimize “capacity” and “bandwidth” separately:
- Use a small-capacity, high-bandwidth 3D DRAM to hold the current computational hotspot;
- Use a large-capacity, lower-bandwidth LPDDR to preserve long-term states;
- Organize the two-level storage into a unified address space through on-chip scheduling, prefetching, data blocking, and communication hiding.
This is not simply connecting two memory types; it requires redefining the lifecycle and migration strategy of training data.
2. Overall Architecture: Near-Logic 3D DRAM Plus Large-Capacity LPDDR
The proposed chip consists of compute logic, a near-logic 3D DRAM controller, an LPDDR controller, an on-chip network, and high-speed interconnect interfaces.
2.1 3D DRAM: High-Bandwidth Hot Tier
3D DRAM is vertically stacked near the compute logic and connected to the compute array via short-distance, high-parallelism interfaces. It mainly holds the following data:
- Activations for the current micro-batch;
- Gradients for the current compute stage;
- Low-precision weights of currently scheduled experts;
- Temporary buffers that need fast exchange during communication;
- Intermediate tensors used in recomputation and pipeline scheduling.
3D DRAM does not aim to store the entire model state; rather, it aims to keep compute units waiting for external memory most of the time. Its capacity should be determined by the “concurrently resident compute working set,” not directly by the total model parameter count.
2.2 LPDDR: Large-Capacity Cold Tier
LPDDR serves as local large-capacity storage and is responsible for data that is accessed infrequently but must be reliably retained, including:
- FP32 or other high-precision master weights;
- First-order momentum and second-order variance of the optimizer;
- Expert weights that are not yet scheduled into the current compute stage;
- Checkpoint and fault-tolerance training states;
- Parameter copies and version information retained across steps.
In one feasible configuration, each card is equipped with approximately 512 GB of LPDDR, with peak bandwidth modeled at about 283 GB/s. This bandwidth is not suitable for replacing 3D DRAM in carrying all compute traffic, but it is sufficient as state storage and background data source, provided the software stack can perform data movement ahead of time.
3. Core Principles for Data Tiering
The success of hierarchical storage depends not on “having two types of memory,” but on correctly classifying data.
3.1 Tiering by Access Frequency
Training data can be classified into four categories:
| Data Category | Typical Contents | Recommended Storage Tier |
|---|---|---|
| Level-1 Hotspot | Weights, activations, gradients needed for current matmul | 3D DRAM |
| Level-2 Hotspot | Expert weights to be executed soon, communication buffers | 3D DRAM or on-chip cache |
| Cold State | Master weights, optimizer states, inactive experts | LPDDR |
| Persistent State | Checkpoints, recovery copies, version information | LPDDR and lower-tier storage |
For sparse expert models, expert weights naturally exhibit uneven access patterns. The router can maintain an expert heat table based on historical access frequency, next-batch predictions, and cross-card scheduling results, and proactively move high-probability experts into 3D DRAM.
3.2 Tiering by Precision
Not all training states need to use the same numeric format:
- Master weights can be stored in FP32 or higher-precision formats;
- Optimizer states typically retain higher precision to avoid long-term error accumulation;
- Compute weights can be converted to FP8, 4-bit floats, or other low-precision formats;
- Activations and gradients should choose precision based on numerical stability, loss scaling, and operator types.
Low-precision data entering 3D DRAM is consumed directly by compute arrays; high-precision states remain in LPDDR and participate in data flow only during weight updates, synchronization, or re-quantization. This significantly reduces pressure on high-bandwidth memory capacity.
4. Capacity Estimation
3D DRAM capacity should not be simply derived from the total model parameter count; instead, it should be constrained by the per-card working set model:
[
C{3D} \geq C{weight} + C{activation} + C{gradient} + C{buffer} + C{reserve}
]
Where:
- (C_{weight}): Low-precision weights of experts currently executing or about to execute on this card;
- (C_{activation}): Activations co-existing in the pipeline;
- (C_{gradient}): Gradients retained during the backward pass;
- (C_{buffer}): Buffers for communication, prefetching, and format conversion;
- (C_{reserve}): Margin for load jitter, routing skew, and abnormal retries.
Activation capacity typically depends on the following factors:
- Micro-batch size;
- Sequence length;
- Hidden dimension;
- Number of layers;
- Pipeline concurrency;
- Whether activation recomputation is enabled;
- Tensor parallelism and expert parallelism partitioning.
If activation recomputation is fully used, 3D DRAM capacity can be reduced, but compute cost increases. Thus, capacity design cannot be decided independently of compute power and scheduling strategy.
For expert weights, the focus should be on “concurrent expert count” rather than “total expert count.” Assuming each card processes only a small number of experts per compute stage, the required high-bandwidth capacity may be only a fraction of the full model parameters. The remaining weights can be prepared ahead of time via LPDDR, intra-node interconnect, or inter-node network.
5. Bandwidth Matching
5.1 Compute Bandwidth Requirement
For a training stage, the 3D DRAM requirement can be roughly estimated as:
[
B{need} = \frac{D{read} + D{write}}{T{compute}}
]
Where (D{read}) and (D{write}) are the data volumes read and written during the stage, and (T_{compute}) is the ideal compute time.
If 3D DRAM bandwidth is lower than this requirement, compute units will stall frequently; if much higher, bandwidth is wasted. Therefore, the design goal is not to mechanically chase the highest bandwidth, but to match memory bandwidth with effective compute throughput.
5.2 Is 8 TB/s Always Required?
Not necessarily.
Whether approaching 8 TB/s is necessary depends on:
- Peak low-precision matrix compute throughput;
- Effective compute operations per byte of data;
- Whether weights are reused;
- Whether activations can stay resident;
- Whether expert weights can be prefetched ahead of time;
- Whether gradient reduction overlaps with compute;
- Whether communication becomes the new bottleneck.
If each expert weight is read only once and compute intensity is low, even a very high 3D DRAM bandwidth may be limited by network or scheduling. If weights can be reused across multiple micro-batches, or if activations and weights remain resident for extended periods, higher bandwidth becomes more valuable.
Therefore, the bandwidth inflection point should be searched using simulators or analytical models: when increasing 3D DRAM bandwidth results in only marginal reductions in per-step training time, the system has entered a diminishing-returns zone. At that point, allocating cost to more capacity, interconnect, compute, or fault tolerance is often more sensible.
6. Interconnect Constraints Cannot Be Ignored
The hybrid memory architecture does not mean all data can be resolved locally. Expert parallelism causes significant token reordering, activation exchange, and gradient synchronization, so both intra-node and inter-node communication must be modeled simultaneously.
A feasible system constraint set is:
- Intra-node interconnect aggregate bidirectional bandwidth of approximately 1.8 TB/s, equivalent to about 900 GB/s unidirectional;
- Per-card node-external network interface modeled at 800 Gb/s, equivalent to about 100 GB/s unidirectional.
These numbers should serve as simulation inputs rather than being evaluated in isolation from the workload. For scenarios with unbalanced expert routing, average bandwidth does not reflect real performance; additional factors must be considered:
- Burst traffic caused by hotspot experts;
- Multiple cards accessing the same expert simultaneously;
- Proportion of small-packet communication;
- Congestion on switch and aggregation paths;
- Degree of overlap between communication and compute;
- Failure retry and traffic migration.
If the LPDDR-to-3D-DRAM movement rate is higher than the network supply rate, the bottleneck lies in the network; otherwise, local prefetch channels or state layout optimization are needed.
7. Software Stack Must Participate in Hardware Design
Hardware tiering is only the foundation; training software must explicitly know which layer data resides in.
7.1 Expert Prefetching
The router can output predictions of expert access for future micro-batches. The runtime initiates asynchronous prefetch based on this prediction:
Predict expert access↓Check 3D DRAM residency status↓Issue prefetch from LPDDR or remote node↓Complete format conversion and validation↓Enter compute queue
The prefetch distance cannot be too short, or transfer latency will not be hidden; it also cannot be too long, or invalid data will occupy 3D DRAM.
7.2 Double Buffering and Multi-Buffering
At least a double-buffering mechanism is recommended:
- Buffer A is used for the current computation;
- Buffer B is used for the next batch of weight transfer;
- After the current computation ends, the roles are quickly swapped.
When network latency and LPDDR bandwidth fluctuate significantly, multi-buffering can be extended, and priority queues can control the order of expert data entry.
7.3 Unified Memory Abstraction
Software should not let each operator directly handle complex physical addresses. Instead, a unified tensor residency state should be provided, such as:
HOT: already resident in 3D DRAM, ready for direct computation;PREFETCHING: transfer in progress;COLD: only exists in LPDDR;REMOTE: located on another card or node;EVICTING: about to be replaced.
This state machine helps the runtime perform dependency checks, conflict resolution, and fault recovery.
8. Training Stability and Fault Tolerance Design
Placing master weights and optimizer states in LPDDR increases state synchronization and recovery complexity, so the following design elements are necessary:
- Version marking after weight updates;
- Consistent sequence numbers for master weights and optimizer states;
- Ensuring parameters, momentum, and variance states belong to the same training step during checkpoint writes;
- Low-precision copies in 3D DRAM can be discarded and regenerated;
- High-precision states in LPDDR must support checksums, redundancy, or partition recovery.
This way, even if temporary data in 3D DRAM is corrupted, it can be regenerated by re-quantization and prefetching from LPDDR without rolling back the entire training job.
9. Suggested Evaluation Methodology
Before chip finalization, a parameterized system simulator should be built to scan at least the following variables:
- 3D DRAM capacity;
- 3D DRAM bandwidth;
- LPDDR capacity and bandwidth;
- Low-precision format;
- Micro-batch size;
- Concurrent expert count;
- Prefetch window;
- Intra-node and inter-node bandwidth;
- Compute peak;
- Communication-compute overlap ratio;
- Routing skew level.
The output metrics should not just focus on peak compute power; they should also include:
- Per-step training time;
- Compute unit utilization;
- 3D DRAM hit rate;
- LPDDR read ratio;
- Network congestion time;
- Expert load balance;
- Storage cost per unit of training;
- Fault recovery time;
- Energy and bandwidth utilization.
The final goal is to find the inflection point between performance and cost, not to simply maximize any single hardware metric.
10. Conclusion
The core value of the hybrid 3D DRAM and LPDDR architecture is to decouple the “high-bandwidth working set” from the “massive training state.” For sparse expert model training at ten-thousand to one-hundred-thousand accelerator scale, 3D DRAM does not need to hold the entire model, nor should it blindly pursue extreme capacity; it is better suited to carry high-frequency data such as current micro-batches, active experts, activations, and gradients.
LPDDR is responsible for preserving high-precision master weights, optimizer states, and long-term training data, continuously feeding 3D DRAM through prefetching, double buffering, low-precision conversion, and communication-compute overlap.
Therefore, the key to chip design is not simply matching a high-bandwidth memory specification, but jointly optimizing four aspects: working set capacity, effective bandwidth, interconnect capability, and software scheduling. Only by establishing a collaborative model among hardware, runtime, communication libraries, and training algorithms can storage costs be reduced while maintaining training efficiency at large scale.
