Abstract
In robotic learning, agents often struggle with the "cold start" problem, where random exploration is insufficient to discover complex, multi-step states. This paper explores the concept of "developmental scaffolding" using Large Language Models (LLMs) to guide robotic exploration. By leveraging the common-sense heuristics inherent in LLMs like GPT-3.5, we demonstrate that a robotic arm can discover rare states—such as tall towers—significantly faster than through random exploration. While effective at providing high-level strategy, LLMs exhibit a "grounding gap," occasionally failing to account for basic physical affordances like the instability of spheres as bases.
Introduction
Traditional reinforcement learning often begins with aimless exploration. In contrast, human development is characterized by scaffolding, where caregivers guide infants toward meaningful interactions. We propose using LLMs as a digital equivalent of this parental guidance. By translating the robot's environment into text and asking an LLM to select "interesting" actions, we provide the agent with a goal-oriented heuristic derived from vast human knowledge.
Methodology
Our experiments were conducted in the PyBullet physics engine using a simulated UR10 robotic arm. The environment contained cubes and spheres of various colors. We employed a token-efficient prompting strategy consisting of a system persona, a natural language state description, action history, and a selection task. The LLM (GPT-3.5) was tasked with choosing pick-and-place actions that would lead to "interesting" outcomes without any task-specific fine-tuning.
Results and Discussion
The LLM-scaffolded agent demonstrated superior performance in discovering complex structures. In a 5-cube setup, it reached the maximum tower height much earlier than a random baseline. Interestingly, the choice of prompt was critical; prompting for "novelty" caused the agent to dismantle structures prematurely to see different states, whereas "interestingness" aligned better with constructive exploration.
A significant limitation identified was the "grounding gap." GPT-3.5 frequently suggested stacking objects on spheres, justifying the choice with hallucinations about stability. This suggests that while LLMs possess high-level semantic knowledge of structures, they lack an embodied understanding of physics. Preliminary results with GPT-4 suggest improvements in this area, showing better physical reasoning regarding object stability.
Conclusion
LLMs serve as effective scaffolding agents, accelerating robotic discovery in sparse-reward environments by providing common-sense heuristics. Future research will investigate the use of multi-modal models to bridge the grounding gap and the distillation of LLM-guided exploration data into specialized local policies that can operate independently of the LLM.
Summary updated