Proceedings

Modeling with Homophily Driven Heterogeneous Data in Gossip Learning

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 3741-3749.

https://doi.org/10.24963/ijcai.2023/416

Abstract

Training deep learning models on data distributed and local to edge devices such as mobile phones is a prominent recent research direction. In a Gossip Learning (GL) system, each participating device maintains a model trained on its local data and iteratively aggregates it with the models from its neighbours in a communication network. While the fully distributed operation in GL comes with natural advantages over the centralized orchestration in Federated Learning (FL), its convergence becomes particularly slow when the data distribution is heterogeneous and aligns with the clustered structure of the communication network. These characteristics are pervasive across practical applications as people with similar interests (thus producing similar data) tend to create communities.

This paper proposes a data-driven neighbor weighting strategy for aggregating the models: this enables faster diffusion of knowledge across the communities in the network and leads to quicker convergence. We augment the method to make it computationally efficient and fair: the devices quickly converge to the same model. We evaluate our model on real and synthetic datasets that we generate using a novel generative model for communication networks with heterogeneous data. Our exhaustive empirical evaluation verifies that our proposed method attains a faster convergence rate than the baselines. For example, the median test accuracy for a decentralized bird image classifier application reaches 81% with our proposed method within 80 rounds, whereas the baseline only reaches 46%.

  1. [Aïvodji et al., 2019] Ulrich Matchi Aïvodji, Sébastien Gambs, and Alexandre Martin. Iotfla: A secured and privacy-preserving smart home architecture implementing federated learning. In 2019 IEEE Security and Privacy Workshops (SPW), pages 175-180. IEEE, 2019.
  2. [Anguita et al., 2013] Davide Anguita, Alessandro Ghio, Luca Oneto, Xavier Parra Perez, and Jorge Luis Reyes Or- tiz. A public domain dataset for human activity recogni- tion using smartphones. In Proceedings of the 21th in- ternational European symposium on artificial neural net- works, computational intelligence and machine learning, pages 437-442, 2013.
  3. [Bars et al., 2022] B Le Bars, Aurélien Bellet, Marc Tom- masi, and Anne-Marie Kermarrec. Yes, topology mat- ters in decentralized optimization: Refined convergence and topology learning under heterogeneous data. arXiv preprint arXiv:2204.04452, 2022.
  4. [Bellet et al., 2021] Aurélien Bellet, Anne-Marie Kermar- rec, and Erick Lavoie. D-cliques: Compensating noni- idness in decentralized federated learning with topology. arXiv preprint arXiv:2104.07365, 2021.
  5. [Boguná et al., 2004] Marián Boguná, Romualdo Pastor- Satorras, Albert Díaz-Guilera, and Alex Arenas. Mod- els of social networks based on social distance attachment. Physical review E, 70(5):056122, 2004.
  6. [Dandi et al., 2022] Yatin Dandi, Anastasia Koloskova, Mar- tin Jaggi, and Sebastian U Stich. Data-heterogeneity- aware mixing for decentralized learning. arXiv preprint arXiv:2204.06477, 2022.
  7. [Génois and Barrat, 2018] Mathieu Génois and Alain Barrat. Can co-location be used as a proxy for face-to-face con- tacts? EPJ Data Science, 7(1):11, 2018.
  8. [Giaretta and Girdzijauskas, 2019] Lodovico Giaretta and Šarūnas Girdzijauskas. Gossip learning: Off the beaten path. In 2019 IEEE International Conference on Big Data (Big Data), pages 1117-1124. IEEE, 2019.
  9. [Granovetter, 1973] Mark S Granovetter. The strength of weak ties. American journal of sociology, 78(6):1360- 1380, 1973.
  10. [Hristova et al., 2014] Desislava Hristova, Mirco Musolesi, and Cecilia Mascolo. Keep your friends close and your facebook friends closer: A multiplex network approach to the analysis of offline and online social ties. In Proceed- ings of the International AAAI Conference on Web and So- cial Media, volume 8, pages 206-215, 2014.
  11. [Hsieh et al., 2020] Kevin Hsieh, Amar Phanishayee, Onur Mutlu, and Phillip Gibbons. The non-iid data quagmire of decentralized machine learning. In International Con- ference on Machine Learning, pages 4387-4398. PMLR, 2020.
  12. [Kairouz et al., 2021] Peter Kairouz, H Brendan McMa- han, Brendan Avent, Aurélien Bellet, Mehdi Bennis, Ar- jun Nitin Bhagoji, Kallista Bonawitz, Zachary Charles, Graham Cormode, Rachel Cummings, et al. Advances and open problems in federated learning. Foundations and Trends® in Machine Learning, 14(1-2):1-210, 2021.
  13. [Karimireddy et al., 2020] Sai Praneeth Karimireddy, Satyen Kale, Mehryar Mohri, Sashank Reddi, Sebas- tian Stich, and Ananda Theertha Suresh. Scaffold: Stochastic controlled averaging for federated learning. In International Conference on Machine Learning, pages 5132-5143. PMLR, 2020.
  14. [Kempe, 2011] David Kempe. Structure and dynamics of in- formation in networks. Lecture Notes, 2011.
  15. [Koloskova et al., 2020] Anastasia Koloskova, Nicolas Loizou, Sadra Boreiri, Martin Jaggi, and Sebastian Stich. A unified theory of decentralized sgd with changing topology and local updates. In International Conference on Machine Learning, pages 5381-5393. PMLR, 2020.
  16. [Lalitha et al., 2018] Anusha Lalitha, Shubhanshu Shekhar, Tara Javidi, and Farinaz Koushanfar. Fully decentralized federated learning. In Third workshop on Bayesian Deep Learning (NeurIPS), 2018.
  17. [Li and Zhan, 2021] Xin-Chun Li and De-Chuan Zhan. Fe- drs: Federated learning with restricted softmax for label distribution non-iid data. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, pages 995-1005, 2021.
  18. [Li et al., 2019] Xiang Li, Kaixuan Huang, Wenhao Yang, Shusen Wang, and Zhihua Zhang. On the convergence of fedavg on non-iid data. arXiv preprint arXiv:1907.02189, 2019.
  19. [Li et al., 2020] Tian Li, Anit Kumar Sahu, Manzil Zaheer, Maziar Sanjabi, Ameet Talwalkar, and Virginia Smith. Federated optimization in heterogeneous networks. Pro- ceedings of Machine Learning and Systems, 2:429-450, 2020.
  20. [Lian et al., 2017] Xiangru Lian, Ce Zhang, Huan Zhang, Cho-Jui Hsieh, Wei Zhang, and Ji Liu. Can decentral- ized algorithms outperform centralized algorithms? a case study for decentralized parallel stochastic gradient de- scent. Advances in Neural Information Processing Sys- tems, 30, 2017.
  21. [Lian et al., 2018] Xiangru Lian, Wei Zhang, Ce Zhang, and Ji Liu. Asynchronous decentralized parallel stochastic gra- dient descent. In International Conference on Machine Learning, pages 3043-3052. PMLR, 2018.
  22. [Lin et al., 2021] Tao Lin, Sai Praneeth Karimireddy, Sebas- tian U Stich, and Martin Jaggi. Quasi-global momen- tum: Accelerating decentralized deep learning on hetero- geneous data. arXiv preprint arXiv:2102.04761, 2021.
  23. [McAuley and Leskovec, 2012] Julian McAuley and Jure Leskovec. Image labeling on a network: using social- network metadata for image classification. In European conference on computer vision, pages 828-841. Springer, 2012.
  24. [McMahan et al., 2017] Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Aguera y Ar- cas. Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics, pages 1273-1282. PMLR, 2017.
  25. [McPherson et al., 2001] Miller McPherson, Lynn Smith- Lovin, and James M Cook. Birds of a feather: Homophily in social networks. Annual review of sociology, pages 415- 444, 2001.
  26. [Neglia et al., 2020] Giovanni Neglia, Chuan Xu, Don Towsley, and Gianmarco Calbi. Decentralized gradient methods: does topology matter? In International Confer- ence on Artificial Intelligence and Statistics, pages 2348- 2358. PMLR, 2020.
  27. [Onnela et al., 2007] Jukka-Pekka Onnela, Jari Saramäki, Jörkki Hyvönen, Gábor Szabó, M Argollo De Menezes, Kimmo Kaski, Albert-László Barabási, and János Kertész. Analysis of a large-scale weighted network of one-to-one human communication. New journal of physics, 9(6):179, 2007.
  28. [Onoszko et al., 2021] Noa Onoszko, Gustav Karlsson, Olof Mogren, and Edvin Listo Zec. Decentralized federated learning of deep neural networks on non-iid data. arXiv preprint arXiv:2107.08517, 2021.
  29. [Ozella et al., 2021] Laura Ozella, Daniela Paolotti, Guil- herme Lichand, Jorge P Rodríguez, Simon Haenni, John Phuka, Onicio B Leal-Neto, and Ciro Cattuto. Using wear- able proximity sensors to characterize social contact pat- terns in a village of rural malawi. EPJ Data Science, 10(1):46, 2021.
  30. [Pietilänen and Diot, 2012] Anna-Kaisa Pietilänen and Christophe Diot. Dissemination in opportunistic social networks: the role of temporal communities. In Pro- ceedings of the thirteenth ACM international symposium on Mobile Ad Hoc Networking and Computing, pages 165-174, 2012.
  31. [Taheri et al., 2020] Hossein Taheri, Aryan Mokhtari, Hamed Hassani, and Ramtin Pedarsani. Quantized push-sum for gossip and decentralized optimization over directed graphs. arXiv preprint arXiv:2002.09964, 2020.
  32. [Talaga and Nowak, 2019] Szymon Talaga and Andrzej Nowak. Homophily as a process generating social networks: insights from social distance attachment model. arXiv preprint arXiv:1907.07055, 2019.
  33. [Tan and Le, 2019] Mingxing Tan and Quoc Le. Efficient- net: Rethinking model scaling for convolutional neural networks. In International conference on machine learn- ing, pages 6105-6114. PMLR, 2019.
  34. [Tang et al., 2018] Hanlin Tang, Xiangru Lian, Ming Yan, Ce Zhang, and Ji Liu. D2: Decentralized training over de- centralized data. In International Conference on Machine Learning, pages 4848-4856. PMLR, 2018.
  35. [Tsitsiklis, 1984] John Nikolas Tsitsiklis. Problems in de- centralized decision making and computation. Technical report, Massachusetts Inst of Tech Cambridge Lab for In- formation and Decision Systems, 1984. [Vanhaesebrouck et al., 2017] Paul Vanhaesebrouck, Aurélien Bellet, and Marc Tommasi. Decentralized col- laborative learning of personalized models over networks. In Artificial Intelligence and Statistics, pages 509-517.
  36. PMLR, 2017.
  37. [Veličković et al., 2017] Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. Graph attention networks. arXiv preprint arXiv:1710.10903, 2017.
  38. [Vogels et al., 2021] Thijs Vogels, Lie He, Anastasiia Koloskova, Sai Praneeth Karimireddy, Tao Lin, Sebas- tian U Stich, and Martin Jaggi. Relaysum for decentralized deep learning on heterogeneous data. Advances in Neural Information Processing Systems, 34:28004-28015, 2021.
  39. [Vogels et al., 2023] Thijs Vogels, Hadrien Hendrikx, and Martin Jaggi. Beyond spectral gap (extended): The role of the topology in decentralized learning. arXiv preprint arXiv:2301.02151, 2023.
  40. [Wang et al., 2020] Hongyi Wang, Mikhail Yurochkin, Yuekai Sun, Dimitris Papailiopoulos, and Yasaman Khazaeni. Federated learning with matched averaging. arXiv preprint arXiv:2002.06440, 2020.
  41. [Wang et al., 2021] Lixu Wang, Shichao Xu, Xiao Wang, and Qi Zhu. Addressing class imbalance in federated learning. In Proceedings of the AAAI Conference on Arti- ficial Intelligence, volume 35, pages 10165-10173, 2021.
  42. [Warnat-Herresthal et al., 2021] Stefanie Warnat-Herresthal, Hartmut Schultze, Krishnaprasad Lingadahalli Shastry, Sathyanarayanan Manamohan, Saikat Mukherjee, Vishesh Garg, Ravi Sarveswara, Kristian Händler, Peter Pickkers, N Ahmad Aziz, et al. Swarm learning for decentral- ized and confidential clinical machine learning. Nature, 594(7862):265-270, 2021.
  43. [Xiao et al., 2017] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for bench- marking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
  44. [Ying et al., 2021] Bicheng Ying, Kun Yuan, Yiming Chen, Hanbin Hu, Pan Pan, and Wotao Yin. Exponential graph is provably efficient for decentralized deep train- ing. Advances in Neural Information Processing Systems, 34:13975-13987, 2021.
  45. [Yuan et al., 2021] Kun Yuan, Yiming Chen, Xinmeng Huang, Yingya Zhang, Pan Pan, Yinghui Xu, and Wotao Yin. Decentlam: Decentralized momentum sgd for large- batch deep training. In Proceedings of the IEEE/CVF In- ternational Conference on Computer Vision, pages 3029- 3039, 2021.
  46. [Zheng et al., 2022] Zhaohua Zheng, Yize Zhou, Yilong Sun, Zhang Wang, Boyi Liu, and Keqiu Li. Applications of federated learning in smart cities: recent advances, taxon- omy, and open challenges. Connection Science, 34(1):1- 28, 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards