The current study aims to train and benchmark AI models tailored for the detection of microplastic in water from scattered signals. We trained two different models, the first based on a Multi-Layer Perceptron (MLP) and the second on a Gated Recurrent Unit (GRU). A Neural Architecture Search algorithm was used to determine the optimal configuration for each of the two models. Moreover, for deployment on edge devices, a specific custom-made compiler was designed and used. The compiler is specifically designed for TinyML applications and, therefore, for resource-constrained devices. It bypasses traditional inference engines, compiling the NNs to native C code using only standard C libraries. Our approach demonstrated better performance compared to state-of-the-art frameworks such as ONNX Runtime, achieving better latency, memory usage, energy consumption, and a higher portability. This highlights the potential of our method for efficient and effective microplastic detection in environmental monitoring.

Efficient Detection of Microplastics on Edge Devices with Tailored Compiler for TinyML Applications

Merone M.
;
Vollero L.;Sabatini A.
2025-01-01

Abstract

The current study aims to train and benchmark AI models tailored for the detection of microplastic in water from scattered signals. We trained two different models, the first based on a Multi-Layer Perceptron (MLP) and the second on a Gated Recurrent Unit (GRU). A Neural Architecture Search algorithm was used to determine the optimal configuration for each of the two models. Moreover, for deployment on edge devices, a specific custom-made compiler was designed and used. The compiler is specifically designed for TinyML applications and, therefore, for resource-constrained devices. It bypasses traditional inference engines, compiling the NNs to native C code using only standard C libraries. Our approach demonstrated better performance compared to state-of-the-art frameworks such as ONNX Runtime, achieving better latency, memory usage, energy consumption, and a higher portability. This highlights the potential of our method for efficient and effective microplastic detection in environmental monitoring.
2025
compiler; microplastic detection; quantization; TinyML
File in questo prodotto:
File Dimensione Formato  
Efficient_Detection_of_Microplastics_on_Edge_Devices_With_Tailored_Compiler_for_TinyML_Applications.pdf

accesso aperto

Tipologia: Versione Editoriale (PDF)
Licenza: Creative commons
Dimensione 2.18 MB
Formato Adobe PDF
2.18 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.12610/90287
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 1
social impact