# Studying Various Activation Functions and Non-IID Data for Machine Learning Model Robustness

Source: [Studying Various Activation Functions and Non-IID Data for Machine Learning Model Robustness](<https://www.sota2.com/research/paper/69326739d6b0dd334293443e>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-12-06T05:02:05.764Z

Authors: Long Dang, Thushari Hapuarachchi, Kaiqi Xiong, Jing Lin

Published: 2025-12-03T21:03:45.000Z

## Abstract

Adversarial training is an effective method to improve the machine learning (ML) model robustness. Most existing studies typically consider the Rectified linear unit (ReLU) activation function and centralized training environments. In this paper, we study the ML model robustness using ten different activation functions through adversarial training in centralized environments and explore the ML model robustness in federal learning environments. In the centralized environment, we first propose an advanced adversarial training approach to improving the ML model robustness by incorporating model architecture change, soft labeling, simplified data augmentation, and varying learning rates. Then, we conduct extensive experiments on ten well-known activation functions in addition to ReLU to better understand how they impact the ML model robustness. Furthermore, we extend the proposed adversarial training approach to the federal learning environment, where both independent and identically distributed (IID) and non-IID data settings are considered. Our proposed centralized adversarial training approach achieves a natural and robust accuracy of 77.08% and 67.96%, respectively on CIFAR-10 against the fast gradient sign attacks. Experiments on ten activation functions reveal ReLU usually performs best. In the federated learning environment, however, the robust accuracy decreases significantly, especially on non-IID data. To address the significant performance drop in the non-IID data case, we introduce data sharing and achieve the natural and robust accuracy of 70.09% and 54.79%, respectively, surpassing the CalFAT algorithm, when 40% data sharing is used. That is, a proper percentage of data sharing can significantly improve the ML model robustness, which is useful to some real-world applications.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Image Classification on CIFAR-10 (test) (Adversarial Attack Metrics)](<https://www.sota2.com/research/sota/image-classification-on-cifar-10-test-adversarial-attack-metrics.md>): Image Classification; CIFAR-10 (test); Accuracy (FGSM): 65.41.

- [Image Classification on CIFAR-10 (test) (Adversarial Robustness - Natural/FGSM)](<https://www.sota2.com/research/sota/image-classification-on-cifar-10-test-adversarial-robustness-natural-fgsm.md>): Image Classification; CIFAR-10 (test); Accuracy (Natural): 68.52.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2512.04264>)

[PDF](<https://arxiv.org/pdf/2512.04264.pdf>)
