paper-with-me

홈 › Papers

The Wisdom of Hindsight Makes Language Models Better Instruction Followers

2023-02-10 · Tianjun Zhang, Fangchen Liu, Justin Wong, Pieter Abbeel, Joseph E. Gonzalez

Reinforcement learning has seen wide success in finetuning large language models to better align with instructions via human feedback. The so-called algorithm, Reinforcement Learning with Human Feedback (RLHF) demonstrates impressive performance on the GPT series models. However, the underlying Reinforcement Learning (RL) algorithm is complex and requires an additional training pipeline for reward and value networks. In this paper, we consider an alternative approach: converting feedback to instruction by relabeling the original one and training the model for better alignment in a supervised manner. Such an algorithm doesn't require any additional parameters except for the original language model and maximally reuses the pretraining pipeline. To achieve this, we formulate instruction alignment problem for language models as a goal-reaching problem in decision making. We propose Hindsight Instruction Relabeling (HIR), a novel algorithm for aligning language models with instructions. The resulting two-stage algorithm shed light to a family of reward-free approaches that utilize the hindsightly relabeled instructions based on feedback. We evaluate the performance of HIR extensively on 12 challenging BigBench reasoning tasks and show that HIR outperforms the baseline algorithms and is comparable to or even surpasses supervised finetuning.

📄 PDF Abstract BibTeX arXiv:2302.05206

Code (1)

tianjunz/hir 공식 구현 pytorch

Tasks

Decision MakingLanguage ModelingLanguage Modellingreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Discriminative Fine-Tuning Discriminative Fine-Tuning is a fine-tuning strategy that is used for ULMFiT type models. Instead of using the same learning rate…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Weight Decay 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

Grounding Hindsight Instructions in Multi-Goal Reinforcement Learning for Robotics

2022-04-08 · Frank Röder, Manfred Eppe, Stefan Wermter

This paper focuses on robotic reinforcement learning with sparse rewards for natural language goal representations. An open problem is the sample-inefficiency that stems from the compositionality of natural language, and…

Multi-Goal Reinforcement Learningreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Self-Educated Language Agent with Hindsight Experience Replay for Instruction Following

2019-09-25 · Geoffrey Cideron, Mathieu Seurin, Florian Strub, Olivier Pietquin

Language creates a compact representation of the world and allows the description of unlimited situations and objectives through compositionality. These properties make it a natural fit to guide the training of interacti…

Instruction FollowingLanguage Acquisition

Path-level Hindsight Instructions for Semantic Exploration in Vision-Language Navigation

2026-07-02 · Sung June Kim, Sangpil Kim, Honglak Lee arxiv

On-policy exploration is a crucial component for training robust Vision-Language Navigation agents, as it exposes the policy to a broader state distribution. However, such exploration inevitably leads to trajectories tha…

Vision-Language Navigation

HIGhER : Improving instruction following with Hindsight Generation for Experience Replay

2019-10-21 · Geoffrey Cideron, Mathieu Seurin, Florian Strub, Olivier Pietquin

Language creates a compact representation of the world and allows the description of unlimited situations and objectives through compositionality. While these characterizations may foster instructing, conditioning or str…

Instruction FollowingLanguage AcquisitionReinforcement Learning

Learning More from Less: Reinforcement Learning from Hindsight

2026-07-10 · Iris Xu, Sunshine Jiang, John Marangola, Nitish Dashora 외 arxiv

Reinforcement learning (RL) is increasingly used to post-train vision-language-action (VLA) models, but every update consumes robot rollouts that are slow and costly to collect, making sample efficiency a central concern…

Reinforcement Learning