paper-with-me

Papers

OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learning

2024-02-10 · Rui Ye, Wenhao Wang, Jingyi Chai, Dihan Li, Zexi Li, Yinda Xu, Yaxin Du, Yanfeng Wang, Siheng Chen

Trained on massive publicly available data, large language models (LLMs) have demonstrated tremendous success across various fields. While more data contributes to better performance, a disconcerting reality is that high-quality public data will be exhausted in a few years. In this paper, we offer a potential next step for contemporary LLMs: collaborative and privacy-preserving LLM training on the underutilized distributed private data via federated learning (FL), where multiple data owners collaboratively train a shared model without transmitting raw data. To achieve this, we build a concise, integrated, and research-friendly framework/codebase, named OpenFedLLM. It covers federated instruction tuning for enhancing instruction-following capability, federated value alignment for aligning with human values, and 7 representative FL algorithms. Besides, OpenFedLLM supports training on diverse domains, where we cover 8 training datasets; and provides comprehensive evaluations, where we cover 30+ evaluation metrics. Through extensive experiments, we observe that all FL algorithms outperform local training on training LLMs, demonstrating a clear performance improvement across a variety of settings. Notably, in a financial benchmark, Llama2-7B fine-tuned by applying any FL algorithm can outperform GPT-4 by a significant margin while the model obtained through individual training cannot, demonstrating strong motivation for clients to participate in FL. The code is available at https://github.com/rui-ye/OpenFedLLM.

📄 PDF Abstract BibTeX arXiv:2402.06954

Code (3)

rui-ye/openfedllm 공식 구현 pytorch
brains-group/openfedllm pytorch
rui-ye/fedllm-bench pytorch

Tasks

Federated LearningInstruction FollowingPrivacy Preserving

Methods 이 논문이 사용한 방법론

Position-Wise Feed-Forward Layer 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Attention 설명 없음

Similar Papers 제목 키워드 기반

LEASGD: an Efficient and Privacy-Preserving Decentralized Algorithm for Distributed Learning

2018-11-27 · Hsin-Pai Cheng, Patrick Yu, Haojing Hu, Feng Yan 외

Distributed learning systems have enabled training large-scale models over large amount of data in significantly shorter time. In this paper, we focus on decentralized distributed deep learning systems and aim to achieve…

Privacy Preserving

Decentralized Word2Vec Using Gossip Learning

2021-05-01 · NoDaLiDa 2021 5 · Abdul Aziz Alkathiri, Lodovico Giaretta, Sarunas Girdzijauskas, Magnus Sahlgren

Advanced NLP models require huge amounts of data from various domains to produce high-quality representations. It is useful then for a few large public and private organizations to join their corpora during training. How…

Improved Differentially Private Decentralized Source Separation for fMRI Data

2019-10-28 · Hafiz Imtiaz, Jafar Mohammadi, Rogers Silva, Bradley Baker 외

Blind source separation algorithms such as independent component analysis (ICA) are widely used in the analysis of neuroimaging data. In order to leverage larger sample sizes, different data holders/sites may wish to col…

blind source separation

Decentralized Learning with Multi-Headed Distillation

2022-11-28 · CVPR 2023 1 · Andrey Zhmoginov, Mark Sandler, Nolan Miller, Gus Kristiansen 외

Decentralized learning with private data is a central problem in machine learning. We propose a novel distillation-based decentralized learning technique that allows multiple agents with private non-iid data to learn fro…

A Survey on Decentralized Federated Learning

2023-08-08 · Edoardo Gabrielli, Giovanni Pica, Gabriele Tolomei

In recent years, federated learning (FL) has become a very popular paradigm for training distributed, large-scale, and privacy-preserving machine learning (ML) systems. In contrast to standard ML, where data must be coll…

Federated LearningPrivacy PreservingSurvey