Learning What’s Missing: Failure-Driven Skill Discovery via Predicate Bridges

Yanwen Liu, Wendi Ren, Haozhou Gao, Shuang LiCompLearn @ ICML 2026

TL;DR

Most AI agents fail because they lack specific skills, not because they can't plan. This paper introduces Predicate Bridge Discovery (PBD), a framework that uses planning failures as a precise "to-do list" for learning. By identifying the exact symbolic gap between what an agent can do and what a task requires, PBD allows agents to autonomously learn, validate, and add new reusable skills to their library.

What Problem Does This Paper Address?

In the world of embodied AI, we usually see two extremes. On one side, symbolic planners are great at logic but assume the agent already has a fixed library of perfect skills (like "pick up" or "unlock"). If a skill is missing, the planner just gives up. On the other side, Reinforcement Learning (RL) can learn new behaviors from scratch, but it often struggles with "long-horizon" tasks—it’s like trying to learn how to bake a cake by vibrating randomly until a cake appears.

The authors identify a critical middle ground: How does an agent know what it needs to learn when it fails? Current skill discovery methods often learn behaviors based on "intrinsic curiosity," which might result in an agent that is very good at spinning in circles but still can't open a door. This paper argues that failure itself provides the best supervision for learning.

Methods

The core of the paper is Predicate Bridge Discovery (PBD). The process follows a clever "sandwich" logic:

  1. Predicate Programming: Using a Large Language Model (LLM) as a translator, the agent converts a natural language instruction (e.g., "Go to the red key") into a symbolic program tree of predicates (logical statements like At(key) or Holding(key)).
  2. Bidirectional Reasoning:
    • Forward Reasoning: The agent looks at its current skill library and asks, "What states can I actually reach from here?"
    • Backward Reasoning: The agent looks at the goal and asks, "What conditions must be true to finish this?"
  3. The Bridge Gap: Where these two paths fail to meet is the bridge predicate. This is the "minimal missing capability" that blocks the plan.
  4. Skill Learning & Factorization: Instead of trying to relearn the whole task, the agent creates a "skill template." It turns a specific failure (e.g., "I can't open this blue door") into a general goal ("I need to learn how to OpenDoor(x)").
  5. Validation: The agent trains a low-level policy (using PPO) to achieve that specific predicate. Crucially, the skill is only added to the permanent library if it passes a "reliability gate"—succeeding across many different object instances and environments.

Datasets

The authors evaluated PBD on two popular benchmarks for compositional AI:

  • BabyAI: A gridworld environment that requires following complex, nested instructions (e.g., "put a red ball next to the green box after you open the door").
  • MiniHack: A more "hardcore" environment based on the game NetHack. It features complex dynamics like using tools, crossing lava, and fighting monsters, which require much more diverse skills than simple grid navigation.

The researchers used a curriculum-based approach, starting the agent in simple rooms to learn basic "bridge" skills before moving it into "Boss Levels" that required composing multiple learned skills.

Key Insights and Ideas

  • Failure as a Specification: The most powerful idea here is that failure isn't a dead end; it’s a precise mathematical definition of a missing skill. By localizing the "bridge gap," the agent avoids the "curse of dimensionality" in RL.
  • Symbolic-Neural Synergy: The paper uses symbolic logic to decide what to learn and neural RL to decide how to move. This bypasses the need for a perfect world model.
  • Generalization through Templates: By replacing concrete objects with variables (e.g., obj_7 becomes x), the agent ensures that a skill learned to solve one failure becomes a tool that can solve thousands of future tasks.
  • The Reliability Gate: By requiring a 90% success rate across different "bindings" before a skill is "promoted" to the library, PBD prevents the library from being cluttered with "one-off" hacks or unreliable behaviors.

Key Results

  • Superior Success Rates: In BabyAI's most difficult "Boss Levels," PBD achieved success rates of 67-78%, whereas standard RL and Imitation Learning (IL) often hovered near 0-30%.
  • Sample Efficiency: PBD is significantly more efficient than flat RL. Because it focuses its "brainpower" on learning tiny, specific sub-tasks (the bridges) rather than the whole long-horizon mission, it reaches higher success with fewer environment interactions.
  • Zero-Shot Composition: Once the library is built, the agent can solve entirely new, complex tasks without further training, simply by "plugging in" the skills it discovered during previous failures.

Limitations and Future Work

  • Fixed Vocabulary: PBD currently relies on a predefined set of predicates (the "language" the agent speaks). It can't currently "invent" a brand-new concept that isn't already in its vocabulary.
  • Predicate Grounding: While the authors showed that PBD can work with learned classifiers (instead of "cheating" by looking at the simulator code), scaling this to messy, real-world visual data (like a robot in a kitchen) remains a challenge.
  • LLM Dependency: The framework relies on an LLM to generate the initial predicate program. If the LLM misinterprets the instruction, the "bridge" identified might be logically sound but practically useless for the user's actual goal.

Future work aims to extend this to noisier perceptual settings and explore how agents might "evolve" their own predicate abstractions over time.

Summary updated

BibTeX
@inproceedings{liu2026learning,
  author = {Yanwen Liu and Wendi Ren and Haozhou Gao and Shuang Li},
  title = {{Learning What’s Missing: Failure-Driven Skill Discovery via Predicate Bridges}},
  booktitle = {CompLearn @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=QHBbqj8vNx},
}
Figure