Your browser is not supported. Please update it.

13 February 2020

ARM and XMOS push down cost and power of end-point machine learning

A hot area in chip design is currently tinyML – the quest to squeeze machine learning and other AI capabilities into the smallest devices, to add intelligence into end-points while keeping cost and power consumption low. In the past week, ARM and UK-based XMOS have both announced new developments in this area, targeting the Internet of Things (IoT), and joining Qualcomm and others in a crowded field.

ARM has unveiled its two latest IP cores with end-point machine learning (ML) in mind. One is the new addition to its Cortex-M microcontroller core family, the M55, while that is paired with an accelerator called Ethos-U55, which is a miniature version of the company’s Ethos neural processing unit (NPU) range. The two are designed to work best when deployed together, to power ML in IoT devices and other low power, low cost targets and enable the microcontroller to run applications such as voice recognition and computer vision.

Thomas Ensergueix, senior director for IoT and embedded at ARM, said: “We have seen within a few years how AI has revolutionized how data analytics runs in the cloud. Most of us have an AI-augmented smartphone in our pockets, and now here is the next step, getting ready for AI everywhere.”

This is essential if connected devices and sensors really are to scale into the billions over the coming years, because clearly the data they generate cannot all be transferred to the cloud, or even the edge cloud, without incurring huge cost, latency issues and potential security and privacy risks.

The M55 is the first ARM core to use its new Helium vector processing technology, which promises to deliver five times the digital signal processing (DSP) performance, and 15 times faster ML processing, than older Cortex-M designs. Based on the ARMv8.1-M architecture, it also leverages ARM’s recent decision to allow customers to create their own instructions to optimize the processor for specific workloads.

The Ethos-U55 ‘micro-NPU’ claims up to 0.5TOPS of acceleration, and this performance can be increased by using multiple cores.

The M55 can run signal pre-processing, in conjunction with the U55, but can also run neural net workloads itself. ARM says the combination of the two cores deliver enough performance to support gesture recognition, biometrics or speech recognition on the end-point. Together, they process ML tasks up to 480 times faster than a previous generation Cortex-M on its own.

Meanwhile, another UK-based chip designer, XMOS, has optimized its Xcore processor core for ML, particularly in IoT applications. It says the resulting Xcore.ai will cost less than $1 in volume.

Xcore.ai is designed for real time AI inference and decision making in end-point devices, and also for signal processing, control and communications functions. It implements a new vector pipeline feature for ML and also supports binarized (1-bit) neural networks, which greatly improve performance and memory density to support ultra-low power AI, with, according to XMOS, only a small reduction in accuracy compared to 8-bit, 16-bit or 32-bit architectures (which the Xcore.ai also supports).

Xcore.ai is the latest in a new breed of endpoint processor designs with AI capability, a category dubbed the crossover processor by NXP, because products combine the performance of an app processor with the simplicity, low power and real time operation of a microcontroller, when targeting AI/ML workloads.

XMOS has its roots in voice solutions, and last summer it launched an ASIC for voice interfaces – based on the same Xcore design as the AI products. For this reason, it will also target Xcore.ai initially at voice interface applications, such as keyword detection. In XMOS’s view, “voice is the most important AI workload at the end-point, and probably will remain so for quite some time to come”. Xcore.ai will come with libraries for the creation of voice interfaces, but will also have spare capacity for customers to build their own systems.

XMOS claims that its product would provide about 32 times better AI processing performance, and 15 times better DSP performance, than a device based on Cortex-M7, for about half the cost.

The company initially reworked its architecture to target IoT applications specifically back in 2014, unveiling the resulting xCore family, featuring a range of multicore microcontroller units execute multiple real time tasks in parallel. Devices contain one or more xCore ‘tiles’, each containing multiple logical cores which can execute computational or DSP code, or control or I/O handling software.