- A Challenge
Abstract
In this paper, we introduce the problem of denoting and deriving the complexity of workflows (plans, schedules) in collaborative, planner-assisted settings where humans and agents are trying to jointly solve a task. The interactions -- and hence the workflows that connect the human and the agents -- may differ according to the domain and the kind of agents. We adapt insights from prior work in human-agent teaming and workflow analysis to suggest metrics for workflow complexity. The main motivation behind this work is to highlight metrics for human comprehensibility of plans and schedules. The planning community has seen its fair share of work on the synthesis of plans that take diversity into account -- what value do such plans hold if their generation is not guided at least in part by metrics that reflect the ease of engaging with and using those plans?
Introduction
As we transition toward a world of "app-centric" service platforms, humans increasingly interact with automated agents to complete complex tasks, such as booking multi-city travel, scheduling team meetings, or managing medical treatments. While the AI planning community has spent decades perfecting how agents synthesize plans, these plans are often treated as mathematical artifacts disconnected from the human users who must execute them.
A plan might be mathematically optimal in terms of cost or time but nightmarishly complex for a human to follow due to intricate dependencies, high communication overhead, or heavy memory load. Currently, there is no standardized way to rank plans based on their "human-friendliness" or interaction complexity. This paper issues a challenge to the AI planning community: we must develop formal metrics to measure how complex a workflow is for a human to understand and execute.
A Framework for Workflow Complexity
To address this gap, we propose a framework for measuring complexity by adapting eight metrics from two distinct fields: Human-Robot Interaction (HRI) and IT Configuration Management. These metrics are categorized into two primary groups:
1. Interaction Issues (The "Human-in-the-loop" Tax)
These metrics focus on the demands placed on the human during the execution of the plan:
- Neglect Tolerance (NT): The duration an agent can work autonomously before human intervention is required.
- Interaction Time (IT): The time spent specifically on communication and coordination.
- Attention Demand (AD): The mental bandwidth required by the agent from the human.
- Fan Out (FO): The number of different agents a single human must manage.
- Compliance (Com): The degree to which an agent's actions clearly signal its intentions to the human.
2. Workflow Structure (The "Plan" Tax)
These metrics focus on the inherent structural complexity of the plan itself:
- Execution Complexity (EC): The total number of actions and context switches required.
- Parameter Complexity (PC): The number of variables (e.g., dates, locations, prices) involved in actions.
- Memory Complexity (MC): The volume of configuration values a human must remember throughout the workflow.
Domain-Specific Complexity Footprints
A key insight of this framework is that complexity is context-dependent. A "high" score in a specific metric is not universally negative; rather, different domains have different "natural" profiles or complexity footprints. For example, high Neglect Tolerance is desirable for a space rover but potentially dangerous in a medical surgery assistant where constant confirmation is preferred.
As shown in the comparative analysis above, Travel Booking is characterized by high Interaction Time and Attention Demand due to tight dependencies between flights, hotels, and local transport (as illustrated in Figure 1). In contrast, Medical Treatment requires high Neglect Tolerance—allowing agents to follow standard protocols—but imposes high Memory Complexity due to the vast amount of patient data and regulatory constraints involved.
Conclusion and Future Work
This framework serves as a starting point for moving beyond "black box" planning. For a plan to be truly useful in a collaborative setting, it must be comprehensible. Future research must focus on three areas:
- Quantification: Developing mathematical formulas to calculate these metrics directly from plan structures.
- Planner Integration: Building new planners that use these metrics as heuristics during the search process rather than just as post-processing filters.
- Validation: Conducting human-subject studies to verify if plans with lower complexity scores actually improve user performance and trust.
By guiding plan generation with metrics that reflect the ease of human engagement, we can ensure that automated planning remains relevant in increasingly human-centric environments.
Summary updated