[Paper Review] Petri Net Machines for Human-Agent Interaction
This paper introduces Petri Net Machines (PNMs), a formal framework for building deterministic finite state machines using Petri Nets to enable reliable, concurrent execution of human-agent interaction tasks. It demonstrates that PNMs support interleaved task execution, natural language interaction, and ROS integration, with successful real-world deployment in a Finnish shopping mall where a robot gave directions while handling interruptions and social chat.
Smart speakers and robots become ever more prevalent in our daily lives. These agents are able to execute a wide range of tasks and actions and, therefore, need systems to control their execution. Current state-of-the-art such as (deep) reinforcement learning, however, requires vast amounts of data for training which is often hard to come by when interacting with humans. To overcome this issue, most systems still rely on Finite State Machines. We introduce Petri Net Machines which present a formal definition for state machines based on Petri Nets that are able to execute concurrent actions reliably, execute and interleave several plans at the same time, and provide an easy to use modelling language. We show their workings based on the example of Human-Robot Interaction in a shopping mall.
Motivation & Objective
- Address the limitations of traditional Finite State Machines (FSMs) in modeling complex, concurrent human-agent interactions.
- Overcome data-hungry training requirements of reinforcement learning in human-agent interaction by providing a knowledge-driven, expert-annotated alternative.
- Enable reliable execution of interleaved physical and dialogue actions (e.g., pointing, speaking, confirming understanding) in social robots.
- Provide a formal, verifiable, and extensible modeling language for state machines that supports concurrency, loops, and recovery behaviors.
- Develop a system natively compatible with ROS and action servers, offering a practical alternative to SMACH and similar frameworks.
Proposed method
- Model interaction logic using a domain-specific markup language based on YAML and PDDL-style syntax for defining actions, preconditions, and effects.
- Implement a formal Petri Net-based execution engine that guarantees no unreachable states and supports concurrent execution of multiple Petri Net Machines (PNMs).
- Integrate with ROS action servers to enable seamless interaction with robotic systems and external knowledge bases during execution.
- Automatically generate recovery behaviors and checks based on action preconditions and postconditions to improve robustness.
- Support task interruption and resumption, allowing dialogue or new tasks to be interleaved with ongoing physical tasks.
- Use a hybrid execution model where social dialogue is managed by an external system, while physical task execution is orchestrated by the PNM.
Experimental results
Research questions
- RQ1Can Petri Net Machines reliably model and execute concurrent physical and dialogue actions in human-robot interaction?
- RQ2How effectively can PNMs handle task interruption and resumption during human-agent interactions, especially when interleaving social chat?
- RQ3To what extent does the PNM framework outperform existing FSM-based systems like SMACH in expressiveness, concurrency, and maintainability?
- RQ4Can the PNM’s modeling language be used effectively without requiring low-level programming, enabling non-expert developers to build complex interaction behaviors?
- RQ5How does the system perform in real-world, uncontrolled environments such as public shopping malls?
Key findings
- In all 5 customer interactions and developer tests, the system correctly triggered, paused, and resumed the intended task after interruptions, demonstrating robust task resumption.
- The system successfully coordinated concurrent actions—such as verbal description, pointing, and eye gaze—during route-giving, maintaining temporal and semantic coherence.
- The PNM framework enabled seamless interleaving of dialogue tasks (e.g., discussing favorite books) with physical tasks (e.g., giving directions), with no loss of task state.
- The system automatically generated recovery behaviors based on action preconditions and effects, improving execution stability without manual coding.
- The use of a YAML-based markup language allowed for intuitive, human-readable specification of state machines without requiring deep programming expertise.
- Observational data from a 5-day deployment in a Finnish shopping mall confirmed that the PNM executed tasks correctly under real-world conditions, including user-initiated interruptions and dynamic input.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.