Recent studies highlight the promise of LLM-based prompt optimization, especially with TextGrad, which automates differentiation'' via texts and backpropagates textual feedback. This approach facilitates training in various real-world applications that do not support numerical gradient propagation or loss calculation. In this paper, we systematically explore the potential and challenges of incorporating textual gradient into Federated Learning (FL). Our contributions are fourfold. Firstly, we introduce a novel FL paradigm, Federated Textual Gradient (FedTextGrad), that allows clients to upload locally optimized prompts derived from textual gradients, while the server aggregates the received prompts. Unlike traditional FL frameworks, which are designed for numerical aggregation, FedTextGrad is specifically tailored for handling textual data, expanding the applicability of FL to a broader range of problems that lack well-defined numerical loss functions. Secondly, building on this design, we conduct extensive experiments to explore the feasibility of FedTextGrad. Our findings highlight the importance of properly tuning key factors (e.g., local steps) in FL training. Thirdly, we highlight a major challenge in FedTextGrad aggregation: retaining essential information from distributed prompt updates. Last but not least, in response to this issue, we improve the vanilla variant of FedTextGrad by providing actionable guidance to the LLM when summarizing client prompts by leveraging the Uniform Information Density principle. Through this principled study, we enable the adoption of textual gradients in FL for optimizing LLMs, identify important issues, and pinpoint future directions, thereby opening up a new research area that warrants further investigation.
Enhancing Visual Representation with Textual Semantics: Textual Semantics-Powered Prototypes for Heterogeneous Federated Learning
State Key Laboratory of Virtual Reality Technology and Systems, School of Computer Science and Engineering, Beihang University, Beijing, China(虚拟现实技术与系统国家重点实验室,计算机科学与工程学院,北京航空航天大学,北京,中国);Zhongguancun Laboratory, Beijing, China(中关村实验室,北京,中国);Center for AI Business Innovation, Department of Management Science and Systems, School of Management, University at Buffalo, USA(人工智能商业创新中心,管理科学与系统系,管理学院,布法罗大学,美国)
Wyner-Ziv Gradient Compression for Federated Learning
ShanghaiTech University(上海科技大学);Shanghai Institute of Microsystem and Information Technology, Chinese Academy of Sciences(中国科学院上海微系统与信息技术研究所);University of Chinese Academy of Sciences(中国科学院大学)
Communication-Efficient Federated Learning by Exploiting Spatio-Temporal Correlations of Gradients
College of Information Science and Technology, Jinan University(信息科学与技术学院,暨南大学);College of Engineering, Mathematics and Physical Sciences, University of Exeter(工程、数学与物理科学学院,埃克塞特大学)
MANDERA: Malicious Node Detection in Federated Learning via Ranking
University of Sydney(悉尼大学);School of Computing, Macquarie University(麦考瑞大学计算学院);School of Computer Science and Engineering, The University of New South Wales(新南威尔士大学计算机科学与工程学院);Department of Statistics and Data Science, Tsinghua University(清华大学统计与数据科学系)
SpecGradFilter: A Spectral Gradient Filtering Framework for Taming Federated Heterogeneity
School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学);School of Intelligence Science and Technology, Peking University(北京大学智能科学与技术学院)
GI-SMN: Gradient Inversion Attack against Federated Learning without Prior Knowledge
College of Information and Technology, Jinan University(暨南大学信息科学技术学院);Guangdong Key Laboratory of Data Security and Privacy Protection(广东省数据安全与隐私保护重点实验室);School of Computer Science, Beijing University of Posts and Telecommunications(北京邮电大学计算机学院)
FLECS-CGD: A Federated Learning Second-Order Framework via Compression and Sketching with Compressed Gradient Differences
Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Moscow Institute of Physics and Technology(莫斯科物理技术学院)
在最近的论文FLECS(Agafonov et al,FLECS:A联邦学习Second-Order Framework via Compression and Sketching)中,针对联邦学习问题提出了二阶框架FLECS。该方法利用Hessian草图的压缩,使通信成本低。然而,FLECS的主要瓶颈是没有压缩的梯度通信。在本文中,我们提出了修改的FLECS压缩梯度差异,我们称之为FLECS-CGD(FLECS压缩梯度差异),使其适用于随机优化。在强凸和非凸的情况下提供收敛保证。实验结果表明,该方法具有较好的实用价值.
Encoded Gradients Aggregation against Gradient Leakage in Federated Learning
University of Electronic Science and Technology of China(电子科技大学);Peng Cheng Lab(鹏城实验室);Shenzhen Research Institute, The Chinese University of Hong Kong(香港中文大学深圳研究院);The Chinese University of Hong Kong(香港中文大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳))
Local Gradient Regulation Stabilizes Federated Learning under Client Heterogeneity
National Key Laboratory of Parallel and Distributed Computing, College of Computer Science and Technology, National University of Defense Technology(国家并行与分布式计算实验室,计算机科学与技术学院,国防科技大学)
GRAFFL: Gradient-free Federated Learning of a Bayesian Generative Model
Institute for Clarity in Documentation(文档清晰性研究所);Inria Paris-Rocquencourt(法国国家信息与自动化研究所巴黎-罗克库尔中心);Rajiv Gandhi University(拉吉夫·甘地大学);Tsinghua University(清华大学);Palmer Research Laboratories(帕尔默研究实验室)
FedAPA: Server-side Gradient-Based Adaptive Personalized Aggregation for Federated Learning on Heterogeneous Data
College of Information Science and Technology, Jinan University(暨南大学信息科学技术学院);College of Information and Computational Science, Jilin University(吉林大学信息与计算科学学院);University of Toronto(多伦多大学);The Hong Kong Polytechnic University(香港理工大学)
Towards Layer-Wise Personalized Federated Learning: Adaptive Layer Disentanglement via Conflicting Gradients
Pusan National University(釜山国立大学);Hanoi University of Technology(河内工业大学);University of Sydney(悉尼大学);Trinity College of Dublin(都柏林圣三一学院);Zhejiang University(浙江大学)