Local Interactions for Cohesive Flexible Swarms

03/21/2019 ∙ by Rotem Manor, et al. ∙ 0

Distributed gathering algorithms aim to achieve complete visibility graphs via a "never lose a neighbour" policy. We suggest a method to maintain connected graph topologies, while reducing the number of effective edges in the graph to order n. This allows to achieve different goals and swarming behaviours: the system remains connected but flexible, hence can maneuver in environments that are replete with obstacles and narrow passages, etc.



There are no comments yet.


page 1

page 2

page 3

page 4

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.


We present a novel method for distributed control of multi-agent systems, which ensures maintaining flexible and connected spatial constellations. Such a requirement is needed in the context of many tasks that swarms of agents must carry out, such as mapping unknown environments, and deploying a connected network of sensors to cover unknown regions. The agents are assumed to be identical, anonymous (i.e. indistinguishable) and simple in the sense of having little or no memory (i.e. oblivious), with limited computation and sensing capabilities. In this paper we assume limited sensing range, denoted by . The swarm remains connected, never splits into disjoint groups, hence remains able to perform tasks cohesively.

We consider systems comprising mobile agents that interact solely by adjusting their motion according to the relative location of their neighbours. The agents are assumed capable of sensing the presence of other agents within the given sensing range. The agents then implement rules of motion based on information on the geometric constellation of their neighbours.

The motion of agents is designed to ensure global connectivity without attempting to maintain all existing visibility connections between agents. Therefore, we obtain swarms that are cohesive but not rigid, allowing the agents to move more freely and assume various desirable formations, for example in order to pass through narrow passages between obstacles, and reduce communication loads when agents must act as a backbone network for communication, etc. Our algorithm is truly distributed, hence insensitive to the size of the swarm, since each agent carries out simple calculations and makes local individual decisions, rendering it suitable for swarms with very large numbers of agents.

Interactions between agents in multi-agent systems are often mathematically described using a graph, commonly labelled as , where is the set of vertices (representing the agents), and is the set of edges (representing connections between the agents). The neighbourhood set of a vertex is the set of vertices connected to it, i.e. .

The connection between the agents is either fixed and known in advance, or it is defined based on geometric relationships between the agents’ positions (in space, say in the plane ), i.e. on the set . In the limited visibility case, agents are visible to each other if their mutual distance does not exceed the visibility range limit , and the interconnection graph is the visibility graph corresponding to the agents’ locations. In this case, in , the set is defined as follows:

A fundamental issue in a multi-agent system is to maintain cohesiveness, i.e. the interconnection graph corresponding to the system configuration, must stay connected, otherwise the system splits into disjoint parts. For a graph to be connected, there must always be a path between each pair of nodes in the graph.

In a recent survey on multi-agent geometric consensus [1], different types of distributed gathering algorithms are presented in detail, where gathering agents with limited visibility is addressed, as discussed in [2, 3, 4, 5, 6, 7, 8, 9]. Other recent articles e.g. [10], [11], [12], [13], [14] also deal with the consensus problem in distributed multi-agent systems. A common principle in the distributed control algorithms dealing with gathering, rendezvous, clustering, and aggregation of multi-agent systems is the ”never lose a neighbour” policy, requiring:

that is, once agents become neighbours, they must remain neighbours forever, hence the number of edges in the interconnection graph never decreases. Local behaviours for the agents that enforce this policy, with additional bias aiming to gradually add more edges to the graph, are often sufficient for the graph to become complete in finite expected time. In the limited visibility case, such systems necessarily gather to a region with “diameter” less than .

Hence, the “never lose a neighbour” policy is optimally suited for the purpose of gathering, since increasing the number of connected agents leads to clustering of agents to a small, visibility-horizon-defined area. However, for connectivity maintenance only, the “never lose a neighbour” policy is certainly too conservative and stringent: maintaining connectivity only requires a connected neighbourhood graph, rather than a complete graph, and this goal may be achieved if some existing mutually visible agents cease to be defined as neighbours.

The conservative policy is quite popular in the multi-agent distributed control field since the lack of coordination between agents’ decisions, may, in general, cause the graph to become disconnected. We here propose a local method for maintaining a connected graph in distributed multi-agent systems, which ensures, along with preserving the graph connectivity, that the number of edges does not exceed , where is the number of agents in the system. The proposed method maintains graph connectivity with as compared to in the complete graph.

