[Paper Review] A Scalable Multilabel Classification to Deploy Deep Learning Architectures For Edge Devices
This paper proposes a scalable, single-model multilabel classification framework for edge deployment using a single CNN with multiple loss and accuracy layers, eliminating the need for image cropping or tiling. It achieves comparable accuracy with 1.8x fewer MACC operations, up to 50% lower latency, and reduced model size across AlexNet, GoogleNet, and SqueezeNet compared to conventional multi-label approaches.
Convolution Neural Networks (CNN) have performed well in many applications such as object detection, pattern recognition, video surveillance and so on. CNN carryout feature extraction on labelled data to perform classification. Multi-label classification assigns more than one label to a particular data sample in a data set. In multi-label classification, properties of a data point that are considered to be mutually exclusive are classified. However, existing multi-label classification requires some form of data pre-processing that involves image training data cropping or image tiling. The computation and memory requirement of these multi-label CNN models makes their deployment on edge devices challenging. In this paper, we propose a methodology that solves this problem by extending the capability of existing multi-label classification and provide models with lower latency that requires smaller memory size when deployed on edge devices. We make use of a single CNN model designed with multiple loss layers and multiple accuracy layers. This methodology is tested on state-of-the-art deep learning algorithms such as AlexNet, GoogleNet and SqueezeNet using the Stanford Cars Dataset and deployed on Raspberry Pi3. From the results the proposed methodology achieves comparable accuracy with 1.8x less MACC operation, 0.97x reduction in latency and 0.5x, 0.84x and 0.97x reduction in size for the generated AlexNet, GoogleNet and SqueezeNet CNN models respectively when compared to conventional ways of achieving multi-label classification like hard-coding multi-label instances into single labels. The methodology also yields CNN models that achieve 50\% less MACC operations, 50% reduction in latency and size of generated versions of AlexNet, GoogleNet and SqueezeNet respectively when compared to conventional ways using 2 different single-labelled models to achieve multi-label classification.
Motivation & Objective
- To address the scalability and deployment challenges of existing multilabel CNNs on edge devices due to high memory and computation costs.
- To eliminate the need for image pre-processing steps like cropping or tiling in multilabel classification.
- To enable a single deep learning model to perform multiple, mutually exclusive label classifications efficiently on a single input.
- To reduce inference latency, MACC operations, and model size compared to conventional multi-model or hard-coded single-label approaches.
- To leverage transfer learning and a unified architecture for efficient, low-cost multilabel training and deployment on edge hardware like Raspberry Pi 3.
Proposed method
- Design a single CNN model with multiple loss and accuracy layers, each corresponding to a mutually exclusive label attribute.
- Use transfer learning to fine-tune state-of-the-art models (AlexNet, GoogleNet, SqueezeNet) for multilabel classification without architectural overhaul.
- Train the model using a unified loss function combining all label-specific losses to optimize for multiple outputs simultaneously.
- Apply data fusion techniques to handle both related and unrelated label classifications within the same model.
- Deploy the trained model on edge devices (e.g., Raspberry Pi 3) and evaluate inference efficiency, latency, and model size.
- Use Caffe framework for model training and NetScope for visualization of the final architecture.
Experimental results
Research questions
- RQ1Can a single CNN model with multiple loss and accuracy layers achieve effective multilabel classification without image pre-processing like cropping or tiling?
- RQ2How does the proposed method compare in accuracy, latency, and model size to conventional approaches using hard-coded multi-label instances or separate single-label models?
- RQ3To what extent can transfer learning and multi-loss training reduce MACC operations and memory footprint for edge deployment?
- RQ4Does the proposed methodology maintain high classification accuracy while enabling scalable, low-cost multilabel inference on resource-constrained devices?
Key findings
- The proposed method achieves comparable multilabel classification accuracy to conventional approaches while reducing MACC operations by 1.8x on average.
- Latency is reduced by 0.97x (approximately 3% improvement) compared to hard-coded multi-label training methods.
- Model size is reduced by 50% on average when compared to using two separate single-label models for multilabel classification.
- The method achieves 0.5x, 0.84x, and 0.97x reduction in model size for AlexNet, GoogleNet, and SqueezeNet respectively when compared to hard-coded multi-label training.
- The approach enables efficient deployment on edge devices like Raspberry Pi 3 with significantly lower computational and memory overhead.
- The framework supports simultaneous classification of related and unrelated attributes through data fusion, enhancing scalability without additional model complexity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.