# Consensus-Constrained Dual-Federated Optimization with Client-Side Dynamic Weighting for Distributed Android Device Threat Defense

DevFeed: [Consensus-Constrained Dual-Federated Optimization with Client-Side Dynamic Weighting for Distributed Android Device Threat Defense](<https://devfeed.tech/articles/consensus-constrained-dual-federated-optimization-with-client-side-dynamic-weighting-for-distributed-android-device-threat-defense-122804.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.09470>)

Author: Mohammad Mashreghi, Mohammad Hossein Badiei, Md. Jalil Piran

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>), [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [threat detection](<https://devfeed.tech/topics/threat-detection.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-malware](<https://devfeed.tech/tags/android-malware.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [client](<https://devfeed.tech/tags/client.md>), [clients](<https://devfeed.tech/tags/clients.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [defense](<https://devfeed.tech/tags/defense.md>), [detection](<https://devfeed.tech/tags/detection.md>), [device](<https://devfeed.tech/tags/device.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [false-positive-rate](<https://devfeed.tech/tags/false-positive-rate.md>), [federated](<https://devfeed.tech/tags/federated.md>), [federated-learning](<https://devfeed.tech/tags/federated-learning.md>), [malware](<https://devfeed.tech/tags/malware.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [threat-detection](<https://devfeed.tech/tags/threat-detection.md>)

## AI overview

DW-FedADMM combines primal-dual coordination, which uses dual variables to constrain local-global model disagreement, with performance-dependent client weighting before the augmented-Lagrangian update. Across Drebin, Malgenome, and TUANDROMD, experiments used 5, 10, or 15 clients, partial participation, 5- or 10-round budgets, and ten random seeds per configuration. It achieved the highest seed-averaged Drebin accuracy (97.64% ± 0.20%) and the best mean accuracy in 9 of 18 configurations, including 7 of 9 with 10 rounds. Pooled accuracy, F1, precision, and AUC were 95.42%, 94.62%, 96.06%, and 99.45%, slightly above FedADMM; DW-FedADMM also had the lowest mean false-positive rate and smallest client update norm among six methods. Both primal-dual methods outperformed averaging- and proximal-based baselines on Malgenome and TUANDROMD, where fragmented clients often left those baselines at the majority-class solution. Dynamic weighting's gains over FedADMM were strongest on Drebin and with longer budgets, where it also reduced seed variation.

## Source excerpt

arXiv:2611.09470v1 Announce Type: cross Abstract: Smartphones, smart-home hubs, and wearables are increasingly exposed to sophisticated Android malware, while centralized threat-detection pipelines raise privacy and scalability concerns. Federated learning (FL) enables collaborative model training without collecting raw client data, but partial participation and variation in local model quality can destabilize global optimization. In this article, we propose DW-FedADMM, a federated optimization framework that combines primal-dual coordination with performance-dependent client-side weighting. The dynamic coefficient modulates each participating client's local state before the augmented-Lagrangian update, while the dual variables regulate disagreement between local and global model states. We evaluate DW-FedADMM on three Android malware benchmarks, namely Drebin, Malgenome, and TUANDROMD, with 5, 10, and 15 clients holding IID data shards, partial client participation, and communication budgets of 5 and 10 rounds. Each configuration is repeated with ten random seeds. DW-FedADMM obtains the highest seed-averaged accuracy on Drebin (97.64% +/- 0.20%) and the best mean accuracy in 9 of the 18 dataset-client-round configurations, including 7 of the 9 configurations with a 10-round budget. Pooled over all configurations, it reaches 95.42% accuracy, 94.62% F1-score, 96.06% precision, and 99.45% AUC, compared with 95.32%, 94.51%, 95.56%, and 99.41% for FedADMM, while also giving the lowest mean false-positive rate and the smallest client update norm among the six compared methods. Both primal-dual methods are well ahead of the averaging- and proximal-based baselines on Malgenome and TUANDROMD, where the latter often remain at the majority-class solution when clients are fragmented. The gain of dynamic weighting over FedADMM is most pronounced on Drebin and with the longer communication budget, where it also reduces the variation across seeds.