Exploring the Efficiency of 3D-Stacked AI Chip Architecture for LLM Inference with Voxel

arXiv: 2604.26821 | Authors: Yiqi Liu, Noelle Crawford, Michael Wang, Jilong Xue, Jian Huang (UIUC)

一句话总结

3D 堆叠 AI 芯片通过 TSV 在 compute die 上分布 DRAM bank,带宽可随面积扩展,但分布式内存 + 专用 TSV 总线带来 row-buffer 冲突、NoC 争用与 core 利用率等新瓶颈;论文提出编译器感知的端到端仿真器 Voxel,系统探索 LLM prefill/decode 的软硬件协同设计空间。

核心贡献

1. 3D AI 芯片效率挑战(§2)

与 2.5D(H100/TPU)全局统一内存不同,3D AI 芯片特征:

  • 专用 TSV 总线:每 bank 独立 channel,bank 未 ready 时总线即 stall,传统 inter-bank 调度难以维持高利用率
  • 分布式 DRAM:core 访问远端 bank 经 NoC,延迟随距离与拥塞变化
  • row-buffer 冲突:tensor 放置 + 多 core 异步访问共享 tensor → 冲突可达 decode 延迟的 43.35%(16 TBps)
  • NoC 开销:无精心规划时可达 1.35× slowdown

详见 3D-Stacked AI Chip

2. Voxel 仿真框架(§3)

详见 Voxel Simulator

  • 软件接口compute() / copy_data() / sync(),ML compiler 指定 tile-to-core、tensor-to-bank、compute paradigm
  • 事件驱动:构建 execution graph,Scale-Sim v3 模拟 core,Ramulator 2.0 模拟 DRAM,NoC hop + 带宽共享
  • 加速:重复 memory access pattern 缓存,LLM trace 99.91% hit rate
  • 验证Graphcore IPU Mk2 上 960 core 模拟 AI core、512 core 模拟 DRAM bank;与 Voxel 误差 0.24%–6.8%

3. 设计空间探索结论(§4)

默认配置:256 core、12 TBps DRAM BW、2D mesh NoC、850 mm² die 约束,模型 Llama2-13B / Gemma2-27B / OPT-30B / Llama3-70B + DiT-XL。

维度关键发现
Compute paradigmSPMD / dataflow / compute-shift 性能差可达 1.84×;compute-shift 最优,SPMD NoC 开销最高 49.08%
Tile-to-core mappingDimension-ordered(MeshGEMM 变体)相对 sequential 最高 57.48% latency 降低
NoC topology高效 mapping 下 mesh / torus / all-to-all 接近;mesh + dimension-ordered 近最优且面积最低
Tensor-to-bank均匀放置随 BW 扩展收益递减(~10 TBps 平台);software-aware placement 相对 uniform 最高 80.7% 冲突开销降低
Core scaling单纯加 core 加剧 row-buffer 冲突;core group(相邻 core 同步 DRAM 访问,8 core 一组最高 57% decode 加速)改善利用率
Per-core SRAMDecode(memory-bound)大 SRAM 利于 prefetch;Prefill(compute-bound)大 SRAM 收益有限
Energy扩 DRAM BW 改善 decode 能效;扩 core 数过多反而降低能效(静态功耗无法被 latency 降幅抵消)

与现有 wiki 的交叉

Citations

[1] [raw/papers/Exploring the efficiency of 3D-stacked AI chip architecture for LLM inference with voxel.pdf](raw/papers/Exploring the efficiency of 3D-stacked AI chip architecture for LLM inference with voxel.pdf)