Vision Language Models are In-Context Value Learners

Yecheng Jason Ma, Joey Hejna, Ayzaan Wahid, Chuyuan Fu, Dhruv Shah, Jacky Liang, Zhuo Xu, Sean Kirmani, Peng Xu, Danny Driess, Ted Xiao, Jonathan Tompson, Osbert Bastani, Dinesh Jayaraman, Wenhao Yu, Tingnan Zhang, Dorsa Sadigh, Fei Xia

TL;DR

Generative Value Learning (GVL) repurposes frozen, large-context Vision-Language Models (VLMs) into universal value functions for robotics without any fine-tuning. By framing value estimation as a temporal ordering problem over shuffled video frames, GVL forces VLMs to leverage their internal world knowledge to accurately predict task progress. This zero-shot and few-shot approach excels across hundreds of diverse real-world robotic tasks, enabling downstream applications like dataset filtering, success detection, and policy optimization.

What Problem Does This Paper Address?

In reinforcement learning and robotics, a value function estimates an agent's progress toward a goal. A truly universal value function would allow robots to evaluate their behavior across completely new tasks and environments. However, training these functions traditionally requires massive amounts of diverse, task-specific data, and existing vision-only models struggle to generalize to unseen scenes or complex, long-horizon tasks.

Intuitively, modern VLMs (like Gemini 1.5 Pro or GPT-4o) seem like perfect candidates for this because they possess vast internet-scale spatial and temporal reasoning capabilities. However, naively prompting a VLM with a chronological video sequence fails. Because VLMs are trained heavily on sequential video data, they default to a "shortcut" solution: they output monotonically increasing progress values based purely on the video's chronology, completely ignoring the actual quality or success of the trajectory.

Methods

The authors introduce Generative Value Learning (GVL), which overcomes this temporal bias using three core components:

  1. Input Observation Shuffling: Instead of feeding video frames chronologically, GVL randomly shuffles the input frames (while keeping the very first frame fixed as an anchor point). This forces the VLM to evaluate each frame independently based on its semantic content rather than its position in the sequence.
  2. Autoregressive Value Prediction: GVL feeds the entire batch of shuffled frames into the VLM at once. The VLM then predicts the task completion percentage (0% to 100%) for each frame auto-regressively. This allows the model to maintain global consistency across the entire trajectory.
  3. In-Context Value Learning (ICL): GVL leverages the few-shot capabilities of long-context VLMs by prepending examples of shuffled videos and their ground-truth progress scores to the prompt, allowing the model to improve at test time without weight updates.
Overview of the GVL method showing how input shuffling forces the VLM to reason about task progress.

To evaluate value functions at scale, the authors introduce a new metric called Value-Order Correlation (VOC), which measures the rank correlation between predicted values and the true chronological order of expert demonstrations.

Datasets

The authors evaluated GVL across an extensive suite of real-world robotic data:

  • Open X-Embodiment (OXE) Dataset: Evaluated on 50 standalone datasets spanning 20 different robot embodiments and over 300 tasks, using both language and image-based goals.
  • ALOHA Bimanual Dataset: A newly introduced, highly challenging dataset containing 250 distinct fine-grained household tabletop tasks (e.g., folding a dress, hanging a t-shirt) performed on a bimanual ALOHA robot setup.
  • Human Videos: Used as cross-embodiment in-context examples to guide the robot value estimation.

Key Insights and Ideas

  • Shuffling as a Feature, Not a Bug: The most surprising insight is that making the task seemingly harder—by destroying the temporal order of the video—is exactly what unlocks the VLM's value estimation capabilities. Shuffling breaks the model's lazy chronological bias and forces it to perform deep semantic grounding.
  • Cross-Embodiment Transfer via ICL: VLMs can learn how to score a robot's progress by looking at a video of a human performing the same task. This highlights the strength of the abstract world knowledge embedded in these models.
  • Value Functions as Next-Token Predictors: Rather than treating value learning as a regression problem optimized via Mean Squared Error (like traditional RL), GVL successfully reframes it as a generative next-token prediction problem over visual sets.
GVL can scale its performance using cross-embodiment in-context examples from human videos.

Key Results

  • Outperforming Baselines: On the OXE dataset, GVL significantly outperformed LIV (a state-of-the-art vision-language value model), particularly on language-conditioned goals where LIV's predictions were essentially random.
  • In-Context Scaling: On the complex ALOHA-250 dataset, zero-shot GVL achieved positive VOC scores on over 60% of tasks. Providing just one in-context trajectory boosted this to 90% positive VOC, with performance steadily scaling up to 5 in-context examples.
Quantitative scaling results on the ALOHA dataset showing improvement with more in-context trajectories.
  • Downstream Applications:
  • Success Detection: GVL-SD (Success Detection) achieved 0.75 accuracy in identifying successful vs. failed trajectories, outperforming standard Visual Question Answering (VQA) baselines.
  • Policy Learning: By using GVL's predicted values to weight transitions in Advantage-Weighted Regression (AWR), the authors improved real-world robot policy execution success rates on tasks like "banana-handover" and "close-laptop".

Limitations and Future Work

  • Periodic Tasks: The VOC evaluation metric assumes a unique chronological progression. It struggles with periodic or cyclic tasks like wiping a table or stirring a pot, where different frames look identical but occur at different times.
  • Fine-Tuning: The authors kept the VLMs entirely frozen. They note that fine-tuning VLMs specifically for shuffled frame ordering could yield even stronger results.
  • Multi-View Integration: The current implementation processes single-camera viewpoints; exploring how multi-view camera inputs affect value consistency remains an open question.

Summary updated

BibTeX
@inproceedings{ma2025vision,
  author = {Yecheng Jason Ma and Joey Hejna and Ayzaan Wahid and Chuyuan Fu and Dhruv Shah and Jacky Liang and Zhuo Xu and Sean Kirmani and Peng Xu and Danny Driess and Ted Xiao and Jonathan Tompson and Osbert Bastani and Dinesh Jayaraman and Wenhao Yu and Tingnan Zhang and Dorsa Sadigh and Fei Xia},
  title = {{Vision Language Models are In-Context Value Learners}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=friHAl5ofG},
}
Figure