Towards Federated RLHF with Aggregated Client Preference for LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wu, Feijie, Liu, Xiaoze, Wang, Haoyu, Wang, Xingchen, Su, Lu, Gao, Jing
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912316922003456
author Wu, Feijie
Liu, Xiaoze
Wang, Haoyu
Wang, Xingchen
Su, Lu
Gao, Jing
author_facet Wu, Feijie
Liu, Xiaoze
Wang, Haoyu
Wang, Xingchen
Su, Lu
Gao, Jing
contents Reinforcement learning with human feedback (RLHF) fine-tunes a pretrained large language model (LLM) using user preference data, enabling it to generate content aligned with human preferences. However, due to privacy concerns, users may be reluctant to share sensitive preference data. To address this, we propose utilizing Federated Learning (FL) techniques, allowing large-scale preference collection from diverse real-world users without requiring them to transmit data to a central server. Our federated RLHF methods (i.e., FedBis and FedBiscuit) encode each client's preferences into binary selectors and aggregate them to capture common preferences. In particular, FedBiscuit overcomes key challenges, such as preference heterogeneity and reward hacking, through innovative solutions like grouping clients with similar preferences to reduce heterogeneity and using multiple binary selectors to enhance LLM output quality. To evaluate the performance of the proposed methods, we establish the first federated RLHF benchmark with a heterogeneous human preference dataset. Experimental results show that by integrating the LLM with aggregated client preferences, FedBis and FedBiscuit significantly enhance the professionalism and readability of the generated content.
format Preprint
id arxiv_https___arxiv_org_abs_2407_03038
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Federated RLHF with Aggregated Client Preference for LLMs
Wu, Feijie
Liu, Xiaoze
Wang, Haoyu
Wang, Xingchen
Su, Lu
Gao, Jing
Computation and Language
Distributed, Parallel, and Cluster Computing
Machine Learning
Reinforcement learning with human feedback (RLHF) fine-tunes a pretrained large language model (LLM) using user preference data, enabling it to generate content aligned with human preferences. However, due to privacy concerns, users may be reluctant to share sensitive preference data. To address this, we propose utilizing Federated Learning (FL) techniques, allowing large-scale preference collection from diverse real-world users without requiring them to transmit data to a central server. Our federated RLHF methods (i.e., FedBis and FedBiscuit) encode each client's preferences into binary selectors and aggregate them to capture common preferences. In particular, FedBiscuit overcomes key challenges, such as preference heterogeneity and reward hacking, through innovative solutions like grouping clients with similar preferences to reduce heterogeneity and using multiple binary selectors to enhance LLM output quality. To evaluate the performance of the proposed methods, we establish the first federated RLHF benchmark with a heterogeneous human preference dataset. Experimental results show that by integrating the LLM with aggregated client preferences, FedBis and FedBiscuit significantly enhance the professionalism and readability of the generated content.
title Towards Federated RLHF with Aggregated Client Preference for LLMs
topic Computation and Language
Distributed, Parallel, and Cluster Computing
Machine Learning
url https://arxiv.org/abs/2407.03038