From Demonstrations to Rewards: Test-Time Prompt Optimization for VLM Reward Models

arXiv cs.LG Papers

Summary

Proposes Demo2Reward, a test-time prompt optimization technique for VLM reward models using a few expert demonstrations, significantly reducing false positives and improving policy learning in robotics without additional model training.

arXiv:2606.00083v1 Announce Type: new Abstract: Reinforcement learning relies on accurate reward functions, which are often hand-crafted or even unavailable in real-world applications, such as robotics. Recent work has explored the zero-shot reasoning capabilities of pre-trained Vision-Language Models (VLMs) as reward models. However, without careful prompt engineering, these approaches tend to produce suboptimal rewards, where false positive predictions can severely degrade downstream policy learning. In robotics, limited datasets comprising expert demonstrations are often collected to bootstrap policy learning. This scenario provides an opportunity to optimize a reward model prior policy training. We propose Demo2Reward a test-time adaptation technique to optimize the language instruction of a reward model based on a few demonstrations (3-10 trajectories) to reduce false positives while preserving true positives. Crucially, this requires no additional model training or computation resources during policy learning. We show that Demo2Reward consistently outperforms existing zero- and few-shot VLM reward models across a range of simulated robotic tasks and policy backbones. Finally, we demonstrate that Demo2Reward effectively transfers to a real-world robotic learning scenario, enabling policy learning without manually engineering a reward function.
Original Article
View Cached Full Text

Cached at: 06/02/26, 03:39 PM

# From Demonstrations to Rewards: Test-Time Prompt Optimization for VLM Reward Models
Source: [https://arxiv.org/abs/2606.00083](https://arxiv.org/abs/2606.00083)
[View PDF](https://arxiv.org/pdf/2606.00083)

> Abstract:Reinforcement learning relies on accurate reward functions, which are often hand\-crafted or even unavailable in real\-world applications, such as robotics\. Recent work has explored the zero\-shot reasoning capabilities of pre\-trained Vision\-Language Models \(VLMs\) as reward models\. However, without careful prompt engineering, these approaches tend to produce suboptimal rewards, where false positive predictions can severely degrade downstream policy learning\. In robotics, limited datasets comprising expert demonstrations are often collected to bootstrap policy learning\. This scenario provides an opportunity to optimize a reward model prior policy training\. We propose Demo2Reward a test\-time adaptation technique to optimize the language instruction of a reward model based on a few demonstrations \(3\-10 trajectories\) to reduce false positives while preserving true positives\. Crucially, this requires no additional model training or computation resources during policy learning\. We show that Demo2Reward consistently outperforms existing zero\- and few\-shot VLM reward models across a range of simulated robotic tasks and policy backbones\. Finally, we demonstrate that Demo2Reward effectively transfers to a real\-world robotic learning scenario, enabling policy learning without manually engineering a reward function\.

## Submission history

From: Christian Gumbsch \[[view email](https://arxiv.org/show-email/d24a5fb9/2606.00083)\] **\[v1\]**Fri, 22 May 2026 16:04:22 UTC \(2,393 KB\)

Similar Articles

When LLM Reward Design Fails: Diagnostic-Driven Refinement for Sparse Structured RL

arXiv cs.LG

This paper frames LLM-generated reward shaping for sparse structured RL as a debugging problem, identifying failure modes like reward flooding and semantic misunderstanding. The authors propose diagnostic-driven iterative refinement, achieving dramatic success rate improvements (e.g., DoorKey-8×8 from 2.3% to 97.6%) compared to one-shot generation.