← All projectsGitHub
Task-specific AI accelerators

Does weight-sharing lookup-table inference beat an int8 MAC engine once small arrays cost less to read?

research/accel-lutsize

Pricing every array by its own size flips accel-lut's negative result once read energy grows faster than size^0.26 (dense) or size^0.28 (pruned); Horowitz's slope is 0.5 above 8 KB but there is no point below it, so the verdict is conditional

7 tests

What it found

accel-lut found a product-table engine loses to an int8 MAC engine (about 2.7× the energy within a 2-point accuracy drop) while charging every array a flat 0.16 pJ/bit. accel-horowitzcheck showed that flat read ignores array size. This project prices each array (weights or indices, activation buffer, the 32-byte product table) as (10 pJ/64) (size/8 KB)α per bit, keeping accel-lut's accuracy and nonzero counts. The cheapest design within tolerance ties the MAC at α = 0.26 (dense) and 0.28 (75% pruned); at α = 0.5, the slope of Horowitz's Fig. 1.1.9 between 8 and 32 KB, it uses 0.52 and 0.68 of the MAC's energy. Every array here is below 8 KB, where the paper has no data, so α is swept rather than chosen and the flip is conditional; a model that never prices arrays below the 8 KB point reproduces the original negative result. Next step: measure small arrays in an open PDK.

A figure from its own output

Figure produced by research/accel-lutsize: ratio
accel-lutsize/experiments/ratio.png, written by the project's own experiment code.

Paper, code and results

More in Task-specific AI accelerators

All 40 Task-specific AI accelerators projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.