Perception and intelligence · also Computer engineeringLevel 5 · Research Engineer
Embedded machine learning
Training a model needs large computers and lots of data; inference, using the trained model, can run on a small device if it fits the device's memory, time and energy budgets. The cost of a network is counted in multiply-accumulate operations and in bytes of weights and activations. Quantisation stores weights as 8-bit or smaller integers instead of 32-bit floats, shrinking memory four times or more and allowing cheap integer arithmetic, usually for a small loss of accuracy that must be measured, not assumed. Moving data often costs more energy than computing with it, so good embedded models keep data close to the processor.
Why it mattersA keyword detector in a smart speaker runs continuously on a tiny low-power chip because its model was shrunk to fit that budget.