The confluence of Federated Learning (FL) and Large Language Models (LLMs) is ushering in a new era in privacy-preserving natural language processing. However, the intensive memory requirements for fine-tuning LLMs pose significant challenges, especially when deploying on clients with limited computational resources. To circumvent this, we explore the novel integration of Memory-efficient Zeroth-Order Optimization within a federated setting, a synergy we term as FedMeZO. Our study is the first to examine the theoretical underpinnings of FedMeZO in the context of LLMs, tackling key questions regarding the influence of large parameter spaces on optimization behavior, the establishment of convergence properties, and the identification of critical parameters for convergence to inform personalized federated strategies. Our extensive empirical evidence supports the theory, showing that FedMeZO not only converges faster than traditional first-order methods such as FedAvg but also significantly reduces GPU memory usage during training to levels comparable to those during inference. Moreover, the proposed personalized FL strategy that is built upon the theoretical insights to customize the client-wise learning rate can effectively accelerate loss reduction. We hope our work can help to bridge theoretical and practical aspects of federated fine-tuning for LLMs, thereby stimulating further advancements and research in this area.
Communication-Efficient and Differentially Private Vertical Federated Learning with Zeroth-Order Optimization
Elmore Family School of Electrical and Computer Engineering, Purdue University(电气与计算机工程学院,普渡大学);Department of Computer Science and Engineering, Yonsei University(计算机科学与工程系,延世大学)
Hi-ZFO: Hierarchical Zeroth- and First-Order LLM Fine-Tuning via Importance-Guided Tensor Selection
School of Intelligence Science and Technology, Peking University(智能科学与技术学院,北京大学);State Key Laboratory of General Artificial Intelligence(通用人工智能国家重点实验室)
Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmark
Michigan State University(密歇根州立大学);The University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);UT Austin(德克萨斯大学奥斯汀分校);University of Minnesota Twin Cities(明尼苏达大学双城分校);IBM Research(IBM研究院);Princeton University(普林斯顿大学);DAMO Academy, Alibaba Group(阿里巴巴达摩院);MIT(麻省理工学院);Harvard University(哈佛大学)
Fed-ZOE: Communication-Efficient Over-the-Air Federated Learning via Zeroth-Order Estimation
Institute of New Media and Communications, Seoul National University(首尔大学新媒体与通信研究所);Elmore Family School of Electrical and Computer Engineering, Purdue University(普渡大学埃尔莫尔家族电气与计算机工程学院);Department of Electrical Engineering, Pohang University of Science and Technology (POSTECH)(浦项科技大学电气工程系);Department of Electrical and Computer Engineering, Seoul National University(首尔大学电气与计算机工程学院)
Differentially Private Zeroth-Order Methods for Scalable Large Language Model Finetuning
Zhejiang University(浙江大学);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新区(滨江)区块链与数据安全研究院);University of Chicago(芝加哥大学)
Federated Learning on Riemannian Manifolds: A Gradient-Free Projection-Based Approach
School of Information Management and Engineering, Shanghai University of Finance and Economics(上海金融学院信息管理与工程学院);School of Information Management and Engineering, Shanghai University of Finance and Economics(上海金融学院信息管理与工程学院;明尼苏达大学工业与系统工程系);Department of Industrial and System Engineering, University of Minnesota(明尼苏达大学电气与计算机工程系);Department of Electrical and Computer Engineering, University of Minnesota
ZooPFL: Exploring Black-box Foundation Models for Personalized Federated Learning
Tsinghua University(清华大学);Microsoft Research(微软研究院);Idiap Research Institute(Idiap研究所);UIUC(伊利诺伊大学厄巴纳-香槟分校);Chinese Academy of Sciences(中国科学院);Hong Kong University of Science and Technology(香港科技大学)
FedTune: Automatic Tuning of Federated Learning Hyper-Parameters from System Perspective
University of California, Davis(加州大学戴维斯分校);The Ohio State University(俄亥俄州立大学);Michigan State University(密歇根州立大学);DEVCOM Army Research Laboratory(DEVCOM陆军研究实验室)
Probabilistic Federated Prompt-Tuning with Non-IID and Imbalanced Data
Washington State University(华盛顿州立大学);Princeton University(普林斯顿大学);IBM Research(IBM研究院);University of Florida(佛罗里达大学);University of California San Diego(加州大学圣迭戈分校)
Leveraging Soft Prompts for Privacy Attacks in Federated Prompt Tuning
CISE, University of Florida, FL, USA(佛罗里达大学计算机与信息科学系);North Carolina State University, NC, USA(北卡罗来纳州立大学);Washington State University, WA, USA(华盛顿州立大学);Seoul National University of Science and Technology, South Korea(韩国科学技术大学)
Fed-SB: A Silver Bullet for Extreme Communication Efficiency and Performance in (Private) Federated LoRA Fine-Tuning
Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Duke University(杜克大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Massachusetts Institute of Technology(麻省理工学院)
FlowerTune: A Cross-Domain Benchmark for Federated Fine-Tuning of Large Language Models
Flower Labs(Flower实验室);University of Cambridge(剑桥大学);Zhejiang University(浙江大学);Penn State University(宾夕法尼亚州立大学);Alibaba Group(阿里巴巴集团);University of Nevada, Reno(内华达大学拉斯维加斯分校);Gachon University(加荣大学);The University of Auckland(奥克兰大学);The University of Melbourne(墨尔本大学);The University of Adelaide(阿德莱德大学);Sony AI(索尼人工智能)
Privacy Amplification in Differentially Private Zeroth-Order Optimization with Hidden States
Department of Electrical Engineering, National Taiwan University, Taiwan(台湾国立台湾大学电子工程系);NTU Artificial Intelligence Center of Research Excellence (NTU AI-CoRE), Taiwan(国立台湾大学人工智能研究中心(NTU AI-CoRE));Microsoft, USA(微软公司);Department of Electrical and Computer Engineering, Georgia Institute of Technology, USA(佐治亚理工学院电子与计算机工程系)
FedSRD: Sparsify-Reconstruct-Decompose for Communication-Efficient Federated Large Language Models Fine-Tuning
Beijing Key Laboratory of Data Intelligence and Security, National Engineering Research Center for Software Engineering, School of Computer Science, Peking University(北京数据智能与安全重点实验室、软件工程国家工程研究中心、计算机科学学院、北京大学);Beijing Key Laboratory of Data Intelligence and Security, School of Software and Microelectronics, Peking University(北京数据智能与安全重点实验室、软件与微电子学院、北京大学);Beijing Key Laboratory of Data Intelligence and Security, National Engineering Research Center for Software Engineering, Peking University(北京数据智能与安全重点实验室、软件工程国家工程研究中心、北京大学)