Why can such a generic method be useful? A swarm in which the constraints that apply to agents are fewer is more flexible, so it can be steered through regions full of obstacles and narrow passages. A swarm that is connected but the number of neighbourhood defining edges in the graph is small, may self-organise in more interesting and useful constellations. A swarm in which the connections are determined according to the proposed algorithm can be spread and stretched so that the distance between its agents can attain distance of the order of , i.e. in some cases it can even be arranged to form a line. Hence we envisage that the proposed method can be a useful basic process in designing multi-agent swarming algorithms that are usually called upon to ensure cohesiveness in various cases of controlled swarm actions, where, for example, the swarm is guided by leaders or by some exogenous broadcast controls.

The cohesion ensuring process

Following Toussaint’s work (1980) on relative neighbourhood graphs (RNG) [15], we define , the “effective neighbourhood” of agent , as a subset of :


i.e. if agents and are neighbours, and there is an agent whose distance from agent and from agent is smaller than the distance between agents and (see Figure 1), then the edge is not necessary to maintain connectivity between agents and . Coordination between the agents is already a feature built into this method because the decision of two agents whose connection is not necessary to maintain connectivity is symmetrical, that is, if a “bridging” agent exists, we have that .

Fig. 1: Two circles of radius centered at and . If there is an agent inside the intersection lens of these circles, it is necessarily closer to than and closer to than . Hence in this case but , and but .

Define as , i.e. is a subgraph of the visibility graph whose set of edges is defined by (1).

An example of a neighbourhood graph vs. effective neighbourhood graph is shown in Figure 2, where both solid and dashed lines belong to the neighbourhood graph, but only the solid lines belong to the effective neighbourhood graph. In this example only half of the edges remain after reducing unnecessary edges due to rule (1).

Fig. 2: In this example, the original neighbourhood graph on nodes, contain edges between every pair of agents distanced or less (both solid and dashed lines). In the effective neighbourhood graph, edges that are unnecessary for connectivity maintenance due to rule (1) are shown dashed, and only edges, shown in solid line, remain.
Lemma 1

If is connected, then is connected.

We prove this Lemma by contradiction. Assume is connected and is disconnected to two disjoint connected sets and . Hence, by assumption,


without loss of generality, assume and are the closest agents between the two groups and . Since is connected by assumption, we have that , being the closest pair. By assumption these two agents are not effective neighbours, hence are not connected in , i.e. and . But by (1) there is necessarily an agent that links them, see (2). Hence and can not be the closest agents.

We note that the RNG has been proposed in multi-agent robotics in conjunction with multi-agent gathering and/or deployment algorithms, e.g. [16], [17], [18], [19]. The novelty in our work is proposing the use of the RNG and some extensions for maximally flexible swarm operations, and defining and using, along with various goal oriented constraints, the largest local allowable regions for displacement that ensure maintenance of connectivity, in the spirit of [4]. We note that methods to reduce the number of edges in geometric graphs while maintaining connectivity are also used for purposes that do not concern dynamics of agents, but, for example, for saving energy in ad-hoc communication networks, see e.g. [20].

The motion Laws

In order to allow the agents free movement that does not violate the preservation of connectivity, we define for each agent an “Allowable Region”. If all agents move into their allowable regions, preservation of connectivity is satisfied. Recalling Ando et. al. [2] for a pair of agents, the Allowable Region of each agent is a disc of radius centered at the midpoint position between the two agents (see figure 3).

Fig. 3: The Allowable Region of two agents and is a disc of radius centered at their meadpoint position .

If two agents whose mutual distance is smaller or equal move into their allowable region defined in (3) that they both can calculate, they keep their mutual distance smaller than , hence the agents will stay connected.

If an agent has more than one neighbour, its allowable region is defined by the union of is allowable regions given by (3), see Figure 4:

Fig. 4: The allowable region of an agent is the union of its allowable regions, illustrated here by the dashed area .

clearly if an agent moves to the union of its allowable regions defined by (4), it is guaranteed that the distance from all its neighbours will not exceed .

Similar to (4),we define an “Effective Allowable Region”:


i.e. the effective allowable region of agent is the intersection of all its allowable regions relative to all the agents in its effective neighbourhood, defined by .

Hence, the motion law will be:


i.e. the next position of agent is any point inside its current effective allowable region (5). Since , the restriction of movement in (5) is less constrained than that of (4).

The freedom to move to any location inside allowable regions rather to a specific point, provides flexibility and allows other considerations and optimisations to be carried out by the agents.

Theorem 1

A system of agents obeying dynamic law (6) maintains connectivity.

The initial visibility graph associated with the system is connected by assumption. We have by Lemma 1 that is connected. If all agents obey motion law (6), we have that , i.e. all edges of are preserved. Therefore is connected. Since is connected, also will be connected.

Applications and Simulation Results

