Saved in:
Bibliographic Details
Main Authors: Gu, Shangding, Knoll, Alois, Jin, Ming
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2403.08694
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913713722753024
author Gu, Shangding
Knoll, Alois
Jin, Ming
author_facet Gu, Shangding
Knoll, Alois
Jin, Ming
contents The development of Large Language Models (LLMs) often confronts challenges stemming from the heavy reliance on human annotators in the reinforcement learning with human feedback (RLHF) framework, or the frequent and costly external queries tied to the self-instruct paradigm. In this work, we pivot to Reinforcement Learning (RL) -- but with a twist. Diverging from the typical RLHF, which refines LLMs following instruction data training, we use RL to directly generate the foundational instruction dataset that alone suffices for fine-tuning. Our method, TeaMs-RL, uses a suite of textual operations and rules, prioritizing the diversification of training datasets. It facilitates the generation of high-quality data without excessive reliance on external advanced models, paving the way for a single fine-tuning step and negating the need for subsequent RLHF stages. Our findings highlight key advantages of our approach: reduced need for human involvement and fewer model queries (only 5.73% of the strong baseline's total), along with enhanced capabilities of LLMs in crafting and comprehending complex instructions compared to strong baselines, and substantially improved model privacy protection. Code is available at the link: https://github.com/SafeRL-Lab/TeaMs-RL
format Preprint
id arxiv_https___arxiv_org_abs_2403_08694
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle TeaMs-RL: Teaching LLMs to Generate Better Instruction Datasets via Reinforcement Learning
Gu, Shangding
Knoll, Alois
Jin, Ming
Computation and Language
The development of Large Language Models (LLMs) often confronts challenges stemming from the heavy reliance on human annotators in the reinforcement learning with human feedback (RLHF) framework, or the frequent and costly external queries tied to the self-instruct paradigm. In this work, we pivot to Reinforcement Learning (RL) -- but with a twist. Diverging from the typical RLHF, which refines LLMs following instruction data training, we use RL to directly generate the foundational instruction dataset that alone suffices for fine-tuning. Our method, TeaMs-RL, uses a suite of textual operations and rules, prioritizing the diversification of training datasets. It facilitates the generation of high-quality data without excessive reliance on external advanced models, paving the way for a single fine-tuning step and negating the need for subsequent RLHF stages. Our findings highlight key advantages of our approach: reduced need for human involvement and fewer model queries (only 5.73% of the strong baseline's total), along with enhanced capabilities of LLMs in crafting and comprehending complex instructions compared to strong baselines, and substantially improved model privacy protection. Code is available at the link: https://github.com/SafeRL-Lab/TeaMs-RL
title TeaMs-RL: Teaching LLMs to Generate Better Instruction Datasets via Reinforcement Learning
topic Computation and Language
url https://arxiv.org/abs/2403.08694