PyLoT

AboutBlogSupport UsContact

🤖

Introducing Self-Recovery Planning with LLMs and VLMs

PyLoT Robotics

2025/05/20

Reassess the situation and keep going after a failure

“Pick up an object and bring it to a person.” A short instruction can require a robot to navigate, find an object, grasp it, and hand it over. If placing the object fails along the way, can the robot work out what to do next based on the situation in front of it?

This article introduces the self-recovery planning system developed by PyLoT Robotics, based on our presentation materials for RoboCup Japan Open 2025.

Our goal is a robot that can inspect its surroundings and revise its actions after a failure, continuing toward task completion.

An LLM for planning and a VLM for observation

The system combines a large language model (LLM) for action planning with a vision-language model (VLM) for observing the situation.

System overview connecting speech commands, LLM planning, VLM observation, and replanning after failure

Speech commands pass through speech recognition to the LLM Planner. Using a list of functions the robot can execute, the planner builds a sequence of actions such as navigation, searching, picking, and placing. Information from RGB-D images and object recognition supports the VLM Observer's assessment of the scene.

The example in our presentation shows a failed placement followed by a revised plan to pick up the object and place it again. Information exchanged between the LLM and VLM helps the system determine its next actions in response to execution results.

Robot actions as functions that return results

One function introduced in the presentation was Pick up the [object]. It performs the following steps:

  1. Recognize the target object's coordinates.
  2. Move closer using the robot's wheels if the object is too far away.
  3. Grasp the object with the arm.
  4. Return True or False based on the gripper's width.

The planner can therefore treat picking up an object as an action with an execution result. Other available functions include placing an object, searching for an object, finding a person waving their hand, and asking people for help.

Turn questions about failure into questions about objects

A key challenge is deciding what to ask the VLM.

In the setup presented, directly asking whether the robot was holding an object or why an action had failed was problematic. Such questions require knowledge of the robot itself, beyond simply interpreting the scene.

Our approach was to ask about observable properties of surrounding objects instead:

  • Is the target object visible in the image?
  • Has the object fallen over?
  • Is it in a location predefined as inaccessible for grasping?

These observations allow the system to assess the situation indirectly through objects and their arrangement, then use that information when planning its next actions.

Object recognition and deciding where to look

The presentation discussed Detic, the Segment Anything Model, and CLIP in the context of recognizing object regions and their states. One example compared an image region containing an object with a sentence describing it as tilted. Image-text similarity provides a cue for interpreting the object's state.

The robot also needs to look in directions that provide useful information. For view selection, we presented a pipeline that feeds VLM recognition results into 3D score mapping to choose the next viewing direction.

Pipeline from input images and VLM recognition through 3D score mapping to view direction selection

This design incorporates temporal decay, an exploration bonus, and a center bias. It addresses gathering information for decisions as well as planning actions.

Future directions

The presentation identified two future directions: extending the approach to a mobile manipulator and planning at a finer level of detail.

For example, object recognition, approaching, grasping, and checking the result are currently grouped within the pick-up function. Allowing the LLM to plan these steps in greater detail could support more flexible actions and recovery strategies.

By observing surrounding objects and revisiting both perception and planning after failures, we aim to build robots that can keep working toward task completion.