{"title":"基于 LLM 自动化的联合学习网络解决方案","authors":"Chamith Mawela, Chaouki Ben Issaid, Mehdi Bennis","doi":"arxiv-2408.13010","DOIUrl":null,"url":null,"abstract":"Federated Learning (FL) offers a promising approach for collaborative machine\nlearning across distributed devices. However, its adoption is hindered by the\ncomplexity of building reliable communication architectures and the need for\nexpertise in both machine learning and network programming. This paper presents\na comprehensive solution that simplifies the orchestration of FL tasks while\nintegrating intent-based automation. We develop a user-friendly web application\nsupporting the federated averaging (FedAvg) algorithm, enabling users to\nconfigure parameters through an intuitive interface. The backend solution\nefficiently manages communication between the parameter server and edge nodes.\nWe also implement model compression and scheduling algorithms to optimize FL\nperformance. Furthermore, we explore intent-based automation in FL using a\nfine-tuned Language Model (LLM) trained on a tailored dataset, allowing users\nto conduct FL tasks using high-level prompts. We observe that the LLM-based\nautomated solution achieves comparable test accuracy to the standard web-based\nsolution while reducing transferred bytes by up to 64% and CPU time by up to\n46% for FL tasks. Also, we leverage the neural architecture search (NAS) and\nhyperparameter optimization (HPO) using LLM to improve the performance. We\nobserve that by using this approach test accuracy can be improved by 10-20% for\nthe carried out FL tasks.","PeriodicalId":501172,"journal":{"name":"arXiv - STAT - Applications","volume":"23 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Web-Based Solution for Federated Learning with LLM-Based Automation\",\"authors\":\"Chamith Mawela, Chaouki Ben Issaid, Mehdi Bennis\",\"doi\":\"arxiv-2408.13010\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Federated Learning (FL) offers a promising approach for collaborative machine\\nlearning across distributed devices. However, its adoption is hindered by the\\ncomplexity of building reliable communication architectures and the need for\\nexpertise in both machine learning and network programming. This paper presents\\na comprehensive solution that simplifies the orchestration of FL tasks while\\nintegrating intent-based automation. We develop a user-friendly web application\\nsupporting the federated averaging (FedAvg) algorithm, enabling users to\\nconfigure parameters through an intuitive interface. The backend solution\\nefficiently manages communication between the parameter server and edge nodes.\\nWe also implement model compression and scheduling algorithms to optimize FL\\nperformance. Furthermore, we explore intent-based automation in FL using a\\nfine-tuned Language Model (LLM) trained on a tailored dataset, allowing users\\nto conduct FL tasks using high-level prompts. We observe that the LLM-based\\nautomated solution achieves comparable test accuracy to the standard web-based\\nsolution while reducing transferred bytes by up to 64% and CPU time by up to\\n46% for FL tasks. Also, we leverage the neural architecture search (NAS) and\\nhyperparameter optimization (HPO) using LLM to improve the performance. We\\nobserve that by using this approach test accuracy can be improved by 10-20% for\\nthe carried out FL tasks.\",\"PeriodicalId\":501172,\"journal\":{\"name\":\"arXiv - STAT - Applications\",\"volume\":\"23 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-08-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - STAT - Applications\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2408.13010\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - STAT - Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.13010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A Web-Based Solution for Federated Learning with LLM-Based Automation
Federated Learning (FL) offers a promising approach for collaborative machine
learning across distributed devices. However, its adoption is hindered by the
complexity of building reliable communication architectures and the need for
expertise in both machine learning and network programming. This paper presents
a comprehensive solution that simplifies the orchestration of FL tasks while
integrating intent-based automation. We develop a user-friendly web application
supporting the federated averaging (FedAvg) algorithm, enabling users to
configure parameters through an intuitive interface. The backend solution
efficiently manages communication between the parameter server and edge nodes.
We also implement model compression and scheduling algorithms to optimize FL
performance. Furthermore, we explore intent-based automation in FL using a
fine-tuned Language Model (LLM) trained on a tailored dataset, allowing users
to conduct FL tasks using high-level prompts. We observe that the LLM-based
automated solution achieves comparable test accuracy to the standard web-based
solution while reducing transferred bytes by up to 64% and CPU time by up to
46% for FL tasks. Also, we leverage the neural architecture search (NAS) and
hyperparameter optimization (HPO) using LLM to improve the performance. We
observe that by using this approach test accuracy can be improved by 10-20% for
the carried out FL tasks.