Tech, ExplainedData platforms and AI
Product

Edge AI

The model runs offline, on the device.

BEFORE ITAFTER ITEdge AISandLogicCOVERSOn-deviceWorks offlineQuantisationLow delayAI interpretabilityand alignmentcompressesthe modelModel deployment platformsendsmodel updatesruns itin vehiclesAI dash cam↗ FLEET MANAGEMENTruns it onfactory linesMachine vision↗ INDUSTRIAL AUTOMATIONruns iton CCTVVideo analytics↗ SMART BUILDINGSCONCEPTS IT USESEdge computingAI acceleratorsBEFORE ITAFTER ITEdge AISandLogicCOVERSOn-deviceWorks offlineQuantisationLow delayAIinterpretabilityand alignmentcompressesthe modelModel deploymentplatformsendsmodel updatesruns itin vehiclesAI dash cam↗ FLEET MANAGEMENTruns it onfactory linesMachine vision↗ INDUSTRIALAUTOMATIONruns iton CCTVVideo analytics↗ SMART BUILDINGSCONCEPTS IT USESEdge computingAI acceleratorsBEFORE ITAI interpretability and alignment↓ compresses the modelModel deployment platform↓ sends model updatesEdge AISandLogicOn-deviceWorks offlineQuantisationLow delayAFTER IT↓ runs it in vehiclesAI dash cam↗ FLEET MANAGEMENT↓ runs it on factory linesMachine vision↗ INDUSTRIAL AUTOMATION↓ runs it on CCTVVideo analytics↗ SMART BUILDINGSCONCEPTS IT USESEdge computingAI accelerators
Edge AI receives a compressed model from interpretability tools and updates from the model deployment platform, and runs it on dash cams, factory cameras and security cameras without a network.
opens a page inside this one a page in the same scene a page in another scene a concept page a label only, with no page

Edge AI means AI models, and the software that runs them, placed on a device such as a phone, a camera, a vehicle or a machine, instead of in a distant data centre. The device answers by itself, often in a few milliseconds, and it keeps working when there is no network. The word edge refers to the edge of the network, where the data is created, as the page on edge computing explains.

Why not send everything to the cloud? There are three reasons. The first is speed: a round trip to a data centre over a mobile network can take half a second or more, which is too slow for some decisions. The second is the network itself, which may be weak or absent. The third is privacy and cost. Sending video from thousands of cameras all day is expensive, and some data should not leave the device at all.

The difficulty is size. A model trained in a data centre may need gigabytes of memory and a large GPU. A camera has a small chip and little memory. So edge AI companies shrink the model. One method, called quantisation, stores each of the model's numbers with fewer bits, for example 4 bits instead of 16. This makes the model about four times smaller. Another method removes the parts of the model that matter least. The company then compiles the model for the device's chip, which may be a phone processor, a TinyML chip or a small AI accelerator. The page on AI accelerators covers these chips.

For instance, a truck carrying cement from Chittorgarh to Ahmedabad has a camera facing the driver. On some stretches of the highway, the mobile signal drops for minutes at a time. A small model on the camera's own chip checks the driver's eyes 15 times a second. When the eyes stay closed for more than two seconds, the camera sounds an alarm in the cab at once. It stores the clip and uploads it later, when the signal returns. This is how an AI dash cam works.

The same approach runs inside machine vision cameras on factory lines, video analytics on security cameras and AI PCs. New versions of a model are prepared centrally and sent to the devices through a model deployment platform. Compression tools from AI interpretability and alignment companies can also make a model small enough for a device.

The trade-off is accuracy. A small model makes more mistakes than a large one. So many products split the work. The device makes the quick decision, and the cloud checks the harder cases later.

Tech, Explained is a part of ingrid.fyi. Every page explains one piece of technology in plain words.