Evaluating machine learning models for resource-constrained systems
2026 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesisAlternative title
Utvärdering av maskininlärningsmodeller för system med begränsade resurser (Swedish)
Abstract [en]
This thesis explores running machine learning models directly on resource-constrained edge devices for applications where connectivity, compliance, privacy and energy costs make cloud-based solutions impractical. The main challenge is to achieve high model accuracy and recall while keeping the models small enough to deploy on small edge devices. This thesis evaluates five different machine learning models: Support Vector Machines (SVM), Decision Trees (CART), k-Nearest Neighbor (k-NN), ProtoNN and Convolutional Neural Networks (CNN), for binary person detection in image data. To enable image classification, two different feature extraction methods are compared: Histogram of Oriented Gradients (HOG) and CNN. All models are trained on the Wake Vision dataset both on image resolutions of 128 x 128 and 64 x 64, using both int8 and float32 representations. All models are deployed onto an STM32 Nucleo-144 board with an STM32H563ZI microcontroller. Each configuration is tested in terms of accuracy, recall and precision, as well as inference time, flash and RAM usage. The results show that CNN-based feature extraction outperforms HOG for all models, while CART provides the fastest inference speed but shows lower predictive performance. Overall, the results indicate that a CNN-based feature extractor combined with a compressed, quantized SVM classifier provides the most practical balance for real-world embedded applications, achieving high accuracy while operating within the strict constraints of the target hardware.
Place, publisher, year, edition, pages
2026. , p. 57
Keywords [en]
Resource-constrained devices, TinyML, Edge AI
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:liu:diva-224684ISRN: LIU-IDA/LITH-EX-A—26/028--SEOAI: oai:DiVA.org:liu-224684DiVA, id: diva2:2069199
External cooperation
Consid Linköping AB
Subject / course
Computer Engineering
Presentation
2026-06-01, Muhammad al-Khwarizmi, 10:15
Supervisors
Examiners
2026-06-102026-06-102026-06-10Bibliographically approved