The distributed meta-algorithm presented so far opens up many possibilities of applications for distributed control of swarms. A number of interesting research directions that we consider relevant are algorithms with the ability to move a swarm of agents through narrow passages and obstacles, algorithms for mapping unknown areas, and reducing communication load when agents constitute a relay station for transmitting messages, as well as other topics requiring geometrically flexible swarms. We discuss below several examples.

Example : Traversal of narrow passages

In this example (Figure 5), which will be discussed in detail in a subsequent article, the swarm is required to pass through a narrow passage. we implemented a rule of motion that prevents two agents from approaching each other closer than . Then the agents movement is also governed by the cohesion rule (6) with two additional restrictions on the agents’ allowable regions: (1) they exclude the obstacle areas (1) they ensure line-of-sight preservation between effective neighbours. One designated “leader” agent pulls the rest of the agents through the narrow passage. Because the swarm is not rigid, this passage is possible. By comparison, if the “never lose a neighbour” policy would have been applied together with the minimum distance limit (), the swarm would have been too rigid to pass through the narrow passage.

Fig. 5: Passing through a narrow passage. (a) Initial constellation (b) The leader pulls the rest of the agents while only necessary edges are preserved (c) The swarm successfully completed the passage. This simulation result is based on the “RNG Plus” approach described at the end of this article with the value .

Example : Formation

This example presents simulations of convergence to quasi regular formation (Figure 6). In a topology where each agent relates to all other agents (i.e. in complete graph), by geometry it is impossible to create a structure in which all the lengths of the edges are identical. In this simulation, each agent worked according to rule (1) in order to choose only its effective neighbours, and only in relation to these (effective) neighbours he aspires to maintain a fixed distance of . The system “anneals” to a nice quasi regular formation enabling nice and uniform area coverage as presented in the network evolution below.

Fig. 6: (a) Edges exist between every pair of mutually visible agents at a distance or less (b) Evolution of the network: only the necessary edges are kept (c) Final constellation: a required structured is achieved. This simulation result is based on the “RNG Plus” approach described at the end of this article with the value .

Example : Following a leader

In this example (Figure 7), one random agent in the group becomes a designated leader which will seek to move along a predetermined path. A process is shown in which the number of edges in the neighbourhood graph decreases, while the graph remains connected, until a linear constellation of agents is formed, and the linear “snake-like” swarm follows the leader.

Fig. 7: Following the leader. The randomly designated leader agent is shown as a large red circle, and the evolution of forming a line is presented from left to right. (a) Edges exist between every pair of agents distanced or less, and a random leader is selected (b) gradually unnecessary edges disappear while the graph remains connected (c) Final constellation: the required line structured is achieved while all the agents follow the leader agent.

Example : Ad-hoc networking

In this example, each node describes an agent with limited communication and visibility range , and each solid-line edge describe an “active” communication channel. In order to receive information from all the agents, a connected graph is required, but since the operation of transmission and reception consumes energy, there is motivation to reduce the number of necessary communication channels. In this simulation (see Figure 2), all lines (both solid and dashed) are shorter than , but not all the lines are necessary for maintaining connectivity, i.e. communication is guaranteed using the solid lines only. The sub graph shown in solid lines was distributedly established by the agents themselves, each agent having information only about neighboring agents in the range . The upper limit of number of edges is (i.e. clique). Under the geometric law (1), in the case, each agent can have up to effective agents, and therefore the upper limit of effective edges in this case will be . Toussaint [15] proved that finite planar set RNG, similar to ours effective graphs, contains at most edges. It is clear that using the method reduces overall energy consumption associated with communication [20].


A general method was introduced for the distributed control of multi-agent systems, which maintains connected but flexible swarms. An algorithm was introduced, allowing to locally and in a distributed manner, to remove edges in an interconnection graph between agents, without risking disconnecting it, which reduces the number of edges in the graph over time from order to order .

Discussion And Further Investigation

The examples presented by simulation, did not include formal proofs. In a forthcoming article, we deal with formal definitions of motion laws in the presence of obstacles, and a formal analysis that the system indeed converges in finite expected time to the desired constellation.

An interesting extension of the ideas presented above is the design of local rules based on allowing “at most ” agents of the swarm to be present in the intersection between the visibility discs of neighbours, in order to maintain the connection between them. In our previous analysis on RNG we took . This extension named “RNG Plus” will ensure more reliable connectivity at the expense of slightly less flexibility. This tradeoff too will be the subject of further investigation.

