Leave It Better Than Found: Value-Guided Cooperation in Sequential Tasks

Mario Gomez Andreu, Michael Amir, Antonio Marino, Tianxu An, Marco Hutter, Amanda ProrokarXiv 2026

In the world of multi-robot systems, we often assume robots are designed and trained together as a cohesive team. But as autonomous cleaners, delivery bots, and security systems from different manufacturers begin to share our homes and warehouses, they’ll need to cooperate "ad hoc"—without ever having met during training.

A new paper titled "Leave It Better Than Found: Value-Guided Cooperation in Sequential Tasks" introduces PAVE (Policy Adaptation via Value Exchange), a framework that allows robots to help each other by simply sharing what they "like" about their environment.

TL;DR

PAVE enables independently trained robots to cooperate sequentially by exchanging their value functions as a compact proxy for environmental preferences. By using an uncertainty-aware online planner, a "leader" robot can modify a shared workspace to significantly improve the success rate of a subsequent "follower" robot, even if they have never operated together before.

What Problem Does This Paper Address?

Most multi-agent reinforcement learning (MARL) relies on joint training or co-optimization. This works for a fixed team, but it fails to scale when you have a "combinatorial explosion" of different robot types and tasks. You can't possibly train every delivery bot to work with every vacuum cleaner in every possible scenario.

The authors focus on sequential task continuation. Imagine a cleaning robot (the leader) that needs to move a table to clean under it. If it’s selfish, it might leave the table blocking a doorway. A subsequent delivery bot (the follower) might then be unable to pass. To solve this, the leader needs to proactively anticipate how its actions alter the shared space for the next actor.

Figure 1: Two agents perform tasks sequentially in a shared environment: a leader pushes the table aside to clean beneath it; a follower must then traverse the room. Naive (top), the leader is unaware of the follower’s needs and leaves the table blocking the path, preventing traversal. PAVE (Ours) (bottom), the follower shares its value function over environment states, and the leader adapts by placing the table in a high-value region (overlaid with heatmap) for the follower, clearing the path, and enabling traversal.

Methods

The core idea of PAVE is Value Exchange. Instead of complex, task-specific communication, the follower simply sends its value function ($V_F$) to the leader. In reinforcement learning, a value function maps an environment state to the expected future reward. It is essentially a "heatmap" of how much the robot likes a particular configuration of the world.

The leader then uses a receding-horizon planner (specifically the Cross Entropy Method, or CEM) to optimize a joint objective:

  1. Maximize its own task success.
  2. Maximize the follower’s expected value in the state it leaves behind.

The KNN Uncertainty Filter

A major challenge in ad hoc cooperation is distribution shift. If the leader puts the environment into a state the follower has never seen during its own training, the follower's value function might give a wildly inaccurate (often overconfident) estimate.

To fix this, PAVE introduces a k-nearest neighbors (KNN)-based uncertainty filter. It checks if the proposed "handoff" state is near the follower's training data. If the state is too "weird" (out-of-distribution), the leader discounts the follower's preference to avoid making decisions based on unreliable data.

Datasets and Scenarios

The researchers evaluated PAVE across five simulated scenarios and one real-world deployment:

  • MOBILE ARM: A mobile base must position itself so a robotic arm can grab an object.
  • OBSTACLE ARENA: A "pusher" must clear a path through a bottleneck for a "navigator."
  • WAREHOUSE Family: Three variations of a handoff task where a leader drops an object for a follower to pick up.
  • HOUSEHOLD (Real-world): Two RoboMaster robots in a physical arena where a leader clears a "table" (box) to clean "dirt" (virtual) while keeping a path open for the follower.
Figure 2: The three primary simulated scenarios used for evaluation.

Key Insights and Ideas

  • Value Functions as Universal Interfaces: Value functions are a "free" byproduct of RL training. Using them for communication is elegant because they are compact, interpretable, and don't require the agents to share their internal policies or reward structures.
  • The "Aha" Moment on Uncertainty: The authors found that without the KNN filter, the leader often "helped" the follower into states that looked good on paper but were actually unknown to the follower, leading to catastrophic failures.
  • Planning vs. Learning: PAVE often outperformed "Finetuning" (where robots are jointly trained). The authors suggest that for long-horizon sequential tasks, online planning is more robust than trying to bake the entire cooperation logic into a neural network policy.

Key Results

  • Success Rate Boost: PAVE increased follower success rates by an average of 27.9 percentage points (pp) compared to naive agents, with a maximum increase of 48.5 pp in the most constrained warehouse scenario.
  • Real-World Transfer: In the physical RoboMaster experiments, PAVE increased the follower's success rate by 40 pp over the baseline.
  • Leader Performance: Crucially, the leader's success rate remained equal to or higher than the baseline, proving that robots can be "helpful" without sacrificing their own goals.
Figure 5: A case study showing how the uncertainty filter prevents the leader from dropping an object in a "blocked" area that the follower's value function mistakenly thought was high-value.

Limitations and Future Work

  • Two-Agent Limit: The current work focuses on a leader-follower pair. Scaling this to a "chain" of $N$ robots or a swarm remains a future challenge.
  • Shared Representation: PAVE assumes both robots "see" the world the same way (e.g., they both use the same coordinate system for the table's position). Future work could explore how to translate preferences between robots with different sensors.
  • Trust: The system assumes the follower is "truthful." A malicious agent could theoretically share a fake value function to trick the leader into doing its work or causing a collision.

By treating the environment as a medium for cooperation and value functions as the language, PAVE offers a practical path toward a future where diverse robots can work together harmoniously, leaving every room a little better than they found it.

Summary updated

Abstract

We consider the problem of sequential task continuation, where one robot acts in a workspace that has been affected by a previous robot. Current approaches in multi-robot cooperation rely heavily on co-training or co-optimization, assumingthat the robots have access to collective interaction data during the policy training or planning process. However, as increasingly varied robotic embodiments and policies are deployed and operate in the same real-world environment, learning policies for cooperation becomes infeasible due to the combinatorial explosion of possible robot combinations that need to be accounted for. To address this challenge, this paper considers the problem of ad hoc sequential cooperation between robots that have never before operated together in a shared environment. We demonstrate that robots can explicitly communicate their environmental preferences through sharing their value functions, enabling coordination without the need for prior joint training. To ground this exchange and prevent overconfidence in out-of-distribution states, we further introduce a k-nearest neighbors (KNN)- based uncertainty filter. Our method yields an increase of up to 48.5 pp compared with naive or even selfish agents, in task success rates across simulated and real-world experiments, demonstrating that value function transmission between agents is useful not merely as an internal learning tool, but as an effective basis for ad hoc coordination. Website: https://proroklab.github.io/PAVE/
BibTeX
@misc{andreu2026leave,
  author = {Mario Gomez Andreu and Michael Amir and Antonio Marino and Tianxu An and Marco Hutter and Amanda Prorok},
  title = {{Leave It Better Than Found: Value-Guided Cooperation in Sequential Tasks}},
  year = {2026},
  eprint = {2611.08075},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08075},
}
Figure