arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.11020cs.CLcs.AI
收藏

利用强化学习提升大语言模型的语言理解能力

Improving the Language Understanding Capabilities of Large Language Models Using Reinforcement Learning

UC San Diego(加州大学圣地亚哥分校)

Bokai Hu, Sai Ashish Somayajula, Xin Pan, Pengtao Xie

AI总结:

本研究提出用近端策略优化(PPO)将自然语言理解任务构建为强化学习环境,显著提升大语言模型在GLUE等基准上的性能,并超越GPT-4o,展示了以端任务奖励驱动模型适应的新方向。

摘要:

指令微调的大语言模型(LLMs)在参数低于140亿时,在自然语言理解(NLU)任务上仍表现不佳,通常在GLUE和SuperGLUE等基准上落后于像BERT-base这样的小型模型。受强化学习在推理任务(如DeepSeek)中取得成功的启发,我们探索将近端策略优化(PPO)作为提升大语言模型NLU能力的框架。我们将NLU构建为强化学习环境,将token生成视为一系列动作,并基于与真实标签的对齐程度优化奖励信号。PPO持续优于监督微调,在GLUE上平均提升6.3个百分点,并分别超过零样本和少样本提示38.7和26.1个百分点。值得注意的是,经过PPO调优的模型在情感和自然语言推理任务上平均超过GPT-4o达4%以上,其中在心理健康数据集上提升7.3%,在SIGA-nli上提升10.9%。这项工作通过将新任务重新构建为强化学习问题,展示了一个有前景的方向,使得模型能够通过简单的端任务奖励而非大量数据整理来进行学习。

英文摘要:

Instruction-fine-tuned large language models (LLMs) under 14B parameters continue to underperform on natural language understanding (NLU) tasks, often trailing smaller models like BERT-base on benchmarks such as GLUE and SuperGLUE. Motivated by the success of reinforcement learning in reasoning tasks (e.g., DeepSeek), we explore Proximal Policy Optimization (PPO) as a framework to improve the NLU capabilities of LLMs. We frame NLU as a reinforcement learning environment, treating token generation as a sequence of actions and optimizing for reward signals based on alignment with ground-truth labels. PPO consistently outperforms supervised fine-tuning, yielding an average improvement of 6.3 points on GLUE, and surpasses zero-shot and few-shot prompting by 38.7 and 26.1 points, respectively. Notably, PPO-tuned models outperform GPT-4o by over 4\% on average across sentiment and natural language inference tasks, including gains of 7.3\% on the Mental Health dataset and 10.9\% on SIGA-nli. This work highlights a promising direction for adapting LLMs to new tasks by reframing them as reinforcement learning problems, enabling learning through simple end-task rewards rather than extensive data curation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