Chapter III: Decision-Making: Behavioral Protocols
3.7 Liveness Guarantees
Note, we introduce the definition of liveness, from [64], as follows:
Definition 20(Liveness). Alivenessproperty asserts that program execution even- tually reaches some desirable state.
For this work, the eventual desirable state for each agent is to reach their respec- tive final destinations. Proving fairness, as described in [64], is proving that each action will always terminate, and is fundamental for proving liveness. Additionally for liveness, the absence of 1) deadlocks and 2) collisions also need to be proved.
Deadlock occurs when agents indefinitely wait for resources held by other agents [73]. Since the Manhattan grid road network has loops, agents can enter a config- uration in which each agent in the loop is indefinitely waiting for a resource held
by another agent. When the density of agents in the road network is high enough, deadlocks along these loops will occur. We can therefore guarantee liveness only when certain assumptions hold on the density of the road network.
Definition 21(Sparse Traffic Conditions). Letπdenote the number of grid points in the smallest loop (defined by legal orientation) of the road network, not including grid pointsπβ Sintersections. Thesparse traffic conditionsmust be such thatπ < πβ1, where π is the number of agents in the road network. The number of agents has to be such that the smallest loop does not become completely saturated, in which deadlock would occur. Note, these sparsity conditions are conservative because they are define based on the worst possible assignment of agents and their destinations.
Now, we introduce the liveness guarantees under these sparse traffic conditions.
The proof of liveness is based on the fact that 1) behavioral profile include progress specifications and 2) conflict precedence is resolved by giving priority to the agent that has waited the longest time (a quantity that is reflected by token counts).
Theorem 6(Liveness Under Sparse Traffic Conditions). Under the Sparse Traffic Assumption in Definition 21 and given all agents Ag βπin the quasi-simultaneous game select actions in accordance to the agent protocol specified in Section 3.5, liveness is guaranteed, meaning all Ag β π will always eventually reach their respective goals.
The following is a proof sketch.
Proof: It suffices to assume:
1. βAg β π, βAg0 β Bπ΄π in road segments, and βπ΄π0 within a local region around the agent as defined in Section 3.3 at intersections, π΄π has access to other agentsβ state and intended action.
2. Each Agβπhas access to the traffic light states.
3. There is no communication error in the conflict requests, token count queries, and the agent intention signals.
4. Forπ‘ =0,βAgβπin the quasi-simultaneous game is initialized to:
β’ Be located on a distinct grid point on the road network.
β’ Have a safe backup plan actionππ πsuch thatπAg,π π(π’) =T.
55 5. The traffic lights are red a window of time Ξπ‘tl such that π‘min < Ξπ‘tl < β, whereπ‘min is defined so agents are slowed down long enough so agents that have been waiting at a red light can eventually take a lane-change action. More details can be found in Appendix B.
6. The static obstacles are not on any grid pointπ βπΊ whereπ .π =1.
7. Each Ag treats its respective goalgoalAgas a static obstacle.
8. Bundles in the road networkβhave no more than 2 lanes.
9. All intersections in the road networkβare governed by traffic lights.
and prove:
1. The invariance of a no-deadlock state follows from the sparsity assumption and the invariance of safety (no collision) follows from the safety proof.
2. Inductive arguments related to control flow are used to show that all Ag will always eventually takeπ β π΄ππ‘AgwhereπAg, forward progress(π , π, π’)=T.
a) Let us consider a road segment π π β π π that contains grid point(s) π β Ssinksmeaning that the road segment contains grid points with sink nodes. Inductive arguments based on the agentsβ longitudinal distance to destination grid points are used to show that every Ag β π will be able to always eventually takeπ β π΄ππ‘Agfor which the forward progress oracleπforward progress(π , π, π’)=T.
b) Let us consider a road segment π π β π π. Let us assume βπ π 0 β π π for which (π π , π π 0) β πΊdep, there is always eventually clearance onπ π 0, meaning all road segments that agents onπ π depend on to have clearance always eventually have it. We can use inductive arguments based on agentsβ longitudinal distance to the front of the intersection to show any Ag onπ π will always eventually take π β π΄ππ‘Agwhere the forward progress oracleπAg, forward progress(π , π, π’) =T.
c) For any βwhere the dependency graphπΊdep (as defined in Definition 11) is a directed-acyclic-graph (DAG), inductive arguments based on the linear ordering of road segments π π β πΊdep are used to prove that all Ag β π will always eventually take π β π΄ππ‘Ag for which the forward progress oracleπAg, forward progress(π , π, π’) =T.
d) When the graphπΊdep is cyclic, the Sparsity Assumption (in Definition 21) breaks the cyclic dependency and allows for the similar induction arguments in 2c to apply.
3. By the above inductive arguments and the definition of the forward progress oracle πAg, forward progress(π , π, π’), all Ag will always eventually take actions that allow them to make progress towards their respective destinations.
Features of the agent protocol, like fairness from the conflict-cluster resolution and eventual satisfaction of all oracles in the behavioral profile are used for the arguments in the proof. The full proof can be found in Appendix B.