Flash with bonded logic computes neural networks, authors say

In short

4.8M weights per mm²; 16 conductance levels per weight; 4.2 TOPS/W best energy efficiency; 3.23% accuracy drop on CIFAR-100

What was built

Most AI hardware spends much of its effort moving weights from memory to the processor. Analog in-memory compute (AIMC) avoids that by doing the matrix-vector multiplication where the weights sit: the stored values set how much current each memory cell passes, and the currents add up along a wire. The authors say AIMC "had not demonstrated a path to the very large weight capacities needed for modern AI models" while keeping its efficiency.

Their answer, called 3D-NAND-CIM, uses 3D NAND flash, the dense memory in solid-state drives, as the weight store. The paper describes a 14 nm FinFET logic die, holding the input drivers and analog-to-digital converters (ADCs), hybrid-bonded onto a custom NAND memory wafer. Copper pads on both surfaces are pressed together, so signals cross through many tiny direct connections instead of long wires. The authors bonded the logic die onto the wafer chip-on-wafer, which they say suits a proof of principle because it avoids matching the two chips' reticle pitch exactly.

The authors thank the IBM Albany Nanotech Center for device and module fabrication. The work was supported by DARPA under its OPTIMA programme.

How does flash memory compute a neural network?

Step 1: Program.: Each flash device is programmed by Fowler-Nordheim tunnelling to a 4-bit target, 16 conductance levels, instead of the usual digital on/off threshold. Step 2: Drive.: The logic die loads 8-bit inputs into SRAM and drives the memory's row lines through 1,024 hybrid bonds, with one selected tier of one tile active. Step 3: Sense.: Current along the column lines is read by 512 ADCs through a separate set of bonds. Each ADC is a current-controlled oscillator that counts how often a small capacitor fills and empties. Step 4: Combine.: The input is split into bit-slices. A signed weight uses two of four devices, and the result is the difference of two column currents.

The "charge-retention circuit" in the abstract is on the ADC side. It keeps the capacitor's charge between bit-slices instead of resetting it. The authors report this had a clear benefit, while simply rounding up between slices had negligible impact.

What was measured

The authors report measured results on fabricated composite chips, with the matrix-vector error (MVM σ) measured across the first 48 tiers of the 3D stack. The noise stayed fairly constant from tier to tier. It was lower than 8-bit inputs times 3-bit digital weights would give, though not quite as low as 4-bit weights.

For the network test, all 11 million weights of the WideResNet-16-8 were deployed on the chip. The matrix operations in the weight layers ran on the NAND tiers, and the remaining operations ran in software.

The 4.2 TOPS/W figure comes with a trade-off: the authors show error rising as total MVM time is cut, and the 4.2 TOPS/W point is at 3-bit weight-equivalent error. The area figure of 0.58 TOPS/mm² uses an estimated area of 5 mm² for the ADCs, input drivers, SRAM and control, not the test chip's own larger area.

What it does and does not show

The authors say the chip's TOPS/W and TOPS/mm² are similar to earlier non-volatile-memory AIMC studies, but that it moves weights per square millimetre forward "by orders of magnitude". So the gain is capacity, not speed or efficiency.

Other limits in the text:

Terms in plain English

Where things stand

The authors say a version with logic designed together with the memory could improve markedly, and that the large capacity could enable much larger models "from the edge to the cloud". These are their projections. The result is a single preprint, and no outside group has reproduced it.

Sources

Sources

Related stories

More from Tiny Chip Club

All stories from Tiny Chip Club