Machine Learning at the Edge: Fast Decisions, Less Delay

Machine learning at the edge cuts decision delay by skipping the network, but hardware, compression and runtime decide whether a deployment works.

Machine Learning at the Edge: Fast Decisions, Less Delay
Written by TechnoLynx Published on 30 Jan 2026

Machine learning at the edge means running a trained model’s inference on the device that collects the data, or on a server next to it, instead of sending that data to a remote cloud. Decisions arrive faster when data transfer, not computation, dominates a cloud request’s time. In the Neurosurgeon study (Kang et al., 2017), the standard cloud-only setup spent less than 6% of its time computing on the server and over 94% transferring data. What decides whether an edge deployment actually delivers, though, is not the model alone. It is the interaction among model compression, compiler transformations and serving system policies.

Machine learning at the edge, in practice

A cloud-trained model and an edge-deployed model are different artefacts. The lifecycle described for mobile devices is to design and train the network on cloud servers, then deploy it to a target device where inference runs on CPU cores or a GPU. On that device it has to meet latency and memory limits as well as accuracy targets, which is why model quantisation is frequently applied. Edge inference can also be shared: a task may run on the device, on a nearby edge server or peer device, or split between edge and cloud, with little or none of the raw data uploaded.

For the wider infrastructure picture (gateways, orchestration, connectivity), our piece on the tech stack for edge AI deployment covers the layers around the model. The general edge-versus-cloud comparison is covered in what IoT edge computing is and where it helps. Here we stay with the model and the hardware it runs on.

Why is running the model on the device faster than calling a server?

The local model is faster when the network, not the cloud’s faster computation, dominates end-to-end latency. Neurosurgeon found that data transfer latency was often higher than mobile computation latency, particularly over 3G and LTE. For some of the eight vision, speech and language applications it tested, running entirely on the mobile device was up to 11× faster than cloud-only execution. A survey of edge intelligence (Xu et al., 2020) reports a face recognition application whose latency fell from 900 ms to 169 ms when it ran across a smartphone and an edge server instead of the cloud.

That does not make the cloud always slower. The same Neurosurgeon results show that cloud-only execution performs better over a fast Wi-Fi link, while local execution often wins over 3G and LTE, particularly on a mobile GPU. Total inference delay mainly consists of device computation, cloud computation and transmission time.

Split inference: the middle path that depends on bandwidth

Split inference partitions the network: the first layers run on the device, and only the intermediate result travels to a server, which finishes the job. This pays off because layers differ widely in both compute cost and output size, so a well-chosen cut point sends far less data than the raw input. Neurosurgeon, which picks partition points at runtime from per-layer latency predictions, network bandwidth and server load, improved end-to-end latency by 3.1× on average and up to 40.7× over cloud-only processing.

The bandwidth dependence shows in a study on a Jetson Nano edge device with an RTX 2080 Ti server. At an uplink of 0.15 Mbps, cloud-only inference was clearly slower than device-only, and the proposed CIS system was only slightly ahead of device-only (1.15× to 1.65× over that baseline). At 4 Mbps, cloud-only reached a 7.12× speedup and CIS 13.56×. At 15 Mbps, cloud-only was best, at 17.89× for MobileNet. The best cut point also moves with the model: vision networks sometimes split best in the middle, while speech and language models gain more from splitting near the start or end.

Our reading is that a fixed edge-or-cloud decision is fragile wherever connectivity varies. If the link can drop to cellular, the device-only path has to be good enough by itself, and splitting is an optimisation on top of that, not a substitute for it.

Which hardware runs edge ML, and when is an edge GPU worth it?

In one study of shared edge accelerators, an embedded GPU beat the Edge TPU on models too large for the TPU’s 8 MB on-chip memory. In the same study, smaller models ran faster on the Edge TPU than on a Jetson GPU. The main options have quite different limits.

Target What it suits Limits that decide it
Microcontroller or DSP (e.g. with TensorFlow Lite Micro) Always-on models of a few hundred KB with minimal battery impact Large embedded systems have a few MB of flash and at most about 1 MB of SRAM; small ones only a few hundred KB
Edge TPU (ASIC) Small INT8 models; ran smaller DNNs faster than a Jetson GPU in one study Requires 8-bit quantised models; 8 MB on-chip memory, larger models spill to host memory; one task at a time, with 10 to 17 ms context-switch overhead between models
Embedded GPU (e.g. NVIDIA Jetson) Larger models and several concurrent applications, with preemptive time-sharing across processes On a 4 GB Jetson Nano, the TensorRT runtime took about 800 MB, leaving room for only 2 to 3 DNN models per node
NPU Small language model inference in one study, where the NPU had higher throughput than the GPU in F16 and Q4 A RaiderChip NPU beat an NVIDIA Jetson Orin Nano Super GPU on every metric, with 84% and 140% better energy-delay product for F16 and Q4K models

