betaFeedback

WorksComputer Science

Can I join you? Extended Social Force Based Model with Predictive Control and Barrier Functions for Humanoid Group Repositioning Amidst Obstacles

Abstract

As social and service robots increasingly share interaction spaces in public, they may form groups while coordinating tasks or interacting with humans. Initial group formation alone is insufficient in dynamic settings, because it can be disrupted when a person or another agent joins, leaves, or passes through the group. Although group dynamics and repositioning have been widely studied in swarm robotics and virtual-agent settings, little attention has been given to socially appropriate repositioning behaviors in groups of humanoid robots. Existing social-force-based approaches provide a useful foundation for group behavior, but they have limited obstacle handling, and can produce unsafe behavior as environmental complexity increases. We propose a novel framework that modulates traditional Social Force, guided by Model Predictive Control (MPC) to plan ahead, bounded by Control Barrier Functions (CBF) to increase safety for robot groups repositioning behaviors. This approach aims to produce safer and socially aware group repositioning behaviors under various group formation disturbance. We evaluate the method in simulation through an ablation study and an online user study. The results show that our proposed method can produce smoother and safer repositioning behaviors in complex environments while preserving social appropriateness.

Snapshots of four Gazebo Fortress layouts

Figure 1. Snapshots of four Gazebo Fortress layouts: empty space, crowded room, elevator, and hallway. The white robot groups reposition themselves as the yellow robot approaches along the dashed trajectory.

Introduction

Group repositioning is common in everyday social interactions. We may need to join or leave colleagues who are chatting in an office or navigate through crowded poster sessions at a conference. Similar situations can also arise in human–robot group interactions, for example when a person enters an elevator occupied by a group of delivery robots or approaches a group of tour-guide robots while traveling. In these situations, existing group members may need to reposition themselves to acknowledge the newcomer, provide access to the shared interaction space, or allow the person to pass through comfortably. When existing group members fail to acknowledge and accommodate a newcomer’s joining or leaving behavior, additional time and effort may be required for the newcomer to engage with the group, while the remaining members may struggle to maintain an appropriate group formation. A lack of adaptive proxemic behavior may also be perceived as passive-aggressive toward a passerby and make navigation through the shared space uncomfortable. As humanoid robots become more widely deployed in real-world environments, improving the repositioning behavior of existing robot group members is important for enabling smooth and natural group interactions.

The Social Force Field Model (SFFM) [1] was proposed in 2008 for free-standing conversational virtual agents in obstacle-free environments. SFFM succeeds in static group formation contexts, suggesting it’s better suited to maintaining a formation once established than to producing naturalistic, adaptive dynamics [2]. Nevertheless, it still lacks the capability to maintain appropriate group formation during real-world interaction. Gao et al. [2] applied SFFM in robot group joining study, demonstrating its potential to translate from virtual agents setting to physical robot deployment. However, transferring SFFM from virtual agents to physical robot groups introduces additional safety concerns. Robots deployed in real environments rarely operate in obstacle-free spaces, and collisions involving physical robots can be expensive. In this study, we propose an Extended Social Force Field Model (ESFFM) that not only produces initial static group formation, but also adapts to disturbances in group formation.

When a social-force-inspired controller is used alone for group repositioning, force cancellation cannot be prevented, and complex environments can increase the likelihood of unsafe proxemic behavior. Therefore, we introduce receding-horizon prediction to optimize group repositioning behavior over a longer interaction horizon, together with barrier functions that provide an additional safety mechanism. While barrier functions provide an additional safety filter, they do not themselves encode social context. This motivates our framework, which combines social-force-inspired optimization with barrier-function-based safety constraints to produce safer and more natural group dynamics for social humanoids.

In this paper, we focus on modeling the adaptive behavior of existing robot group members when the group formation is disturbed by joining, leaving, or passing-by behaviors. Compared with prior work on virtual-agent group dynamics, we translate group-repositioning behavior to social robot settings and evaluate it across a variety of environments. The major contributions of this paper are summarized as follows:

  1. An obstacle-aware Extended Social Force Field Model (ESFFM) for adaptive robot-group repositioning under interaction disturbances.

  1. A receding-horizon controller that optimizes ESFFM behavior over a finite horizon to reduce unnecessary motion.

  1. An ESFFM-based predictive controller with barrier-function safety filtering that enables safer robot-group repositioning across varied environments while preserving social appropriateness.

F-formation and Group Reformation

