NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Generalized Inverse Planning: Learning Lifted non-Markovian Utility for Generalizable Task Representation

Sirui Xie, Feng Gao, Song-Chun ZhuarXiv 2020

Abstract

Standard Inverse Reinforcement Learning (IRL) often fails to generalize because it ties rewards to specific environments and assumes tasks are Markovian. This paper introduces Generalized Inverse Planning (GIP), a framework that learns "lifted" (abstract) and non-Markovian (sequence-dependent) utility functions. By matching the ordinal statistics of human demonstrations rather than just mean feature counts, GIP allows robots to transfer complex skills—such as cloth folding—across environments with different layouts or object structures. We propose Maximum Entropy Inverse Planning (MEIP) to solve the GIP problem and demonstrate its robustness against probability shifts and structural changes.

Introduction: The Generalization Gap in IRL

Imagine teaching a robot to fold a T-shirt. Using standard IRL, the robot learns a reward function based on specific coordinates or state counts. However, when presented with a hoodie or a sweater, the "state" changes—there are more edges, a hood, and different proportions. Standard IRL typically fails in these scenarios because its rewards are Markovian (dependent only on the current state) and grounded (tied to specific objects or coordinates).

The authors identify two major hurdles for generalizable task representation:

  1. Probability Shifts: If the environment dynamics change (e.g., a "slippery" floor), a fixed Markovian reward might no longer incentivize the correct behavior.
  2. Structural Changes: Many tasks are defined by a sequence of relations (e.g., "fold sleeves before the body"). If the underlying object structure changes, a coordinate-based reward system breaks down.
Figure 1: (a) A non-Markovian MDP where the optimal path depends on history. (b) Generalizing folding logic from a T-shirt to a sweater requires abstract, non-Markovian utility.

Methods: Maximum Entropy Inverse Planning (MEIP)

The proposed MEIP framework addresses the GIP problem through three core pillars:

1. Non-Markovian Utility

Instead of a simple reward for being in a state, utility is defined by the order of events. The framework uses Kendall rank correlation to match the "ordinal statistics" of demonstrations. This ensures the robot learns the correct sequence of operations, making it robust to environmental noise that might affect state visitation frequencies but not the relative order of task milestones.

2. Lifted Representation

To decouple rewards from specific instances, the authors use First-Order Logic (FOL). Rather than tracking specific vertex coordinates, the model learns abstract concepts like "Sleeves are parallel." This "lifts" the utility from specific instances to general classes of objects, enabling transfer between items with different topologies.

3. Concept Pursuit

The model employs a nested optimization loop. An "inner loop" uses a Ranking SVM to learn numerical utility parameters, while an "outer loop" greedily searches through a library of logical concepts (predicates and functions) to find the most descriptive representation of the task.

For execution, the agent uses Monte Carlo Tree Search (MCTS) to deliberate and plan in new, unseen environments based on the learned utility.

Experimental Evaluation

The framework was evaluated across three domains:

  • Didactic MDP: A synthetic grid-world designed to test robustness to "probability shifts" in transition dynamics.
  • Ritual Learning: A task requiring an agent to collect items in a specific order, testing the ability to handle "structural changes" in the number of available items.
  • Cloth Folding: A high-fidelity simulation where the model was trained on T-shirt folding and tested on hoodies and sweaters—objects with significantly different vertex counts and geometries.

Results

MEIP demonstrated significant advantages over the baseline MaxEnt-IRL:

  • Robustness to Probability Shift: In the didactic MDP, MEIP maintained a 100% success rate despite increased transition noise, whereas MaxEnt-IRL’s performance degraded as its fixed reward values became obsolete.
  • Sequence Accuracy: In the Ritual task, MEIP achieved a Kendall $\tau$ (ordering accuracy) of ~0.96, compared to ~0.40-0.45 for MaxEnt-IRL. This confirms that mean-matching is insufficient for capturing temporal dependencies.
Figure 6: Comparison of MEIP and MaxEnt-IRL across (a) Ritual Learning and (b) another sequential task. MEIP consistently matches the demonstrator's ordering (Kendall Tau) far better than the baseline.

Discussion and Future Work

While MEIP offers a powerful path toward generalizable robotics, it currently relies on a predefined library of logical primitives. Future work involves learning these primitives directly from raw sensory data. Additionally, extending the MCTS-based planning from discrete to continuous, high-dimensional control spaces remains a key challenge for real-world soft-body manipulation.

Summary updated

BibTeX
@misc{xie2020generalized,
  author = {Sirui Xie and Feng Gao and Song-Chun Zhu},
  title = {{Generalized Inverse Planning: Learning Lifted non-Markovian Utility for Generalizable Task Representation}},
  year = {2020},
  eprint = {2011.09854},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.09854},
}
Figure