Tiny Machine Learning (TinyML) is the latest embedded software technology that moves hardware into an almost magical realm, where machines can automatically learn and grow through use, like a primitive human brain.
Until now building () algorithms for hardware meant complex mathematical mode s based on sample data, known as “ training data,” in order to make predictions or decisions without being explicitly programmed to do so. And if this sounds complex and expensive to build, it is. On top of that, traditionally related tasks were translated to the cloud, creating latency, consuming scarce power, and putting machines at the mercy of connection speeds. Combined, these constraints made computing at the Edge slower, more expensive, and less predictable. Tiny Machine Learning (TinyML) is the latest embedded software technology that moves hardware into an almost magical realm, where machines can automatically learn and grow through use, like a primitive human brain.
But thanks to recent advances companies are turning to TinyML as the latest trend in building product intelligence. Arduino, the company best known for open-source hardware is making TinyML available for millions of developers, and now together with Edge Impulse , they are turning the ubiquitous Arduino board into a powerful embedded platform, like the Arduino Nano 33 BLE Sense and other 32-bit boards. With this partnership you can run powerful learning models based on artificial neural networks (ANN) reaching and sampling tiny sensors along with low powered microcontrollers. Over the past year great strides were made in making models smaller, faster, and runnable on embedded hardware through projects like TensorFlow Lite for Microcontrollers, uTensor, and Arm’s CMSIS-NN; but building a quality dataset, extracting the right features, training and deploying these models is still complicated. TinyML was the missing link between Edge hardware and device intelligence, now coming to fruition.
Tiny Devices With Not So Tiny Brains
The implications of TinyML accessibility are very important in today’s world. For example, a typical drug development trial takes about five years as there are potentially millions of design decisions that need to be made on route to FDA approval. Using the power of TinyML and hardware, not animals, for testing models can speed up the process and take just 12 months.
Another example of this game-changing technology in terms of building neural networks is the ability to fix problems and create new solutions for things we couldn’t dream of doing before. For example, TinyML can listen to beehives and detect anomalies and distress caused by things as small as wasps. A tiny sensor can trigger an alert based on a sound model that identifies a hive under attack, allowing farmers to secure and assist the hive, in real-time.
Why Real-Time TinyML
The huge need for inexpensive, easily deployable solutions for COVID-19 and other flu viruses is present for all of us and early detection of symptoms could have an immediate impact on millions of lives around the world. Today, using TinyML and a simple Arduino board, you can detect and alert of unusual coughing as a first defense mechanism for COVID19 containment. In a recent showcase, Edge Impulse and Arduino published a project that had the power and simplicity of running TinyML on an Arduino Nano BLE Sense that can detect the presence of specific coughing sounds in real-time audio, including a dataset of coughing and background noise samples, and applied a highly optimized TinyML model, to build a cough detection system that runs in under 20 kB of RAM on the Nano BLE Sense. The project and the dataset were originally started by Kartik Thakore to help in the COVID-19 effort and was made available as an open-source repository on Hackster.io.
This same approach applies to many other embedded audio pattern matching applications, for example, childcare, elderly care, safety, and machine monitoring.
TinyML Is Going to be Everywhere
With 250 billion microcontrollers in the world today, and growing by 30 billion annually, TinyML is the best technology for performing on-device data analytics for vision, audio, motion, and more. TinyML gives small devices the ability to make smart decisions without needing to send data to the cloud. Unlike the general monsters used by data scientists, TinyML models are small enough to fit into any environment–and that’s why they will be everywhere. […]