{"id":{"repo_id":"sask","oai_identifier":"oai:harvest.usask.ca:10388/18207"},"canonical_url":"https://search.ndltd.org/etd/sask/oai:harvest.usask.ca:10388/18207","repository":{"repo_id":"sask","name":"University of Saskatchewan","base_url":"https://harvest.usask.ca/server/oai/request"},"display":{"title":"A Practical Study of Federated Learning: Framework Flexibility, Developer Challenges, and Adaptive LoRA Capacity Allocation","abstract":"Federated learning (FL) enables collaborative model training across distributed data sources while pre- serving data privacy, making it increasingly relevant for domains where data sharing is restricted by regu- latory, competitive, or privacy concerns. However, practitioners face significant challenges when developing FL systems, ranging from framework selection and debugging distributed training failures to handling het- erogeneous client data distributions. This thesis investigates these challenges through three complementary studies covering framework evaluation, developer experience analysis, and algorithmic development. The first study presents a systematic comparison of two prominent FL frameworks TensorFlow Federated and Flower through the implementation of a federated bug prediction pipeline. The comparison evaluates flexibility factors (documentation quality, memory management, dependency handling, and backward com- patibility) alongside technical factors (communication cost and security support). A practitioner survey validates the empirical findings across participants with varying levels of FL familiarity. The second study characterizes real-world developer challenges by gathering and analyzing FL-related discussions from Stack Overflow and GitHub. Using BERT topic modeling, we identify 9 dominant topics in Stack Overflow posts and 13 topics in GitHub issues, showing the aspects of FL that generate the most community discussion. We further classify developer questions into Why, What, How, and Other types, and assess topic difficulty using community response signals such as unanswered rates and resolution times. The third study presents an adaptive FL method that combines FLUX-style client clustering with AdaLoRA-based rank adaptation. Rather than applying uniform configurations across all client clusters, this approach dynamically allocates model capacity based on cluster characteristics, addressing the challenge of statistical and systemic heterogeneity in federated settings. Together, these studies provide evidence-based guidance for FL framework selection, a comprehensive understanding of developer pain points, and an algorithmic contribution for improving FL performance under heterogeneity. The findings yield actionable recommendations for both FL practitioners and framework developers seeking to improve the state of federated learning development","abstract_html":"Federated learning (FL) enables collaborative model training across distributed data sources while pre- serving data privacy, making it increasingly relevant for domains where data sharing is restricted by regu- latory, competitive, or privacy concerns. However, practitioners face significant challenges when developing FL systems, ranging from framework selection and debugging distributed training failures to handling het- erogeneous client data distributions. This thesis investigates these challenges through three complementary studies covering framework evaluation, developer experience analysis, and algorithmic development. The first study presents a systematic comparison of two prominent FL frameworks TensorFlow Federated and Flower through the implementation of a federated bug prediction pipeline. The comparison evaluates flexibility factors (documentation quality, memory management, dependency handling, and backward com- patibility) alongside technical factors (communication cost and security support). A practitioner survey validates the empirical findings across participants with varying levels of FL familiarity. The second study characterizes real-world developer challenges by gathering and analyzing FL-related discussions from Stack Overflow and GitHub. Using BERT topic modeling, we identify 9 dominant topics in Stack Overflow posts and 13 topics in GitHub issues, showing the aspects of FL that generate the most community discussion. We further classify developer questions into Why, What, How, and Other types, and assess topic difficulty using community response signals such as unanswered rates and resolution times. The third study presents an adaptive FL method that combines FLUX-style client clustering with AdaLoRA-based rank adaptation. Rather than applying uniform configurations across all client clusters, this approach dynamically allocates model capacity based on cluster characteristics, addressing the challenge of statistical and systemic heterogeneity in federated settings. Together, these studies provide evidence-based guidance for FL framework selection, a comprehensive understanding of developer pain points, and an algorithmic contribution for improving FL performance under heterogeneity. The findings yield actionable recommendations for both FL practitioners and framework developers seeking to improve the state of federated learning development","abstract_has_math":false,"creators":["Saed, Sahand"],"institution":"University of Saskatchewan","degree_name":"Master of Science (M.Sc.)","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Roy, Banani"],"committee_chairs":[],"committee_members":["Lehnert, Lucas","Rochan, mriganck"],"year":2026,"date_issued":"2026-04-08","date_published":"2026-04-08","updated_at":"2026-11-19T09:54:13Z","subjects":["FL"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10388/18207","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10388/18207","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Asask%3Aoai%3Aharvest.usask.ca%3A10388%2F18207","prefix":"oai_dc"},"source_record":{"url":"https://harvest.usask.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aharvest.usask.ca%3A10388%2F18207","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Roy, Banani"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Lehnert, Lucas","Rochan, mriganck"]},{"key":"dc:creator","label":"Author","values":["Saed, Sahand"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-04-08T16:05:16Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-04-08T16:05:16Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["2026"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2026-03"]},{"key":"dc:date.issued","label":"Date","values":["2026-04-08"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["March 2026"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-04-08T16:05:16Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (M.Sc.)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Saskatchewan"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["FL"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10388/18207"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Federated learning (FL) enables collaborative model training across distributed data sources while pre- serving data privacy, making it increasingly relevant for domains where data sharing is restricted by regu- latory, competitive, or privacy concerns. However, practitioners face significant challenges when developing FL systems, ranging from framework selection and debugging distributed training failures to handling het- erogeneous client data distributions. This thesis investigates these challenges through three complementary studies covering framework evaluation, developer experience analysis, and algorithmic development. The first study presents a systematic comparison of two prominent FL frameworks TensorFlow Federated and Flower through the implementation of a federated bug prediction pipeline. The comparison evaluates flexibility factors (documentation quality, memory management, dependency handling, and backward com- patibility) alongside technical factors (communication cost and security support). A practitioner survey validates the empirical findings across participants with varying levels of FL familiarity. The second study characterizes real-world developer challenges by gathering and analyzing FL-related discussions from Stack Overflow and GitHub. Using BERT topic modeling, we identify 9 dominant topics in Stack Overflow posts and 13 topics in GitHub issues, showing the aspects of FL that generate the most community discussion. We further classify developer questions into Why, What, How, and Other types, and assess topic difficulty using community response signals such as unanswered rates and resolution times. The third study presents an adaptive FL method that combines FLUX-style client clustering with AdaLoRA-based rank adaptation. Rather than applying uniform configurations across all client clusters, this approach dynamically allocates model capacity based on cluster characteristics, addressing the challenge of statistical and systemic heterogeneity in federated settings. Together, these studies provide evidence-based guidance for FL framework selection, a comprehensive understanding of developer pain points, and an algorithmic contribution for improving FL performance under heterogeneity. The findings yield actionable recommendations for both FL practitioners and framework developers seeking to improve the state of federated learning development"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["A Practical Study of Federated Learning: Framework Flexibility, Developer Challenges, and Adaptive LoRA Capacity Allocation"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Roy, Banani"],"dc:contributor.committeemember":["Lehnert, Lucas","Rochan, mriganck"],"dc:creator":["Saed, Sahand"],"dc:date.accessioned":["2026-04-08T16:05:16Z"],"dc:date.available":["2026-04-08T16:05:16Z"],"dc:date.copyright":["2026"],"dc:date.created":["2026-03"],"dc:date.issued":["2026-04-08"],"dc:date.submitted":["March 2026"],"dc:date.updated":["2026-04-08T16:05:16Z"],"dc:description.abstract":["Federated learning (FL) enables collaborative model training across distributed data sources while pre- serving data privacy, making it increasingly relevant for domains where data sharing is restricted by regu- latory, competitive, or privacy concerns. However, practitioners face significant challenges when developing FL systems, ranging from framework selection and debugging distributed training failures to handling het- erogeneous client data distributions. This thesis investigates these challenges through three complementary studies covering framework evaluation, developer experience analysis, and algorithmic development. The first study presents a systematic comparison of two prominent FL frameworks TensorFlow Federated and Flower through the implementation of a federated bug prediction pipeline. The comparison evaluates flexibility factors (documentation quality, memory management, dependency handling, and backward com- patibility) alongside technical factors (communication cost and security support). A practitioner survey validates the empirical findings across participants with varying levels of FL familiarity. The second study characterizes real-world developer challenges by gathering and analyzing FL-related discussions from Stack Overflow and GitHub. Using BERT topic modeling, we identify 9 dominant topics in Stack Overflow posts and 13 topics in GitHub issues, showing the aspects of FL that generate the most community discussion. We further classify developer questions into Why, What, How, and Other types, and assess topic difficulty using community response signals such as unanswered rates and resolution times. The third study presents an adaptive FL method that combines FLUX-style client clustering with AdaLoRA-based rank adaptation. Rather than applying uniform configurations across all client clusters, this approach dynamically allocates model capacity based on cluster characteristics, addressing the challenge of statistical and systemic heterogeneity in federated settings. Together, these studies provide evidence-based guidance for FL framework selection, a comprehensive understanding of developer pain points, and an algorithmic contribution for improving FL performance under heterogeneity. The findings yield actionable recommendations for both FL practitioners and framework developers seeking to improve the state of federated learning development"],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/10388/18207"],"dc:language.iso":["en"],"dc:subject":["FL"],"dc:title":["A Practical Study of Federated Learning: Framework Flexibility, Developer Challenges, and Adaptive LoRA Capacity Allocation"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science (M.Sc.)"],"thesis:institution_name":["University of Saskatchewan"]},"updated_at":"2026-11-19T09:54:13Z"}