On-device (or edge) computing refers to bringing the computation of data and its storage closer to where the data is being generated, or to the device itself. In the case of smartphones, instead of sending raw sensor data to the cloud, data processing and predictive computations happen entirely on the device. This means a faster response time, reduced bandwidth usage and a minimisation of data leakage risk.