[Paper Review] The Larger The Fairer? Small Neural Networks Can Achieve Fairness for Edge Devices
This paper proposes FaHaNa, a fairness- and hardware-aware neural architecture search framework that automatically discovers small, accurate, and fair neural networks for edge devices. By integrating fairness into reinforcement learning-based NAS and using a novel weight-freezing technique, FaHaNa achieves 15.14% higher fairness, 5.28× smaller model size, and 5.75× speedup on Raspberry Pi compared to MobileNetV2, while maintaining or improving accuracy.
Along with the progress of AI democratization, neural networks are being deployed more frequently in edge devices for a wide range of applications. Fairness concerns gradually emerge in many applications, such as face recognition and mobile medical. One fundamental question arises: what will be the fairest neural architecture for edge devices? By examining the existing neural networks, we observe that larger networks typically are fairer. But, edge devices call for smaller neural architectures to meet hardware specifications. To address this challenge, this work proposes a novel Fairness- and Hardware-aware Neural architecture search framework, namely FaHaNa. Coupled with a model freezing approach, FaHaNa can efficiently search for neural networks with balanced fairness and accuracy, while guaranteed to meet hardware specifications. Results show that FaHaNa can identify a series of neural networks with higher fairness and accuracy on a dermatology dataset. Target edge devices, FaHaNa finds a neural architecture with slightly higher accuracy, 5.28x smaller size, 15.14% higher fairness score, compared with MobileNetV2; meanwhile, on Raspberry PI and Odroid XU-4, it achieves 5.75x and 5.79x speedup.
Motivation & Objective
- To address the challenge of achieving fairness in small neural networks deployed on resource-constrained edge devices.
- To identify neural architectures that balance high accuracy, low latency, and high fairness without compromising hardware constraints.
- To develop an automated NAS framework that explicitly optimizes for fairness, a dimension often overlooked in existing NAS methods.
- To accelerate the NAS process through a novel weight-freezing method that preserves fairness while reducing search space and training time.
Proposed method
- FaHaNa employs a reinforcement learning-based NAS framework that jointly optimizes for accuracy, fairness, and hardware efficiency (latency) on target edge platforms.
- It introduces a custom reward function that balances accuracy, fairness (measured by unfairness score), and latency to guide architecture search.
- A novel weight-freezing method is proposed to fix the front (head) layers of the network, which extract common features, using pre-trained parameters to reduce search complexity.
- The framework focuses architectural search on the tail layers, where fairness is most sensitive, allowing efficient exploration of fairness-optimized architectures.
- The method leverages block-level flexibility—using MB blocks in early layers for efficiency and CB/RB blocks in later layers for fairness—enabling better trade-offs.
- FaHaNa is compatible with data balancing techniques, allowing further fairness improvements without retraining from scratch.
Experimental results
Research questions
- RQ1Can small neural networks achieve high fairness on edge devices, despite the observed trend that larger models are fairer?
- RQ2How can fairness be effectively integrated into neural architecture search without degrading overall accuracy or hardware efficiency?
- RQ3What architectural patterns enable a balance between model size, inference speed, and fairness in edge AI models?
- RQ4Can a freezing strategy accelerate NAS without compromising fairness or accuracy in the final architecture?
- RQ5How does FaHaNa compare to existing models like MobileNetV2 and ResNet-50 in terms of fairness, accuracy, and latency on real edge hardware?
Key findings
- FaHaNa discovers a neural architecture that is 5.28× smaller, 15.14% fairer, and 5.75× faster on Raspberry Pi compared to MobileNetV2, which had the highest fairness among baseline models.
- On Odroid XU-4, FaHaNa achieves 5.79× speedup over MobileNetV2 while maintaining higher fairness and accuracy.
- FaHaNa-Small achieves 81.28% accuracy and 0.1973 unfairness score, outperforming MobileNetV2 (81.05% accuracy, 0.2325 unfairness) in fairness with minimal accuracy trade-off.
- FaHaNa-Fair achieves 0.1365 unfairness score after data balancing, a 0.0608 improvement over baseline, while being 4.27× smaller than ResNet-50.
- The Pareto frontier of FaHaNa-Nets dominates most existing models, with FaHaNa-Small outperforming all competitors except MobileNetV2 in most accuracy-unfairness trade-offs.
- The freezing method reduces training parameters and search time significantly, accelerating NAS without affecting fairness or accuracy of the final architecture.
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.