Policy Learning with a Language Bottleneck

Megha Srivastava, Cédric Colas, Dorsa Sadigh, Jacob Andreas

TL;DR

Current reinforcement learning (RL) agents often produce inscrutable, brittle policies that fail to generalize or communicate with humans. Policy Learning with a Language Bottleneck (PLLB) introduces an iterative framework where an LLM examines contrastive (high- vs. low-reward) trajectories to induce high-level natural language rules, which then regularize the underlying policy update. Across games, visual navigation, image reconstruction, and robotic grasping, PLLB produces policies that generalize better, remain interpretable, and generate rules that measurably boost human task performance.

What Problem Does This Paper Address?

While modern reinforcement learning can produce superhuman agents, these models frequently learn arbitrary, uninterpretable shortcuts that fail when the environment shifts slightly. Moreover, purely text-based agents (like ReAct or Reflexion) collapse when low-level sensorimotor control, continuous action spaces, or reflexive mechanics cannot be fully captured in natural language.

Humans solve this dilemma through both the cognitive (internal monologue/inner speech that captures abstract structure) and communicative (teaching others) functions of language. The authors ask: Can AI agents autonomously generate their own natural language rules from experience to steer underlying policy learning—even in domains where text alone cannot fully execute the task?

Methods

PLLB alternates iteratively among three key phases:

  1. Data Collection ($D_i \leftarrow \pi_i$): The agent interacts with the environment using its current policy $\pi_i$ and logs states, actions, and rewards.
  2. Rule Generation (gen_rule): Rather than summarizing successes alone, an LLM/VLM is prompted with contrastive pairs—the top-$N$ highest-reward vs. top-$N$ lowest-reward trajectories. The model extracts an abstract linguistic rule $\mathcal{L}_i$ (e.g., "If I see Blue, go Right" or "Grasp closer to the center of mass").
  3. Rule-Guided Policy Update (update): The policy updates conditioned on the extracted rule $\mathcal{L}_i$. The exact update mechanism adapts to the policy's architecture:
  4. For RL Policies (Q-learning): Employs an InstructRL-style regularizer. The LLM produces an action prior $\pi_{\mathcal{L}}(a \mid s)$, adding a regularization term $\lambda \log \pi_{\mathcal{L}}(a \mid s)$ directly to the Q-update.
  5. For LM/VLM Policies (Image Reconstruction): The rule $\mathcal{L}$ is appended directly to the system prompt to guide future instruction generation.
  6. For Visuomotor Control (Robotic Grasping): A VLM (Molmo-7B) samples candidate 2D grasp keypoints conditioned on $\mathcal{L}$, which are then fed into a low-level 7-DoF trajectory execution model (Sphinx).

Datasets

The authors evaluated PLLB across five distinct experimental domains:

  • SaySelect: A two-player cooperative signaling matrix game from Hu & Sadigh (2023) testing whether agents discover intuitive conventions.
  • Gym-Maze: Procedurally generated $7 \times 7$ grid mazes where cell colors provide latent topological hints (e.g., red cells signal "go South").
  • Builder (Synthetic Image Reconstruction): A synthetic dataset constructed from sequences of 2D primitives (shapes, colors, and canvas coordinates).
  • Birds (Natural Image Reconstruction): Natural images sampled from the benchmark CUB-200-2011 dataset (10 species, 5 images each), evaluated on 3 reward functions (Color, Background, Species) using CLIP similarities.
  • Grasp (Embodied Robotic Manipulation): Simulated Franka Emika Panda arm grasping a heavy paper bag off a shelf, evaluated on physical stability (joint torque). Also evaluated for few-shot generalization in an environment with visual distractors and new bag placements.

Key Insights and Ideas

  • Contrastive Prompting is Essential: Using only successful trajectories causes the LLM to hallucinate spurious correlations (e.g., describing poetic background moods instead of object features). Contrasting high- vs. low-reward rollouts isolates causal features.
  • Language as a Regularizer, Not an Executor: Pure LLM agents completely failed in the maze (0% success rate) because long-horizon path execution requires stateful reinforcement. PLLB uses language as a regularizing prior while letting RL handle low-level execution.
  • Human Interpretability Without Supervision: In under-constrained games with many mathematically optimal policies, standard RL converges to arbitrary policies. PLLB naturally converges toward human-aligned conventions without human demonstration data.
  • Bidirectional Human Transfer: The rules synthesized by PLLB are not just internal agent scaffolding—they can be handed directly to human participants to improve human learning speed.

Key Results

  • Sample Efficiency & Adaptation: In Maze, PLLB matched tabular Q-learning speed on standard tasks, generalized faster to novel mazes sharing the same color grammar, and rapidly adapted when color meanings were inverted (where linear function approximators overfit and failed).
  • Robotic Grasping: In Grasp, PLLB converged to lower torques (better pickup stability) faster than vanilla RL and an Oracle zero-shot VLM. It effectively learned a counter-intuitive policy (grasping bag sides/bottoms rather than handles to prevent tearing) and generalized better to new visual scenes.
  • Human Collaboration Studies:
  • Maze: University students given PLLB rules navigated new mazes in significantly fewer steps than those provided full visual policy maps or no assistance ($p < 0.05$).
  • Builder: Human listeners reconstructed images significantly faster and more accurately using instructions from PLLB-guided speakers than baseline speakers ($p < 0.05$).
  • Birds: Human speakers supplied with PLLB rules produced descriptions that yielded substantially higher image reconstruction CLIP scores across species, colors, and backgrounds.

Limitations and Future Work

  • Trajectory Serialization: Converting complex, continuous sensorimotor trajectories into textual or visual prompts for the rule-generator remains difficult for high-frequency control tasks.
  • Prompt and VLM Sensitivities: Most open-source VLMs struggled with spatial keypoint coordinates (requiring specialized models like Molmo-7B trained on 2D points).
  • Over-Abstraction & Trust: LLMs occasionally output overly abstract or vacuous rules ("convey the mood"), which could pose risks in safety-critical domains if human operators place misplaced trust in auto-generated policies.
  • Future Directions: Incorporating intelligent episode sampling (to filter noise in stochastic environments) and extending PLLB to open-ended continuous tasks (like code synthesis or math) where rules could act as verifiers or re-ranking heuristics.

Summary updated

BibTeX
@article{srivastava2025policy,
  author = {Megha Srivastava and Cédric Colas and Dorsa Sadigh and Jacob Andreas},
  title = {{Policy Learning with a Language Bottleneck}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=sK8uEqzQPv},
}
Figure