3D DRAM + LPDDR Hybrid Memory Architecture for MoE Training Chip Design
This article presents a hybrid memory architecture for custom AI training chips targeting 10,000- to 100,000-GPU MoE workloads, combining near-logic 3D DRAM with 512 GB of local LPDDR per card. It explains why bandwidth and capacity are tightly coupled in conventional high-bandwidth memory, how MoE training stresses memory subsystems, and how the proposed three-tier memory and two-level interconnect design decouples the two. The article also covers a quantitative modeling method, capacity and bandwidth estimation, compute balancing, software stack coordination, and key risks for deployment. Readers will find practical frameworks for sizing working memory, estimating LPDDR bandwidth needs, and evaluating cost per TB of effective working memory.
When High Bandwidth No Longer Bundles Large Capacity: 3D DRAM + LPDDR Hybrid Memory for Training Chip Design
1. The Starting Problem: The Cost of Buying Bandwidth and Capacity as a Bundle
When designing a custom training chip for MoE models at the scale of 10,000 or even 100,000 GPUs, the real commercial deciding factor is not peak compute. It is how much effective working memory each dollar of BOM can buy. Conventional high-bandwidth memory solutions are constrained by the shoreline of planar packaging: pins, power delivery, and cooling are all squeezed onto the same perimeter, which tightly couples bandwidth and capacity. If you want 6–8 TB/s of bandwidth, you must stack multiple large-capacity stacks, which leaves a large amount of capacity idle and cost locked up ineffectively.
The approach discussed in this article uses a methodology of parameter search, simulator modeling, and software stack co-design (public experimental frameworks can be found by searching for open-source “MoE training simulator” projects). The goal is to break the constraint that high bandwidth must be bundled with large capacity. For 10,000- and 100,000-GPU MoE training, it proposes a new tiered hybrid memory training architecture combining near-logic 3D DRAM with 512 GB of large-capacity LPDDR.
The core idea comes down to two sentences:
- Use 3D DRAM vertically stacked on top of the logic compute die to decouple the proportional relationship between bandwidth and capacity, providing on-chip hot-tier working memory with compact capacity on demand.
- Configure 512 GB of LPDDR locally per card (fixed peak bandwidth of 283 GB/s) as a persistent cold tier for state, holding FP32 master weights and AdamW optimizer momentum and variance.
The 3D DRAM only retains low-precision compute weights quantized with NVFP4 (or FP8), plus the activations and gradients of the current microbatch. Interconnect specifications target the public figures of current mainstream flagship training cards: 1.8 TB/s within a node (1.8 TB/s bidirectional combined, or 900 GB/s per direction), and 800 Gb/s network ports per card outside the node (100 GB/s per direction).
2. Why MoE Training Pushes Memory Architecture to the Wall
The workload characteristics of MoE differ fundamentally from traditional dense models, which means memory design cannot simply be copied:
- State size explodes: AdamW needs the master weight (FP32), first-order momentum, and second-order momentum for each parameter, adding up to roughly 12–16 bytes per parameter. For a MoE with hundreds of billions of total parameters, the optimizer state alone reaches the TB scale.
- Low compute density, memory-intensive: Expert computation is grouped matrix multiplication with modest arithmetic intensity, so compute can easily stall waiting for data.
- Imbalanced routing: Hot experts cause sudden spikes in the working set and communication volume of individual devices, so “average-based planning” of capacity and bandwidth gets broken by the long tail.
- Coupled parallelism dimensions: Expert parallelism, tensor parallelism, data parallelism, and pipeline parallelism coexist, and All-to-All and gradient synchronization compete for the same links.
The conclusion is direct: putting “hot data” and “cold state” in the same memory tier is the root cause of runaway cost.
3. Architecture Overview: Three Memory Tiers + Two Interconnect Levels
3.1 Hot Tier: Near-Logic 3D DRAM
- Location: vertically stacked on the logic die via hybrid bonding, using TSVs and high-density vertical interconnects to shorten physical distance.
- Role: stores low-precision compute weights, and the current microbatch’s activations and gradients.
- Benefit: per-bit pin and energy overhead is significantly lower than planar packaging solutions, so bandwidth no longer needs to be traded for capacity by stacking more.
3.2 Cold Tier: 512 GB LPDDR per Card
- Role: FP32 master weights and AdamW first-/second-order momentum reside persistently.
- Bandwidth: fixed peak of 283 GB/s, which is “enough but not generous,” so scheduling must apply it to the critical path.
3.3 Compute Layer and Data Path
- Compute cores prioritize low-precision matrix multiplication (NVFP4/FP8), with accumulation at higher precision;
- Provide an asynchronous transfer engine (DMA) plus a prefetcher to overlap computation and state updates;
- On-chip SRAM serves as the innermost buffer, holding only the current tile.
3.4 Two Interconnect Levels
- 900 GB/s per direction within a node, for tensor parallelism and intra-node expert exchange;
- 100 GB/s per direction outside the node, for data parallelism and cross-node All-to-All.
The hierarchical relationship can be expressed schematically with pseudocode:
# Logical memory hierarchy and access units (illustrative, not a real interface)class TrainChip:sram = Memory(size="MB-level", bw="TB/s-level") # current tiledram3d = Memory(size="GB-level", bw="TB/s-level") # low-precision weights/activations/gradientslpddr = Memory(size="512GB", bw="283GB/s") # FP32 master weights + optimizer statedef step(self, microbatch):w_lo = self.dram3d.fetch_lowp(self.router.pick_experts(microbatch))acts = forward(microbatch, w_lo) # activations stay in 3D DRAMgrads = backward(acts) # gradients stay in 3D DRAM# cold tier is accessed only during the update phase, streamed per expert blockfor expert in self.router.active_experts(microbatch):m, v, w32 = self.lpddr.stream_in(expert) # read in block by blockw32, m, v = adamw(w32, m, v, grads[expert])self.lpddr.stream_out(expert, w32, m, v)self.dram3d.update_lowp(expert, quantize(w32))
4. Quantitative Method: Coarse-Grained Simulator + Constraint Solving
To answer “exactly how much capacity, bandwidth, and compute are needed,” the problem must be formalized. A recommended four-step method:
- Parameterized modeling: write the model (layers, hidden dimension, number of experts, activated parameter ratio), parallelism strategy, and chip specs as tunable parameters.
- Time lower-bound estimation: for each stage take
max(compute time, memory access time, communication time)rather than a simple sum, to expose bottlenecks. - Constraint solving: with “per-card 3D DRAM capacity ≥ peak working set” and “LPDDR bandwidth ≥ bandwidth required for state updates” as hard constraints, solve for the feasible region boundary.
- Search and validation: do a parameter search over parallelism strategy and quantization precision, cross-validate with the simulator, and finally calibrate coefficients on a small-scale real system.
A reusable capacity estimation skeleton:
def per_gpu_3d_capacity(model, parallel, precision):# low-precision compute weights (partitioned by expert parallelism)w = model.total_params * precision.bytes / parallel.ep# current microbatch activations (varies with pipeline stages and recomputation strategy)a = model.activation_per_microbatch * parallel.pp_stages_in_flight# gradients (low precision, partitioned by tensor parallelism)g = model.total_params * precision.bytes / parallel.tpreturn w + a + gdef lpddr_bw_need(model, parallel, step_time):# FP32 master weights and two momentums read/written per stepbytes_per_step = model.total_params * 16 / parallel.epreturn bytes_per_step / step_time # unit: B/s
5. Answer Framework for Four Core Engineering Questions
5.1 After Breaking the Coupling, How Much 3D DRAM Capacity Is Actually Needed?
Capacity is determined by the “peak working set” rather than “total parameters.” Empirically, 3D DRAM only needs to cover: low-precision weight shards + in-flight microbatch activations + low-precision gradients. Because optimizer state is moved out, capacity demand can drop by an order of magnitude compared with a “fully resident” approach, typically landing in the range of a few GB to tens of GB, varying linearly with the number of experts, activated parameter ratio, and in-flight pipeline stages.
5.2 How Much 3D DRAM Bandwidth Is Needed?
The bandwidth floor is determined by arithmetic intensity: required bandwidth ≈ low-precision memory access volume per step / target step time. In MoE scenarios, All-to-All and expert block reads raise the effective access volume, so it is recommended to plan using measured effective bandwidth (including roughly 15%–25% overhead) rather than theoretical peak.
5.3 Do the Capacity/Bandwidth Floors Change at 10,000 vs. 100,000 GPUs?
When per-card specs stay unchanged, scaling cluster size mainly amplifies communication and fault-tolerance pressure, not per-card capacity. Going from 10,000 cards (10,240) to 100,000 cards (102,400), what needs to scale up in tandem is: the tiered topology of the 100 GB/s inter-node links, the bucketing and compression of All-to-All, and fault-domain isolation. The per-card 3D DRAM capacity floor stays roughly the same, but effective bandwidth utilization must improve, otherwise long-tail experts will slow down the whole system.
5.4 How Should Compute Be Balanced?
Compute should be slightly above the “balance point” of memory access and communication, to avoid bandwidth becoming the sole constraint. In engineering terms, set values near compute time ≈ memory access time, then use low precision (NVFP4/FP8) to raise effective throughput per unit energy.
6. Software Stack Co-Design: Keeping the Cold Tier from Becoming the Bottleneck
Hardware decoupling is only the first step; real deployment depends on the software stack:
- Block-wise streaming state updates: partition FP32 master weights and momentum by expert, stream them in from LPDDR, update, and write back, overlapping with computation;
- Asynchronous prefetch and double buffering: the prefetcher predicts hot experts based on routing history;
- Quantize–dequantize pipeline: connect low-precision compute and high-precision updates with a lightweight conversion unit to avoid synchronous waiting;
- Routing load balancing: auxiliary loss + capacity factor + drop policy together suppress the long tail;
- Communication compression and bucketing: All-to-All uses bucketing, quantization, and topology-aware scheduling;
- Observability: monitoring, alerting, and logging services collect per-tier memory access/communication/wait times to form a closed-loop tuning process.
7. Risks and Deployment Recommendations
- Bonding yield and thermal dissipation: yield and thermal density of 3D stacking are key to mass production; thermal-electrical co-design is needed early.
- LPDDR bandwidth is a hard constraint: 283 GB/s means state updates must be blocked, overlapped, and latency-tolerant.
- Controllability of quantization error: low-precision weights need periodic high-precision correction to prevent drift during long training runs.
- The simulator needs real-system calibration: the coarse-grained model must regress coefficients on a small-scale cluster, otherwise conclusion errors get amplified by cluster scale.
- Unified cost basis: use “cost per TB of effective working memory” and “cost per PFLOP of effective throughput” as unified evaluation metrics.
8. Conclusion
Decoupling bandwidth from capacity is essentially freeing “memory cost” from its tight coupling with bandwidth: 3D DRAM handles “fast and small,” LPDDR handles “large and persistent,” and the interconnect handles “connectable.” In 10,000- and 100,000-GPU MoE training, the value of this tiered hybrid architecture lies not in any single peak figure, but in trading controllable hardware cost for sustainable, scalable effective throughput — which is precisely the source of commercial competitiveness for a custom training chip.