Kendon’s concept of F-formation [3] provides a useful lens for analyzing group dynamics. An F-formation describes the spatial patterns formed during face-to-face interactions. Human F-formation is often studied in robot social navigation [4] or group joining [5], [6], {citep}[7], and with virtual avatars {citep}[8]`.

The Social Force Model (SFM) [9], originally proposed by Helbing to simulate pedestrian behavior, has been widely studied and incorporated into social-navigation simulation platforms for modeling human motion in robot navigation tasks [10], [11], [12]. Beyond modeling individual humans in crowd navigation, this physics-based model has also been extended to group navigation [13], [14]. Pedica and Vilhjálmsson [1] applied force-field rules to maintain F-formations among conversational agents by introducing equality and cohesion forces within the group. Kuzuoka et al. [15] studied how a robot’s rotational behavior could lead people to reconfigure their F-formation arrangement. Yang et al. [16] studied robot joining behaviors that can either disturb or maintain the F-formation of a human group. Despite the aforementioned work on maintaining F-formations in virtual agent and human groups, group repositioning behaviors among social humanoids remain understudied.

Model Predictive Control with Social Objectives and Spatial constraints

Socially aware navigation has established the receding-horizon formulation as an effective way for achieving social objectives. The Social Force Model itself has been integrated with model predictive control (MPC) for socially aware navigation in mixed traffic [17]. Trepella et al. [18] applied social cost functions to guide MPC optimization toward human-compliant behaviors with simulated humans. Sacco et al. [19] combined the predictive capability of MPC with the reactivity of the Social Force Model to model pedestrian dynamics. Fiaschè et al. [20] proposed the universal social force model as a prediction model in a parameterized MPC framework. While MPC can enforce hard constraints such as minimal distance from obstacles or actuation limits, these constraints are imposed only at the sampled points of a finite horizon, and can not provide a guarantee of persistent safety.

Control Barrier Functions in Social Navigation

In contrast, control barrier functions (CBF) constrain the rate of change of a safety margin to render the safe set forward invariant. Zeng et al. [21] proposed discrete-time CBF formulation imposed as constraints across the MPC horizon for ego-vehicle driving. Combined MPC-CBF frameworks have also been used to ensure safe and deadlock-free navigation for decentralized multi-robot systems in constrained environments [22], dynamic environments [23], and human-following robot tasks [24].

While effective for safety, CBFs are primarily geometric and do not encode social preferences, motivating hybrid approaches with socially informed controllers. Hence, we propose a group repositioning framework for social humanoids that uses receding-horizon predictive planning with a social-force-inspired nominal controller, further guarded by a CBF to avoid collisions.

Problem Definition

This study focuses on autonomous group reformation behaviors when disturbed by a teleoperated robot’s proxemic behavior. The task is to compute the next state of a target robot si(t+1),i∈[1,…,N]s_i(t+1), i \in[1,\ldots,N] given the current state of all robots s0(t),s1(t),…,sN(t)s_0(t),s_1(t),\ldots,s_N(t), and N+1N+1 is the total number of robots. We set robot 0 as the teleoperated robot for this study, and the rest NN robots are autonomous target robots driven by the group controller.

The teleoperated robot serves as an externally controlled agent whose motion is independent of the proposed framework. Accordingly, this robot is treated as an external disturbance to the robot groups rather than as an agent whose motion is generated by the group controller. At each control step, only its currently observed state is available to the group controller. It can be viewed as a proxy for a human or other agent interacting with the robot groups in real-world settings.

Robot State Representation Each robot state sk(t)s_k(t) contains: 1) spatial position [x,y][x,y], 2) orientation θ\theta, 3) velocity [vx,vy][v_x,v_y] in the global frame, 4) group number gng_n an integer that encodes its group membership, and 5) identity, a binary code 0/1 indicating if the robot is teleoperated or autonomous.

Methods

The goal of this study is to model the naturalistic and safe repositioning behaviors for robot groups in various social environment settings with obstacles. In this section, we will start with the original SFFM, followed by our extended SFFM that adapts to the study environment setup, the MPC optimizer, and the CBF filter.

Overview of the proposed robot-group repositioning framework

Figure 2. Overview of our proposed robot-group repositioning framework. ESFFM generates nominal accelerations from observed robot and environment states, which are refined by MPC and filtered by CBF. Safe accelerations are applied only to autonomous robots, and the teleoperated robot acts as an external disturbance.

Social Force Field Model

SFFM was originally designed for group dynamics modeling in virtual-avatar settings. The original model is composed of three forces: repulsive force, equality force and cohesion force that influence the positioning and orientation of each group members. The forces are:

Frepulsive=−(Δp−dmin⁡)2R∥R∥(1)F^{\mathrm{repulsive}} = -(\Delta_p-d_{\min})^2\frac{R}{\lVert R\rVert} \tag*{(1)}
Fequality=(1−m∣c−r∣)(c−r)(2)F^{\mathrm{equality}} = \left(1-\frac{m}{\lvert c-r\rvert}\right)(c-r) \tag*{(2)}
Fcohesion=α(1−s∥o−r∥)(o−r)(3)F^{\mathrm{cohesion}} = \alpha\left(1-\frac{s}{\lVert o-r\rVert}\right)(o-r) \tag*{(3)}

with the associated reorientation terms

Dequality=∑kNs(rk−r),Dcohesion=∑kNa(rk−r)(4)D^{\mathrm{equality}}=\sum_{k}^{N_s}(r_k-r),\qquad D^{\mathrm{cohesion}}=\sum_{k}^{N_a}(r_k-r) \tag*{(4)}

where rr is the avatar position, oo is the conversation center, ss is the o-space radius, Δp\Delta_p is the personal distance, and NpN_p, NsN_s, NaN_a are the number of individuals in the avatar’s personal, social and public space respectively. The aggregate RR, group centroid cc, mean member distance mm and cohesion scaling α\alpha are given by Eqs. (5)–(8). And the derived quantities are:

R=∑kNp(rk−r)(5)R=\sum_{k}^{N_p}(r_k-r) \tag*{(5)}
c=1Ns+1(r+∑kNsrk)(6)c=\frac{1}{N_s+1}\left(r+\sum_{k}^{N_s}r_k\right) \tag*{(6)}
m=∥r−c∥Ns+1∑kNs∥rk−c∥(7)m=\frac{\lVert r-c\rVert}{N_s+1}\sum_{k}^{N_s}\lVert r_k-c\rVert \tag*{(7)}
α=NaNs+1(8)\alpha=\frac{N_a}{N_s+1} \tag*{(8)}

Extended Social Force Field Model

Despite its effectiveness, SFFM has several limitations when applied to physical robot groups. First, SFFM was originally designed for free-standing conversational groups in open, obstacle-free environments. Translating this setting from virtual-agent scenarios to real-world robot deployment is challenging because physical robots rarely operate in such unconstrained spaces. Second, SFFM lacks a global anchor for each conversational group. A passing robot that displaces one group member can consequently cause the entire group to drift away from its initial gathering position, with no mechanism for recovering that position after the disturbance. Third, the repulsive force formulation can be trapped in a local minimum. For example, when one robot is 0.2 m ahead and three robots are 1.0 m behind, the centroid of the neighboring robots lies behind the target robot. The resulting repulsive force will drive the robot forward toward its nearest neighbor, while the force magnitude increases as dmin⁡d_{\min} decreases, potentially pinning the robot against the agent it should be avoiding. Fourth, Helbing’s original SFM [9] includes damping behavior through relaxation time parameter in the self-driving force. In contrast, SFFM does not specify an explicit damping mechanism, which can lead to repeated closing-and-opening oscillations within the group when the formation is not initialized near equilibrium or kept balanced after being disturbed. Finally, Pedica and Vilhjálmsson [1] described the outputs of SFFM as motivational forces, without specifying an explicit mapping from these forces to motor control. To establish a comparable baseline for physical robot deployment, we first introduce the Extended Social Force Field Model (ESFFM) to address these limitations and then define the corresponding system dynamics.

The key extensions introduced in ESFFM are:

  1. a linear obstacle-repulsive force (9) based on the distance between each autonomous robot and nearby obstacles;

  1. a quadratic driving force Eq. (10) that attracts group members toward a global group center, mitigating group drift and limiting disruptive displacement of the group as a whole;

  1. a pairwise robot–robot repulsive force Eq. (11) with a linear force magnitude, replacing the original quadratic formulation to reduce repulsive-force overshoot and improve stability in interpersonal spacing; and

  1. a linear velocity-decay rate γ\gamma Eq. (12c) that stabilizes motion, reduces oscillations, and produces more naturalistic repositioning behavior.

The forces acting on a single autonomous roboti_i are thus:

Fobs=∑o∈Omax⁡(0,dth+rinflate−dio)nio(9)F^{\mathrm{obs}} = \sum_{o \in\mathcal{O}} \max\left(0, d_{\mathrm{th}} + r_{\mathrm{inflate}} - d_{io}\right)\mathbf{n}_{io} \tag*{(9)}
Fdriving=∥ci−ri∥2ci−ri∥ci−ri∥+ε(10)F^{\mathrm{driving}} = \left\|c_i-r_i\right\|^2 \frac{c_i-r_i}{\left\|c_i-r_i\right\|+\varepsilon} \tag*{(10)}
Frepulsion=−∑kNp(Δi,k−di,k)rk−ri∥rk−ri∥(11)F^{\mathrm{repulsion}} = -\sum_{k}^{N_p}\left(\Delta_{i,k}-d_{i,k}\right)\frac{r_k-r_i}{\left\|r_k-r_i\right\|} \tag*{(11)}

where dthd_{\mathrm{th}} denotes the activation-distance threshold of the obstacle-repulsive force, rinflater_{\mathrm{inflate}} is half the width of the robot, and diod_{io} is the distance between roboti_i and obstacle oo. The unit vector nio\mathbf{n}_{io} points away from obstacle oo. The vector cic_i denotes the global center of the group containing roboti_i. For the pairwise robot–robot repulsion, rk−rir_k-r_i denotes the relative position vector from the target roboti_i to the neighbour robotk_k, and di,kd_{i,k} is the Euclidean distance between them. The desired personal distance between the target roboti_i and robotk_k is defined as Δi,k=12(Δp+Δi)\Delta_{i,k}=\frac{1}{2}\left(\Delta_p+\Delta_i\right), i.e., the mean of their preferred personal distances. We adopt the original SFFM cohesion and equality forces equations for ESFFM.

We interpret the social force terms as acceleration commands for a self-driven robot rather than as mechanical forces. This interpretation is consistent with Helbing’s original characterization of social forces as a quantification of internal motivation rather than physical interaction. We define the dynamics of autonomous robot ii as:

pi,n+1=pi,n+Δtvi,n+12Δt2ui,n,(12)\mathbf{p}_{i,n+1}=\mathbf{p}_{i,n}+\Delta t\mathbf{v}_{i,n}+\frac{1}{2}\Delta t^2\mathbf{u}_{i,n}, \tag*{(12)}
vi,n+1=ρ(vi,n+Δtui,n),(13)\mathbf{v}_{i,n+1}=\rho\left(\mathbf{v}_{i,n}+\Delta t\mathbf{u}_{i,n}\right), \tag*{(13)}
ρ=e−γΔt,(14)\rho=e^{-\gamma\Delta t}, \tag*{(14)}

where nn denotes the discrete timestep, Δt\Delta t is the prediction interval, and γ\gamma represents velocity damping in the motion model. Let pi∈R2\mathbf{p}_i \in\mathbb{R}^{2} and vi∈R2\mathbf{v}_i \in\mathbb{R}^{2} denote the planar position and velocity of roboti_i, respectively, and let ui∈R2\mathbf{u}_i \in\mathbb{R}^{2} denote its acceleration command. Following the later improvement to SFFM proposed by Pedica and Vilhjálmsson [25], we also adopt constant-velocity extrapolation to predict the future positions of neighboring robots and compute the corresponding reactive social forces in the baseline ESFFM. To combine the different social-force components into a single nominal control input, each force is scaled by an individual robot weighting factor KifK_i^f where ff indexes the force type, allowing different robots to exhibit distinct proxemic preferences. For simplicity, each robot remains oriented toward the dynamically updated center of its assigned group, computed from all group-member positions, rather than using the original SFFM equality- and cohesion-force directions. Eq. (4). This allows the model to focus on repositioning rather than reorienting as the primary adaptive response.

Model Predictive Control

Building on the ESFFM formulation, we introduce a model predictive planner that evaluates social interactions over a finite prediction horizon. While ESFFM only provides a behavioral preference for the current state based on social cues, optimizing over a longer horizon can smooth trajectory and reduce residual motion while guided by the social context.

Let A\mathcal{A} denote the set of autonomous robots. At each control update, the MPC optimizes the acceleration inputs ui,n\mathbf{u}_{i,n} over a horizon of HH prediction steps. Let Fiesffm(pn,vn)\mathbf{F}^{\mathrm{esffm}}_i(\mathbf{p}_n,\mathbf{v}_n) denote the ESFFM acceleration evaluated at prediction step nn. This force is recomputed at every stage of the prediction horizon. The optimization objective is

J=∑n=0H−1∑i∈A[qn2∥ui,n−Fiesffm∥2+wΔu∥ui,n−ui,n−1∥2+ws[∥vi,n+1∥−vmax⁡]+2+wvηn∥vi,n+1∥2+we∥Fi,neq∥2].(15)J=\sum_{n=0}^{H-1}\sum_{i\in\mathcal{A}}\left[\frac{q_n}{2}\left\|\mathbf{u}_{i,n}-\mathbf{F}^{\mathrm{esffm}}_i\right\|^2+w_{\Delta u}\left\|\mathbf{u}_{i,n}-\mathbf{u}_{i,n-1}\right\|^2+w_s\left[\left\|\mathbf{v}_{i,n+1}\right\|-v_{\max}\right]_+^2+w_v\eta_n\left\|\mathbf{v}_{i,n+1}\right\|^2+w_e\left\|\mathbf{F}^{\mathrm{eq}}_{i,n}\right\|^2\right]. \tag*{(15)}

subject to the prediction dynamics in (12) and the acceleration constraint ∥ui,n∥≤amax⁡\left\|\mathbf{u}_{i,n}\right\|\leq a_{\max}. Here, ηn=n/max⁡(H−1,1)\eta_n=n/\max(H-1,1), and Fi,neq\mathbf{F}^{\mathrm{eq}}_{i,n} denotes the equality-force component defined by ESFFM. The tracking term weighted by qnq_n preserves the motivational behavior generated by ESFFM. The acceleration-difference term, wΔu∥ui,n−ui,n−1∥2w_{\Delta u}\left\|\mathbf{u}_{i,n}-\mathbf{u}_{i,n-1}\right\|^2, penalizes abrupt changes in the control input and thereby reduces jerk. The soft speed-limit term, ws[∥vi,n+1∥−vmax⁡]+2w_s[\|\mathbf{v}_{i,n+1}\|-v_{\max}]_+^2, penalizes predicted speeds above vmax⁡v_{\max}. The stage-dependent velocity penalty, wvηn∥vi,n+1∥2w_v\eta_n\|\mathbf{v}_{i,n+1}\|^2, increases along the prediction horizon and encourages the robots to reduce residual motion toward the end of the horizon. The equality-force penalty discourages predicted formation states that require large equality corrections. Together, the velocity and equality-force penalties encourage faster settling of the group reformation behavior. All of these objective terms express soft preferences rather than guarantees of convergence. The nonlinear objective is differentiated through the prediction rollout and approximately minimized using a fixed number of projected Adam iterations, with gradient clipping and a horizon length of H=20H=20.

Control Barrier Functions

To further improve safety, a control barrier function (CBF) filter is placed directly after ESFFM or after MPC to modify the nominal acceleration according to physical separation and control constraints. For the stacked planar state x\mathbf{x}, the filter uses the control-affine system:

p˙i=vi,v˙i=−γvi+ui,x˙=f(x)+g(x)u.(16)\dot{\mathbf{p}}_i = \mathbf{v}_i,\qquad\dot{\mathbf{v}}_i = -\gamma\mathbf{v}_i + \mathbf{u}_i,\qquad\dot{\mathbf{x}} = f(\mathbf{x}) + g(\mathbf{x})\mathbf{u}. \tag*{(16)}

We formulate the safety filter using continuous-time high-order control barrier functions under damped double-integrator dynamics. The resulting control barrier function quadratic program (CBF-QP) is evaluated at discrete control instants with a fixed sampling period, and each computed acceleration is held until the next update. Thus, the controller has a sampled-data implementation of a continuous-time CBF rather than a discrete-time CBF.

For roboti_i and robotk_k, physical separation is represented by

hik=∥pi−pk∥2−dsafe2.(17)h_{ik} = \lVert\mathbf{p}_i - \mathbf{p}_k \rVert^2 - d_{\mathrm{safe}}^2. \tag*{(17)}

where dsafed_{\mathrm{safe}} is the required center-to-center distance derived from the robot footprint. For a circular obstacle with center co\mathbf{c}_o and radius RoR_o,

hiocirc=∥pi−co∥2−(Ro+rsafe)2,h_{io}^{\mathrm{circ}} = \lVert\mathbf{p}_i - \mathbf{c}_o \rVert^2 - \left(R_o + r^{\mathrm{safe}}\right)^2,

where rsafer^{\mathrm{safe}} is the robot safety radius. Rectangular obstacles are represented using an inflated fourth-order superellipse. With obstacle-aligned coordinates z=R(θo)⊤(pi−co)\mathbf{z} = R(\theta_o)^\top(\mathbf{p}_i - \mathbf{c}_o),

hiobox=(zxao)4+(zybo)4−1,h_{io}^{\mathrm{box}} = \left(\frac{z_x}{a_o}\right)^4 + \left(\frac{z_y}{b_o}\right)^4 - 1,
ao=21/4ℓo2+r,bo=21/4wo2+r.a_o = 2^{1/4}\frac{\ell_o}{2} + r,\qquad b_o = 2^{1/4}\frac{w_o}{2} + r.

Here, ℓo\ell_o, wow_o, and θo\theta_o are obstacle length, width, and orientation respectively. The inflated axes provide clearance around the rectangular footprint. For these geometric barriers, h≥0h \ge0 denotes the admissible side of the boundary. A separate speed barrier is defined as

hiv=vmax⁡2−∥vi∥2.h_i^v = v_{\max}^2 - \lVert\mathbf{v}_i \rVert^2.

Because acceleration affects geometric separation through its second time derivative, the position barriers are converted to relative-degree-one barriers:

ψ1=h˙+α1h,ψ˙1+α2ψ1≥0.(18)\psi_1 = \dot{h} + \alpha_1 h,\qquad\dot{\psi}_1 + \alpha_2\psi_1 \ge0. \tag*{(18)}

with initial conditions satisfying h≥0h \ge0 and ψ1≥0\psi_1 \ge0, and positive gains α1\alpha_1 and α2\alpha_2. Equivalently,

h¨+(α1+α2)h˙+α1α2h≥0.\ddot{h} + (\alpha_1 + \alpha_2)\dot{h} + \alpha_1\alpha_2 h \ge0.

These expressions make the barrier inequality affine in acceleration. The speed barrier already has relative degree one and uses h˙iv+αvhiv≥0\dot{h}_i^v + \alpha_v h_i^v \ge0 directly.

The filtered acceleration is obtained from

usafe=arg⁡min⁡u 12∥u−unom∥2subject to;\mathbf{u}^{\mathrm{safe}} = \underset{\mathbf{u}}{\arg\min}\ \frac{1}{2}\lVert\mathbf{u} - \mathbf{u}^{\mathrm{nom}}\rVert^2 \quad\text{subject to;}
Lfψ1+Lgψ1u+α2ψ1≥0,∀h,L_f\psi_1 + L_g\psi_1\mathbf{u} + \alpha_2\psi_1 \ge0,\qquad\forall h,
Lfhiv+Lghivu+αvhiv≥0,∀i,L_f h_i^v + L_g h_i^v\mathbf{u} + \alpha_v h_i^v \ge0,\qquad\forall i,
−uˉ≤ui,x,ui,y≤uˉ.(19)-\bar{u} \le u_{i,x},u_{i,y} \le\bar{u}. \tag*{(19)}

The objective selects the feasible acceleration closest to the nominal command generated either directly by ESFFM or by MPC. The Lie derivatives LfL_f and LgL_g describe how each barrier function evolves under the uncontrolled dynamics and control input, respectively. The control bound uˉ\bar{u} limits the QP actuation. Barrier constraints are enforced as hard constraints without relaxation variables. When obstacle selection is enabled, each robot considers a fixed number of nearest static obstacle footprints. If the solver reports a failure or returns an invalid output, zero-velocity commands are sent to the autonomous robots.

In the current implementation, all robots are included in the QP dynamics and pairwise safety constraints. The control input u0\mathbf{u}_0 of the teleoperated robot is treated as an external input rather than a decision variable, and corrective actions are applied only to the autonomous robots. At each CBF update, the latest observed position of the teleoperated robot is used and held fixed until the next control step, at which point its position is updated again. This treatment avoids introducing an unreliable velocity prediction into the higher-order barrier constraints and improves optimization feasibility. The final control output satisfies the hard actuation constraints. Accordingly, the implemented CBF filter should be interpreted as a safety intervention rather than a guarantee of collision-free behavior. The motion of the externally controlled robot may violate the dynamics assumed by the optimization.

User Study

We conducted an online user study to evaluate perceived interaction quality of robot-group repositioning produced by our proposed framework (ESFFM+MPC+CBF). Because the original SFFM lacks basic obstacle-aware behavior, we use ESFFM as the baseline for a fairer comparison, allowing the study to focus on the perceptual effects of predictive optimization and safety filtering rather than SFFM’s limitations in obstacle-rich environments.

Study Design

Participants were instructed to watch pairs of videos and compare robot group repositioning behaviors caused by teleoperated robot’s disturbance using a set of rating scales. The study used a within-subjects design with two factors: the physical layout of the scene (Fig. 1) and the number of agents present in each scene. The scene layout had four levels: empty space, crowded room, elevator, and hallway. The number of robots had two levels: 5 vs. 7 agents for the empty space, crowded room, and hallway conditions, and 2 vs. 3 agents for the elevator condition. These robot counts included the externally controlled robot.

This resulted in 8 conditions, each presented as one pair of videos. Participants evaluated two videos of one pair vertically displayed on the same page. To control for order effects, the order of the eight video pairs was randomized, and the top-bottom display order of the two videos within each pair was also randomized. Within each condition, the video pair used the same pre-recorded trajectory for the teleoperated robot, ensuring that differences between the videos are from the group controllers rather than from the disturbances. Participants were instructed to focus on the repositioning behavior of the robot groups rather than the teleoperated robot.

Stimuli

Each video lasted approximately 10–30 seconds, depending on the complexity of the repositioning behavior and the scene. The participants could replay them as many times as needed while answering the questions. For the empty space and crowded room conditions, as well as the hallway condition with 5 agents, the joining robot completed two joining tasks in sequence. For the hallway condition with 7 agents and the elevator conditions, the joining robot completed one joining task.

Measures

For each video pair, participants answered 8 questions. Eight questions used a 7-point comparative Likert scale and were derived from the evaluation used by Pedica et al. [26] for SFFM. These questions evaluated the group repositioning behavior along the following dimensions: artificial, appealing, socially rich, disconnected, aware, appropriate, involved, and natural.

Result and Analysis

In this section, we first present and analyze the objective metrics from the ablation study, and then further examine these findings through the user study results and participant feedback.

Objective Metrics

To examine the effects of MPC and CBF on robot-group repositioning behavior, we conducted an ablation study with five controller configurations: Pedica’s SFFM, ESFFM, ESFFM+CBF, ESFFM+MPC, and ESFFM+MPC+CBF (ours)—across eight conditions, yielding 40 recorded trials. For each condition, the externally controlled robot was first teleoperated by one researcher, and its trajectory was recorded in a ROS 2 bag. The same recorded trajectory was then replayed for all five controller configurations within that condition to ensure a consistent external disturbance across models. Each trial was evaluated from the first common odometry sample following the teleoperated robot’s first nonzero velocity through the last common odometry frame before the recording ended. Motion smoothness is measured as the mean root-mean-square planar jerk across the autonomous robots. Collision rate denotes the percentage of evaluated frames containing at least one geometric collision. O-space violation rate denotes the percentage of evaluated frames in which at least one group’s O-space is violated, while personal-space violation rate denotes the percentage of evaluated frames in which at least one robot’s personal distance is violated (see Table I).

ControllerMean collision rate (%) ↓Mean jerk (\mathrm{m/s^3}) ↓Mean personal-space violation (%) ↓Mean O-space violation (%) ↓
SFFM57.2318.4621.641.53
E1.9921.3433.721.33
E+C0.2316.2733.531.61
E+M1.1518.6533.330.74
E+M+C0.1814.6332.831.76

Table I. Quantitative analysis on ablation study. Collision, jerk, and personal-space means cover eight setups; O-space covers seven eligible setups, excluding the two-agent elevator. E: ESFFM; M: MPC; C: CBF.

Because each condition was evaluated using a single pre-recorded teleoperation trajectory, only one trial was available per controller configuration within each condition. The ablation results are therefore descriptive rather than inferential and are not used for statistical significance testing. Nevertheless, they remain informative for comparing controller behavior under identical external disturbances.

Collision avoidance. Both CBF-based controllers achieved no detected collisions in 7 of 8 conditions, compared with 5 for ESFFM+MPC, 4 for ESFFM, and 1 for SFFM (see Table II). The clearest benefit of CBF was observed in obstacle avoidance. Compared with the original SFFM, ESFFM incorporates environmental repulsion that allows robots to react to nearby obstacles. Nevertheless, because this avoidance emerges from local force interactions rather than trajectory planning or safety constraints, its effectiveness remains limited in complex or confined environments. Although our proposed framework substantially reduces collisions, it does not provide a global safety guarantee for the complete interaction. The teleoperated robot is neither controlled by the nominal controller nor corrected by the CBF, and therefore its motion can violate the safety assumptions imposed on the autonomous group members.

ConditionSFFMEE+ME+CE+M+C
Robot-Obstacle Collision
2 robots, elevator31.98––––
3 robots, elevator100.008.035.20––
5 robots, hallway59.74–2.30––
5 robots, crowded83.20––––
7 robots, crowded100.003.44–––
7 robots, hallway78.71––––
Autonomous Robot-Teleoperated Robot Collision
5 robots, crowded2.101.561.721.871.45
5 robots, hallway–2.92–––
7 robots, empty4.22––––
7 robots, hallway7.10––––

Table II. NON-ZERO COLLISION RATES (%) BY CONDITION AND COLLISION TYPE. “–” INDICATES NO DETECTED COLLISION. E: ESFFM; M: MPC; C: CBF.

This setting also reflects an important characteristic of human–robot interaction. A human approaching, joining, or passing through a robot group is not governed by the robot controller and cannot be assumed to follow the same motion or safety rules as the robots. Thus, safety in such interactions is inherently shared: the robot group should reduce unsafe proxemic behavior, while the approaching human also retains responsibility for avoiding clearly unsafe motions.

Motion smoothness. Adding CBF to ESFFM+MPC reduced mean autonomous-robot RMS jerk in all conditions, with relative reductions ranging from 1.22% to 39.63%. MPC without CBF also produced lower jerk than ESFFM without CBF in 6 of 8 conditions, except in empty space conditions. These results are consistent with the MPC objective’s acceleration-change penalty. For ESFFM, adding CBF reduced jerk in 5 conditions and increased it in 3. CBF therefore did not act as a universal smoothing mechanism. In 7-robot crowded room condition (see Figure 3), the autonomous robots’ trajectories became progressively smoother and more direct, indicating repositioning efficiency and reduced oscillatory behavior as the controller is augmented with MPC and CBF-based safety filter.

Robot trajectories for three controllers in the 7-robot crowded room layout

Figure 3. Robot trajectories in the 7-robot crowded room layout. The orange trajectory corresponds to the teleoperated robot, while the teal trajectories correspond to the 6 autonomous robots controlled by the respective controller. Circles (•) mark each robot’s initial position and crosses (x) mark its final position.

O-space violations. O-space violation results were also condition-dependent. All controllers recorded 0 o-space violations in both empty space, the 7-robot hallway, and the 7-robot crowded room conditions. Meanwhile, the 3-robot elevator showed high violation rates. Adding CBF filter to the MPC controller also increased the o-space violation rate, and this is consistent with o-space maintenance remaining a nominal behavioral preference rather than an avoidance area constraint.

Personal-space violations. Improvements in geometric collision avoidance did not consistently translate into better preservation of personal space. This is consistent with the difficulty of maintaining the specified interpersonal distances in confined environments such as elevators and hallways. The strong quadratic repulsive force in the original SFFM achieved the lowest personal-space violation rate. However, this came at the cost of less natural repositioning behavior, as group members moved faster and required longer reformation durations.

Overall, our proposed framework (ESFFM+MPC+CBF) provided the strongest observed combination of collision avoidance and motion smoothness, while social space preservation remained dependent on the environment and interaction geometry.

Subjective Evaluation

We evaluated how participants perceived the interaction quality of robot-group repositioning behaviors in the user study described in § 5. As mentioned before, ESFFM was used as the baseline instead of the original SFFM (having an extremely high collision rate) to provide a fairer comparison in environments containing obstacles.

We recruited 40 participants (22 men and 18 women; mean age = 34.4 years) through Prolific for the user study evaluation. Within each condition, we conducted two-sided one-sample tt-tests on the 8 video-comparison rating questions with Holm correction (see Figure 4). Significant preferences for our proposed framework were observed in the 3-robot elevator condition for appealing and appropriate; in the 5-robot crowded room condition for artificial, appealing, socially rich, disconnected, appropriate, involved, and natural; and in the 5-robot hallway condition for artificial, appealing, appropriate, and natural (all ∣t(39)∣|t(39)| = 2.39–4.57, Holm-adjusted pp = .0004–.043). No ratings differed significantly after within-condition correction in the remaining conditions, and no rating significantly favored the ESFFM baseline in any condition.

Figure 4. Model preference by condition. Ratings were made on a 7-point comparative scale with 4 indicating no preference. For negatively framed questions (orange), ratings below 4 favor our framework, whereas positively framed questions (teal), ratings above 4 favor our proposed framework (ESFFM+MPC+CBF). Within each condition, statistically significant deviations from the neutral midpoint after corrected one-sample tt-tests are marked with “*” (p<0.05p < 0.05).

Separate linear mixed-effects models were fitted to the 8 comparison ratings with robot count (5 vs. 7), layout (empty, crowded room, hallway), their interaction, and scene order as fixed effects and participant as a random intercept. After Holm correction across all 32 effect tests, the effect of layout remained significant for artificial, appealing, socially rich, disconnected, appropriate, and natural; Wald χ2(2)\chi^2(2) = 12.64–28.76, with adjusted p≤.049p \le.049. We also directly compared the crowded room and empty conditions. After correction across all 24 layout comparisons, ratings favored our proposed framework in the crowded room for all 6 measures, absolute adjusted mean differences ranged from 0.87 to 1.22, and ∣z∣|z| = 3.56–5.17 (adjusted p≤.007p \le.007). Robot count and the robot-count-by-layout interaction did not remain significant after correction, suggesting that the relative benefit of our framework was associated with the crowded layout rather than with a general increase in the number of robots.

Although our proposed framework did not achieve the lowest social-space violation rates, participants still evaluated its repositioning behavior favorably, suggesting that improved safety and smoothness did not reduce perceived social appropriateness.

Conclusion

In this work, we presented a barrier-function-filtered receding-horizon controller for robot-group repositioning that improves safety while preserving socially appropriate behavior. Ablation results showed that MPC reduced motion jerk and CBF further improved collision avoidance, while user study favored our framework in perceived repositioning quality. The framework may also be applicable to virtual agents in video games and simulation platforms, or as a predictive model for trajectory planning in socially aware navigation. Limitations include simulation-only evaluation and symmetric social-force-based formations with limited diversity. Future work will focus on physical-robot validation and more flexible group formations.

References

References

  1. [1]C. Pedica and H. Vilhjálmsson, “Social perception and steering for online avatars,” in International Workshop on Intelligent Virtual Agents, pp. 104–116, Springer, 2008.DOI
  2. [2]Y. Gao, F. Yang, M. Frisk, D. Hernandez, C. Peters, and G. Castellano, “Learning socially appropriate robot approaching behavior toward groups using deep reinforcement learning,” in Proc. IEEE RO-MAN, pp. 1–8, IEEE, 2019.arxiv.org/abs/1810.06979
  3. [3]A. Kendon, Conducting interaction: Patterns of behavior in focused encounters, vol. 7. CUP Archive, 1990.
  4. [4]G. Yoo, D. Kim, G. Park, S. Jung, O. Lee, H. Kang, Y. G. Ji, and H. Kim, “Did you notice me? effects of distance and f-formation on mobile robot perception in group conversation,” in Companion Proc. ACM/IEEE HRI, pp. 892–896, 2026.DOI
  5. [6]V. K. Narayanan, A. Spalanzani, F. Pasteau, and M. Babel, “On equitably approaching and joining a group of interacting humans,” in Proc. IEEE/RSJ IROS, pp. 4071–4077, IEEE, 2015.
  6. [7]M. Nigro, E. Akinrintoyo, N. Salomons, and M. Spitale, “Social group human-robot interaction: a scoping review of computational challenges,” in Proc. ACM/IEEE HRI, pp. 468–478, IEEE, 2025.arxiv.org/abs/2412.16093
  7. [8]J. Kum, S. Jung, H. Nam, K. Kim, and M. Lee, “Joining the circle: Human entry behavior in a mixed reality f-formation with agent, avatar, and human partners,” in Proc. ACM VRST, pp. 1–11, 2025.DOI
  8. [9]D. Helbing and P. Molnar, “Social force model for pedestrian dynamics,” Physical review E, vol. 51, no. 5, p. 4282, 1995.pubmed.ncbi.nlm.nih.gov/9963139
  9. [10]N. Tsoi, A. Xiang, P. Yu, S. S. Sohn, G. Schwartz, S. Ramesh, M. Hussein, A. W. Gupta, M. Kapadia, and M. Vázquez, “Sean 2.0: Formalizing and generating social situations for robot navigation,” IEEE RAL, vol. 7, no. 4, pp. 11047–11054, 2022.
  10. [11]N. Pérez-Higueras, R. Otero, F. Caballero, and L. Merino, “Hunavsim: A ros 2 human navigation simulator for benchmarking human-aware robot navigation,” IEEE RAL, vol. 8, no. 11, pp. 7130–7137, 2023.
  11. [12]L. Kästner, V. Shcherbyna, H. Zeng, T. A. Le, M. H.-K. Schreff, H. Osmaev, N. T. Tran, D. Diaz, J. Golebiowski, H. Soh, et al., “Arena 3.0: Advancing social navigation in collaborative and highly dynamic environments,” arXiv preprint arXiv:2406.00837, 2024.arxiv.org/abs/2406.00837
  12. [13]M. Moussaïd, N. Perozo, S. Garnier, D. Helbing, and G. Theraulaz, “The walking behaviour of pedestrian social groups and its impact on crowd dynamics,” PloS one, vol. 5, no. 4, p. e10407, 2010.DOI
  13. [14]L. Huang, J. Gong, W. Li, T. Xu, S. Shen, J. Liang, Q. Feng, D. Zhang, and J. Sun, “Social force model-based group behavior simulation in virtual geographic environments,” ISPRS International Journal of Geo-Information, vol. 7, no. 2, p. 79, 2018.DOI
  14. [15]H. Kuzuoka, Y. Suzuki, J. Yamashita, and K. Yamazaki, “Reconfiguring spatial formation arrangement by robot body orientation,” in Proc. ACM/IEEE HRI, pp. 285–292, IEEE, 2010.
  15. [16]S.-A. Yang, E. Gambarino, C.-T. Yang, and L.-C. Fu, “A study on the social acceptance of a robot in a multi-human interaction using an f-formation based motion model,” in Proc. IEEE/RSJ IROS, pp. 2766–2771, IEEE, 2017.DOI
  16. [17]Y. Zhang, X. Shen, and P. Raksincharoensak, “Study on collision avoidance strategies based on social force model considering stochastic motion of pedestrians in mixed traffic scenario,” Journal of Robotics and Mechatronics, vol. 35, no. 2, pp. 240–254, 2023.DOI
  17. [18]S. Trepella, A. Ostuni, M. Martini, P. Pueyo, N. Pérez-Higueras, M. Chiaberge, F. Caballero, and L. Merino, “Navigating the crowd: Non-linear mpc with social forces dynamics for human-aware robot navigation,” arXiv preprint arXiv:2607.10374, 2026.arxiv.org/abs/2607.10374
  18. [19]F. Sacco, C. Recchiuto, and J. Mårtensson, “A novel social navigation approach based on model predictive control and social force model,” in Proc. IEEE ROMAN, pp. 1705–1711, IEEE, 2024.DOI
  19. [20]E. Fiaschè, P. Martinet, and E. Malis, “Towards autonomous robot navigation in human populated environments using an universal SFM and parametrized MPC,” in Proc. IEEE/RSJ IROS, (Detroit, MI, USA), pp. 7422–7427, IEEE, Oct. 2023.DOI
  20. [21]J. Zeng, B. Zhang, and K. Sreenath, “Safety-critical model predictive control with discrete-time control barrier function,” in 2021 American control conference (ACC), pp. 3882–3889, IEEE, 2021.arxiv.org/abs/2007.11718
  21. [22]R. Chandra, V. Zinage, E. Bakolas, P. Stone, and J. Biswas, “Deadlock-free, safe, and decentralised multi-robot navigation in social mini-games via discrete-time control barrier functions,” Autonomous Robots, vol. 49, no. 2, p. 12, 2025.DOI
  22. [23]A. C. Magalhães and L. C. de Araujo Pimenta, “Distributed model predictive control for safety-critical obstacle avoidance in multi-robot systems with social preferences,” IFAC-PapersOnLine, vol. 59, no. 21, pp. 56–61, 2025.DOI
  23. [24]Y. Li, H. Yao, C. Huang, S. Zhang, Z. Su, and H. Dai, “Mpc-scbf: Model predictive control with social zone-driven control barrier function for socially-aware following robots,” Procedia Computer Science, vol. 271, pp. 252–258, 2025.
  24. [25]C. Pedica and H. Högni Vilhjálmsson, “Spontaneous avatar behavior for human territoriality,” Applied Artificial Intelligence, vol. 24, no. 6, pp. 575–593, 2010.
  25. [26]C. Pedica, H. Högni Vilhjálmsson, and M. Lárusdóttir, “Avatars in conversation: the importance of simulating territorial behavior,” in Proc. IEEE IVA, pp. 336–342, Springer, 2010.DOI

Paper details

vlnc:W_gthsargu
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 1

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents