Learning Task Specifications from Demonstrations as Probabilistic Automata
Mattijs Baert, Sam Leroux, Pieter Simoens
TL;DR
Problem: robustly specifying long-horizon robotic tasks from unstructured demonstrations is challenging for traditional LfD approaches. Approach: extract frequent sub-goals, build a Probabilistic Deterministic Finite Automaton (PDFA) that encodes valid sub-goal sequences and demonstrator preferences, and use it for planning with a low-level controller. Contributions: an efficient pipeline for sub-goal inference via clustering, PDFA construction from demonstration traces, and planning that adapts to missing or changing conditions; validated on object manipulation with a real robot and on simulated drone and arm tasks. Impact: provides an interpretable, online-planning task specification that accommodates diverse demonstrations and long-horizon tasks.
Abstract
Specifying tasks for robotic systems traditionally requires coding expertise, deep domain knowledge, and significant time investment. While learning from demonstration offers a promising alternative, existing methods often struggle with tasks of longer horizons. To address this limitation, we introduce a computationally efficient approach for learning probabilistic deterministic finite automata (PDFA) that capture task structures and expert preferences directly from demonstrations. Our approach infers sub-goals and their temporal dependencies, producing an interpretable task specification that domain experts can easily understand and adjust. We validate our method through experiments involving object manipulation tasks, showcasing how our method enables a robot arm to effectively replicate diverse expert strategies while adapting to changing conditions.
