Your browser is not supported. Please update it.

9 February 2021

New breed of IoT application enabled by ‘Tiny AI’ in the device

A new range of IoT use cases could be liberated by deployment of stripped-down neural networks in either new systems-on-chip (SoCs), or existing ones already in the field for services such as environmental monitoring. The field of Tiny AI, or Tiny machine learning (ML), has been brewing for two years but has reached a critical point of its fermentation as dedicated SoCs come onstream ready with AI capability embedded.

These will still be resource-constrained and low cost, yet capable of being configured for a range of autonomous tasks without requiring the previous high level of computer programming or mathematics expertise. At the same time, there will still be demand for upgrading of existing SoCs for AI, even though that involves more substantial skills.

The latest development has come from Norwegian IoT chipmaker Nordic Semiconductor in partnership with US-based Edge Impulse, a maker of miniaturized ML tools for resource constrained IoT modules. This has spawned development of two Bluetooth Low Energy (BLE) chips with embedded AI, the nRF52 and nRF53 series.

Kjetil Holstad, director of product management at Nordic Semiconductor, identified the greater ease of programming as the key step forward here. “Although we have had customers build and run TinyML applications on Nordic’s Bluetooth chips in the past, it previously required quite a high level of mathematical and computer programming expertise, using professional science industry and academia software like Matlab.”

The Edge Impulse contribution is its Edge Optimized Neural (EON) compiler for BLE chips, aiming to halve both processor and memory consumed by TinyML on the chips.

It is worth identifying where these new SoCs will not be used, which includes a number of IoT applications where more heavy-duty edge compute facilities will be employed. These include the Industrial IoT, autonomous driving and robotic control, where large amounts of data need to be processed locally but the computational load is far too heavy for resource constrained devices.

Instead the target applications are more remote distributed field applications where smaller amounts of data are generated in more bandwidth constrained environments. This could be where LPWAN wireless protocols provide the communication but where there is also potential benefit from intelligent processing of data in the device itself.

This could include some remote machine maintenance applications, perhaps in farm machinery in the field, through detection of abnormal patterns in audio or vibrational data. There are also interesting potential applications in ecology or wildlife monitoring, for example tracking movements of rare or endangered animals.

In fact, the winning entry in a competition organized by Nordic Semiconductor’s developer community called Hackster.io along with pro-conservation organization Smart Parks, Microsoft and Western Digital, was a wildlife tracker, combining the nRF52840 SoC with an accelerometer, camera, and microphone, running TinyML-based camera vision models to monitor movement of elephants as part of a campaign to clamp down on poaching.

The Tiny ML movement coalesced early 2019 with the idea of moving in the opposite direction from most of the AI community away from ever greater amounts of storage and compute power towards resource-constrained IoT devices. The main thrust was to downsize neural networks so they could run on low-cost microprocessors independently using long-lasting, low-power batteries. While semiconductor companies such as Nordic have created chipsets optimized for this technology, there is a significant window for deployment on existing microcontrollers in the field.

Like a number of technologies, the ultimate roots of Tiny ML appear to lie with Google, where a staff research engineer, Pete Warden, is an evangelist for the idea of light AI embedded on cheap IoT processors. He agrees the field is still at an early stage and recently gave a presentation entitled ‘What TinyML needs from hardware’. Essentially, further reduction in cost and footprint are required, but Nordic Semiconductor’s chips are certainly a step in that direction.