A video of some of the simulations shown above is available on-line at https://youtu.be/A3jnYpY15DY.


  • [1] Ariel Barel, Rotem Manor, and Alfred M Bruckstein. Come together: multi-agent geometric consensus (gathering, rendezvous, clustering, aggregation). arXiv preprint arXiv:1902.01455, 2019.
  • [2] Hideki Ando, Yoshinobu Oasa, Ichiro Suzuki, and Masafumi Yamashita. Distributed memoryless point convergence algorithm for mobile robots with limited visibility. Robotics and Automation, IEEE Transactions on, 15(5):818–828, 1999.
  • [3] Noam Gordon, Israel A Wagner, and Alfred M Bruckstein. Gathering multiple robotic a (ge) nts with limited sensing capabilities. In Ant Colony Optimization and Swarm Intelligence, volume 3172 of Lecture Notes in Computer Science, pages 142–153. Springer, 2004.
  • [4] Noam Gordon, Israel A Wagner, and Alfred M Bruckstein. A randomized gathering algorithm for multiple robots with limited sensing capabilities. In Proc. of MARS 2005 workshop at ICINCO Barcelona, 2005.
  • [5] Veysel Gazi and Kevin M. Passino. Stability analysis of swarms. IEEE Transactions on Automatic Control, 48:692–697, 2003.
  • [6] Veysel Gazi and Kevin M Passino. Stability analysis of social foraging swarms. Systems, Man, and Cybernetics, Part B: Cybernetics, IEEE Transactions on, 34(1):539–557, 2004.
  • [7] Reza Olfati-Saber, J Alex Fax, and Richard M Murray. Consensus and cooperation in networked multi-agent systems. Proceedings of the IEEE, 95(1):215–233, 2007.
  • [8] Luc Moreau. Stability of continuous-time distributed consensus algorithms. In Decision and Control, 2004. CDC. 43rd IEEE Conference on, volume 4, pages 3998–4003. IEEE, 2004.
  • [9] Ali Jadbabaie, Jie Lin, and A. Stephen Morse. Coordination of groups of mobile autonomous agents using nearest neighbor rules. Automatic Control, IEEE Transactions on, 48(6):988–1001, 2003.
  • [10] Anıl Özdemir, Melvin Gauci, Salomé Bonnet, and Roderich Groß. Finding consensus without computation. IEEE Robotics and Automation Letters, 3(3):1346–1353, 2018.
  • [11] Dimos V Dimarogonas and Kostas J Kyriakopoulos. On the rendezvous problem for multiple nonholonomic agents. IEEE Transactions on automatic control, 52(5):916–922, 2007.
  • [12] Housheng Su, Xiaofan Wang, and Guanrong Chen. Rendezvous of multiple mobile agents with preserved network connectivity. Systems & Control Letters, 59(5):313–322, 2010.
  • [13] Ariel Barel, Rotem Manor, and Alfred M Bruckstein. Probabilistic gathering of agents with simple sensors. arXiv preprint arXiv:1902.00294, 2019.
  • [14] Rotem Manor and Alfred M Bruckstein. Chase your farthest neighbour: A simple gathering algorithm for anonymous, oblivious and non-communicating agents. In Proc. 13th Int. Symp. Distrib. Auton. Robotic Syst, 2016.
  • [15] Godfried T Toussaint. The relative neighbourhood graph of a finite planar set. Pattern recognition, 12(4):261–268, 1980.
  • [16] Shouwei Li, Christine Markarian, Friedhelm Meyer auf der Heide, and Pavel Podlipyan. A continuous strategy for collisionless gathering. In International Symposium on Algorithms and Experiments for Sensor Systems, Wireless Networks and Distributed Robotics, pages 182–197. Springer, 2017.
  • [17] Anurag Ganguli, Sara Susca, Sonia Martínez, Francesco Bullo, and Jorge Cortes. On collective motion in sensor networks: sample problems and distributed algorithms. In Proceedings of the 44th IEEE Conference on Decision and Control, pages 4239–4244. IEEE, 2005.
  • [18] Jorge Cortés, Sonia Martínez, and Francesco Bullo. Robust rendezvous for mobile autonomous agents via proximity graphs in arbitrary dimensions. Automatic Control, IEEE Transactions on, 51(8):1289–1298, 2006.
  • [19] Sonia Martínez, Jorge Cortes, and Francesco Bullo. Motion coordination with distributed information. Control Systems, IEEE, 27(4):75–88, 2007.
  • [20] Farinaz Koushanfar, Abhijit Davare, David T Nguyen, Alberto Sangiovanni-Vincentelli, and Miodrag Potkonjak. Techniques for maintaining connectivity in wireless ad-hoc networks under energy constraints. ACM Transactions on Embedded Computing Systems (TECS), 6(3):16, 2007.