TaPeR: Probabilistic Recovery of Sparse Task Precedence Graphs from a Handful of Demonstrations
Organizations: Department of Computer Science, University of Freiburg, Germany · Czech Institute of Informatics, Robotics, and Cybernetics, Czech Technical University, Czech Republic
Abstract
Long-horizon manipulation tasks are often only partially ordered. For example, when assembling an electronic device, the battery and circuit board may be installed in either order, but both must be in place before the enclosure is closed. Recovering such dependencies enables robots to flexibly reorder subtasks while preserving task validity. Existing approaches typically infer task structure from human demonstrations using both temporal and symbolic supervision. However, symbolic predicates require explicit grounding, which is difficult to obtain in realistic settings. In this work, we present an approach for extracting task dependency structures from demonstrations using only simple kinematic graphs and distributions over relative object poses. From these representations, our method estimates pairwise task-step-dependency probabilities and uses them to initialize the edge weights of a precedence graph. We then introduce a filtering pipeline that converts this graph of probability estimates into the final task dependency graph. We evaluate our approach on an existing benchmark and on a new dataset comprising longer tasks with more complex dependencies. We find that our method recovers more accurate task structures from fewer demonstrations than the baselines. Finally, we demonstrate that the inferred graphs can be used to generate multiple valid robotic execution orders for the same task.
Figures & tables
| Event Mismatch Chance | ||||||
| Dataset | Config | |||||
| HANDSOME- COMPLEX | TaPeR | 0.95 | -0.01 | -0.03 | -0.05 | -0.07 |
| Counter- Example | 0.95 | -0.02 | -0.07 | -0.15 | -0.20 | |
| HANDSOME- COMPLEX- BIASED | TaPeR | 0.92 | -0.00 | -0.02 | -0.04 | -0.06 |
| Counter- Example | 0.82 | -0.01 | -0.04 | -0.10 | -0.14 | |
| HANDSOME | TaPeR | 0.99 | -0.00 | -0.00 | -0.00 | -0.01 |
| Dataset | Config | 2 | 3 | 5 | 7 |
| HANDSOME- COMPLEX | Topological ( ) | -3.6% | -3.7% | -2.6% | -1.7% |
| Spatial ( ) | -3.8% | -3.4% | -2.5% | -1.4% | |
| Combined | 4.3 % | 0.8 % | 2.5 % | 3.5 % | |
| HANDSOME- COMPLEX- BIASED | Topological ( ) | -1.5% | 1.0% | 0.9% | -0.9% |
| Spatial ( ) | -1.5% | -0.8% | 2.6% | 3.0% | |
| Combined | 11.3 % | 10.9 % | 14.0 % | 13.3 % |
| Dataset | |||
| Pipeline Stages | H-C | H-CB | H |
| Low probabilities +Cycle removal | 0.81 | 0.76 | 0.99 |
| +Contrastive Pruning | +0.10 | +0.11 | +0.00 |
| +Transitive Reduction | +0.13 | 0.15 | +0.00 |
| +Annealing | -0.02 | -0.00 | -0.01 |
| +Annealing +Transitive Reduction | +0.14 | 0.16 | +0.00 |
Learning from Demonstration
Learning from Demonstration teaches agents and robots new behaviors by extracting actions, goals, and task structure from examples.
See all 144 papers