[Paper Review] A Data and Compute Efficient Design for Limited-Resources Deep Learning
This paper proposes a computationally efficient, quantized equivariant version of MobileNetV2 for resource-constrained deep learning, achieving state-of-the-art performance on the Patch Camelyon medical imaging dataset. By integrating group-equivariant convolutions with weight and activation quantization to INT8, the method preserves equivariance and generalization while reducing model size and inference cost.
Thanks to their improved data efficiency, equivariant neural networks have gained increased interest in the deep learning community. They have been successfully applied in the medical domain where symmetries in the data can be effectively exploited to build more accurate and robust models. To be able to reach a much larger body of patients, mobile, on-device implementations of deep learning solutions have been developed for medical applications. However, equivariant models are commonly implemented using large and computationally expensive architectures, not suitable to run on mobile devices. In this work, we design and test an equivariant version of MobileNetV2 and further optimize it with model quantization to enable more efficient inference. We achieve close-to state of the art performance on the Patch Camelyon (PCam) medical dataset while being more computationally efficient.
Motivation & Objective
- Address the challenge of deploying accurate deep learning models in low-resource settings, especially in developing countries with limited computational power and labeled data.
- Overcome the incompatibility between data-efficient equivariant networks and compute-efficient model designs for mobile and edge deployment.
- Investigate whether equivariance can be preserved and beneficial when combined with model quantization in small, efficient architectures.
- Enable efficient on-device inference for medical image analysis by optimizing both model architecture and precision without sacrificing performance or equivariance.
Proposed method
- Design an equivariant variant of MobileNetV2 using group convolution with 12 discrete rotations (D12 group), ensuring output transformations match input rotations.
- Apply spectral normalization and weight scaling to stabilize training and maintain equivariance during optimization, using channel-wise scaling based on incoming and outgoing weight ranges.
- Introduce a bias absorption technique that shifts bias values using batch normalization statistics, preserving equivariance by ensuring symmetric updates across rotated channels.
- Apply post-training quantization to INT8 precision, using equalization techniques to maintain model stability and prevent accuracy degradation.
- Use data augmentation with π/2 rotations and reflections during training to further improve generalization, consistent with the symmetry properties of the model.
- Ensure architectural compatibility by adjusting stride and input cropping to match the lower resolution of the PCam dataset, maintaining feature map consistency.
Experimental results
Research questions
- RQ1Can equivariant neural networks be effectively combined with model quantization to achieve high accuracy with low computational cost on mobile devices?
- RQ2Does quantization degrade the performance or break the equivariance property in models designed for symmetry-aware learning?
- RQ3Can equivariant architectures maintain high accuracy even when compressed to INT8 precision and deployed on edge devices with limited resources?
- RQ4Is the performance gain from equivariance preserved after quantization, especially in small model regimes?
- RQ5How does the combination of equivariance and quantization affect model expressiveness and generalization in low-data regimes?
Key findings
- The equivariant MobileNetV2 achieves 89.19% test accuracy on the PCam dataset, significantly outperforming the conventional MobileNetV2 (84.67%) in full-precision settings.
- After quantization to INT8, the equivariant model maintains 88.94% accuracy, showing only a 0.3% drop, which demonstrates compatibility between quantization and equivariance.
- The conventional MobileNetV2 suffers a larger accuracy drop (0.4%) after quantization, indicating that equivariance enhances robustness to quantization noise.
- The proposed equalization and bias absorption techniques preserve equivariance during quantization by ensuring symmetric weight and bias scaling across rotated feature channels.
- The method enables state-of-the-art performance on PCam while being computationally efficient, making it suitable for deployment on mobile and edge devices.
- Empirical results confirm that equivariance remains stable under quantization, even when using band-limited interpolation for rotations beyond N=4, with minimal practical degradation.
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.