LLM-Guided Task- and Affordance-Level Exploration in Reinforcement Learning

Jelle Luijkx, Runyu Ma, Zlatan Ajanovic, Jens KoberarXiv 2025 · DOI

Introduction

Reinforcement Learning (RL) has shown great promise for robotic control, yet it remains hampered by significant sample inefficiency and the difficulty of learning from sparse rewards. In complex, long-horizon tasks, a robot may never encounter a reward through random exploration. While Large Language Models (LLMs) offer a potential solution by providing high-level reasoning and "common sense" planning, they often lack the physical grounding necessary for real-world execution. LLMs may propose plans that are kinematically impossible or fail to account for environmental constraints.

This paper introduces LLM-TALE (LLM-guided Task- and Affordance-Level Exploration), a framework designed to bridge the gap between high-level LLM reasoning and low-level physical grounding. LLM-TALE treats LLM outputs as a set of semantically plausible hypotheses that are then tested and refined through a critic-guided exploration strategy.

Methodology

LLM-TALE employs a hierarchical approach to integrate LLM guidance with RL exploration, divided into high-level planning and low-level physical grounding.

Hierarchical LLM Planning

Rather than relying on a single complex prompt, the framework utilizes a pipeline of three specialized LLM prompts to decompose tasks and identify affordances:

  • Task Planner: Decomposes a high-level command (e.g., "Put the chocolate in the cupboard") into a sequence of primitive actions like pick and transport.
  • Affordance Identifier: Enumerates multiple potential ways to execute each primitive, such as "pick from top" or "pick from side."
  • Affordance Planner: Maps these semantic descriptions into specific geometric goals, such as target end-effector poses.
Hierarchical LLM planning pipeline: Task Planner, Affordance Identifier, and Affordance Planner.

Online Exploration and Residual RL

To ensure efficient learning, the robot does not start from scratch. It utilizes a base PD controller to move toward the LLM-specified goals. The RL agent then learns a residual policy—a corrective term added to the base controller's output—to compensate for inaccuracies in the LLM's geometric plan or to navigate around physical obstacles not perceived by the LLM.

The online exploration process, utilizing critic-guided affordance selection and residual RL for physical grounding.

Because LLMs can "hallucinate" physically impossible plans, LLM-TALE treats the selection of affordances as a multi-armed bandit problem. The system uses the RL agent's Value function (expected reward) and an uncertainty metric to prioritize which affordance to explore. Over time, the agent learns to ignore impossible plans and focus on those that are physically feasible.

Experimental Results

The authors evaluated LLM-TALE across several benchmarks, including ManiSkill (PickCube, StackCube, PegInsert) and RLBench (TakeLid, OpenDrawer, PutBox).

Key Findings

  • Efficiency: LLM-TALE significantly outperformed baselines such as RLPD, which requires human demonstrations, and Text2Reward, which relies on LLM-generated reward shaping. For example, in the PickCube task, LLM-TALE achieved near 100% success in under 200,000 steps, whereas other LLM-based methods struggled to reach 60%.
  • Sim-to-Real Transfer: A policy trained entirely in simulation achieved a 93.3% success rate on a real Franka Emika Panda robot. The residual policy demonstrated emergent behaviors, such as increasing vertical clearance to avoid collisions, which were not present in the original LLM plan.

Discussion and Conclusion

LLM-TALE demonstrates that LLMs are most effective when treated as proposal engines rather than absolute oracles. By acknowledging the potential for physical reasoning errors, the framework allows an RL agent to leverage LLM "common sense" while maintaining the rigor of physical grounding. The use of multimodal affordances allows the agent to bypass obstacles that might render a single plan impossible.

Future work aims to reduce the reliance on external state trackers by integrating vision-based estimators and to expand the system's capabilities to handle more complex, irregular geometries through foundation models like AnyGrasp.

Summary updated

BibTeX
@misc{luijkx2025llm,
  author = {Jelle Luijkx and Runyu Ma and Zlatan Ajanovic and Jens Kober},
  title = {{LLM-Guided Task- and Affordance-Level Exploration in Reinforcement Learning}},
  year = {2025},
  eprint = {2509.16615},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.16615},
}
Figure