paper-with-me

Papers

Reinforcement Learning with Token-level Feedback for Controllable Text Generation

2024-03-18 · Wendi Li, Wei Wei, Kaihe Xu, Wenfeng Xie, Dangyang Chen, Yu Cheng

To meet the requirements of real-world applications, it is essential to control generations of large language models (LLMs). Prior research has tried to introduce reinforcement learning (RL) into controllable text generation while most existing methods suffer from overfitting issues (finetuning-based methods) or semantic collapse (post-processing methods). However, current RL methods are generally guided by coarse-grained (sentence/paragraph-level) feedback, which may lead to suboptimal performance owing to semantic twists or progressions within sentences. To tackle that, we propose a novel reinforcement learning algorithm named TOLE which formulates TOken-LEvel rewards for controllable text generation, and employs a "first-quantize-then-noise" paradigm to enhance the robustness of the RL algorithm.Furthermore, TOLE can be flexibly extended to multiple constraints with little computational expense. Experimental results show that our algorithm can achieve superior performance on both single-attribute and multi-attribute control tasks. We have released our codes at https://github.com/WindyLee0822/CTG

📄 PDF Abstract BibTeX arXiv:2403.11558

Code (1)

windylee0822/ctg 공식 구현 pytorch

Tasks

Attributereinforcement-learningReinforcement LearningReinforcement Learning (RL)SentenceText Generation

Similar Papers 제목 키워드 기반

TLCR: Token-Level Continuous Reward for Fine-grained Reinforcement Learning from Human Feedback

2024-07-23 · Eunseop Yoon, Hee Suk Yoon, SooHwan Eom, Gunsoo Han 외

Reinforcement Learning from Human Feedback (RLHF) leverages human preference data to train language models to align more closely with human essence. These human preference data, however, are labeled at the sequence level…

Language ModelingLanguage Modelling

Parameter-Efficient Tuning Helps Language Model Alignment

2023-10-01 · Tianci Xue, Ziqi Wang, Heng Ji

Aligning large language models (LLMs) with human preferences is essential for safe and useful LLMs. Previous works mainly adopt reinforcement learning (RLHF) and direct preference optimization (DPO) with human feedback f…

Language ModelingLanguage Modellingmodel

Start Small: Training Controllable Game Level Generators without Training Data by Learning at Multiple Sizes

2022-09-29 · Yahia Zakaria, Magda Fayek, Mayada Hadhoud

A level generator is a tool that generates game levels from noise. Training a generator without a dataset suffers from feedback sparsity, since it is unlikely to generate a playable level via random exploration. A common…

DiversitySokoban

Controllable Text Generation with Neurally-Decomposed Oracle

2022-05-27 · Tao Meng, Sidi Lu, Nanyun Peng, Kai-Wei Chang

We propose a general and efficient framework to control auto-regressive generation models with NeurAlly-Decomposed Oracle (NADO). Given a pre-trained base language model and a sequence-level boolean oracle function, we p…

Language ModelingLanguage ModellingMachine TranslationText Generation

On-Policy Fine-grained Knowledge Feedback for Hallucination Mitigation

2024-06-18 · Xueru Wen, Xinyu Lu, Xinyan Guan, Yaojie Lu 외

Hallucination occurs when large language models (LLMs) exhibit behavior that deviates from the boundaries of their knowledge during the response generation process. Previous learning-based methods focus on detecting know…

HallucinationResponse Generation