NanoNet:
Ultra-Lightweight Network for MRI Brain Tumor Classification toward Edge AI

Le-Tran Nguyen1,2, Huu-Thuan Huynh1,2, Minh-Triet Tran1,2, Trung-Nghia Le1,2*
1University of Science, Ho Chi Minh City, Vietnam, 2Vietnam National University, Ho Chi Minh City, Vietnam
*Corresponding author
Architecture diagram of NanoNet, showing an MRI input, five inverted residual blocks, and a four-class output.

NanoNet classifies MRI brain tumors at 92.8% accuracy with 8,132 parameters and 0.0105 GFLOPs.

Abstract

Automated brain tumor classification from magnetic resonance imaging (MRI) can support accessible medical image analysis, but conventional deep learning models often exceed the resource budgets of highly constrained edge-AI platforms. We present NanoNet, an ultra-lightweight convolutional neural network designed for resource-constrained MRI classification and motivated by future edge-AI applications. Inspired by MobileNetV2, NanoNet substantially reduces network depth, channel capacity, expansion ratios, and final feature dimensionality, resulting in only five inverted residual blocks and 8,132 parameters. We further investigate dependency-aware structured pruning, knowledge distillation, and INT8 quantization-aware training for additional compression.

Experiments on the BRISC 2025 benchmark show that NanoNet achieves 92.8% accuracy with 8,132 parameters and 0.0105 GFLOPs. At the same computational cost, it outperforms 70%-pruned MobileNetV2 by 2.9 percentage points while using 58.6% fewer parameters.

Its INT8 TensorFlow Lite model requires only 27.7 KB of storage, demonstrating strong potential for future edge-AI deployment.

Method

NanoNet is progressively compressed through dependency-aware structured pruning, knowledge-distillation-based fine-tuning, and INT8 quantization-aware training. The original NanoNet serves as the teacher during pruning and fine-tuning, and the resulting models are converted to INT8 for deployment-oriented resource evaluation.

Diagram of structured pruning, knowledge distillation, and INT8 quantization-aware training.

Figure 2. Overview of compression pipeline. The original NanoNet is progressively compressed through dependency-aware structured pruning, knowledge-distillation-based fine-tuning, and INT8 quantization-aware training (QAT), producing a compact model with deployment-oriented resource characteristics.

Quantitative Results

The plot compares accuracy with computational cost for MobileNetV2 0.1× and NanoNet across pruning configurations. NanoNet’s baseline reaches 92.8% accuracy at 0.0105 GFLOPs; its 10% and 25% pruned variants reach 89.0% and 69.5% at 0.0064 and 0.0029 GFLOPs.

Accuracy versus GFLOPs for MobileNetV2 0.1× and NanoNet under pruning configurations.

Figure 3. Accuracy-computational-cost trade-off between MobileNetV2 0.1× and NanoNet under different structured-pruning configurations. NanoNet operates in a substantially lower computational regime and provides a competitive accuracy operating point under extreme resource constraints.

Table 1: Classification performance and resource characteristics of MobileNetV2 0.1× and NanoNet under structured pruning and quantization-aware training.

Table 1. Classification performance and resource characteristics of MobileNetV2 0.1× and NanoNet under structured pruning and quantization-aware training.

MobileNetV2 0.1× reaches 97.8% FP32 accuracy at 0.0630 GFLOPs, while baseline NanoNet reaches 92.8% at 0.0105 GFLOPs with 8,132 parameters. At the same reported computational cost, NanoNet exceeds 70%-pruned MobileNetV2 by 2.9 percentage points and uses 58.6% fewer parameters; after INT8 conversion, baseline NanoNet records 90.1% accuracy.

Table 2. Runtime activation memory and persistent model-storage footprint of selected INT8 models. Peak Tensor Arena represents the maximum TensorFlow Lite runtime memory required during single-batch inference, while Model Storage represents the size of the converted .tflite model. Best in bold, second best underlined.

ModelPeak Tensor Arena (KB)Model Storage (KB)
MobileNetV20.1×
70% Pruned333.481.4
60% Pruned333.4103.0
NanoNet
Baseline394.627.7
10% Pruned382.427.6

Baseline NanoNet has a 27.7 KB INT8 model file, compared with 81.4 KB and 103.0 KB for the selected 70%- and 60%-pruned MobileNetV2 models. Its peak Tensor Arena use is 394.6 KB, higher than the 333.4 KB reported for those MobileNetV2 variants, so the smallest stored model does not have the lowest runtime activation memory.

BibTeX

@misc{nguyennanonet,
  author = {Nguyen, Le-Tran and Huynh, Huu-Thuan and Tran, Minh-Triet and Le, Trung-Nghia},
  title  = {NanoNet: Ultra-Lightweight Network for MRI Brain Tumor Classification toward Edge AI},
}