SAS-Prompt: Large Language Models as Numerical Optimizers for Robot Self-Improvement
Heni Ben Amor, Laura Graesser, Atil Iscen, David D'Ambrosio, Saminda Abeyruwan, Alex Bewley, Yifan Zhou, Kamalesh Kalirathinam, Swaroop Mishra, Pannag Sanketi
TL;DR
The paper tackles whether large language models can drive self-improvement of robot policies without external optimization loops by introducing the SAS Prompt, which retrieves, analyzes, and synthesizes from prior traces to iteratively adjust attenuation parameters $\boldsymbol{\theta} \in \mathbb{R}^8$ that scale the lower-level controller outputs $\mathbf{x} \in \mathbb{R}^8$. It demonstrates gradient-free numerical optimization inside an LLM and validates the approach on a real table-tennis robot and in Mujoco simulation, with retrieval and self-improvement components guiding policy search. Key findings show competitive optimization performance against baselines, successful real-robot and sim-based self-improvement toward task targets, and transparent, justified parameter updates. The work introduces a new family of explainable, fully LLM-based policy search methods with potential to scale toward more complex robotic tasks and environments.
Abstract
We demonstrate the ability of large language models (LLMs) to perform iterative self-improvement of robot policies. An important insight of this paper is that LLMs have a built-in ability to perform (stochastic) numerical optimization and that this property can be leveraged for explainable robot policy search. Based on this insight, we introduce the SAS Prompt (Summarize, Analyze, Synthesize) -- a single prompt that enables iterative learning and adaptation of robot behavior by combining the LLM's ability to retrieve, reason and optimize over previous robot traces in order to synthesize new, unseen behavior. Our approach can be regarded as an early example of a new family of explainable policy search methods that are entirely implemented within an LLM. We evaluate our approach both in simulation and on a real-robot table tennis task. Project website: sites.google.com/asu.edu/sas-llm/
