arXiv:2610.28893cs.ROOct 2026

Manuscript Offprint

arXiv:2610.28893

Flexible Language-Guided Representation Editing for Adaptive Robot Behavior

Audrey Lee, Nathaniel Dennler, Ilia Sucholutsky, Andreea Bobu

Audrey Lee 1^{1}

audreylee@alum.mit.edu

Nathaniel Dennler 1^{1}

dennler@mit.edu

Ilia Sucholutsky 2^{2}

isucholu@purdue.edu

Andreea Bobu 1^{1}

abobu@mit.edu

1^{1} MIT Computer Science & Artificial Intelligence Laboratory 2^{2} New York University

Figure

Figure 1: FLEX overview. A human’s task instruction (left) results in a misalignment between the human’s (green) and robot’s (lavender) internal task representations. To address this misalignment, FLEX receives natural language corrections and applies three operations (orange) to ADD missing features, GENERALIZE overly specific features, and MASK irrelevant features. The robot then plans under the corrected feature set to optimize a reward function through demonstrations (blue), yielding trajectories that are better aligned with the human’s true reward (purple, bottom-right).

Abstract: Trajectory demonstrations show robots how to behave but not why, leaving them to guess which features of the task actually matter. Incorrect guesses produce misaligned internal representations and lead to incorrect robot behaviors. Because task features are often semantically defined, we argue that natural language is better suited for specifying features rather than relying on demonstrations. Although existing representation editing methods have proposed using language to specify new features, only allowing additive edits produces feature sets that are often over-specified or too narrowly scoped, especially in sequential editing tasks. We propose the Flexible Feature Editing Pipeline (FLEX), which uses language models to iteratively refine a robot's internal representation of task features from natural language corrections via three complementary operations: ADD missing features, GENERALIZE existing specific features, and MASK irrelevant features. We evaluate FLEX on 2D navigation scenarios, 7DoF Franka tabletop manipulation tasks, and a real-world study using naturalistic human language corrections and real-robot demonstrations. Comparisons against single-operation and unscaffolded baselines show that all three operations are necessary in interactive scenarios, and that FLEX achieves consistently higher normalized reward compared to other feature editing approaches while maintaining compact, transferable representations. Project available at https://mit-clear-lab.github.io/FLEX/.

Keywords: reward learning, representation alignment, language feedback

1 Introduction

Imagine a scenario like in Fig. 1, where a human asks their personal robot to bring them coffee. While the instruction seems simple, executing it well depends on the features, or measurable properties of the environment, that the robot internally uses to represent the task. For example, a user may prefer that the robot stays away from sensitive electronics or that it stays close to the table to avoid damage from spills. Unfortunately, human instructions rarely describe these features explicitly when specifying tasks, forcing the robot to guess which features matter. When the robot guesses incorrectly, the human and robot end up with misaligned representations, and the robot fails to complete the task in the way that the human desires.

A common approach to address the representation misalignment problem is to iterate between specifying features and optimizing reward, often through demonstrations [1, 2]. However, demonstrations carry little semantic information, so the robot can only implicitly recover which features actually matter to the user. In contrast, natural language contains rich semantic content. When a user says, "Don't spill coffee on my laptop!" their language communicates both what matters about the task (avoiding the laptop) and why that matters (preventing damage). Language contains the semantic content that demonstrations lack. We therefore propose that feature specification is better addressed through language, while demonstrations are better-suited for reward optimization once the right features are known.

Even a simple language correction contains a wealth of information when interpreted in context. However, existing methods fail to leverage this fully, either failing to update the robot’s underlying representation in a generalizable way [3] or continually adding features until representations become redundant and inefficient [1]. None of these methods account for the full space of ways a feature representation can be wrong: it may be incomplete (missing relevant features), over-specified (tracking irrelevant features), or incorrectly abstracted (tracking a feature at the wrong level of abstraction).

We propose FLEX, a flexible feature editing pipeline that uses Language Models (LMs) to adapt a robot's internal representation of task features in response to natural language corrections. As shown in Fig. 1, when the human says "Don't spill coffee on my laptop!", FLEX identifies the correction's intent and applies three operations: ADD introduces the laptop as a relevant obstacle, GENERALIZE broadens the newly added feature to all electronics, and MASK removes the now-irrelevant bowl feature. This yields a feature set aligned with the human's true intent. Unlike prior methods that support only a single operation, FLEX selectively applies whichever combination of edits the user's language correction warrants.

References (55)