Improving Variational Autoencoder based Out-of-Distribution Detection for Embedded Real-time Applications

Uncertainties in machine learning are a significant roadblock for its application in safety-critical cyber-physical systems (CPS). One source of uncertainty arises from distribution shifts in the input data between training and test scenarios. Detecting such distribution shifts in real-time is an em...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:ACM transactions on embedded computing systems 2021-10, Vol.20 (5s), p.1-26, Article 95
Hauptverfasser: Feng, Yeli, Ng, Daniel Jun Xian, Easwaran, Arvind
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page 26
container_issue 5s
container_start_page 1
container_title ACM transactions on embedded computing systems
container_volume 20
creator Feng, Yeli
Ng, Daniel Jun Xian
Easwaran, Arvind
description Uncertainties in machine learning are a significant roadblock for its application in safety-critical cyber-physical systems (CPS). One source of uncertainty arises from distribution shifts in the input data between training and test scenarios. Detecting such distribution shifts in real-time is an emerging approach to address the challenge. The high dimensional input space in CPS applications involving imaging adds extra difficulty to the task. Generative learning models are widely adopted for the task, namely out-of-distribution (OoD) detection. To improve the state-of-the-art, we studied existing proposals from both machine learning and CPS fields. In the latter, safety monitoring in real-time for autonomous driving agents has been a focus. Exploiting the spatiotemporal correlation of motion in videos, we can robustly detect hazardous motion around autonomous driving agents. Inspired by the latest advances in the Variational Autoencoder (VAE) theory and practice, we tapped into the prior knowledge in data to further boost OoD detection’s robustness. Comparison studies over nuScenes and Synthia data sets show our methods significantly improve detection capabilities of OoD factors unique to driving scenarios, 42% better than state-of-the-art approaches. Our model also generalized near-perfectly, 97% better than the state-of-the-art across the real-world and simulation driving data sets experimented. Finally, we customized one proposed method into a twin-encoder model that can be deployed to resource limited embedded devices for real-time OoD detection. Its execution time was reduced over four times in low-precision 8-bit integer inference, while detection capability is comparable to its corresponding floating-point model.
doi_str_mv 10.1145/3477026
format Article
fullrecord <record><control><sourceid>acm_cross</sourceid><recordid>TN_cdi_crossref_primary_10_1145_3477026</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>3477026</sourcerecordid><originalsourceid>FETCH-LOGICAL-a244t-97e530f2712d0a17ae62ffb603eb61c11c7f97fae8c90bf20c5af2a229970d843</originalsourceid><addsrcrecordid>eNo90M1LwzAYBvAgCs4p3j3l5imapEnTHMc2dTAYiHotb9NEIu1SklTwv3dfenofeH88hwehW0YfGBPysRBKUV6eoQmTsiKFKOX5PheaaFqpS3SV0helTHEhJ8iv-iGGb7_9xB8QPWQfttDh2ZiD3ZrQ2ogbSLbFmzGT4MjCpxx9M-4dXthszSG5EPGyb2zb7uirhY5k31s8G4bOm0NpukYXDrpkb053it6flm_zF7LePK_mszUBLkQmWllZUMcV4y0FpsCW3LmmpIVtSmYYM8pp5cBWRtPGcWokOA6ca61oW4liiu6PvSaGlKJ19RB9D_GnZrTeL1SfFtrJu6ME0_-jv-cvbORiCA</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Improving Variational Autoencoder based Out-of-Distribution Detection for Embedded Real-time Applications</title><source>ACM Digital Library Complete</source><creator>Feng, Yeli ; Ng, Daniel Jun Xian ; Easwaran, Arvind</creator><creatorcontrib>Feng, Yeli ; Ng, Daniel Jun Xian ; Easwaran, Arvind</creatorcontrib><description>Uncertainties in machine learning are a significant roadblock for its application in safety-critical cyber-physical systems (CPS). One source of uncertainty arises from distribution shifts in the input data between training and test scenarios. Detecting such distribution shifts in real-time is an emerging approach to address the challenge. The high dimensional input space in CPS applications involving imaging adds extra difficulty to the task. Generative learning models are widely adopted for the task, namely out-of-distribution (OoD) detection. To improve the state-of-the-art, we studied existing proposals from both machine learning and CPS fields. In the latter, safety monitoring in real-time for autonomous driving agents has been a focus. Exploiting the spatiotemporal correlation of motion in videos, we can robustly detect hazardous motion around autonomous driving agents. Inspired by the latest advances in the Variational Autoencoder (VAE) theory and practice, we tapped into the prior knowledge in data to further boost OoD detection’s robustness. Comparison studies over nuScenes and Synthia data sets show our methods significantly improve detection capabilities of OoD factors unique to driving scenarios, 42% better than state-of-the-art approaches. Our model also generalized near-perfectly, 97% better than the state-of-the-art across the real-world and simulation driving data sets experimented. Finally, we customized one proposed method into a twin-encoder model that can be deployed to resource limited embedded devices for real-time OoD detection. Its execution time was reduced over four times in low-precision 8-bit integer inference, while detection capability is comparable to its corresponding floating-point model.</description><identifier>ISSN: 1539-9087</identifier><identifier>EISSN: 1558-3465</identifier><identifier>DOI: 10.1145/3477026</identifier><language>eng</language><publisher>New York, NY: ACM</publisher><subject>Embedded and cyber-physical systems ; Machine learning</subject><ispartof>ACM transactions on embedded computing systems, 2021-10, Vol.20 (5s), p.1-26, Article 95</ispartof><rights>Copyright held by the owner/author(s). Publication rights licensed to ACM.</rights><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-a244t-97e530f2712d0a17ae62ffb603eb61c11c7f97fae8c90bf20c5af2a229970d843</citedby><cites>FETCH-LOGICAL-a244t-97e530f2712d0a17ae62ffb603eb61c11c7f97fae8c90bf20c5af2a229970d843</cites></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktopdf>$$Uhttps://dl.acm.org/doi/pdf/10.1145/3477026$$EPDF$$P50$$Gacm$$H</linktopdf><link.rule.ids>314,778,782,2278,27907,27908,40179,75979</link.rule.ids></links><search><creatorcontrib>Feng, Yeli</creatorcontrib><creatorcontrib>Ng, Daniel Jun Xian</creatorcontrib><creatorcontrib>Easwaran, Arvind</creatorcontrib><title>Improving Variational Autoencoder based Out-of-Distribution Detection for Embedded Real-time Applications</title><title>ACM transactions on embedded computing systems</title><addtitle>ACM TECS</addtitle><description>Uncertainties in machine learning are a significant roadblock for its application in safety-critical cyber-physical systems (CPS). One source of uncertainty arises from distribution shifts in the input data between training and test scenarios. Detecting such distribution shifts in real-time is an emerging approach to address the challenge. The high dimensional input space in CPS applications involving imaging adds extra difficulty to the task. Generative learning models are widely adopted for the task, namely out-of-distribution (OoD) detection. To improve the state-of-the-art, we studied existing proposals from both machine learning and CPS fields. In the latter, safety monitoring in real-time for autonomous driving agents has been a focus. Exploiting the spatiotemporal correlation of motion in videos, we can robustly detect hazardous motion around autonomous driving agents. Inspired by the latest advances in the Variational Autoencoder (VAE) theory and practice, we tapped into the prior knowledge in data to further boost OoD detection’s robustness. Comparison studies over nuScenes and Synthia data sets show our methods significantly improve detection capabilities of OoD factors unique to driving scenarios, 42% better than state-of-the-art approaches. Our model also generalized near-perfectly, 97% better than the state-of-the-art across the real-world and simulation driving data sets experimented. Finally, we customized one proposed method into a twin-encoder model that can be deployed to resource limited embedded devices for real-time OoD detection. Its execution time was reduced over four times in low-precision 8-bit integer inference, while detection capability is comparable to its corresponding floating-point model.</description><subject>Embedded and cyber-physical systems</subject><subject>Machine learning</subject><issn>1539-9087</issn><issn>1558-3465</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2021</creationdate><recordtype>article</recordtype><recordid>eNo90M1LwzAYBvAgCs4p3j3l5imapEnTHMc2dTAYiHotb9NEIu1SklTwv3dfenofeH88hwehW0YfGBPysRBKUV6eoQmTsiKFKOX5PheaaFqpS3SV0helTHEhJ8iv-iGGb7_9xB8QPWQfttDh2ZiD3ZrQ2ogbSLbFmzGT4MjCpxx9M-4dXthszSG5EPGyb2zb7uirhY5k31s8G4bOm0NpukYXDrpkb053it6flm_zF7LePK_mszUBLkQmWllZUMcV4y0FpsCW3LmmpIVtSmYYM8pp5cBWRtPGcWokOA6ca61oW4liiu6PvSaGlKJ19RB9D_GnZrTeL1SfFtrJu6ME0_-jv-cvbORiCA</recordid><startdate>20211001</startdate><enddate>20211001</enddate><creator>Feng, Yeli</creator><creator>Ng, Daniel Jun Xian</creator><creator>Easwaran, Arvind</creator><general>ACM</general><scope>AAYXX</scope><scope>CITATION</scope></search><sort><creationdate>20211001</creationdate><title>Improving Variational Autoencoder based Out-of-Distribution Detection for Embedded Real-time Applications</title><author>Feng, Yeli ; Ng, Daniel Jun Xian ; Easwaran, Arvind</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a244t-97e530f2712d0a17ae62ffb603eb61c11c7f97fae8c90bf20c5af2a229970d843</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2021</creationdate><topic>Embedded and cyber-physical systems</topic><topic>Machine learning</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Feng, Yeli</creatorcontrib><creatorcontrib>Ng, Daniel Jun Xian</creatorcontrib><creatorcontrib>Easwaran, Arvind</creatorcontrib><collection>CrossRef</collection><jtitle>ACM transactions on embedded computing systems</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Feng, Yeli</au><au>Ng, Daniel Jun Xian</au><au>Easwaran, Arvind</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Improving Variational Autoencoder based Out-of-Distribution Detection for Embedded Real-time Applications</atitle><jtitle>ACM transactions on embedded computing systems</jtitle><stitle>ACM TECS</stitle><date>2021-10-01</date><risdate>2021</risdate><volume>20</volume><issue>5s</issue><spage>1</spage><epage>26</epage><pages>1-26</pages><artnum>95</artnum><issn>1539-9087</issn><eissn>1558-3465</eissn><abstract>Uncertainties in machine learning are a significant roadblock for its application in safety-critical cyber-physical systems (CPS). One source of uncertainty arises from distribution shifts in the input data between training and test scenarios. Detecting such distribution shifts in real-time is an emerging approach to address the challenge. The high dimensional input space in CPS applications involving imaging adds extra difficulty to the task. Generative learning models are widely adopted for the task, namely out-of-distribution (OoD) detection. To improve the state-of-the-art, we studied existing proposals from both machine learning and CPS fields. In the latter, safety monitoring in real-time for autonomous driving agents has been a focus. Exploiting the spatiotemporal correlation of motion in videos, we can robustly detect hazardous motion around autonomous driving agents. Inspired by the latest advances in the Variational Autoencoder (VAE) theory and practice, we tapped into the prior knowledge in data to further boost OoD detection’s robustness. Comparison studies over nuScenes and Synthia data sets show our methods significantly improve detection capabilities of OoD factors unique to driving scenarios, 42% better than state-of-the-art approaches. Our model also generalized near-perfectly, 97% better than the state-of-the-art across the real-world and simulation driving data sets experimented. Finally, we customized one proposed method into a twin-encoder model that can be deployed to resource limited embedded devices for real-time OoD detection. Its execution time was reduced over four times in low-precision 8-bit integer inference, while detection capability is comparable to its corresponding floating-point model.</abstract><cop>New York, NY</cop><pub>ACM</pub><doi>10.1145/3477026</doi><tpages>26</tpages></addata></record>
fulltext fulltext
identifier ISSN: 1539-9087
ispartof ACM transactions on embedded computing systems, 2021-10, Vol.20 (5s), p.1-26, Article 95
issn 1539-9087
1558-3465
language eng
recordid cdi_crossref_primary_10_1145_3477026
source ACM Digital Library Complete
subjects Embedded and cyber-physical systems
Machine learning
title Improving Variational Autoencoder based Out-of-Distribution Detection for Embedded Real-time Applications
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-16T07%3A51%3A50IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-acm_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Improving%20Variational%20Autoencoder%20based%20Out-of-Distribution%20Detection%20for%20Embedded%20Real-time%20Applications&rft.jtitle=ACM%20transactions%20on%20embedded%20computing%20systems&rft.au=Feng,%20Yeli&rft.date=2021-10-01&rft.volume=20&rft.issue=5s&rft.spage=1&rft.epage=26&rft.pages=1-26&rft.artnum=95&rft.issn=1539-9087&rft.eissn=1558-3465&rft_id=info:doi/10.1145/3477026&rft_dat=%3Cacm_cross%3E3477026%3C/acm_cross%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