<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Move Beyond Trajectories: Distribution Space Coupling for Crowd Navigation</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>07/12/2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10283235</idno>
					<idno type="doi">10.15607/RSS.2021.XVII.053</idno>
					<title level='j'>Robotics: Science and Systems</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Muchen Sun</author><author>Francesca Baldini</author><author>Peter Trautman</author><author>Todd Murphey</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Cooperatively avoiding collision is a critical functionalityfor robots navigating in dense human crowds, failureof which could lead to either overaggressive or overcautiousbehavior. A necessary condition for cooperative collision avoidanceis to couple the prediction of the agents’ trajectories withthe planning of the robot’s trajectory. However, it is unclearthat trajectory based cooperative collision avoidance captures thecorrect agent attributes. In this work we migrate from trajectorybased coupling to a formalism that couples agent preferencedistributions. In particular, we show that preference distributions(probability density functions representing agents’ intentions)can capture higher order statistics of agent behaviors, such aswillingness to cooperate. Thus, coupling in distribution spaceexploits more information about inter-agent cooperation thancoupling in trajectory space. We thus introduce a general objectivefor coupled prediction and planning in distribution space,and propose an iterative best response optimization methodbased on variational analysis with guaranteed sufficient decrease.Based on this analysis, we develop a sampling-based motionplanning framework called DistNav1 that runs in real time on alaptop CPU. We evaluate our approach on challenging scenariosfrom both real world datasets and simulation environments, andbenchmark against a wide variety of model based and machinelearning based approaches. The safety and efficiency statisticsof our approach outperform all other models. Finally, we findthat DistNav is competitive with human safety and efficiencyperformance.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>Collision avoidance in dense human crowds is a challenging problem. Whereas conventional motion planning algorithms work well with slowly moving obstacles and low obstacle density, they are designed to work with passive obstacles that will not react to the robot, and assume the robot has full knowledge about the obstacles' future states. Such assumptions, however, no longer hold in human crowds and could lead to either overcautious or overaggressive robot behaviors, which is known as the freezing robot problem <ref type="bibr">[44]</ref>. Previous work on crowd navigation reveals that one necessary condition to avoid freezing robot behavior is to couple the prediction of the agent's future trajectories with robot planning (e.g., accounting for the robot's influence on agent behavior).</p><p>However, pure trajectory-based models make strong implicit assumptions about the distribution governing interactive agent behaviors (what we call the agent's "preference distribution"). For example, the extent to which an agent is willing to move 1 For more details please visit <ref type="url">https://sites.google.com/view/distnav/</ref> (a) (b) Agent 1</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Agent 2</head><p>Fig. <ref type="figure">1</ref>: Difference between modeling humans as specific trajectories and distributions: Agent 2 at the bottom (pictured as a human but also can be a robot) needs to plan a path while predicting how the other two pedestrians, who are a family and thus considered as a single agent 1, would react to agent 2's decision. The dashed circles represent each agent's probability distribution (preference) at each time step, here we assume agent 1 has a lower flexibility and thus agent 1 would expect agent 2 to cooperate more to make space for each other. (a) By modeling humans as trajectories, agent 2 implicitly assumes the preferences of both agents are fixed in the presence of interaction, which is not necessarily true. (b) Modeling humans as distributions can overcome this issue, where agent 2's intention evolves to a bi-modal distribution because of the potential interaction, and the trajectory with maximum likelihood (go right) would eventually be chosen as the plan. While both methods can recover a proper path for agent 2 to avoid splitting up the family, explicitly modeling the evolution of preferences captures more information about the interaction.</p><p>out of the way of the robot is typically left unmodeled. Further, trajectory space approaches assume that the (implicitly modeled) preference distribution is a static quantity: during interaction, the preference distribution does not change. As an example, consider unimodal Gaussian agent models, where the covariance can be interpreted as the extent to which an agent will make room for another agent. Critically, as two agents proceed past each other, their covariance will change.</p><p>If an agent moves far out of the way of the path of the robot, its covariance will become more peaked, indicating that the agent is only willing to make so much room. For non-Gaussian agent distributions, higher order factors such as skew (e.g., preference for left versus right passage) and multimodality (e.g., ambiguity about which side an agent might pass on), are themselves coupled to the deformation of the agent trajectories. In short, assuming that interaction occurs only at the trajectory level ignores critical information about how Original preference distributions of the two agents, modeled as two Gaussians. (b) Coupled prediction and planning in trajectory space, where agent 2 finds its optimal plan (blue dashed line on the right) and optimal prediction for agent 1's plan (orange dashed line near the center) simultaneously. Again, agent 2 implicitly assumes two agents' preferences remain static in presence of interaction. (c) Our method relaxes this assumption, and allows preference distributions to evolve in a non-parametric manner. Agent 2's intention can be explicitly modeled as a bi-modal distribution, it can both go right or go left, but going right is more preferred. Optimal plan (blue dashed line) and prediction (orange dashed line) are then picked by agent 2 from its belief for updated preferences. interaction deforms higher order factors of the agent model (e.g., how interaction deforms the preference distribution). Figure <ref type="figure">1</ref> illustrates the necessity of modeling agent preference evolution through a high-level example that is common in crowd navigation-two agents passing each other on the street.</p><p>We relax this assumption of a known and fixed preference distribution. Specifically, we do not require the agent's preference distribution to remain static during interaction, but instead allow the preference distribution to evolve (Figure <ref type="figure">2</ref> demonstrates the preference evolution in a 1D example). We accomplish this by: 1) Taking the atomic representational unit to be a probability density function over agent trajectories, in what we call distribution space. 2) Including both human-robot and human-human interaction. 3) Developing a method to jointly optimize over both robot and agent preference distributions.</p><p>In this work distributions represent agents' preferences over trajectories-including both what they want and their potentially multi-modal degree of flexibility. This use of distributions is distinct from that found in other computational methods that use distributions are their atomic unit, such as belief space planning, where the purpose of a distribution is to represent uncertainty (for example, <ref type="bibr">[30]</ref> uses belief space planning for crowd navigation but decouples prediction and planning). Here we develop a formalism and algorithm to "shape" probability density functions for better cooperation, even for systems with no uncertainty present.</p><p>At last, we summarize our contributions as follow:</p><p>1) We formulate a general objective for coupled prediction and planning in distribution space (Section III). 2) We propose an iterative best response optimization algorithm which is guaranteed to decrease the objective in each iteration, and design a sampling-based navigation framework called DistNav (Section IV). 3) We conduct a comprehensive evaluation using both real world datasets and simulation environments, and benchmark DistNav against a variety of other crowd nav-igation methods. Results show that DistNav outperforms other methods in both safety and efficiency metrics, and is competitive with human safety and efficiency performance (Section V).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. RELATED WORK</head><p>Roboticists have been investigating navigation in human environments since the 1990s. Two landmark studies were the RHINO <ref type="bibr">[2]</ref> and MINERVA <ref type="bibr">[41]</ref> experiments. In <ref type="bibr">[8]</ref> the authors observed that assuming agent independence leads to an uncertainty explosion that makes efficient navigation impossible. In <ref type="bibr">[44]</ref>, it was shown that bounding uncertainty (such as in <ref type="bibr">[40,</ref><ref type="bibr">8,</ref><ref type="bibr">21,</ref><ref type="bibr">33]</ref>) cannot prevent freezing robot behavior. Relatedly, Human intention aware planning is a popular crowd navigation approach <ref type="bibr">[23]</ref>; examples include <ref type="bibr">[17,</ref><ref type="bibr">28,</ref><ref type="bibr">38,</ref><ref type="bibr">34,</ref><ref type="bibr">45]</ref>. Although these approaches model humanrobot interaction, they ignore human-robot cooperation.</p><p>Some approaches learn navigation strategies by observing examples, such as through inverse reinforcement learning <ref type="bibr">[22,</ref><ref type="bibr">50,</ref><ref type="bibr">51]</ref> or deep reinforcement learning <ref type="bibr">[6,</ref><ref type="bibr">10,</ref><ref type="bibr">39]</ref>. Typically, human relationship models are ignored; importantly, <ref type="bibr">[4]</ref> models human-human interaction in a method called "socially aware reinforcement learning (SARL)." In <ref type="bibr">[5]</ref>, agent relational graphs are trained using deep reinforcement learning. In <ref type="bibr">[27]</ref>, a relational graph is paired with "negative examples" (e.g., collisions) to enforce safety constraints and social norms. These reinforcement learning methods rely on simulators for training, but as being pointed out in <ref type="bibr">[12]</ref>, current simulators make unrealistic but critical assumptions that will not hold in real world, which may affect the sim-to-real transfer.</p><p>Coupled prediction and planning approaches explicitly capture the mutual dependencies between human and robot. An important body of work is game theoretic planning <ref type="bibr">[13,</ref><ref type="bibr">7]</ref>, these planners typically assume agent objectives are known, but recent works introduce online estimation of human agents' objectives <ref type="bibr">[36,</ref><ref type="bibr">25]</ref>. Further, <ref type="bibr">[36]</ref> uses the social value orientation (SVO) to quantify the degree of agents' selfishness or altruism. Similar idea of modeling human willingness to coordinate can be found in other works. For example, <ref type="bibr">[29]</ref> models mutual adaptation between human and robot in manipulation tasks, and <ref type="bibr">[43]</ref> models human flexibility as the covariance matrix of a Gaussian process. In addition to online estimation, <ref type="bibr">[35]</ref> introduces an active information gathering algorithm that generates communicative behaviors for autonomous vehicles. However, in these works the planners still over-confidently predict human behavior as a single trajectory, and none of them capture how willingness to coordinate changes during interaction.</p><p>Lastly, while the deep learning approaches in <ref type="bibr">[32,</ref><ref type="bibr">1,</ref><ref type="bibr">16,</ref><ref type="bibr">48,</ref><ref type="bibr">9]</ref> focus on prediction, they are an important contribution to crowd navigation. In <ref type="bibr">[20]</ref>, variational auto encoders capture multimodality. <ref type="bibr">[3]</ref> includes human "intent uncertainty" and "control uncertainty" as part of the prediction, and model them with Gaussian mixture models. But none of these models explicitly measure or account for how flexibility changes during interaction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. PROBLEM FORMULATION A. Terminology</head><p>Consider there are n + 1 agents including n pedestrians and one robot in the environment, we start by defining a set of unique indices I = {R, 1, 2, . . . , n} for all agents, where R is the index of the robot and is treated as zero when compared with other indices. The state of each agent is in the space X &#8838; R k , for example if we only consider all agents' planar positions, then X &#8838; R 2 . The trajectory of each agent f (i) : R + &#8594; X , i &#8712; I is a set function that maps a set of T time points to the agent state at that moment. In practice, the trajectory f would be evaluated as a vector or 2D matrix, thus dimension of the trajectory space is f &#8712; F &#8838; R k&#215;T . Agent states are measured through a measurement model z</p><p>), and we collect measurements of the agents' past states at time steps {1, 2, . . . , t} as z (i)</p><p>t ], note that the observations could be noisy (in this paper we assume additive zero-mean Gaussian noises) and we don't assume z i 1:t to be complete: z i &#964; could be missing for some &#964; &#8712; [1, t] and i &#8712; I.</p><p>Definition 1 (Distribution space). The distribution space P is a function space, where each element p(f ) : F &#8594; R + 0 is a probability density function that maps the trajectory space F to the non-negative real domain, and each element satisfies:</p><p>Definition 2 (Original preference distribution). The prior probability for agent i's trajectory conditioned on its measurements z</p><p>Since no measurement of other agents is used, original preference distribution doesn't include the interaction with other agents.</p><p>In this paper we use Gaussian processes regression to compute the original preferences, so in the rest of the paper we assume the original preferences are GPs, but our results and algorithm apply to arbitrary distributions. We refer the readers to <ref type="bibr">[33]</ref> for more details about GP regression.</p><p>Preference distribution represents the agent's intention, which contains information for agent's preferred trajectories (intents) and their willingness to give up the preferred trajectories in order to cooperate with other agents (flexibility). Below we define intent and flexibility for Gaussian and arbitrary preferences.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition 3 (Intent and flexibility for Gaussian preferences).</head><p>When the agent's preference is a Gaussian process (GP) p i (f ) = N (f |&#181; i , &#931; i ), the agent's intent and flexibility are defined as the GP mean &#181; i and covariance &#931; i , respectively. Definition 4 (Intent and flexibility for arbitrary distributions). More generally, for any distribution p(f ), the intents are defined as the local maximums of p(f ) (so there could be multiple intents) and the flexibility is qualitatively measured through the covariance, skew and kurtosis of the distribution.</p><p>Measuring flexibility for arbitrary distribution is tricky, in this paper we only consider qualitative analysis: Covariance represents the "spread" of the distribution, a larger covariance indicates a larger feasible action region. Skew measures the symmetry of the preference, for example whether the agent is more willing to go "left" or go "right". Kurtosis is the "tailedness" of the distribution, it can be interpreted as the agent's tolerance for large deviations from the intents.</p><p>At last, we also need to define a function to penalize the likelihood of collision between two trajectories.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition 5 (Collision penalty function).</head><p>The collision penalty function &#968;(f (i) , f (j) ) : F &#8594; R + represents the likelihood of collision between two trajectories, and it needs to be symmetric such that &#968;(f (i) , f (j) ) = &#968;(f (j) , f (i) ).</p><p>As an example, in our implementation we choose the collision penalty function to be:</p><p>where w &#8712; R is the penalty weight and &#931; &#968; &#8712; R k&#215;k controls how close two agents can be.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Coupled Prediction and Planning in Distribution Space</head><p>Coupled prediction and planning (also called generative navigation) considers motion planning as a prediction problem; when applied to crowd navigation, the robot couples the prediction of pedestrian trajectories and planning for its own trajectory by optimizing the joint trajectories of all agents simultaneously. The navigation goal and waypoints for the robot can be included as (artificial) observations, so the predicted robot trajectory will pass through them. We refer the readers to <ref type="bibr">[44]</ref> for more details about incorporating navigation task into prediction.</p><p>We start formulating coupled prediction and planning in distribution space by extending the collision penalty function to distribution space. Definition 6 (Expected collision penalty). The expected collision penalty c(p i , p j ) : P &#8594; R + 0 is defined as the joint expected value of the collision penalty function &#968;(f (i) , f (j) ) with respect to two preference distributions:</p><p>Definition 7 (Joint expected collision penalty). For n agents, the joint expected collision penalty is defined as:</p><p>Definition 8 (Coupled Prediction and Planning in Distribution Space). Given the original preference distributions for all agents p R (f ), p 1 (f ), . . . , p n (f ), and the expected collision penalty function c(p i , p j ), the target is to find optimal preference distributions (p R , p 1 , . . . , p n ) * that minimize the joint expected collision penalty (III.4), and also prevent large deviations from the original preference distributions. Then the optimal joint trajectories are selected individually as the maximum of each agent's optimal preference distribution.</p><p>One point worth emphasizing in the above definition is that we do not put strict constraints on the difference between current preference distributions and original preferences, but instead consider it as a "soft constraint" while giving the joint expected collision penalty (III.4) a higher priority as the optimization objective. This is because the original preference distribution can lead to dangerous conflicts since they don't include other agents' intentions, in which case strictly constraining the deviation from such original preferences limits the agents' cooperation for safer joint actions. As will be discussed in the next section, in our proposed algorithm, we only constrain the preference deviation between two consecutive iterations during the optimization, rather than constraining them with respect to the original preferences; this relaxation gives more freedom for conflict resolution.</p><p>We consider crowd navigation as a receding horizon planning problem, therefore solving for optimal preferences distributions and selecting optimal coupled joint trajectories over one time step. When new observations are obtained, new preference distributions are generated and the joint trajectories for coupled planning and prediction are updated.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. VARIATIONAL ANALYSIS FOR COUPLED PREDICTION AND PLANNING IN DISTRIBUTION SPACE</head><p>The formulation of coupled prediction and planning in distribution space raises several challenges:</p><p>1) The objective (III.4) is a functional, which is defined in the infinite-dimensional function space, so traditional optimization methods in vector space may not apply.</p><p>2) The objective is subject to subsidiary constraints (III.1).</p><p>3) The objective contains a combinatorial dependencies between the variables, in other words, all agents update their preferences in response to how others update. This structure makes the objective challenging to optimize. To address the above challenges, in this paper we combine the following techniques:</p><p>1) For the inter-agent dependencies, a strategy commonly used in multi-agent game solvers is the iterative best response (IBR) scheme <ref type="bibr">[49][37]</ref>. In one iteration, each agent's strategy (in our case the preference distribution) is locally optimized by solving a subproblem; in the subproblem other agents' strategies are fixed.</p><p>2) The subproblem for each agent is constructed sequentially. Each agent updated their preference distribution in response to those who have already updated, and assuming those who haven't updated would follow. 3) Each subproblem can be solved analytically using Lagrange multipliers <ref type="bibr">[14]</ref> as an isoperimetric problem with subsidiary conditions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Sequential Iterative Variational Update</head><p>In k-th iteration, each agent updates its own preference sequentially by solving a subproblem. For agent i, the corresponding subproblem is:</p><p>where</p><p>The first term in the subproblem objective (IV.1) is the Kullback-Leibler divergence between the preferences in two iterations, which controls the change between preferences in two consecutive iterations, and therefore serves as a "soft constraint" on the deviation of current preference p  agent i and rest of the agents, assuming their preferences are fixed, under this assumption optimizing the second term equals optimizing the overall joint expected collision penalty (III.4). Note that the construction of c(k) i (p) needs to follow a sequential order as shown in (IV.2): all agents with indices smaller than i would update their preferences for next iteration ahead of agent i, and their updated preferences are fixed in agent i's subproblem. For all agents with indices larger than i, their preferences are fixed as before being updated for next iteration.</p><p>Theorem IV.1. The global minimum for the subproblem (IV.1) is:</p><p>Proof: See appendix.</p><p>Theorem IV.2. After all n agents' preferences have been updated sequentially in one iteration following (IV.6), the inequality below holds, if p</p><p>i (f ) for some i &#8712; I:</p><p>, . . . , p (k+1) n ) (IV.7)</p><p>Proof: See appendix. Theorem IV.2 shows that in each iteration, the joint expected collision penalty (III.4) is guaranteed to be sufficiently decreased by updating the preference for each agent based on (IV.6). Since (III.4) is bounded below at zero, with the decrease of its value, the subproblem (IV.1) comes closer to optimizing the KL-divergence between the preference at two iterations; therefore the new preference at the next iteration comes closer to the one in last iteration. While we leave the question of whether the iterative update (IV.6) could lead to guaranteed or efficient convergence to future work, in practice we don't actually look for the minimum of (III.4), which could be infeasible for navigation (e.g., a set of Dirac delta functions infinitely far from each other), but instead look for sufficiently small (III.4) that is safe enough. To terminate the iteration, one can threshold either the objective (III.4) or the KL-divergence between two iterations. Figure <ref type="figure">3</ref> shows an example of updating three 1D distributions using the update rule.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. DistNav: Sampling-Based Crowd Navigation Based On Sequential Iterative Variational Analysis</head><p>Unfortunately, computing the preference updates (IV.6) analytically in high dimensional space is intractable due to the integrals in (IV.6), which is also known as the curse of dimensionality. Therefore, we propose a sampling-based motion planner based on (IV.6) to approximate the evolution of preferences and select the reference trajectory for robot navigation, the key idea here is to approximate the integrals through Monte Carlo integration.</p><p>We start by generating m samples from the original preference distribution of each agent, here we denote the samples for agent i as</p><p>i,m } (IV.10)</p><p>where each sample f (k) i,j indicates the j-th sample of agent i at k-th iteration, and it consists of two parts, the trajectory and the weight, we will not update the sample trajectory but only the weight:</p><p>Before the iterations begin, the weight of each sample will be initialized as w (0) i,j = 1. In the iteration, the weight of each sample will first be updated based on (IV.6), where the integral of &#947;(k) i (f i,y ) is approximated through Monte Carlo integration as:</p><p>And the weight of the sample is then updated as:</p><p>After all agent i's sample weights have been updated, we normalize the weights such that the average weight remains 1, this step is the approximation to the denominator in (IV.6).</p><p>For each sample f</p><p>i,j ), the updated preference for the trajectory is approximated as:</p><p>After the iteration terminates, the optimal trajectory of each agent is selected as the sample with largest approximated preference. Pseudocode of the whole algorithm can be found in appendix. Figure <ref type="figure">4</ref> shows how DistNav uses samples to approximate the evolution of three agents' preferences, where they pass each other in a narrow hallway.</p><p>V. EVALUATION</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Rationale for Both Simulated and Real World Dataset Evaluation</head><p>For evaluation, we considered the crowd datasets ETH <ref type="bibr">[31]</ref> and UCY <ref type="bibr">[26]</ref> and crowd simulators based on the the social forces model (SFM, <ref type="bibr">[18]</ref>; e.g., PEDSIM <ref type="bibr">[15]</ref>) and optimal reciprocal collision avoidance agents <ref type="bibr">[47,</ref><ref type="bibr">46]</ref>, such as implemented in <ref type="bibr">[4]</ref>. Ultimately, both evaluation methodologies have complementary strengths. For example, simulated agents can be overly permissive with aggressive robots: our Monte Carlo IGP produced zero collisions in PEDSIM while quickly navigating to the goal, whereas in our ETH study it was unsafe in 34/181 of runs (row 9, Table <ref type="table">I</ref>) and exhibited freezing robot behavior. However, simulation provides information about how the algorithm leverages agent cooperation. Alternatively, the humans in pre-recorded datasets are non-responsive, and so the robot cannot leverage cooperation. However, pre-recorded datasets provide human benchmarks on safety and efficiency performance, which can be useful in assessing an algorithm's real world viability. Thus, we used both validation techniques to gain insight about a) the algorithm's ability to leverage cooperation and b) the algorithm's safety and efficiency performance compared to human safety and efficiency performance.</p><p>However, how to evaluate a navigation algorithm against ETH and UCY is non-trivial. For instance, many trajectories in these datasets have no interaction; thus, the majority of the runs in these datasets are not sufficiently challenging for a navigation study. Further, pre-recorded crowd datasets do not immediately suggest a navigation testing protocol (ETH and UCY are typically used to benchmark prediction algorithms, where testing protocol is straightforward). However, a subsample of the ETH dataset (Figure <ref type="figure">5</ref>; 100 frames, 150 pedestrians) collected for testing a deep network in <ref type="bibr">[19]</ref> has many interactions and substantial congestion; indeed, every pedestrian interacts at least once and most pedestrians interact many times during the 100 frame sequence. To derive a navigation test protocol, we expand on an idea from the experimental section of <ref type="bibr">[42]</ref>: 1) identify a pedestrian, 2) extract the start and end position of that pedestrian, 3) remove that pedestrian from the observation dataset of the navigation algorithm, and 4) provide the start and end positions of the removed pedestrian and the current and previous positions of the remaining agents to the navigation algorithm. Thus we assure that at least one path through the crowd exists (the one taken by the removed pedestrian). Additionally, by providing the navigation algorithm with start and end points that are joined by a path through the crowd, the navigation algorithm naturally confronts high crowd densities (the human agent confronts an average density of 0.22 people/m 2 within a 3m radius circle). Finally, this testing protocol provides us with a powerful performance benchmark: actual human performance on the exact same situation as encountered by the navigation algorithm (first row, Table <ref type="table">I</ref>). To determine our safety threshold, we computed the shortest distance that any two humans in the ETH dataset ever came to each other; that distance was 0.21m. Additionally, two humans only came within 0.3m of each other 3 times. Thus, if the robot is within 0.21m of any human, we consider that a collision, while distances within 0.3m are considered unsafe or uncomfortable.</p><p>Furthermore, we partition this ETH dataset into what we call a "partial" trajectory dataset. In the partial trajectory dataset, we consider all (approximately) 10 meter long agent runs. For example, if agent 1's full trajectory was 30 meters long, we would have 3 partial trajectories. Partial trajectory experiments provide focused examination of an algorithm's ability to navigate through congestion in a safe and efficient manner. We identified 293 partial trajectories and tested 181 of them (the rest are discarded for calibration reason).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Rationale for Test Algorithms</head><p>We collected safety and path length data on humans, Dist-Nav, "first order" interacting Gaussian processes (foIGP, <ref type="bibr">[43]</ref>), "second order" IGP (soIGP, the extension of foIGP that considers both robot-agent and agent-agent interactions), soIGP using Monte Carlo optimization with 10 6 samples (so MC 1e6, implementation details can be found in <ref type="bibr">[43]</ref>), the "dynamic window approach" (DWA, <ref type="bibr">[11]</ref>), and ORCA <ref type="bibr">[47]</ref>. For our deep reinforcement learning baselines, we tested against "collision avoidance with deep reinforcement learning" (CADRL, <ref type="bibr">[6]</ref>), "socially aware reinforcement learning" (SARL, <ref type="bibr">[4]</ref>), "relational graph learning" and "model predictive relational graph learning" (RGL, MP-RGL, <ref type="bibr">[5]</ref>). Each algorithm was chosen to explore a certain aspect of the performance space. We collected data on humans to serve as an upper bound on performance. We tested soIGP and foIGP as state of the art trajectory space approaches. We tested DWA and ORCA because both are widely deployed; in particular, DWA is the default navigation algorithm in ROS (see ROS's base local planner ). We tested against the 4 highest performing deep reinforcement learning variants to understand how model based and learning based algorithms fare against each other.</p><p>Finally, we trained SARL in 7 different environments using the toolbox implemented in <ref type="bibr">[4]</ref> 2 . We trained in a 3m by 10m corridor (which mimics the ETH test conditions) with 15 and 5 people (0.5 and 0.16 people/m 2 densities), with mostly cross human cross traffic. The high density environment produced freezing robot behavior (freezing behavior = 71%, max(d r /d h ) = 23.8, where d r and d h are the path lengths of the robot and human, respectively), while the low density training produced a policy that was unsafe (Collisions = 34%). We thus attempted training in the high density corridor, but with random start and goal positions of the people; this again resulted in freezing robot behavior at test (freezing behavior = 18%, max(d r /d h ) = 14.7). We also trained in a 4m radius circular environment with 10 people, so the density was &#8776; 0.2 people/m 2 (the average density in the ETH data was &#8776; 0.2 people/m 2 ). This policy also showed freezing robot behavior (freezing behavior = 10%, max(d r /d h ) = 4.32). Additionally, we trained the other DRL variants (CADRL, RGL, and MP-RGL) in both ORCA and SFM training environments, with 5, 7, 14, 21, and 28 people in a 4m radius circular environment. Ultimately, the training regimen detailed in <ref type="bibr">[4]</ref>-a 4m radius circle with 5 agentsproduced the best performing policy for all DRL variants. We used these top performing policies for testing. 2 The toolbox is available at <ref type="url">https://github.com/vita-epfl/CrowdNav</ref>   The results of 181 partial trajectory runs are reported in Table <ref type="table">I</ref> and Figure <ref type="figure">6</ref> (a more comprehensive evaluation table can be found in the appendix). For safety and efficiency, only DistNav and soIGP are competitive with human performance, with DistNav outperforming soIGP. We tested DistNav with 100 samples per agent, in which case the algorithm can run in real time (average replanning time 0.23s). We also tested with 500 samples per agent, which resulted in longer computation time but no significant improvement in performance. In practice we think 100 samples per agent is a good balance between performance and computation efficiency.</p><p>Additionally, DWA and ORCA both exhibit freezing robot behavior (large value in "freezing behavior" column) and high rates of collision (large values in "collision" column). We note that all four DRL variants (last four rows of Table <ref type="table">I</ref>) We emphasize that although ETH provides useful information, it does not validate that an algorithm will perform well in the real world (this requires real world experiments). Nevertheless, we believe that the ETH benchmark can provide evidence of invalidation; that is, poor performance on ETH possibly indicates that an algorithm is not suitable for real world deployment.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Safety and Efficiency Evaluation in Simulation</head><p>We complement our ETH study with two simulation studies: one with 5 ORCA agents (the standard testing environment for DRL studies <ref type="bibr">[4,</ref><ref type="bibr">6,</ref><ref type="bibr">5]</ref>) and one with 7 agents. Our ORCA simulators are closely related to those developed in <ref type="bibr">[4]</ref>, with a few important differences:</p><p>&#8226; The robot is visible in both the 5 and 7 agent test because we wish to understand how our algorithm performs in the presence of responsive agents. &#8226; Once an ORCA agent reaches a goal, a new goal is provided to the agent. In this way, the agents circulate in the work space and the crowd density remains consistent throughout the run. The simulator in <ref type="bibr">[4]</ref> provides a single goal to each agent; the agent stops once it arrives. Thus, our simulator has a higher average crowd density than the simulator in <ref type="bibr">[4]</ref>. We point out that the ORCA robot outperforms all the algorithms in both the 5 and 7 person simulation; this is to be expected, since a group of ORCA agents have guarantees on collision performance and locally optimal efficiency. In short, an ORCA robot is perfectly tuned to an ORCA simulation. However, as seen in Table <ref type="table">I</ref>, ORCA is unsuitable for deployment in scenarios with agents not obeying the ORCA protocol.</p><p>For the five person simulation, we see that only ORCA and RGL outperform DistNav in terms of safety; however, RGL exhibits substantially longer mean time to goal, indicating freezing robot like behavior (e.g., RGL often chooses to go around the crowd). SARL shows nearly identical performance to DistNav, but its critical to recall that SARL (and the other DRL variants) were specifically trained in a 5 person ORCA simulator. Thus, all the DRL variants have a large advantage over DistNav: they have been precisely tuned to this simulation, whereas DistNav has not. In combination with the ETH results in Figure <ref type="figure">6</ref> and Table <ref type="table">I</ref>, DistNav displays substantially stronger performance, both in terms of safety and efficiency, and, more importantly, in the ability to generalize to novel scenarios. The 7 person case shows nearly identical qualitative results (although the exact number of collisions or time to goal changes slightly, the ordering of the algorithms remains the same.)</p><p>Finally, we attempted tests with the number of ORCA agents higher than 7, but this led to hard-to-interpret results because of simulator failures. For example, at higher densities, agents can be so close together that collisions are often caused by the ORCA agents themselves (e.g., an ORCA agent runs into the robot). While testing in simulation at higher densities is important, fixing the simulator is out of scope of this paper.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. CONCLUSION</head><p>We studied the crowd navigation problem by modeling both human and robotic actions as probability density functions (called preference distributions). This formulation, together with an optimization algorithm, captures the evolution of agents' preferences in the presence of interaction, something not modeled using trajectory space coupling. Further, we designed a sampling-based crowd navigation method, called DistNav, and benchmarked against a variety of methods in both a real world dataset and in simulation. In both the dataset and simulation evaluation, Distnav outperformed all other algorithms and was competitive with human safety and efficiency performance.  </p></div></body>
		</text>
</TEI>
