← All projectsGitHub
Task-specific AI accelerators

Which dataflow should a small keyword-spotting accelerator use, and does the answer survive allowing an input buffer?

research/accel-dataflow

Weight-, output-, input-stationary and reduction-tree dataflows of a P-lane MAC array on the 40 accel-kws models, from a cycle-by-cycle schedule simulator that matches closed forms exactly and the P = 1 RTL cycles; output-stationary wins on SRAM energy at batch 4 until an input buffer is allowed, then input-mapped flows win at 32 lanes (stylised, assumed energy constants, no RTL for more than one lane).

4 tests

What it found

Four dataflows (output-, weight-, input-stationary and reduction-tree) of a P-lane MAC array, as schedules walked cycle by cycle on the 40 accel-kws models, with SRAM-access counts that match closed forms exactly and, at P = 1, the measured RTL cycles of accel-kws. At batch 1 output-stationary is best (input-stationary is a median 1.2× to 4.1× worse, falling with lanes); at batch 4 it wins every model while weight-stationary is a median 4.5–9.0× worse through partial-sum traffic. Allowing an activation buffer flips the batch-4 winner to the input-mapped flows at 32 lanes (1.37× better), so the ranking rests on a modelling choice. Stylised: assumed energy constants, a one-cycle register model, no RTL beyond one lane, Timeloop not tried.

A figure from its own output

Figure produced by research/accel-dataflow: dataflow
accel-dataflow/experiments/dataflow.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.