Adaptive Deep Learning for Soft Real-Time Image Classification
CNNs (Convolutional Neural Networks) are becoming increasingly important for real-time applications, such as image classification in traffic control, visual surveillance, and smart manufacturing. It is challenging, however, to meet timing constraints of image processing tasks using CNNs due to their...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2021-03-01
|
Series: | Technologies |
Subjects: | |
Online Access: | https://www.mdpi.com/2227-7080/9/1/20 |
id |
doaj-3a26f71c2bce4cb0b0ce02aef37e7f84 |
---|---|
record_format |
Article |
spelling |
doaj-3a26f71c2bce4cb0b0ce02aef37e7f842021-03-11T00:05:24ZengMDPI AGTechnologies2227-70802021-03-019202010.3390/technologies9010020Adaptive Deep Learning for Soft Real-Time Image ClassificationFangming Chai0Kyoung-Don Kang1Department of Computer Science, State University of New York at Binghamton, Binghamton, NY 13902, USADepartment of Computer Science, State University of New York at Binghamton, Binghamton, NY 13902, USACNNs (Convolutional Neural Networks) are becoming increasingly important for real-time applications, such as image classification in traffic control, visual surveillance, and smart manufacturing. It is challenging, however, to meet timing constraints of image processing tasks using CNNs due to their complexity. Performing dynamic trade-offs between the inference accuracy and time for image data analysis in CNNs is challenging too, since we observe that more complex CNNs that take longer to run even lead to lower accuracy in many cases by evaluating hundreds of CNN models in terms of time and accuracy using two popular data sets, MNIST and CIFAR-10. To address these challenges, we propose a new approach that (1) generates CNN models and analyzes their average inference time and accuracy for image classification, (2) stores a small subset of the CNNs with monotonic time and accuracy relationships offline, and (3) efficiently selects an effective CNN expected to support the highest possible accuracy among the stored CNNs subject to the remaining time to the deadline at run time. In our extensive evaluation, we verify that the CNNs derived by our approach are more flexible and cost-efficient than two baseline approaches. We verify that our approach can effectively build a compact set of CNNs and efficiently support systematic time vs. accuracy trade-offs, if necessary, to meet the user-specified timing and accuracy requirements. Moreover, the overhead of our approach is little/acceptable in terms of latency and memory consumption.https://www.mdpi.com/2227-7080/9/1/20deep learningadaptive real-time image classificationimprecise computation |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Fangming Chai Kyoung-Don Kang |
spellingShingle |
Fangming Chai Kyoung-Don Kang Adaptive Deep Learning for Soft Real-Time Image Classification Technologies deep learning adaptive real-time image classification imprecise computation |
author_facet |
Fangming Chai Kyoung-Don Kang |
author_sort |
Fangming Chai |
title |
Adaptive Deep Learning for Soft Real-Time Image Classification |
title_short |
Adaptive Deep Learning for Soft Real-Time Image Classification |
title_full |
Adaptive Deep Learning for Soft Real-Time Image Classification |
title_fullStr |
Adaptive Deep Learning for Soft Real-Time Image Classification |
title_full_unstemmed |
Adaptive Deep Learning for Soft Real-Time Image Classification |
title_sort |
adaptive deep learning for soft real-time image classification |
publisher |
MDPI AG |
series |
Technologies |
issn |
2227-7080 |
publishDate |
2021-03-01 |
description |
CNNs (Convolutional Neural Networks) are becoming increasingly important for real-time applications, such as image classification in traffic control, visual surveillance, and smart manufacturing. It is challenging, however, to meet timing constraints of image processing tasks using CNNs due to their complexity. Performing dynamic trade-offs between the inference accuracy and time for image data analysis in CNNs is challenging too, since we observe that more complex CNNs that take longer to run even lead to lower accuracy in many cases by evaluating hundreds of CNN models in terms of time and accuracy using two popular data sets, MNIST and CIFAR-10. To address these challenges, we propose a new approach that (1) generates CNN models and analyzes their average inference time and accuracy for image classification, (2) stores a small subset of the CNNs with monotonic time and accuracy relationships offline, and (3) efficiently selects an effective CNN expected to support the highest possible accuracy among the stored CNNs subject to the remaining time to the deadline at run time. In our extensive evaluation, we verify that the CNNs derived by our approach are more flexible and cost-efficient than two baseline approaches. We verify that our approach can effectively build a compact set of CNNs and efficiently support systematic time vs. accuracy trade-offs, if necessary, to meet the user-specified timing and accuracy requirements. Moreover, the overhead of our approach is little/acceptable in terms of latency and memory consumption. |
topic |
deep learning adaptive real-time image classification imprecise computation |
url |
https://www.mdpi.com/2227-7080/9/1/20 |
work_keys_str_mv |
AT fangmingchai adaptivedeeplearningforsoftrealtimeimageclassification AT kyoungdonkang adaptivedeeplearningforsoftrealtimeimageclassification |
_version_ |
1724226217650946048 |