Policy Adaptation via Language Optimization: Decomposing Tasks for Few-Shot Imitation

Vivek Myers, Chunyuan Zheng, Oier Mees, Kuan Fang, Sergey Levine

Introduction

Generalist robot policies, or "foundation models," often struggle with the "last mile" of adaptation to novel tasks. When faced with a new objective like "make a salad," traditional approaches typically resort to zero-shot execution or parameter-space fine-tuning. Zero-shot methods frequently fail on complex, long-horizon tasks, while fine-tuning millions of parameters on a handful of demonstrations leads to severe overfitting and brittle behavior.

The authors of "Policy Adaptation via Language Optimization" (PALO) propose a different paradigm. Instead of re-wiring the robot's neural network, PALO adapts by identifying the optimal sequence of high-level semantic steps—subtasks the robot already knows—to achieve a new goal. This mimics human learning, where new skills are often compositions of existing motor primitives guided by high-level instructions.

Methodology: Optimizing in Language Space

The core innovation of PALO is shifting the optimization target from neural network weights to language-based task decompositions.

The PALO pipeline consists of pre-training an instruction-following policy, adapting it to new tasks via VLM-proposed language decompositions, and evaluating the optimal decomposition.
  1. Pre-training: A base policy $\tilde{\pi}(s, c)$ is trained on a large-scale dataset (BridgeData V2) to follow low-level language instructions $c$ (e.g., "move gripper left").
  2. VLM Task Decomposition: For a new high-level task, a Vision-Language Model (VLM) like GPT-4o proposes multiple candidate decompositions into subtasks.
  3. Language Optimization: PALO uses a small "calibration set" of roughly five expert demonstrations. It searches for the language decomposition and temporal switching points that minimize the behavioral cloning loss $\mathcal{L}_{BC}$ between the pre-trained policy's predictions and the expert's actions.
  4. Non-parametric Adaptation: The robot executes the task using the original, frozen policy conditioned on the optimized language string $c^*$.

Experimental Evaluation

The system was evaluated on a real-world suite of 8 challenging tasks across four distinct tabletop scenes, including drawer manipulation, bowl-based tasks, sweeping, and object rotation. These tasks were entirely unseen during the pre-training phase.

Key Results and Sample Efficiency

PALO demonstrates remarkable sample efficiency compared to traditional fine-tuning. By restricting the search space to a sequence of language subtasks, it avoids the high-dimensional overfitting common in parameter-space optimization.

PALO achieves high success rates with only 5 demonstrations by searching over language, whereas traditional fine-tuning requires over 100 demonstrations to reach similar performance.
  • Performance: PALO achieved an average success rate of 71.3% across the evaluation suite. In comparison, state-of-the-art zero-shot models like RT-2-X and Octo achieved only 26.3%.
  • Efficiency: To match the performance PALO reaches with just 5 demonstrations, the Octo model required approximately 80 demonstrations, and the LCBC baseline required 120.
  • Robustness: The method proved particularly effective for long-horizon tasks where zero-shot models often lose coherence.

Discussion and Insights

PALO treats language as a low-dimensional bottleneck that regularizes the adaptation process. By leveraging VLMs as "reasoning engines" to propose semantic plans and using a motor policy for execution, it combines high-level cognitive planning with low-level control. The "calibration" step is crucial: it ensures the chosen language instructions are those the underlying policy "understands" best, even if multiple semantically similar options exist.

Limitations and Future Work

While effective, PALO currently relies on a fixed decomposition chosen at the start of a task. Future iterations could incorporate dynamic re-planning, allowing the VLM to adjust subtasks in real-time based on visual feedback. Additionally, the reliance on heuristic labels for pre-training data suggests a need for more automated ways to align diverse robotic datasets with natural language.

Summary updated

BibTeX
@inproceedings{myers2024policy,
  author = {Vivek Myers and Chunyuan Zheng and Oier Mees and Kuan Fang and Sergey Levine},
  title = {{Policy Adaptation via Language Optimization: Decomposing Tasks for Few-Shot Imitation}},
  booktitle = {Conference on Robot Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=qUSa3F79am},
}
Figure