Persistent State Machines: LLM Attention with INT4 In-Memory Cells
The 30-Second Skim7 points
- What happenedA formal framework for LLM attention called Persistent State Machines has been validated on FPGA hardware, demonstrating sub-1mW dynamic power for a 1024-cell array and successful PCIe-integrated SoC timing closure at 62.5 MHz on an UltraScale+ device.
- Key facts & numbersPersistent State Machines (PSMs) are presented as a formal discrete framework for LLM attention, with computation broadcast to stationary in-memory cells that evaluate local deterministic state transitions. The paper supplies complete mathematical proofs for quantization error bounds, a multi-phase discrete Softmax construction under bounded-logits, DFA equivalence with spatial factorization, and membership in DSPACE(O(n)). A 1024-cell array (d=128) implemented on a Zynq-7000 xc7z020 FPGA hit estimated dynamic power below 1.0 mW and normalized dynamic energy of 3.81 × 10^-5 pJ/op via hardware-level self-activation gating.
- What happens nextAttention is supposedly expensive — this 1024-cell INT4 array hits sub-1mW on a cheap FPGA. Caveat: sim estimates, no board measurement.
- Persistent State Machines (PSMs) are presented as a formal discrete framework for LLM attention, with computation broadcast to stationary in-memory cells that evaluate local deterministic state transitions.
- The paper supplies complete mathematical proofs for quantization error bounds, a multi-phase discrete Softmax construction under bounded-logits, DFA equivalence with spatial factorization, and membership in DSPACE(O(n)).
- A 1024-cell array (d=128) implemented on a Zynq-7000 xc7z020 FPGA hit estimated dynamic power below 1.0 mW and normalized dynamic energy of 3.81 × 10^-5 pJ/op via hardware-level self-activation gating.
- A 256-cell sub-array was integrated into a full SoC on an UltraScale+ xcvu9p with AMBA AXI4 interconnects and AMD Xilinx PCIe Gen3 x1 Bridge (XDMA v4.2), closing timing at 62.5 MHz with WNS of +1.854 ns under the AWS Cloud FPGA Developer environment.
Why It Matters
The sub-1mW dynamic power and 0.67% slice occupancy on the xcvu9p establish in-memory stationary-cell architectures for LLM attention as a working reference design on commodity FPGA, with >99% of logic resources still available for further scaling by AI hardware researchers.
Sources Cited
Related Coverage
The day’s news in one short email, every morning.
Free. One email a day. Unsubscribe in one click.