Edge AI is the use of an AI model at or near the point where its input is produced or its result is needed. What matters here is the location of inference: the computation that applies a trained model to new data. Training can take place elsewhere. And inference can run on a general-purpose processor: edge AI does not require a dedicated AI chip.
What counts as “the edge”?
The term has two common uses. Arm’s glossary emphasises inference on the end device itself. Intel uses a broader definition that also includes nearby infrastructure, such as a gateway or an on-site server. Both place inference close to the data, but “at the edge” does not always mean “on the device”.
Related terms describe different properties. Local AI needs a point of reference: local to a person’s computer, or local to a factory? On-device inference specifies that the end device itself runs the model. Embedded AI describes a model integrated into a computer built into a product for a particular purpose. A large language model (LLM), by contrast, is a type of model. A technician can run an LLM locally on a laptop without turning the laptop into an embedded system. Equally, a sensor can use a model to recognise a vibration pattern without doing any language processing.
On Embedded Neurons, the Edge AI section covers both on-device inference and inference offloaded to a nearby gateway or server. Neither the physical size of the computer nor who owns it settles the question. A rack-mounted computer on the factory floor can be at the edge; a small virtual machine in a distant data centre is still remote.
Consider a camera that counts items passing on a conveyor. If the camera runs the model, it can keep a local count when the network link fails. If a server in the back office runs it, the design still qualifies as edge AI, but the server cannot count items in frames it never receives. If the camera simply resizes frames and sends them to a distant cloud service for counting, the resizing is edge computing. The inference is in the cloud. The practical question is which link the product needs in order to deliver its result.

What changes inside an embedded device?
Take a vibration monitor attached to a motor. Its firmware reads an accelerometer and collects samples into short time windows. A model scores each window for unusual vibration. The firmware then decides whether to light a warning indicator, perhaps after several unusual windows to avoid reacting to a single knock. The score gives a technician a reason to inspect the motor; it does not identify a damaged bearing.
Adding the model can be a firmware change on the existing board. Its parameters must fit in flash storage, but that is only part of the calculation. The samples and intermediate results must also fit in RAM. The CPU must finish its work in time to handle the next window alongside its other tasks. On a battery-powered monitor, those tasks include waking the sensor and using the radio: energy per inference alone will not tell you how long the battery lasts.
What if the product already runs embedded Linux?
For the conveyor camera, the starting point might be a Linux image built with the Yocto Project. Yocto provides tools for building a system tailored to the product. As Rudolf J. Streif explains in Embedded Linux Systems with the Yocto Project, extending a base image through an image recipe makes the additions part of the product’s build definition. For the camera, those additions could be the model, a runtime that can execute it, and an application that supplies frames and records the count.
The CPU is a useful first target. If it can sustain the required frame rate within the power budget, the device already has the hardware it needs. If it cannot, the team can try a smaller model or evaluate an accelerator. An NPU, or neural processing unit, handles supported neural-network operations. It does not take over the whole camera application.
NXP’s i.MX 8M Plus illustrates the distinction. The NPU is already in the chip, and NXP documents the same TensorFlow Lite classification example running on the CPU or with the NPU enabled through a software component called the VX Delegate. The hardware is unchanged; the execution path is different. For the conveyor application, the useful comparison would be the time and energy from receiving a frame to producing a count, including data preparation and any work still done on the CPU.
When is it worth adding a model?
Start with what the device can already do. The motor monitor could use a conventional rule: raise a warning when vibration in a particular frequency band exceeds a limit for the motor’s current speed. That rule already works offline and can send only alerts. Neither benefit, by itself, is a reason to replace it with a model.
In Architecting AI Software Systems, Richard D Avila and Imran Ahmad frame the choice of approach around the value of the result, the available data and the technical constraints. For the monitor, that leads to a specific test: run the rule and the model on the same recordings from motors or operating runs that were not used to tune either one. Compare missed events and false alarms. Catching a subtle change is useful; sending a technician to a healthy motor every week has a cost.

Compare costs over the life of the product, too. Preparing data and validating the model take engineering time even if the board stays the same. A larger processor adds cost to every unit; a shorter battery life can add service visits for years. Set those costs against improvements the comparison actually demonstrates. If the existing rule already runs locally, there is no cloud inference bill to subtract.
That leaves two separate decisions: does a model improve the job enough to justify its cost, and does it need to run inside this device? A gateway may be sufficient for a report that can wait. A warning that must remain visible beside a disconnected motor is a reason to keep detection and indication on the device. If a rule delivers that warning reliably, keep the rule.
For a product that does benefit from on-device inference, the next question is how to ship it. The model might have been trained with PyTorch, TensorFlow or another framework. What matters on the camera is whether the deployed model and runtime, packaged in its Yocto-built image, can count items at the required rate. Taking one model from the development machine to that measurement is a subject for a follow-up article.
Sources and further reading
- Arm, What is edge AI?, and Intel, Edge AI, for the distinction between inference on an end device and processing on site.
- Google AI Edge, Get started with microcontrollers, and TensorFlow Lite Micro, Memory Management, for on-device inference and its working-memory requirements.
- Rudolf J. Streif, Embedded Linux Systems with the Yocto Project, Prentice Hall, 2016, §7.1.4, “Extending a Core Image with a Recipe”.
- Yocto Project, Introducing the Yocto Project, §§2.1–2.2, on building custom Linux systems and organising recipes in layers.
- NXP, i.MX Machine Learning User’s Guide, “VX Delegate” and “Running image classification example”, for the CPU and NPU execution paths on the i.MX 8M Plus.
- Richard D Avila and Imran Ahmad, Architecting AI Software Systems, Packt, 2025, chapter 2, on choosing an approach based on the value of the result, the available data and the system constraints.
- Embedded Neurons, Why the Yocto Project Was Created: OpenEmbedded and Poky, for the distinction between the build system and what runs on the target.