TL;DR
Platinum is a lightweight ASIC accelerator designed to supercharge mixed-precision matrix multiplication (mpGEMM) for ultra-low-bit networks like BitNet b1.58. By shifting the complex scheduling of lookup table (LUT) construction offline and introducing adaptive path switching, Platinum eliminates runtime hardware overhead and delivers up to 73.6× speedup and 32.4× energy savings over state-of-the-art baselines within a tiny 0.96 $\text{mm}^2$ footprint.
What Problem Does This Paper Address?
As Large Language Models (LLMs) scale, the computational burden of General Matrix Multiplication (GEMM) grows drastically. Ultra-low-bit quantization—specifically ternary weights (-1, 0, 1) popularized by architectures like BitNet b1.58—offers a way out by replacing expensive multiplications with additions.
Because low-bit inputs have massive redundancy, hardware designers use Lookup Tables (LUTs) to precompute and reuse intermediate results (see Figure 1). However, existing LUT-based accelerators face two major bottlenecks:
- High Construction Overhead: Building these LUTs dynamically at runtime requires complex scheduling hardware. In recent designs like Prosperity, this scheduling logic consumes a staggering 24% of the chip area and 32.3% of total power.
- Suboptimal Bit-Serial Execution: Standard accelerators rely on bit-serial processing for general precision, which introduces unnecessary redundancy and partial-sum merging overhead when dealing specifically with ternary weights.
Methods
Platinum introduces a disaggregated path-based LUT construction framework that splits the workload into an offline generation phase and a lightweight online execution phase.
- Offline Path Generation via MST: Instead of dynamically finding "shortcuts" to compute LUT entries at runtime, Platinum models LUT construction as a directed hypergraph. It applies a classical Minimum Spanning Tree (MST) algorithm offline to find the absolute minimum number of additions/subtractions needed to populate the table. This reduces the runtime hardware to a simple, deterministic 4-stage pipeline.
- Adaptive Path Switching: The accelerator can dynamically switch its static build paths to support both general bit-serial execution and highly optimized ternary-weight modes (see Figure 2).
- Ternary LUT Optimizations: For ternary weights, Platinum exploits mirror symmetry (e.g., the result of multiplying by $-1$ is just the negation of multiplying by $+1$). This halves the required LUT size to $\lceil 3^c/2 \rceil$.
- Compact Weight Encoding: To avoid memory waste, Platinum packs $c$ ternary weights into a base-3 integer, achieving an efficient 1.6 bits per weight (very close to the theoretical limit of $\log_2 3 \approx 1.58$ bits).
Datasets
The authors evaluated Platinum using representative kernel workloads extracted directly from the BitNet-b1.58 model suite (specifically the 700M, 1.3B, and 3B parameter models). The evaluation covers both phases of LLM inference:
- Prefill stage: Tested with a batch/sequence length dimension of $N = 1024$.
- Decode stage: Tested with $N = 8$.
Key Insights and Ideas
- Static beats Dynamic for Uniform Weights: Dynamic shortcut scheduling is highly inefficient for models like BitNet because their ternary weights are uniformly distributed. Since almost all LUT entries are eventually utilized, an offline-computed static path achieves optimal efficiency without the runtime hardware tax.
- Graph Theory Simplifies Hardware: Framing hardware LUT generation as an MST problem yields a $\sim 10\times$ reduction in the number of additions required for a chunk size of $c=5$ compared to naive construction.
- Ternary Direct Representation: By bypassing bit-serial decomposition for ternary weights and querying a dedicated ternary LUT directly, Platinum achieves a $1.3\times$ to $1.4\times$ speedup over its own general bit-serial mode.
Key Results
Platinum was implemented in SystemVerilog and synthesized using a commercial 28nm technology node at 500 MHz.
- Physical Footprint: The entire accelerator fits within 0.96 $\text{mm}^2$, with memory (buffers and LUTs) occupying 83.3% of the area, highlighting the compute efficiency of the design.
- Performance vs. Baselines (BitNet b1.58-3B Prefill):
- 73.6× speedup and 32.4× energy reduction over SpikingEyeriss.
- 4.09× speedup and 3.23× energy reduction over Prosperity.
- 2.15× speedup and 20.9× energy reduction over a 16-thread T-MAC CPU implementation.
- Decode Stage Performance: Platinum remains highly effective at low batch sizes ($N=8$), achieving average speedups of 47.6×, 28.4×, and 1.75× over SpikingEyeriss, Prosperity, and T-MAC, respectively.
Limitations and Future Work
- GEMM-Centric Design: While the architecture includes Special Functional Units (SFUs) to support non-GEMM operations (like activation functions or vector multiplications), the primary optimizations and evaluations focus strictly on matrix multiplication.
- Simulation-Based Evaluation: The results are derived from cycle-accurate simulations and post-synthesis estimates rather than a physical, taped-out silicon chip.
- Dependency on Uniform Distributions: The offline path generation assumes high LUT utilization. If applied to highly sparse networks where only a tiny fraction of weights are active, the static loading of the entire LUT path might introduce redundant computations compared to a purely dynamic sparse solver.
Summary updated