The NPU result is one vendor’s design on one workload class, so read it as evidence that a well-optimised NPU can beat a GPU, not that every NPU will. The Edge TPU study says the same in general terms: neither the TPU nor the GPU was optimal for every model, and the right choice depended on each model’s characteristics. Memory bandwidth is a bottleneck too. The same NPU study treats bandwidth as the main bottleneck for transformer inference, and a 2026 review of lightweight transformers found that models under 50M parameters were memory-bandwidth limited on mobile GPUs, reaching only 30 to 40% of theoretical TOPS.

Theoretical TOPS alone will not settle any of this. Latency has to be measured on the target hardware, with the same definition on each device. Published comparisons often leave unclear whether “latency” means kernel time, model latency or end-to-end service time, and those can differ by an order of magnitude on the same hardware.

How do you shrink a model for edge devices without wrecking accuracy?

You shrink a model by quantising it, pruning it or distilling it into a smaller student. Whether any of these delivers depends on whether the target runtime or hardware can execute the result efficiently. The 2026 deployment study puts it bluntly: what compresses well need not deploy well.

Quantisation

Quantisation stores weights and activations as lower-precision numbers, typically 8-bit integers instead of 32-bit floats, which cuts memory and compute. Jacob et al. (2018) showed that an integer-only inference scheme improves the trade-off between accuracy and on-device latency, even on MobileNets. Measured gains on edge hardware are real: one characterisation of post-training quantisation reported latency reductions of 67% on a Jetson Xavier NX and 55% on an Orin Nano.

The catch is hardware support. INT8 throughput gains appear only when the accelerator has native low-precision units. Otherwise the runtime upcasts to FP16 or FP32 and you keep only the memory saving. Google’s LiteRT documentation makes the same point for float16: the GPU delegate can run float16 directly, but on the CPU the weights are dequantised to float32 by default, so latency falls less than with fixed-point maths. Full integer quantisation makes a model compatible with integer-only accelerators. Even then, the speedup is not uniform across operations. On all four mobile platforms tested, most operations ran faster in INT8, but padding and element-wise operations ran slower.

Pruning

Pruning removes connections, channels or heads, and its gains depend on hardware compatibility. Unstructured sparsity shows no latency gain on a GPU without efficient sparse kernels, because the dense engine cannot see it. Structured pruning yields smaller dense graphs, but quantised deployment exposes a different trap. In the 2026 study, pruned channel widths no longer aligned with the 256-element blocks of the GGUF k-quant format, so tensors fell back to higher precision and the deployed weights grew by 21 to 49%. Every pruned variant ran slower than its unpruned baseline in the controlled CPU comparisons. Pruning did work for segmentation models in the same study, cutting model size by nearly 80% at near-constant mIoU. Han et al.’s Deep Compression pipeline of pruning, trained quantisation and Huffman coding cut storage by 35× to 49× without affecting accuracy.

Distillation

Knowledge distillation trains a small student model to match the soft outputs of a large teacher. Hinton et al. (2015) transferred more than 80% of a 10-model ensemble’s accuracy improvement on an acoustic model into a single distilled network. Distillation reduces parameter count and leaves precision alone, so it combines cleanly with quantisation. One example: a distilled MobileNetV3 ran at 44.8 ms within 3 W on a Jetson Nano.

The rule that ties these together is that FLOP reductions become real speedups only when choices are checked against on-device measurements, not proxy counts. The study recommends re-ranking its six segmentation candidates after every compression step, because the best model before compression did not remain best after it.

Why edge deployments fail on the runtime, not the model

One study of the full inference deployment stack measured this directly. The same ResNet-152 on an NVIDIA Jetson AGX Orin showed a 125× spread in measured latency across five mainstream inference frameworks, from 2.3 ms under TensorRT to 285 ms under ONNX Runtime. The authors say this is not a difference between a good and a bad framework. It is a framework applying aggressive graph fusion and hardware-specific kernel generation against one executing the graph with minimal optimisation on that hardware and software version. Accuracy moved too: 76.6% top-1 under TensorRT against 72.0% under ONNX Runtime, a 4.6-point gap caused by precision handling and accumulation order, not the architecture. The spread depends on the model family. MobileNetV2, built to be efficient, showed 8.4×.

The second piece of evidence concerns platforms. Across three ~1B-parameter language models, mean latency rose from 0.13 s per sample on a GPU to 0.61 s on a CPU and 8.91 s on a Raspberry Pi, roughly a 70× spread at a similar 508 to 769 MB artifact size. Model size did not predict deployed latency.

