Ilze Amanda Auzina*, Joschka Strüber*, Sergio Hernández-Gutiérrez*, Shashwat Goel†, Ameya Prabhu†, Matthias Bethge†
* Equal contribution † Equal supervision
Tübingen AI Center · University of Tübingen · MPI for Intelligent Systems · ELLIS Institute Tübingen
How can we train agents to navigate uncertainty over long horizons? We propose ΔBelief-RL, which uses the change in an agent's own belief about the correct answer as a dense intrinsic reward for training in long-horizon, information-seeking tasks. No critic or process reward model needed — just the agent's self-assessment. Our trained agents (CIA — Curious Information-seeking Agents) outperform DeepSeek-V3.2 (670B) with ~98% fewer parameters on our in-distribution test-set, generalize to out-of-distribution tasks, and continue improving beyond the training horizon.
ΔBelief-RL leverages an agent's internal beliefs as an intrinsic reward signal, enabling dense credit assignment in probabilistic, long-horizon tasks. In a multi-turn interaction setting where an agent must uncover a latent target concept through a trajectory of actions and observations:
1. Agent Beliefs — We elicit the agent's internal belief by leveraging its underlying token probability distribution over the target concept at each turn.
2. ΔBelief Reward — The per-turn belief change is computed as:
3. Training Reward — The sparse outcome reward is augmented with the dense intrinsic signal:
We use Turn-wise GRPO, computing advantages at the turn level rather than applying the same reward across the entire trajectory.
Beliefs steadily increase on average, and the rate of growth strongly correlates with the outcome of the trajectory.
| Method | Mean@8 ± std | Pass@8 |
|---|---|---|
| Baseline (1.7B) | 9.97% ± 1.04% | 32.03% |
| StarPO (1.7B) | 16.54% ± 1.32% | 45.73% |
| CIA (ours, 1.7B) | 24.80% ± 1.10% | 53.10% |
| Baseline (4B) | 13.34% ± 1.05% | 36.87% |
| StarPO (4B) | 24.36% ± 1.18% | 59.12% |
| CIA (ours, 4B) | 33.72% ± 1.26% | 63.97% |
| DeepSeek-V3.2 (670B) | 14.35% ± 0.87% | 47.34% |
| Qwen3-235B-A22B-Instr. | 8.83% ± 0.87% | 27.71% |
ΔBelief-RL reduces the number of turns required and suppresses redundant queries more rapidly than standard GRPO.
CIA continues to improve as the interaction budget extends beyond the 20-turn training horizon. At 4B scale, the improvement from 20 to 50 turns is +26% for CIA vs +13% for StarPO.
Despite training only on 20 Questions, CIA generalizes to Guess My City and Murder Mystery.
CIA outperforms StarPO on practical applications: Customer Service (+5–11%) and User Personalization (up to +15%).
- Python >= 3.12
- CUDA 12.8 compatible GPU(s) (minimum 2x GPUs recommended)
- uv package manager
# Clone with submodules (includes verl framework)
git clone --recurse-submodules https://github.com/bethgelab/delta-belief-rl.git
cd delta-belief-rl
# Create virtual environment and install dependencies
uv venv --python 3.12
source .venv/bin/activate
uv pip install -e .
cd delta_belief_rl && uv sync && cd ..Training logs to W&B by default. Set your credentials:
export WANDB_PROJECT=delta-belief-rl
export WANDB_ENTITY=<your-entity>All training and evaluation scripts are located in delta_belief_rl/scripts/. Each script handles Ray initialization and GPU setup automatically via scripts/slurm_setup.sh.
ΔBelief-RL (our method):
# Qwen3-1.7B
sbatch delta_belief_rl/scripts/train/delta-belief-rl/qwen1.7b.sh
# Qwen3-4B
sbatch delta_belief_rl/scripts/train/delta-belief-rl/qwen4b.shGRPO baseline (StarPO):
# Qwen3-1.7B
sbatch delta_belief_rl/scripts/train/grpo/qwen1.7b.sh
# Qwen3-4B
sbatch delta_belief_rl/scripts/train/grpo/qwen4b.shEvaluate trained checkpoints (or HuggingFace-hosted models) on various benchmarks:
# 20 Questions (in-distribution)
slurm delta_belief_rl/scripts/eval/twenty_questions.sh
# Guess My City (OOD)
slurm delta_belief_rl/scripts/eval/guess_my_city.sh
# Murder Mystery (OOD)
slurm delta_belief_rl/scripts/eval/murder_mystery.sh
# Customer Service (OOD, uses API judge)
slurm delta_belief_rl/scripts/eval/customer_service.shAdjust CUDA_VISIBLE_DEVICES at the top of each script to match your setup. The number of GPUs per model is configured via:
actor_rollout_ref.ngpus=1 # GPUs for the questioner model
judge_rollout.ngpus=1 # GPUs for the judge modelThe setup script (scripts/slurm_setup.sh) handles Ray initialization, port allocation, and GPU memory checks automatically. For SLURM-managed clusters, the SLURM_JOB_ID is detected automatically; for other environments, set it manually in the script.
delta-belief-rl/
├── train.py # Main entry point
├── delta_belief_rl/
│ ├── config/ # Hydra YAML configs
│ ├── env/ # Environment data & prompts
│ │ ├── twenty_questions/ # 20 Questions (training env)
│ │ ├── guess_my_city/ # Guess My City (OOD eval)
│ │ ├── murder_mystery/ # Murder Mystery (OOD eval)
│ │ └── customer_service/ # Customer Service (OOD eval)
│ ├── llm_agent/
│ │ ├── generation.py # Multi-turn conversation logic
│ │ ├── belief.py # ΔBelief computation
│ │ └── prompts.py # Prompt templates per environment
│ ├── trainer/
│ │ ├── multistep_trainer.py # Ray-based FSDP training loop
│ │ └── ppo/core_algos.py # PPO, GRPO, Turn-GRPO, RLOO
│ ├── workers/ # Ray actor & rollout workers
│ ├── scripts/
│ │ ├── train/ # Training scripts
│ │ │ ├── delta-belief-rl/ # ΔBelief-RL (ours)
│ │ │ └── grpo/ # GRPO baseline
│ │ └── eval/ # Evaluation scripts
│ └── pyproject.toml # Python dependencies
├── verl/ # veRL framework (git submodule)
└── static/ # Project page assets
@misc{auzina2026intrinsiccreditassignmentlong,
title={Intrinsic Credit Assignment for Long Horizon Interaction},
author={Ilze Amanda Auzina and Joschka Strüber and Sergio Hernández-Gutiérrez and Shashwat Goel and Ameya Prabhu and Matthias Bethge},
year={2026},
eprint={2602.12342},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2602.12342},
}This codebase builds on veRL for distributed RL training with FSDP and Ray.








