NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Self-driven Grounding: Large Language Model Agents with Automatical Language-aligned Skill Learning

Shaohui Peng, Xing Hu, Qi Yi, Rui Zhang, Jiaming Guo, Di Huang, Zikang Tian, Ruizhi Chen, Zidong Du, Qi Guo, Yunji Chen, Ling LiarXiv 2023 · DOI

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities in high-level reasoning and planning. However, a significant hurdle remains in deploying these models as autonomous agents: the grounding problem. While an LLM can easily decompose a request like "make coffee" into sub-steps, it lacks the inherent knowledge to map these steps to the primitive, low-level actions required by a specific physical or virtual environment (e.g., precise motor controls or grid-world movements).

Traditionally, this gap is bridged through extensive fine-tuning on expert trajectories or by manually authoring behavior APIs. Both approaches are labor-intensive and limit the agent's adaptability to novel environments. This paper introduces Self-Driven Grounding (SDG), a framework that enables LLM agents to autonomously discover and learn a library of generalized, language-aligned skills from scratch, requiring zero human demonstrations.

The Self-Driven Grounding Framework

The SDG framework operates through a continuous loop of exploration and abstraction, structured into four distinct phases: Hypothesis, Verification, Induction, and Deduction.

The four-stage SDG loop: Hypothesis, Verification, Induction, and Deduction.

1. Hypothesis

In the initial phase, the LLM acts as a zero-shot planner. Given a high-level task, it decomposes the objective into a sequence of subgoals. A key innovation here is that the LLM also generates Python-based "check functions" for each subgoal. These functions serve as automated verifiers that query the environment state to determine if a subgoal has been successfully achieved.

2. Verification

The generated check functions provide intrinsic rewards for Reinforcement Learning (RL). Small-scale RL policies are trained to reach these subgoals using primitive actions. Upon success, the agent records the specific action sequences, effectively validating the LLM's hypothesis about how to navigate the environment.

3. Induction

To ensure the learned behaviors are reusable and not overfit to specific instances, SDG employs semantic clustering. Subgoals are grouped based on the semantic similarity of their LLM-generated descriptions (e.g., "pick up the red ball" and "pick up the blue box" are clustered). The agent then trains generalized RL skills for these clusters. To accelerate this process, the agent uses the action sequences saved during verification to restore the environment to relevant starting states, bypassing the need for exhaustive exploration from scratch.

4. Deduction

Equipped with a newly formed API library of generalized skills, the LLM transitions to a few-shot planner. It writes Python programs that call these skills to solve complex, multi-step tasks. This phase incorporates an interactive debugging loop, where the agent can refine its code based on execution feedback and error messages.

Experimental Evaluation

The authors evaluated SDG in the BabyAI grid-world environment, which features a variety of instruction-following tasks ranging from simple navigation (GoToLocal) to the highly complex BossLevel, which involves combinatorial instructions in a multi-room maze.

Key Results

The SDG framework demonstrated exceptional performance, particularly in its ability to solve complex tasks without human intervention. On the BossLevel task, SDG achieved a 75.9% success rate with zero human demonstrations. This performance is competitive with imitation learning baselines that require up to one million expert trajectories.

Success rates across different BabyAI task levels as a function of interaction rounds.

As shown in Figure 5, increasing the number of interaction rounds significantly improves performance on the most challenging tasks like SynthSeq and BossLevel. This highlights the effectiveness of the iterative skill-learning process. Furthermore, ablation studies revealed that without the learned skill library, the agent's success rate on complex tasks dropped to 0%, confirming that autonomous skill abstraction is a prerequisite for sophisticated reasoning in grounded environments.

Discussion and Future Work

SDG represents a significant step toward truly autonomous agents. By leveraging LLMs as reward designers and semantic guides, the framework overcomes the sparse reward problem inherent in traditional RL.

Current limitations include a reliance on textual environment descriptions and a single-cycle learning loop. Future research could integrate Vision-Language Models (VLMs) to handle raw sensory data and explore hierarchical skill learning, where discovered skills can be further combined into even more complex behaviors.

Summary updated

BibTeX
@misc{peng2023self,
  author = {Shaohui Peng and Xing Hu and Qi Yi and Rui Zhang and Jiaming Guo and Di Huang and Zikang Tian and Ruizhi Chen and Zidong Du and Qi Guo and Yunji Chen and Ling Li},
  title = {{Self-driven Grounding: Large Language Model Agents with Automatical Language-aligned Skill Learning}},
  year = {2023},
  eprint = {2309.01352},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.01352},
}
Figure