Better-optimized small models are shifting part of inference to personal devices, reducing latency and limiting the data that needs to be sent to the cloud.