Below the framework, kernel selection is hardware-dependent. TFLite’s GPU delegate applied Winograd convolution kernels for gains of up to 1.32× on PowerVR and 1.26× on Mali GPUs, but none of the tested networks got that gain on Adreno GPUs, whose requirements for Winograd are stricter. Kernel fusion cut kernel counts by over 45% and gave a 1.22× average latency improvement across four phones. Spreading work across big.LITTLE cores could also make it slower: on the Exynos 9820, a large core plus a small core was slower than one large core.

At the microcontroller end, the problem is ecosystem fragmentation. The TensorFlow Lite Micro authors describe embedded systems as having no unified ML framework: teams built one-off frameworks hand-optimised for each platform, and moving a model to another device meant manual porting and repeated optimisation. Hardware-specific kernels matter there too. CMSIS-NN gave more than a 4× speedup on a Cortex-M4, and optimisation on the Xtensa HiFi Mini DSP gave 7.7×. Operator coverage is narrower too: TensorFlow has over 1,400 operations, while TensorFlow Lite supports about 130. Users discover only after training whether every operation is compatible with the target framework.

Taken together, a model that performs in training is a different artefact from one that performs on the edge target, and closing that gap is engineering work, not a hand-off. It is most worth doing against a named trigger, such as a latency ceiling the current runtime cannot meet or a device whose memory the model does not fit. The constraint that binds also sets the metric. In the same Jetson study, TVM used less energy per inference than TensorRT on Swin-T despite higher latency, so a battery-powered device and a latency-bound one would pick different runtimes. Compiler choice and its effect on serving cost are covered in more depth in our piece on how ML compilers cut cost per request, and the practical steps for vision workloads in how to deploy computer vision models on edge devices.

Who can take a model from training to a constrained edge device?

TechnoLynx’s AI engineering for IoT and embedded devices takes trained models onto constrained edge targets once a performance ceiling, target constraint or lock-in cost applies.

Can models train or adapt on the device, or is edge ML inference only?

On-device training is possible, but only within tight limits. On-device training is pursued for privacy and real-time adaptation, yet edge devices’ restricted compute makes intensive training difficult. Two specific obstacles are that quantised graphs are hard to optimise at low bit precision, and that limited hardware does not allow full back-propagation. Lin et al. (2022) showed that fine-tuning is still possible: their framework trained convolutional networks within 256 KB of SRAM and 1 MB of flash, using less than 1/1000 of the memory of PyTorch and TensorFlow while matching accuracy on the VWW task.

Federated learning is the other route. Each device computes updates on its own data, and a shared model is built by aggregating those updates, so the training data stays on the devices. Only encrypted changes are uploaded to the cloud. Local fine-tuning or federated updates are worth adding where the data is privacy-sensitive or drifts per device, and where the device has memory to spare beyond the inference workload.

Where does low-latency edge ML pay off in AR/VR and telecom?

AR/VR headsets

Motion-to-photon delays of 20 ms or more cause motion sickness. Elbamby et al. note that remote VR computing can take up to 100 ms, with a further 40 ms of communication delay from the network edge to the server. Remote cloud servers therefore suit low-resolution, non-interactive VR, and interactive VR needs computing much closer to the user. Mobile edge computing is expected to cut that communication delay to under 1 ms in metropolitan areas. Headsets have their own ceiling, because GPU power in a head-mounted display is limited by heat and weight.

Hand tracking on the Quest headset shows the on-device route in practice. Processing runs entirely on the headset, using an efficient quantised neural network framework that tracks hands in real time on a mobile processor without taking resources from user applications. The network side of these use cases is covered in AR and VR use cases on edge networks.

Telecom networks

ETSI calls low latency the primary driving force of edge computing, and Multi-access Edge Computing brings services closer to users for AR/VR, V2X and Industry 4.0. In O-RAN, the near-real-time RAN Intelligent Controller sits at the network edge to lower the latency of network actions, and ML models are commonly deployed there as xApps. Placement alone does not guarantee speed, though. In one 2024 O-RAN test, mean latency for a deployed QoE prediction model rose roughly linearly with load, to about 10 s at 200 concurrent requests and about 32 s at 500. Queuing amplifies service time: at 90% utilisation, a 1 ms cut in service time gives about a 100 ms cut in mean response time. ETSI also stresses that edge applications run on heterogeneous hardware and have to be adapted to local resources rather than repackaged from the cloud. That is the same portability problem as on a device, one tier up. Where network-side ML pays back in operator settings is covered in machine learning in telecom communication systems.

Removing the network removes only the transmission part of the delay.

Back See Blogs
arrow icon