ProtoNN: Compressed and Accurate kNN for Resource-scarce Devices
Several real-world applications require real-time prediction on resource-scarce devices such as an Internet of Things (IoT) sensor. Such applications demand prediction models with small storage and computational complexity that do not compromise significantly on accuracy. In this work, we propose ProtoNN, a novel algorithm that addresses the problem of real-time and accurate prediction on resource-scarce devices. ProtoNN is inspired by k-Nearest Neighbor (KNN) but has several orders lower storage and prediction complexity. ProtoNN models can be deployed even on devices with puny storage and computational power (e.g. an Arduino UNO with 2kB RAM) to get excellent prediction accuracy. ProtoNN derives its strength from three key ideas: a) learning a small number of prototypes to represent the entire training set, b) sparse low dimensional projection of data, c) joint discriminative learning of the projection and prototypes with explicit model size constraint. We conduct systematic empirical evaluation of ProtoNN on a variety of supervised learning tasks (binary, multi-class, multi-label classification) and show that it gives nearly state-of-the-art prediction accuracy on resource-scarce devices while consuming several orders lower storage, and using minimal working memory.
Code (1)
Tasks
Multi-Label ClassificationMUlTI-LABEL-ClASSIFICATIONPredictionSimilar Papers 제목 키워드 기반
Quantitative Analysis of Image Classification Techniques for Memory-Constrained Devices
Convolutional Neural Networks, or CNNs, are the state of the art for image classification, but typically come at the cost of a large memory footprint. This limits their usefulness in applications relying on embedded devi…
ClassificationGeneral Classificationimage-classificationImage Classification+3Analysis of Resource-efficient Predictive Models for Natural Language Processing
In this paper, we presented an analyses of the resource efficient predictive models, namely Bonsai, Binary Neighbor Compression(BNC), ProtoNN, Random Forest, Naive Bayes and Support vector machine(SVM), in the machine le…
BIG-bench Machine LearningEmotion RecognitionNews ClassificationDifferentiable Network Pruning for Microcontrollers
Embedded and personal IoT devices are powered by microcontroller units (MCUs), whose extreme resource scarcity is a major obstacle for applications relying on on-device deep learning inference. Orders of magnitude less s…
Model CompressionNetwork PruningRobustness to distribution shifts of compressed networks for edge devices
It is necessary to develop efficient DNNs deployed on edge devices with limited computation resources. However, the compressed networks often execute new tasks in the target domain, which is different from the source dom…
Knowledge DistillationQuantizationMulti-Component Optimization and Efficient Deployment of Neural-Networks on Resource-Constrained IoT Hardware
The majority of IoT devices like smartwatches, smart plugs, HVAC controllers, etc., are powered by hardware with a constrained specification (low memory, clock speed and processor) which is insufficient to accommodate an…
Anomaly DetectionModel Optimization