atlas

Research map / Reinforcement learning / RL from feedback

Q-Probe: A Lightweight Approach to Reward Maximization for Language Models

ICML 2024 · Reinforcement learning › RL from feedback · approach: RL for LLM reasoning · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Q-probing, which trains a small linear probe on frozen LLM embeddings to reweight k sampled completions via softmax, optimizing reward with reward-model or importance-weighted policy-gradient losses.

Problem

Adapting pre-trained language models to maximize task-specific rewards without the cost of finetuning, and without white-box access (e.g., API models).

Approach

Keep the LM frozen, learn a linear value probe on prompt-completion embeddings, and use it to softmax-reweight k sampled completions; train the probe with an importance-weighted policy gradient loss that contrasts samples from the same prompt, matching the inference procedure.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
train the Q-probe with the direct policy-gradient loss L_PG instead of reward regression L_Q (ablation)Q-probe on Code-LLaMA-7B · MBPP-Testexpected return: 0.38 -> 0.46Helped
train the Q-probe with the direct policy-gradient loss L_PG instead of classification loss L_CE (ablation)Q-probe on Code-LLaMA-7B · MBPP-Testexpected return: 0.40 -> 0.46Helped
combine 5-shot prompting with Q-probe L_PGCode-LLaMA-7B · MBPP-Testexpected return: 0.46 -> 0.52Helped
combine 5-shot prompting with Q-probe L_PGCode-LLaMA-7B · HumanEvalexpected return: 0.34 -> 0.39Helped
use Q-probe L_CE instead of L_Q (ablation)Q-probe on Code-LLaMA-7B · GSM-8Kexpected return: 0.36 -> 0.43Helped
use Q-probe L_PG instead of L_CE (ablation)Q-probe on Code-LLaMA-7B · GSM-8Kexpected return: 0.43 -> 0.45Helped
add Q-probe L_QP to the SFT modelLLaMA-7B after SFT · HH + OpenAssistant + SHPwin rate (%): 37.86 -> 50.10Helped
add Q-probe L_QP to the KTO-finetuned modelKTO-finetuned LLaMA-7B · HH + OpenAssistant + SHPwin rate (%): 51.46 -> 55.01Helped
use 2- or 3-layer MLP probes instead of the 1-layer linear probe (ablation)Q-probe on preference data · human preference learning benchmarkswin rateHurt
replace Code-LLaMA embeddings with text-embedding-3-small embeddings (ablation)Q-probe on gpt-3.5-turbo-1106 · MBPP-Testexpected return: 0.68 -> 0.66Mixed
replace Code-LLaMA embeddings with text-embedding-3-small embeddings (ablation)Q-probe on gpt-3.5-turbo-1106 · HumanEvalexpected return: 0.64 -> 0.54Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MBPP HumanEval GSM8K Anthropic HH OpenAssistant Stanford Human Preferences (SHP)

Benchmarks: MBPP HumanEval GSM8K Anthropic HH + OpenAssistant + SHP win rate

Metrics: expected return (pass rate) win rate (%)

Baselines: Baseline (Pass@1) Greedy decoding 5-shot on successes SFT on successes Prompt RM Finetune RM PPO (offline) DPO KTO

Builds on: DPO KTO Bradley-Terry reward modeling LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy