{"id":{"repo_id":"mit","oai_identifier":"oai:dspace.mit.edu:1721.1/151408"},"canonical_url":"https://search.dev.ndltd.org/etd/mit/oai:dspace.mit.edu:1721.1/151408","repository":{"repo_id":"mit","name":"MIT","base_url":"https://dspace.mit.edu/oai/request"},"display":{"title":"Applications of AI on Resource-ConstrainedHardware with a focus on Anomaly Detection","abstract":"This thesis addresses the challenges of improving the performance of AI models on resource-constrained microcontrollers (MCUs). As the complexity of modern models continues to grow and the demand for smaller mobile devices increases, optimizing model latency, memory usage, and accuracy on tiny devices remains a persistent problem. This thesis makes contributions to the field by (1) benchmarking common AI inference engines to identify trade-offs between them, (2) developing a framework that can assist neural-architecture searches to discover more efficient models, (3) proposing model conversion techniques that enable online-learning on MCUs, resulting in improved real-world accuracy, (4) creating a novel visual anomaly detector for MCUs, and (5) collecting a new dataset for anomaly detection benchmarks. The task of visual anomaly detection is to discern between known \"Good\" objects and objects that are slightly damaged or have imperfects. Being able to spot defective parts has huge applications in industrial and manufacturing settings. The proposed anomaly detector, MCU-PatchCore, is based on PatchCore – a state-of-the-art anomaly detector. MCU-PatchCore achieves a mean accuracy of 86% on the widely used MVTec AD dataset, which contains images of screws, cloth, glass bottles, etc., and their anomalous chipped, torn, cracked, etc., counterparts. While MCU-PatchCore’s accuracy is not as competitive as the GPU-based PatchCore detector, it only requires 200KB of RAM and less than 1MB of storage to run. Additionally, MCU-PatchCore outperforms a few other anomaly detectors in the literature, and shows promising potential for future improvement.","abstract_html":"This thesis addresses the challenges of improving the performance of AI models on resource-constrained microcontrollers (MCUs). As the complexity of modern models continues to grow and the demand for smaller mobile devices increases, optimizing model latency, memory usage, and accuracy on tiny devices remains a persistent problem. This thesis makes contributions to the field by (1) benchmarking common AI inference engines to identify trade-offs between them, (2) developing a framework that can assist neural-architecture searches to discover more efficient models, (3) proposing model conversion techniques that enable online-learning on MCUs, resulting in improved real-world accuracy, (4) creating a novel visual anomaly detector for MCUs, and (5) collecting a new dataset for anomaly detection benchmarks. The task of visual anomaly detection is to discern between known &quot;Good&quot; objects and objects that are slightly damaged or have imperfects. Being able to spot defective parts has huge applications in industrial and manufacturing settings. The proposed anomaly detector, MCU-PatchCore, is based on PatchCore – a state-of-the-art anomaly detector. MCU-PatchCore achieves a mean accuracy of 86% on the widely used MVTec AD dataset, which contains images of screws, cloth, glass bottles, etc., and their anomalous chipped, torn, cracked, etc., counterparts. While MCU-PatchCore’s accuracy is not as competitive as the GPU-based PatchCore detector, it only requires 200KB of RAM and less than 1MB of storage to run. Additionally, MCU-PatchCore outperforms a few other anomaly detectors in the literature, and shows promising potential for future improvement.","abstract_has_math":false,"creators":["Ziegler, Travis"],"institution":"Massachusetts Institute of Technology","degree_name":"Master","degree_level":null,"degree_discipline":null,"degree_department":"Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science","school":null,"contributors":[],"advisors":["Oliva, Aude","Martie, Lee"],"committee_chairs":[],"committee_members":[],"year":2023,"date_issued":"2023-06","date_published":"2023-06","updated_at":"2026-07-22T22:20:56Z","subjects":[],"languages":[],"rights":["In Copyright - Educational Use Permitted","Copyright retained by author(s)"],"rights_urls":["https://rightsstatements.org/page/InC-EDU/1.0/"],"identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1721.1/151408","outbound_label":"Handle","outbound_source":"dc:identifier.uri"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Oliva, Aude","Martie, Lee"]},{"key":"dc:contributor.department","label":"Department","values":["Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science"]},{"key":"dc:creator","label":"Author","values":["Ziegler, Travis"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2023-07-31T19:37:23Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2023-07-31T19:37:23Z"]},{"key":"dc:date.issued","label":"Date","values":["2023-06"]},{"key":"dc:publisher","label":"Institution","values":["Massachusetts Institute of Technology"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master","Master of Engineering in Electrical Engineering and Computer Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["In Copyright - Educational Use Permitted","Copyright retained by author(s)"]},{"key":"dc:rights.uri","label":"Rights URI","values":["https://rightsstatements.org/page/InC-EDU/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1721.1/151408"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This thesis addresses the challenges of improving the performance of AI models on resource-constrained microcontrollers (MCUs). As the complexity of modern models continues to grow and the demand for smaller mobile devices increases, optimizing model latency, memory usage, and accuracy on tiny devices remains a persistent problem. This thesis makes contributions to the field by (1) benchmarking common AI inference engines to identify trade-offs between them, (2) developing a framework that can assist neural-architecture searches to discover more efficient models, (3) proposing model conversion techniques that enable online-learning on MCUs, resulting in improved real-world accuracy, (4) creating a novel visual anomaly detector for MCUs, and (5) collecting a new dataset for anomaly detection benchmarks. The task of visual anomaly detection is to discern between known \"Good\" objects and objects that are slightly damaged or have imperfects. Being able to spot defective parts has huge applications in industrial and manufacturing settings. The proposed anomaly detector, MCU-PatchCore, is based on PatchCore – a state-of-the-art anomaly detector. MCU-PatchCore achieves a mean accuracy of 86% on the widely used MVTec AD dataset, which contains images of screws, cloth, glass bottles, etc., and their anomalous chipped, torn, cracked, etc., counterparts. While MCU-PatchCore’s accuracy is not as competitive as the GPU-based PatchCore detector, it only requires 200KB of RAM and less than 1MB of storage to run. Additionally, MCU-PatchCore outperforms a few other anomaly detectors in the literature, and shows promising potential for future improvement."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["M.Eng."]},{"key":"dc:title","label":"Title","values":["Applications of AI on Resource-ConstrainedHardware with a focus on Anomaly Detection"]}]}],"canonical_facts":{"dc:contributor.advisor":["Oliva, Aude","Martie, Lee"],"dc:contributor.department":["Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science"],"dc:creator":["Ziegler, Travis"],"dc:date.accessioned":["2023-07-31T19:37:23Z"],"dc:date.available":["2023-07-31T19:37:23Z"],"dc:date.issued":["2023-06"],"dc:description.abstract":["This thesis addresses the challenges of improving the performance of AI models on resource-constrained microcontrollers (MCUs). As the complexity of modern models continues to grow and the demand for smaller mobile devices increases, optimizing model latency, memory usage, and accuracy on tiny devices remains a persistent problem. This thesis makes contributions to the field by (1) benchmarking common AI inference engines to identify trade-offs between them, (2) developing a framework that can assist neural-architecture searches to discover more efficient models, (3) proposing model conversion techniques that enable online-learning on MCUs, resulting in improved real-world accuracy, (4) creating a novel visual anomaly detector for MCUs, and (5) collecting a new dataset for anomaly detection benchmarks. The task of visual anomaly detection is to discern between known \"Good\" objects and objects that are slightly damaged or have imperfects. Being able to spot defective parts has huge applications in industrial and manufacturing settings. The proposed anomaly detector, MCU-PatchCore, is based on PatchCore – a state-of-the-art anomaly detector. MCU-PatchCore achieves a mean accuracy of 86% on the widely used MVTec AD dataset, which contains images of screws, cloth, glass bottles, etc., and their anomalous chipped, torn, cracked, etc., counterparts. While MCU-PatchCore’s accuracy is not as competitive as the GPU-based PatchCore detector, it only requires 200KB of RAM and less than 1MB of storage to run. Additionally, MCU-PatchCore outperforms a few other anomaly detectors in the literature, and shows promising potential for future improvement."],"dc:description.degree":["M.Eng."],"dc:identifier.uri":["https://hdl.handle.net/1721.1/151408"],"dc:publisher":["Massachusetts Institute of Technology"],"dc:rights":["In Copyright - Educational Use Permitted","Copyright retained by author(s)"],"dc:rights.uri":["https://rightsstatements.org/page/InC-EDU/1.0/"],"dc:title":["Applications of AI on Resource-ConstrainedHardware with a focus on Anomaly Detection"],"dc:type":["Thesis"],"thesis:degree_name":["Master","Master of Engineering in Electrical Engineering and Computer Science"]},"updated_at":"2026-07-22T22:20:56Z"}