Two-stage Human Activity Recognition on Microcontrollers with Decision Trees and CNNs

Human Activity Recognition (HAR) has become an increasingly popular task for embedded devices such as smartwatches. Most HAR systems for ultra-low power devices are based on classic Machine Learning (ML) models, whereas Deep Learning (DL), although reaching state-of-the-art accuracy, is less popular...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Daghero, Francesco, Pagliari, Daniele Jahier, Poncino, Massimo
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Daghero, Francesco
Pagliari, Daniele Jahier
Poncino, Massimo
description Human Activity Recognition (HAR) has become an increasingly popular task for embedded devices such as smartwatches. Most HAR systems for ultra-low power devices are based on classic Machine Learning (ML) models, whereas Deep Learning (DL), although reaching state-of-the-art accuracy, is less popular due to its high energy consumption, which poses a significant challenge for battery-operated and resource-constrained devices. In this work, we bridge the gap between on-device HAR and DL thanks to a hierarchical architecture composed of a decision tree (DT) and a one dimensional Convolutional Neural Network (1D CNN). The two classifiers operate in a cascaded fashion on two different sub-tasks: the DT classifies only the easiest activities, while the CNN deals with more complex ones. With experiments on a state-of-the-art dataset and targeting a single-core RISC-V MCU, we show that this approach allows to save up to 67.7% energy w.r.t. a "stand-alone" DL architecture at iso-accuracy. Additionally, the two-stage system either introduces a negligible memory overhead (up to 200 B) or on the contrary, reduces the total memory occupation.
doi_str_mv 10.48550/arxiv.2206.07652
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2206_07652</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2206_07652</sourcerecordid><originalsourceid>FETCH-LOGICAL-a672-e87b78da1ca057e698fb6d21e95f8d33e0a9ae3b3415dca6094e111b05f7346f3</originalsourceid><addsrcrecordid>eNotz8tOwzAUBFBvWKDCB7DCP5DgR2wnyyo8ilSKhMI6unFuiqXURrZp6d9DC9JIsxmNdAi54aysaqXYHcRvty-FYLpkRitxSd67QyhShi3S1dcOPF3a7PYuH-kb2rD1Lrvg6W9enI3BBp9jmGeMiR5c_qD3aF06LbqImCj4kbabTboiFxPMCa__e0G6x4euXRXr16fndrkuQBtRYG0GU4_ALTBlUDf1NOhRcGzUVI9SIoMGUA6y4mq0oFlTIed8YGoystKTXJDbv9uzq_-Mbgfx2J98_dknfwAhSUuO</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Two-stage Human Activity Recognition on Microcontrollers with Decision Trees and CNNs</title><source>arXiv.org</source><creator>Daghero, Francesco ; Pagliari, Daniele Jahier ; Poncino, Massimo</creator><creatorcontrib>Daghero, Francesco ; Pagliari, Daniele Jahier ; Poncino, Massimo</creatorcontrib><description>Human Activity Recognition (HAR) has become an increasingly popular task for embedded devices such as smartwatches. Most HAR systems for ultra-low power devices are based on classic Machine Learning (ML) models, whereas Deep Learning (DL), although reaching state-of-the-art accuracy, is less popular due to its high energy consumption, which poses a significant challenge for battery-operated and resource-constrained devices. In this work, we bridge the gap between on-device HAR and DL thanks to a hierarchical architecture composed of a decision tree (DT) and a one dimensional Convolutional Neural Network (1D CNN). The two classifiers operate in a cascaded fashion on two different sub-tasks: the DT classifies only the easiest activities, while the CNN deals with more complex ones. With experiments on a state-of-the-art dataset and targeting a single-core RISC-V MCU, we show that this approach allows to save up to 67.7% energy w.r.t. a "stand-alone" DL architecture at iso-accuracy. Additionally, the two-stage system either introduces a negligible memory overhead (up to 200 B) or on the contrary, reduces the total memory occupation.</description><identifier>DOI: 10.48550/arxiv.2206.07652</identifier><language>eng</language><subject>Computer Science - Learning</subject><creationdate>2022-06</creationdate><rights>http://creativecommons.org/licenses/by/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,776,881</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2206.07652$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2206.07652$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Daghero, Francesco</creatorcontrib><creatorcontrib>Pagliari, Daniele Jahier</creatorcontrib><creatorcontrib>Poncino, Massimo</creatorcontrib><title>Two-stage Human Activity Recognition on Microcontrollers with Decision Trees and CNNs</title><description>Human Activity Recognition (HAR) has become an increasingly popular task for embedded devices such as smartwatches. Most HAR systems for ultra-low power devices are based on classic Machine Learning (ML) models, whereas Deep Learning (DL), although reaching state-of-the-art accuracy, is less popular due to its high energy consumption, which poses a significant challenge for battery-operated and resource-constrained devices. In this work, we bridge the gap between on-device HAR and DL thanks to a hierarchical architecture composed of a decision tree (DT) and a one dimensional Convolutional Neural Network (1D CNN). The two classifiers operate in a cascaded fashion on two different sub-tasks: the DT classifies only the easiest activities, while the CNN deals with more complex ones. With experiments on a state-of-the-art dataset and targeting a single-core RISC-V MCU, we show that this approach allows to save up to 67.7% energy w.r.t. a "stand-alone" DL architecture at iso-accuracy. Additionally, the two-stage system either introduces a negligible memory overhead (up to 200 B) or on the contrary, reduces the total memory occupation.</description><subject>Computer Science - Learning</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2022</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotz8tOwzAUBFBvWKDCB7DCP5DgR2wnyyo8ilSKhMI6unFuiqXURrZp6d9DC9JIsxmNdAi54aysaqXYHcRvty-FYLpkRitxSd67QyhShi3S1dcOPF3a7PYuH-kb2rD1Lrvg6W9enI3BBp9jmGeMiR5c_qD3aF06LbqImCj4kbabTboiFxPMCa__e0G6x4euXRXr16fndrkuQBtRYG0GU4_ALTBlUDf1NOhRcGzUVI9SIoMGUA6y4mq0oFlTIed8YGoystKTXJDbv9uzq_-Mbgfx2J98_dknfwAhSUuO</recordid><startdate>20220607</startdate><enddate>20220607</enddate><creator>Daghero, Francesco</creator><creator>Pagliari, Daniele Jahier</creator><creator>Poncino, Massimo</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20220607</creationdate><title>Two-stage Human Activity Recognition on Microcontrollers with Decision Trees and CNNs</title><author>Daghero, Francesco ; Pagliari, Daniele Jahier ; Poncino, Massimo</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a672-e87b78da1ca057e698fb6d21e95f8d33e0a9ae3b3415dca6094e111b05f7346f3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2022</creationdate><topic>Computer Science - Learning</topic><toplevel>online_resources</toplevel><creatorcontrib>Daghero, Francesco</creatorcontrib><creatorcontrib>Pagliari, Daniele Jahier</creatorcontrib><creatorcontrib>Poncino, Massimo</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Daghero, Francesco</au><au>Pagliari, Daniele Jahier</au><au>Poncino, Massimo</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Two-stage Human Activity Recognition on Microcontrollers with Decision Trees and CNNs</atitle><date>2022-06-07</date><risdate>2022</risdate><abstract>Human Activity Recognition (HAR) has become an increasingly popular task for embedded devices such as smartwatches. Most HAR systems for ultra-low power devices are based on classic Machine Learning (ML) models, whereas Deep Learning (DL), although reaching state-of-the-art accuracy, is less popular due to its high energy consumption, which poses a significant challenge for battery-operated and resource-constrained devices. In this work, we bridge the gap between on-device HAR and DL thanks to a hierarchical architecture composed of a decision tree (DT) and a one dimensional Convolutional Neural Network (1D CNN). The two classifiers operate in a cascaded fashion on two different sub-tasks: the DT classifies only the easiest activities, while the CNN deals with more complex ones. With experiments on a state-of-the-art dataset and targeting a single-core RISC-V MCU, we show that this approach allows to save up to 67.7% energy w.r.t. a "stand-alone" DL architecture at iso-accuracy. Additionally, the two-stage system either introduces a negligible memory overhead (up to 200 B) or on the contrary, reduces the total memory occupation.</abstract><doi>10.48550/arxiv.2206.07652</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2206.07652
ispartof
issn
language eng
recordid cdi_arxiv_primary_2206_07652
source arXiv.org
subjects Computer Science - Learning
title Two-stage Human Activity Recognition on Microcontrollers with Decision Trees and CNNs
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-24T23%3A06%3A35IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Two-stage%20Human%20Activity%20Recognition%20on%20Microcontrollers%20with%20Decision%20Trees%20and%20CNNs&rft.au=Daghero,%20Francesco&rft.date=2022-06-07&rft_id=info:doi/10.48550/arxiv.2206.07652&rft_dat=%3Carxiv_GOX%3E2206_07652%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true