Abstract
We introduce a new benchmark, LLF-Bench (Learning from Language Feedback Benchmark; pronounced as "elf-bench"), to evaluate the ability of AI agents to interactively learn from natural language feedback and instructions. Learning from language feedback (LLF) is essential for people, largely because the rich information this feedback provides can help a learner avoid much of trial and error and thereby speed up the learning process. Large Language Models (LLMs) have recently enabled AI agents to comprehend natural language -- and hence AI agents can potentially benefit from language feedback during learning like humans do. But existing interactive benchmarks do not assess this crucial capability: they either use numeric reward feedback or require no learning at all (only planning or information retrieval). LLF-Bench is designed to fill this omission. LLF-Bench is a diverse collection of sequential decision-making tasks that includes user recommendation, poem writing, navigation, and robot control. The objective of an agent is to interactively solve these tasks based on their natural-language instructions and the feedback received after taking actions. Crucially, to ensure that the agent actually "learns" from the feedback, LLF-Bench implements several randomization techniques (such as paraphrasing and environment randomization) to ensure that the task isn't familiar to the agent and that the agent is robust to various verbalizations. In addition, LLF-Bench provides a unified OpenAI Gym interface for all its tasks and allows the users to easily configure the information the feedback conveys (among suggestion, explanation, and instantaneous performance) to study how agents respond to different types of feedback. Together, these features make LLF-Bench a unique research platform for developing and testing LLF agents.
Introduction: Moving Beyond Numeric Rewards
In traditional Reinforcement Learning (RL), agents learn via a "carrot and stick" approach: they receive a numeric scalar (a reward) after taking an action. While effective, this is a low-bandwidth signal. It tells an agent that it did something wrong, but not why it was wrong or how to fix it. Humans, by contrast, learn through rich linguistic feedback—for example, "Try turning left sooner because the tree is blocking your path."
While Large Language Models (LLMs) have the reasoning capacity to understand such instructions, existing benchmarks typically focus on static planning or information retrieval. There has been a lack of a standardized, interactive platform to measure an agent's ability to learn and adapt over multiple steps using only language-based critiques. LLF-Bench addresses this gap by providing a suite of environments where agents must improve their behavior based on human-like explanations and suggestions.
The Learning from Language Feedback (LLF) Paradigm
The authors introduce the Learning from Language Feedback (LLF) paradigm. Unlike RL, which maximizes a reward, LLF focuses on solving tasks based on natural language instructions and feedback.
Key technical features of the benchmark include:
- Unified Interface: It uses the familiar OpenAI Gym API (
reset,step), making it easy for researchers to plug in existing agent architectures. - Configurable Feedback: Users can toggle between different types of feedback: hindsight (explaining past actions), future (suggesting next steps), and performance (textual reward signals).
- Robustness via Randomization: To prevent "prompt hacking," LLF-Bench uses 4–20 manually curated paraphrasing templates for every instruction and feedback string. It also randomizes environment latent parameters (like room connectivity) upon reset.
Diverse Task Environments
LLF-Bench introduces a diverse collection of 8 problem sets, adapting several classic environments into a "verbalized" format.
The benchmark includes tasks such as llf-bandit (verbalized multi-armed bandit), llf-poem (writing poems with syllable constraints), llf-reco-movie (recommending movies based on text preferences), and llf-optimization (minimizing loss functions via verbal cues). It also features complex control and navigation tasks like llf-parking, llf-gridworld, llf-alfworld, and llf-metaworld (a textual version of robotic manipulation).
Key Insights and Results
The benchmark treats language as a generalization of reward. The authors argue that RL is actually a subset of LLF; one can "recover" an RL agent by setting the feedback to "You received a reward of X." Crucially, the "instruction" belongs to the environment. In many LLM papers, the task description is part of the agent's prompt. LLF-Bench treats the instruction as an environmental observation, forcing agents to handle any task instruction rather than relying on engineered prompts.
Taking inspiration from educational research, the benchmark focuses on "formative feedback"—information intended to modify the learner's thinking or behavior to improve learning efficiency. While agents are expected to learn without rewards, the environments still track hidden scalar rewards to allow researchers to quantitatively plot learning curves and compare different LLM architectures.
Conclusion and Future Work
LLF-Bench serves as a foundational platform for developing agents that learn from words. Current limitations include the assumption of basic language comprehension and the use of synthetic feedback. Future work aims to expand feedback variety, including interactive styles where the environment asks the agent questions, and incorporating human-in-the-loop testing to evaluate performance with real, potentially inconsistent, human feedback.
Summary updated