atlas

Research map / Reinforcement learning / RL from feedback

Retrospective In-Context Learning for Temporal Credit Assignment with Large Language Models

NeurIPS 2025 · Reinforcement learning › RL from feedback · approach: GRPO stability and variants · 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 RICL, which turns an LLM's log-probability shift after retrospective in-context updates into advantage estimates, and RICOL, an online advantage-weighted-regression loop that trains LLM policies on BabyAI with far fewer environment steps than PPO.

Problem

Temporal credit assignment from sparse rewards for LLM agents in multi-turn settings usually requires learned value functions, which are sample-inefficient and do not generalize across tasks.

Approach

Estimate the advantage function of an LLM policy from the log-probability difference between the original policy and a version updated in context with reflector feedback computed on the same trajectory (retrospective ICL), then use this advantage in a KL-regularized AWR-style update of the policy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use RICL rather than Monte Carlo for advantage estimationAdvantage estimation · 1D Key-Doorsample efficiency: 100 ×; around 10 samples vs. about 1000 samplesHelped
apply retrospective updates to states in the trajectory that produced the feedback, rather than updates on a different trajectoryLLaMA-3.1-8B-Instruct policy · BabyAI gotoexpert-action accuracy: 7.2%Helped
use RICOL instead of PPO (10M)Online policy learning · BabyAI scenariosenvironment steps to comparable performance: nearly 50 times less dataHelped
use RICOL instead of PPO (3B)Online policy learning · BabyAI scenariossample efficiency: 10×Helped
use RICOL instead of GPT-4o miniOnline policy learning · BabyAI scenariostask success rateHelped
use state-specific temporal credit assignment instead of trajectory-level rewardsRICOL versus RWR · BabyAI gototask success rateMixed
use state-specific temporal credit assignment instead of trajectory-level rewardsRICOL versus RWR · BabyAI sparse-reward taskstask success rateHelped
use RICOL with hand-crafted verbal feedback at 70% accuracyRICOL · BabyAI gototask success rate: 70%Helped

Surprising findings

Limitations

Experimental setup

Datasets: BabyAI goto BabyAI pickup BabyAI pick_up_seq_go_to BabyAI open 1D Key-Door (synthetic)

Benchmarks: BabyAI goto BabyAI pickup BabyAI pick_up_seq_go_to BabyAI open 1D Key-Door

Metrics: task success rate environment time steps KL divergence to ground-truth policy accuracy of expert action prediction training time

Baselines: GPT-4o mini Reflexion PPO (3B) PPO (10M) RWR Monte Carlo advantage estimation Retroformer

Builds on: Reflexion advantage-weighted regression PPO BabyAI BALROG

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