3D-TokSIM: Stacking 3D Memory with Token-Stationary Compute-in-Memory for Speculative LLM Inference
The LLM decoding process poses a significant challenge for memory bandwidth due to its autoregressive nature. Prior 2D memory solutions fail to overcome this memory bottleneck due to limited memory-to-logic bandwidth. In this work, we propose 3D-TokSIM, a cross-stack solution by stacking 3D memory on logic die with a specially designed token-stationary compute-in-memory (CIM) to efficiently accelerate speculative decoding. Our CIM is developed with novel token-stationary dataflow to reduce data movement on logic die to save power and balance computation and memory access. To further reduce the buffer requirements, we perform architecture exploration and allocate notable CIM resources for achieving higher decoding parallelism. Compared to RTX 3090 GPU, 3D-TokSIM achieves 15.1 $\times$ throughput and $324 \times$ energy efficiency improvements on speculative Llama2-7B decoding.
Authors
- Le Ye (ORCID: https://orcid.org/0000-0003-0599-7762)
- Ru Huang (ORCID: https://orcid.org/0000-0002-8146-4821)
- Yufei Ma (ORCID: https://orcid.org/0000-0002-2670-524X)
- Wentao Zhao
- Bingfeng Lv
- Tianyu Jia (ORCID: https://orcid.org/0000-0002-4570-4613)
- Fengyun Yan
- Peiyu Chen (ORCID: https://orcid.org/0000-0003-3043-3125)
Institutions
- Peking University (CN)
Publication Details
- Published
- 2025-06-22
- DOI
- https://doi.org/10.1109/dac63849.2025.11132883
- Citations
- 1
- Primary Topic
- Semiconductor materials and devices
- Type
- article
- Field-Weighted Citation Impact
- 0.73