Language-Conditioned Reinforcement Learning to Solve Misunderstandings with Action Corrections

Frank Röder, Manfred Eppe

TL;DR

When humans give robots instructions, misunderstandings due to ambiguity or human error are inevitable. This paper introduces a novel framework that formalizes "incremental action-repair" in language-conditioned reinforcement learning, allowing a robotic agent to dynamically receive and understand mid-action language corrections. By extending the agent's goal representation on the fly, the authors demonstrate that robots can successfully learn to pivot and correct their behavior mid-task.

What Problem Does This Paper Address?

In human-to-human communication, we constantly resolve misunderstandings using conversational repair (e.g., "No, not the cup on my right, your right!"). However, most state-of-the-art robotic language-understanding systems only handle non-understandings (like an error message saying "I didn't catch that"). They completely fail when a robot misinterprets an ambiguous command and starts executing the wrong action. Even large language model (LLM) flagship approaches like SayCan struggle with mid-course corrections and negations.

The authors address three specific types of misunderstandings:

  1. Ambiguity: Underspecified instructions (e.g., saying "grasp the cube" when two cubes are present).
  2. Lack of Common Ground: Misclassifications or out-of-distribution words (e.g., the robot mistakes an apple for a tomato, requiring a human to intervene).
  3. Instruction Correction: Human slips of the tongue (e.g., saying "reach the red cube" when they meant the green one).
Figure 1: Consider the present scene with a green cube, a green cuboid, and a red cube. An instructor assigns the robot to “grasp the cube”. The robot might grasp an object by chance (let us assume the red cube). Now an action correction like “actually, the green” could resolve the robot’s mistake caused by the ambiguity of the instruction. The robot should be still aware of the “grasping” task and initial shape word “cube”, to ideally ignore the green cuboid and approach the green cube.

Methods

The core technical contribution is treating action correction as a dynamic goal extension within a goal-conditioned Reinforcement Learning (RL) framework.

Instead of restarting an episode when a mistake occurs, the environment's synthetic instructor detects the incorrect behavior and appends an action correction ($g_{ac}$) to the original instruction ($g_\ell$). The new episodic goal becomes a concatenated string: $g_\ell \circ g_{ac}$.

Figure 2: We illustrate the general case of an action correction. The episodic conversation starts with an instruction gℓuttered by the instructor (left box). The agent, being in state st−1 executes an action at to receive a scalar reward rt and the next world state st. However, the instructor detects with the help of the task-specific condition function from Equation 1 a wrong behavior. Following, an action correction gac is returned, which is concatenated to the original goal gℓ◦gac (right box). Under the consideration of the new linguistic goal, the agent attempts to correct its behavior.

To train the agent to understand these sequential instructions:

  • Baseline Algorithm: A language-conditioned Soft Actor-Critic (SAC) baseline.
  • Language Encoding: A Gated Recurrent Unit (GRU) processes the concatenated text string.
  • Policy Conditioning: The policy $\pi(s_t, g)$ is conditioned on the current state and the dynamically updated language goal, forcing the agent to learn the relationship between the initial state, the mistake, and the correction text.

Datasets

The authors introduced an extension to LANRO (lanro-gym), an open-source, language-conditioned RL environment.

  • Tasks: The benchmark includes 4 robotic manipulation tasks: reach, push, grasp, and lift.
  • Environment Setup: The scene consists of a robotic arm and two or three objects on a table with randomized attributes (colors and shapes) generated via a structured Backus-Naur Form (BNF) grammar.
  • Training Mix: To bootstrap basic instruction-following, only 50% of the training episodes include an action correction challenge. The episode step limit is doubled (to 100 steps) for correction episodes to allow the robot time to fix its mistakes.

Key Insights and Ideas

  • Compositional Advantage: By concatenating the correction to the original instruction rather than replacing it, the robot retains the context of the action verb (e.g., "pushing" or "grasping") while updating its target object features.
  • Negation is a Major Hurdle: Learning corrections that use negations (e.g., "No, not the red one") is significantly more difficult for the RL agent than learning direct feature edits (e.g., "Actually, the green one").
  • The Three-Object Barrier: Moving from two objects to three objects in a scene causes a massive spike in complexity. With three objects, the agent must explicitly learn to ignore a specific distractor object while processing the correction.

Key Results

The agent successfully learned to adapt to mid-course corrections, though performance varied heavily based on task complexity:

Figure 3: Our experiments showcase the success rate of a selection of “reach” and “push” experi- ments with different object configurations. On the x-axis, we show the total environment steps. The y-axis shows the mean success rate of solving both the episodes with single language goals and those including the action correction. In Appendix A.2, we depict the action correction success rates only.
  • Two-Object Scenarios: In tasks like PushShape2, the agent quickly mastered standard action corrections (AC), achieving success rates near 80%. Introducing negations (ACN) slowed down learning but still converged to a similar success rate.
  • Three-Object Scenarios: In PushColor3 and PushShape3, the baseline agent struggled significantly. While the success rate trended upward over 100 million environment steps, it barely surpassed the threshold of solving the single-goal baseline, highlighting how difficult multi-object disambiguation is for standard SAC.

Limitations and Future Work

The primary limitation of this approach is its high sample complexity. Requiring tens of millions of environment steps to master basic three-object sorting tasks makes it impractical for real-world training from scratch.

To address this, the authors point to several promising future directions:

  • Integrating hindsight learning mechanisms (like Hindsight Experience Replay adapted for language) to allow the robot to learn from its failed attempts.
  • Incorporating intrinsic motivation or curiosity-driven exploration to help the agent better map language nuances to environment states.
  • Deploying hierarchical RL to separate high-level language processing from low-level motor control.

Summary updated

BibTeX
@inproceedings{roder2022language,
  author = {Frank Röder and Manfred Eppe},
  title = {{Language-Conditioned Reinforcement Learning to Solve Misunderstandings with Action Corrections}},
  booktitle = {LaReL @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=lWd0qiv9E-},
}
Figure