What is TinyML ? Why TinyML will soon be everywhere?

Prasant Kumar
5 min readJun 13, 2022

What is TinyML ?

TinyML is a cutting-edge field that brings the transformative power of machine learning (ML) to the performance- and power-constrained domain of tiny devices and embedded systems. Successful deployment in this field requires intimate knowledge of applications, algorithms, hardware, and software.

ML applied on Microcontroller

Developments in TinyML

TinyML will soon be everywhere, powering the next generation of smart embedded devices. These devices will be in our homes and in very remote locations, enabling remote monitoring for both industry and ecology. Today, in these remote monitoring settings, 99% of raw sensor data is discarded, which is a wealth of data for machine learning!

TinyML can provide a unique solution: by summarizing and analyzing data at the edge on low power embedded devices, TinyML can provide smart summary statistics that take these previously lost patterns, anomalies, and advanced analytics into account [1] [2].

In this reading, we survey a few emerging application areas that have great potential for TinyML. This list is a tiny preview into the wealth of applications on the horizon.

Applications of TinyML

Industrial Predictive Maintenance:

In the Industrial setting, TinyML is already being used to provide smarter sensing that enables advanced monitoring improving productivity and safety. For example, maintenance and monitoring of remote wind turbines can be quite challenging and time-consuming. However, if we could proactively predict that the machine will have trouble, we can predictively do maintenance ahead of any failures. Such “predictive maintenance” can lead to significant cost savings due to reduced downtimes, better availability of the systems for higher reliability in the product, which leads to overall higher quality of service for end-users/customers.

There are many TinyML applications for predictive maintenance. For instance, an Australian startup, Ping Services, has introduced a novel IoT device that continuously and autonomously inspects a turbine as it’s running. By magnetically attaching to the outside of any turbine (notice the small device in the image below) and analyzing detailed data at the edge and summary data in the cloud, the device can efficiently and effectively alert of any potential issues before a problem arises inside the turbine [3][4].

Agriculture:

Every day, the cassava crop provides food for more than 500 million African people. However, this vital stable is continuously under attack from a variety of diseases. The team at PlantVillage, led by Dr. Amanda Ramcharan, has developed the Nuru app to help farmers identify and treat these diseases. By running machine learning using TensorFlow Lite on mobile phones, the app enables real-time mitigation without the need for access to the internet — a crucial requirement for many remote farmers (see the image below for the system in action). The next generation of this system will go farther — leveraging tinyML and technologies like TensorFlow for Microcontrollers to deploy sensors across remote farms to enable better tracking and analysis [5].

Healthcare:

The Solar Scare Mosquito project deploys small smart Internet of Things (IoT) robotic platforms to help curb the spread of mosquito-borne epidemics such as Malaria, Dengue, and the Zika Virus. The system works by disrupting the mosquito breeding cycle by agitating water likely to contain mosquito larvae. The system uses rain and acoustic sensors to determine when it needs to agitate water to conserve battery and enable it to run on solar power indefinitely. It also sends smart summary statistics and alerts to warn of possible mosquito mass breeding events over lower power low-speed communication protocols. By making the system self-sufficient, small, and affordable, these devices can be deployed widely, preventing mosquitoes spread. All of the necessary components are included in a single component smaller than the size of a soccer ball [6].

Wildlife Conservation:

On the Land:

TinyML is also already being used for ecological and environmental monitoring. For example, over the past 10 years, the Siliguri-Jalapaiguri railway line in India has had over 200 fatal collisions with elephants. Researchers from the Laboratory of Applied Bioacoustics at the Polytechnic University of Catalonia designed a smart acoustic and thermal sensor system using custom machine learning models running on solar power as an early warning system (see image below — all-in-one package with self-sustained energy source allows proximity to railway without added infrastructure, e.g., power lines) [7].

And In The Sea:

Similar systems are also being deployed in the waterways around Seattle and Vancouver to prevent whale strikes in busy shipping lanes. These smart ML powered sensors enable constant real time monitoring and increased density of sensor deployments improving overall system efficiency and efficacy [8].

There are a whole host of other existing deployments of TinyML today.

I hope you got something new from this article about TinyML, and its applications.

Happy Learning and Stay tuned 😊.

References:

  1. Internet Of Things : Mapping the Value beyond the Hype
  2. What’s your Data Strategy
  3. Accurate data means less down time and improved wind turbine blade performace
  4. IOT Device Detects Wind Turbine Faults in the Field
  5. Transforming farmer’s lives with just a mobile phone
  6. Solar Scare Mosquito
  7. Elephants vs trains: This is how AI helps ensure they don’t collide
  8. Google Builds AI to Help Ships and Whales Coexist

--

--