FL malware image classification accuracy drops with non-IID data; entropy-aware client selection improves it
Data heterogeneity reduces federated malware image classifier accuracy and training stability, and selecting clients with higher class entropy mitigates this loss
Systems arXiv 18 Oct 2026 Measurement Simulation evidence
Published as “Federated Learning for Malware Image Classification under Data Heterogeneity”
Why it matters
Enabling distribution-aware client selection can substantially improve the accuracy and stability of federated malware image classifiers when client data is heterogeneous.
Summary
The paper finds that class entropy of participating clients is the strongest predictor of global model accuracy in federated malware image classification, and that an entropy-aware client selection strategy improves accuracy over random selection. They empirically evaluate FedAvg on three public malware image datasets (MalImg, Virus-MNIST, MalNet) under varying Dirichlet-simulated non-IID levels, showing accuracy drops from >99% to <15% as heterogeneity increases. Correlation analysis reveals class entropy correlates positively with accuracy, and selecting clients to maximize this entropy yields higher test accuracy in most settings. Evidence is based on multiple runs (5 repeats) across 100 communication rounds, but the benefit is modest for mild heterogeneity and vanishes for extreme skew. The study is limited to simulated non-IID data and requires server-side access to client data statistics.
What they found 2
- Class entropy shows the strongest and most consistent positive correlation with model accuracy across datasets and heterogeneity levels.
“Across all datasets and most values of α, class entropy Ht class exhibits the strongest and most consistent positive correlation with model accuracy.”
- Entropy-aware client selection consistently outperforms random client selection in most non-IID settings.
“Across almost all datasets and non-IID levels α, the proposed entropy-aware strategy consistently outperforms random selection.”
Caveats 4
- For Virus-MNIST at α = 0.5, entropy-aware selection and random selection achieve comparable performance (difference < 1%).
- Under extreme heterogeneity (α = 0.01), the correlation between class entropy and accuracy weakens, limiting the benefit of entropy-aware selection.
- The entropy-aware client selection mechanism proposed depends on server access to client data statistics.
- Future work could investigate privacypreserving estimation of the statistics in section 4.4, such as inference from model updates or utilizing differential private mechanisms.
What’s new here 4
- Introduces round-level statistics (including class entropy) to explain performance variability in federated malware image classification.
- Demonstrates a strong positive correlation between class entropy and global model accuracy across multiple malware image datasets.
- Proposes an entropy-aware client selection strategy that outperforms standard random client selection under non-IID conditions.
- Provides a systematic empirical study of data heterogeneity effects on federated malware image classifiers, which prior works lacked.