{"id":"arxiv:2410.15651","kind":"preprint","title":"Understanding and Alleviating Memory Consumption in RLHF for LLMs","authors":["Jin Zhou","Hanmei Yang","Steven","Tang","Mingcan Xiang","Hui Guan","Tongping Liu"],"author_count":7,"year":2024,"published":"2024-10-21","venue":null,"cited_by":null,"doi":null,"arxiv_id":"2410.15651","nct_id":null,"source_url":"https://arxiv.org/abs/2410.15651","archive_url":"https://space-kitty.com/papers/arxiv:2410.15651","updated":"2024-10-21","pmid":null,"pmcid":null,"openalex_id":null,"pdf_url":"https://arxiv.org/pdf/2410.15651","abstract":"Fine-tuning with Reinforcement Learning with Human Feedback (RLHF) is essential for aligning large language models (LLMs). However, RLHF often encounters significant memory challenges. This study is the first to examine memory usage in the RLHF context, exploring various memory management strategies and unveiling the reasons behind excessive memory consumption. Additionally, we introduce a simple yet effective approach that substantially reduces the memory required for RLHF fine-tuning.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":false,"categories":["cs.LG"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[],"cited_in_dossiers":[]}