Dynamic Human-Robot Role Allocation through Entropy-Based Monitoring and LLM Reasoning
Authors: Elena Merlo, Marta Lagomarsino, Hamidreza Raei, Arash Ajoudani
Organizations: Human-Robot Interfaces and Interaction, Istituto Italiano di Tecnologia, Genoa, Italy · Department of Electronics, Information and Bioengineering, Politecnico di Milano, Milan, Italy
Role allocation strategies in human-robot collaboration typically assign tasks to both the human and the robot, limiting the user's ability to take initiative. Furthermore, allocation decisions may conflict with the user's intentions, and the rationale behind such allocations may remain unclear, potentially reducing both acceptance and collaboration fluency. The novelty of the proposed framework is that the human is left free to contribute to the task, while the robot is dynamically allocated activities through a cost-driven Behavior Tree architecture according to user-expressed preferences and behavior. Explicit preferences are extracted from natural language instructions using a large language model, whereas human activity is monitored online through a Shannon entropy-based analysis of hand-object interactions. Furthermore, the framework can recognize anomalies in human execution and autonomously trigger corrective robot actions. The approach was validated through a pilot study and a multi-subject experiment involving 14 participants. Results demonstrate the potential of such an allocation strategy for enabling intuitive and engaging collaboration without increasing the perceived workload.
Figures & tables
Fig. 1: Overview of the proposed framework: LLM-interpreted user preferences, human factor monitoring, human activity identification, and task constraints inspection are integrated to form a cost vector c used by the designed Cost-Based Fallback node (symbol ?c ) in a Behavior Tree, enabling the user to act freely while the robot adapts accordingly selecting the activity Ai to execute. The costs deriving from the orange modules encode which are the available activities, while those from the yellow modules indicate which ones to prioritize.
Fig. 2: Example of how the cost vectors are combined to select the activity to be allocated to the robot. To enable the Fallback logic to operate correctly, the activity highlighted in green is placed at the top of the children node list, whereas the activities highlighted in red are placed at the bottom.
Fig. 3: Experimental setup used for testing the proposed framework.
Fig. 4: Final assembly in the multi-subject experiment. The stars on top indicate the pivotal pieces.
Fig. 5: Pilot experiment results demonstrating the main functionalities of the proposed framework. The central timeline reports the activities executed by the human (H) and the robot (R), together with the evolution of the task status, visualized through the Tangram silhouette and the color changes of its pieces, and the explicitly asked preferences shown in the balloons. (Upper-left) Online computation of the entropy-based interaction measures used for activity segmentation and recognition. (Upper-middle) Hand-object distance estimates used to compute the distance-based costs. (Upper-right) Detection and correction of an incorrectly executed activity. (Bottom) Snapshots acquired from the overhead camera.
Fig. 6: (Left) Custom questionnaire items rated by the participants for conditions A and B. Boxes indicate the interquartile range, the red line the median, and black dots with error bars the mean ± SD. Diamond markers denote outliers. Asterisks indicate significant differences based on paired two-sided Wilcoxon signed-rank tests ( ∗p<0.05 , ∗∗p<0.01 , ∗∗∗p<0.001 ). (Middle) NASA-TLX results comparing A and B: Mental Demand (MD), Physical Demand (PD), Temporal Demand (TD), Performance (P), Effort (E), and Frustration (F). (Right) Execution and idle time in the two conditions.
Subj.
Ord.
Pref.
Why
1
BA
A
I was in charge and the robot followed what I said.
2
AB
A
More enjoyable task division and piece selection.
3
BA
–
–
4
AB
A
It was faster to finish the task.
5
BA
A
I was in control.
6
BA
A
Better robot understanding and collaboration.
TABLE I: Preferred condition and subjects’ motivations.
Fig. 7: Activities executed across participants under the two experimental conditions, either assigned (condition B) or chosen (condition A). Each row represents one participant, and each square corresponds to one of the 14 task activities. Grey squares denote robot-completed activities, while each colored square is the exact human-moved piece (solid: man silhouette; hatched: tree silhouette). Squares are ordered by activity start time. The figure highlights the greater variability of human behavior in condition A compared to condition B.
Smart Manufacturing Thrust, System Hub, The Hong Kong University of Science and Technology (Guangzhou), Guangzhou, China · College of Future Technology, The Hong Kong University of Science and Technology (Guangzhou), Guangzhou, China
Department of Cognitive Robotics, Faculty of Mechanical Engineering, Delft University of Technology, 2628 CD Delft, The Netherlands · Department of Sustainable Design Engineering, Faculty of Industrial Design Engineering, Delft University of Technology, 2628 CD Delft, The Netherlands