Next Article in Journal
A Deep Transfer Learning-Based Network for Diagnosing Minor Faults in the Production of Wireless Chargers
Previous Article in Journal
Online Machine Learning and Surrogate-Model-Based Optimization for Improved Production Processes Using a Cognitive Architecture
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved Vicsek Model of Swarms Based on a New Neighbor Strategy Considering View and Distance

1
Asia Europe Business School, Faculty of Economics and Management, East China Normal University, Shanghai 200241, China
2
College of Electronics and Information Engineering, Tongji University, Shanghai 201804, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(20), 11513; https://doi.org/10.3390/app132011513
Submission received: 14 August 2023 / Revised: 12 October 2023 / Accepted: 19 October 2023 / Published: 20 October 2023
(This article belongs to the Section Transportation and Future Mobility)

Abstract

:
Collective behaviors in nature and human societies have been intensively studied in recent decades. The Vicsek model is one of the typical models that explain self-ordered particle systems well. In the original Vicsek model, the neighbor strategy takes all its neighbors’ mean directions into account when updating particles’ directions, which leads to a longer convergence time and higher computation cost due to the excess number of neighbors. In this paper, we introduce a new neighbor strategy to the Vicsek model. It defines that each particle will only select a certain number of particles with the farthest distance that fall into its vision sector as its neighbors. In addition, we classify the Vicsek model as the static model and the dynamic model according to whether the features of particles in the model are constant or not. Moreover, we design a new rule to apply the new neighbor strategy to dynamic Vicsek models. The simulation results indicate that our new neighbor strategy can significantly decrease the average number of particles’ neighbors but still be able to further enhance the Vicsek model’s convergence performance. The comparative results found that the static and dynamic model applied with the new neighbor strategy outperforms the models that only apply view restriction or remote neighbor strategy in noiseless and noisy conditions.

1. Introduction

Collective behaviors of biological swarms have gathered interest from researchers in various fields in the past decades. The collective motion demonstrated in biological systems, including swarms of insects [1,2], flocks of birds [3,4], and schools of fish [5,6], has been widely studied. Creatures in such swarms coordinate their movements in the absence of an external control center or an internal leader [7].
Modeling is developed to understand collective behaviors in nature better, as well as to effectively control artificial swarms, such as multi-robot systems [8] and unmanned vehicles [9,10,11]. Reynolds proposed the Boid model and ran the first computer simulation of flocking based on three heuristic rules, known as cohesion, separation, and alignment [12]. Later, Vicsek et al. proposed a more straightforward model that concentrated on the direction alignment in self-propelled particle systems [13], which can be regarded as the earliest work in the field of active matter physics. More recently, as matter physics develops, new research branches occur, including dry aligning dilute active matter [14,15]. Our work focuses on the fundamental Vicsek model (VM), where particles move synchronously in a two-dimensional square plane with periodic boundary conditions. At each discrete time step, the velocity direction of each particle is updated following the average velocity direction of its neighbors. Neighbors of a particle are defined as other particles that fall into the disc centered at this particle. Simulations of VM demonstrate that all particles will try to align their movements and achieve highly coordinated movements under certain circumstances. However, the original VM is too simple to simulate the complex behaviors of real creatures. Moreover, due to limited convergence performance, VM needs to be improved to be applied in practical applications. Many dynamic features of VM also need to be studied. Thus, research on VM has attracted numerous researchers’ attention.
Adjustments of the original VM realize the simulation of real creatures, such as bacterial colonies [16] and marching locusts [2]. More recent studies introduce response delay [17], obstacles [18], evolutionary game theory [19], and proportional-integral control strategy [20] to VM. In addition, phenomena including scale-free chaos [21] and multispecies flocking [22] were also studied. Another study proposes a neighbor selection strategy based on FNN [23]. Methods to accomplish improvements in the convergence performance of the original VM are another popular research branch, and this paper divides them into two categories. The first category realizes improvement by providing particles in VM with more information when updating their directions [24,25,26,27,28], and the second category is ultimately the opposite, providing less information [19,29,30,31]. Examples of the first category include the adaptive velocity model proposed by Li Wei et al., where particles adjust their speed constantly according to additional consensus information provided [28]. Xue et al. introduced hierarchical society into VM [24], where each particle has additional social status information. Both these two improved VM above improve convergence performance with more environmental information provided for particles in the VM. On the contrary, research on the second category found that too much environmental information obtained by particles in the system may obstruct synchronization [29,30], which is counter-intuitive. The decrease in environmental information provided for particles is mainly realized by reducing the average number of neighbors. In particular, Tian et al. proposed an improved VM with a restricted vision field (RVFVM) [29]. Similar to the limited vision field of real creatures [32,33], RVFVM limits the vision field of particles in the model, leading to fewer neighbors. Similarly, the improved VM with remote neighbor strategy (RNSVM) also reduces the average number of neighbors by selecting the farthest proportion of particles that fall into the visual field as neighbors [31]. In RVFVM and RNSVM, less environmental information is provided for particles by reducing their neighbors in different ways, and the convergence performance is improved. Table 1 sums up the research progress related to the improvement of VM.
Reducing the number of neighbors has practical value, as it means a smaller amount of computation in artificial swarms, leading to a decrease in cost and an increase in performance. Therefore, this paper focuses on the second VM improvement method, reducing the environmental information for particles in VM. Present research aiming at this method mainly considers only one factor, such as RVFVM and RNSVM, as mentioned. However, the effect of multi factors on the performance of VM and the coupling relationship between these factors is unclear. Additionally, the present VM improvement studies are limited by the velocity updating strategy of particles in the model. It is worth exploring a new strategy to improve VM’s convergence performance further. Thus, the goal of this paper is to improve the velocity updating strategy of VM by combining multi factors that can reduce the number of neighbors and study the effect of these factors on the performance of VM and the coupling relationship between these factors. To achieve this goal, we improve the velocity updating strategy by proposing a new neighbor strategy for particles in VM to choose their neighbors when updating the velocity. The new neighbor strategy applies view restriction and remote neighbor strategy simultaneously. More specifically, each particle will only consider the farthest part of particles that fall into its vision sector, which is a new way of reducing the number of neighbors. Two new factors are also introduced to determine how neighbors are selected: the angle of the vision sector and the proportion by which the farthest neighbors are selected. Then, we compare the performance of the improved VM with the new neighbor strategy, RVFVM, RNSVM, and the original VM.
The remainder of this paper is organized as follows. In Section 2, the details of the original VM are introduced. In Section 3, we propose the improved VM with the new neighbor strategy based on view and distance. The innovative strategy design is elaborated in this section. In Section 4, indicators are applied to evaluate the performance of the improved VM and settings of simulation experiments are introduced. Then, simulation and discussion are given in Section 5. In the end, conclusions of the findings are given in Section 6.

2. The Vicsek Model

In the original VM, N particles move synchronously with the same velocity v 0 in an L × L square region with periodic boundary conditions. Initially, all particles are randomly distributed in the square region, and their initial directions are also randomly distributed within 0 , 2 π . At each discrete time step k, particle i updates its direction as an average direction of its neighbors θ i k with random noise Δ θ added. The range of the random noise added is η , η , 0 η π . The direction of particle i is updated according to Equation (1):
θ i ( k + 1 ) = θ i ( k ) + Δ θ , i = 1 , 2 , , N .
Therefore, the position of particle i is updated according to Equation (2):
X i ( k + 1 ) = X i ( k ) + v 0 e i θ i ( k )
In Equation (2), X i ( k ) denotes the position vector of particle i at time step k. The neighbors of particle i are defined as particles that fall into the circle with radius R centered at the position of particle i, as is shown in Figure 1. Therefore, particle j is the neighbor of particle i if and only if X i ( k ) X j ( k ) R .

3. The Framework of the Proposed VM

This research proposes an innovative neighbor strategy that combines view restriction and remote neighbor strategy. The improved VM based on this new neighbor strategy provides particles in the model with a new way to select their neighbors when updating their velocity directions. The proposed new neighbor strategy is distinguished from strategies proposed in previous studies, and it aims at further reducing the number of neighbors as well as improving the convergence performance of the VM simultaneously.
The VM with the new neighbor strategy is initially built as the static type, defined as the improved VM with static parameters (SPVM) in this study. In SPVM, the angle of the vision field and the proportion by which particles select their neighbors are static. When noise is introduced to VM, particles will be affected by random noise when determining the next time step’s velocity direction, making the overall environment unstable and the model difficult to converge. The static feature of SPVM makes particles unable to adapt to the constantly changing environment. To perform better in conditions with noise, the static type of model is evolved into the dynamic type, defined as the improved VM with dynamic parameters (DPVM) in this work. In DPVM, the view angle and the selection proportion are assumed to be dynamic, which helps particles choose the strategy most suitable to the current environment nearby, thus improving the performance of VM in noisy conditions.

3.1. The Improved SPVM

Different from the original VM, in SPVM, the way a particle selects its neighbors and updates its direction is changed, as illustrated in Figure 2. Firstly, the vision field of each particle is a sector symmetric about its current velocity direction. The view angle ω determines the size of the vision field, which is consistent for all particles in SPVM. Mathematically, particle j is inside the vision field of particle i at step k if and only if X i ( k ) X j ( k ) R and a n g l e ( v i ( k ) , i j ( k ) ) ω / 2 are satisfied. v i ( k ) denotes the velocity vector of particle i; i j ( k ) denotes the vector which starts at the position of particle i and ends at the position of particle j; a n g l e ( a , b ) denotes the angle between vector a and vector b . Then, N i , ω particles that fall into the vision field of particle i are sorted according to the Euclidean distance between particles N i , ω and particle i. To further reduce the number of neighbors, we assume that only the farthest n i ( k ) particles could be chosen as neighbors of particle i at time step k. Moreover, we design that n i ( k ) = p × N i , ω ( k ) , where p is the selection proportion and p 0 , 1 . The neighbor set of particle i at time step k is Γ i ( k ) . Thus, the average direction of the neighbors of particle i is calculated by Equation (3):
θ i ( k ) = a r c t a n ( j = 1 n i ( k ) s i n θ j ( k ) j = 1 n i ( k ) c o s θ j ( k ) ) , j Γ i ( k )

3.2. The Improved DPVM

Previous research has proved that adding a dynamic feature or non-homogeneous feature to the VM can improve the performance of VM [24,28]. Additionally, the model of dynamic type can adapt to conditions with noise better, as mentioned before. Therefore, this paper proposes DPVM to improve SPVM further, overcoming SPVM’s weakness in noisy conditions. The DPVM is assumed to share the same rules with SPVM, except that each particle has a different view angle ω and a selection proportion p, which change along with the simulation time and the local level of consensus. The dynamic features of parameters ω and p, as well as the features that each particle has different ω and p, could help the model perform better in noisy conditions.
The following order parameter V l o c a l ( k ) measures the degree of movement consensus of the neighbors of particle i. The information V l o c a l ( k ) provides will determine the view angle and selection proportion of certain particle i at the next time step k + 1 :
V l o c a l ( k ) = 1 n i ( k ) j = 1 n i ( k ) e i θ j ( k ) , j Γ i ( k ) . 0 V l o c a l ( k ) 1
In Equation (4), only particles belonging to the neighbor set of particle i are measured when calculating V l o c a l ( k ) of particle i, so V l o c a l ( k ) represents the degree of consensus of the neighbors of particle i at time step k. The definition of neighbor degenerates to that of the original VM when calculating V l o c a l ( k ) , which means all particles falling into the disc with radium R centered at particle i are regarded as neighbors. In other words, view angle ω is not taken into consideration when calculating V l o c a l ( k ) . When particles move in a highly synchronized manner, all particles move in almost the same direction, and thus, the value of index V l o c a l ( k ) will be close to 1.
In DPVM, the view angle ω and selection proportion p of particle i are not constants. Instead, they are functions of V l o c a l ( k ) . Therefore, in DPVM, each particle will constantly adjust its way of choosing neighbors according to its nearby consensus level. There is no limitation to the design of the functions, but by applying different functions, the model will demonstrate different characteristics and performance. DPVM will degenerate to SPVM if the functions applied are constant functions.

4. Simulation and Experiments

Firstly, the setting of the parameters of the model applied in the simulation will be introduced. Based on simulation results, the improvement of SPVM and DPVM will be evaluated. Therefore, order parameter V a ( k ) , convergence time T, and indicator V s t a b l e are introduced, in order to quantitatively indicate the convergence performance of SPVM and DPVM from different aspects, and the average number of neighbors n ¯ ( k ) evaluates the amount of information a particle obtains from the environment.

4.1. Parameter Settings of Experiments

To investigate the performance of the newly proposed neighbor strategy, this study considers N particles moving in a L × L square region with periodic boundary conditions, where N = 400 and L = 10 . Furthermore, the interaction radius R is fixed as 1; the velocity of particle v 0 is fixed as 0.1 . By controlling the value of these parameters, the coupling effect of parameters ω and p will be better understood. In cases without noise, η = 0 ; in cases with noise, η = 1 .

4.2. Evaluation Indicators of Model Performance

Order parameter V a ( k ) , shown in Equation (5), is widely adopted to quantitatively evaluate the degree of direction consensus of all the N particles in VM [26,28,29,30,34]:
V a ( k ) = 1 N j = 1 N e i θ j ( k ) , 0 V a ( k ) 1
where when all particles move in the same direction, V a = 1 . When the model is at a disordered state where there is barely a consensus of moving direction, V a is close to 0. Snapshots of moving particles in the model with different values of V a are demonstrated in Figure 3.
In a noiseless model ( η = 0 ), order parameter V a will be very much close to its maximum value (which equals to 1) after certain steps, except for extreme values of parameters (e.g., N, p or ω is too small). The convergence time T is an indicator of the model’s convergence performance in noiseless cases, which is defined as the time steps required by the model for V a to surpass 0.99 from the random initial state when V a is close to 0.
For cases when noise is considered ( η > 0 ), the maximum value that V a can actually reach will change as model parameters change. The system will be in a state between highly ordered ( V a close to 1) and disordered ( V a close to 0). In fact, after 8000 time steps, order parameter V a will fluctuate around a certain value, which is defined as V s t a b l e statistically in Equation (6):
V s t a b l e = 1 2000 k = 8000 10000 V a ( k )
V a ( k ) = 1 20 t i m e = 1 20 V t i m e ( k )
The value of V s t a b l e is defined as the average of a consecutive series of V a over 2000 time steps after 8000 time steps of iteration. V a at time step k is obtained by averaging over 20 random initializations to ensure the reliability of the results, which is defined in Equation (7). The value of V s t a b l e reflects the maximum degree of synchronization that the model can achieve in the presence of noise.
In addition, the average number of neighbors of all N particles at time step k is defined as n ¯ ( k ) , where n i ( k ) represents the number of neighbors of particle i at time step k (Equation (8)); n ¯ ( k ) represents the average amount of information particles obtain from the environment to decide their movements at the next time step.
n ¯ ( k ) = 1 N i = 1 N n i ( k )

5. Results and Analysis

We simulate SPVM in both noiseless and noisy conditions and compare it with the original VM, RVFVM, and RNSVM. Since the dynamic feature of DPVM will not bring further improvement in performance in noiseless conditions, only simulations of DPVM under noisy conditions will be included in this section. Furthermore, a comparison among DPVM and several typical SPVM will also be involved.

5.1. Simulation and Analysis of SPVM

In SPVM, view angle ω and selection proportion p are the key parameters that determine the performance of the model. Therefore, this section will analyze the coupling effect of ω and p on the performance of the model and the coupling relationship between ω and p.
  • Simulation of SPVM under noiseless conditions
The time step k-order parameter V a relationship of various Vicsek models, including VM, RVFVM, RNSVM, and SPVM, are compared in noiseless conditions. It is noticed that the original VM is a special case of SPVM with ω = 2 π and p = 1 ; RVFVM is a special case of SPVM with p = 1 ; RNSVM is a special case of SPVM with ω = 2 π . In RVFVM, there is an optimal view angle ω o p t which leads to the shortest convergence time T and ω = ω o p t = 1.4 π is adopted in the simulation. Similarly, regarding RNSVM, p = p o p t = 0.4 is adopted to perform the simulation. Regarding SPVM, the view angle and the selection proportion are set as ω = 1.2 π and p = 0.4 .
The simulation results are shown in Figure 4a. It can be seen that the proposed SPVM reaches the ordered state ( V a = 1 ) with the least time steps. It is worth mentioning that the value of view angle ω set for RVFVM and the value of selection proportion p set for RNSVM are optimum. Additionally, SPVM can accelerate the convergence speed further by combining view restriction and remote neighbor strategy. Moreover, as shown in Figure 4b, SPVM also has the least number of neighbors. To sum up, the proposed SPVM can further improve the model’s convergence performance while reducing neighbor information obtained from the environment simultaneously.
The combinatory effect of view angle ω and selection proportion p on the convergence time T of SPVM is shown in Figure 5 and Figure 6. In the following simulations based on SPVM, ω or p changes, while other parameters are set as: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 0 . Firstly, the convergence time T as a function of ω for different values of p is shown in Figure 5a. A smaller value of T means that the system reaches the ordered state faster, indicating a better convergence performance. From Figure 5a, a trend shows that for a fixed p, when ω increases, T decreases first, then increases. It means that for different cases of p = p 0 , there exists an optimal value of ω = ω o p t , p = p 0 that leads to the shortest convergence time. When p is too small, convergence time T will get longer, but the relationship between ω and T observed before will be lost. Then, ω is set as a certain value and the relationship between p and T is shown in Figure 5b. For a fixed ω , when p increases, T decreases first and then increases, which means there exists an optimal value of p o p t , ω = ω 0 that leads to the shortest convergence time when ω = ω 0 . Figure 6 demonstrates the relationship between view angle ω , selection proportion p, and convergence time T. Obviously, when ω or p is too small, the convergence time T will be longer because particles in the system do not have enough information to determine what direction to choose. However, when ω or p is too large, the convergence time will also be longer because of the excessive information obtained. Therefore, it is necessary to obtain the right amount of information and the right part of the information that really helps the model synchronization. By setting ω = 1.2 π and p = 0.4 , SPVM has the shortest convergence time T, which means combining view restriction and remote neighbor strategy can bring further improvement to convergence speed. If we narrow view angle ω or reduce selection proportion p further, the average number of neighbors n ¯ will decrease, whereas convergence time T will increase. It means SPVM with ω = 1.2 π and p = 0.4 can reduce the environment information each particle obtained to its minimum and bring the convergence performance of the model to its maximum simultaneously.
  • Simulation of SPVM under noisy conditions
When noise is considered ( η = 1 ), V s t a b l e is used to evaluate the convergence performance of the model. Simulations based on SPVM with noise is shown in Figure 7 and Figure 8, where view angle ω or selection proportion p changes, but other parameters are set as: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 1 . Firstly, selection proportion p is constant, and V s t a b l e as a function of view angle ω is shown in Figure 7a. When ω decreases, V s t a b l e decreases first, then increases slightly to its maximum and decreases significantly when ω decreases further. In addition, there exists an optimal value of ω = ω o p t , p = p 0 for different cases of p = p 0 that leads to the highest level of V s t a b l e , and the value of ω o p t , p = p 0 approximately equals to 0.9 π even p 0 varies from 0.2 to 1. The value of ω o p t , p = p 0 shows an independence from p 0 . Then, ω is set as a certain value and the relationship between p and V s t a b l e is shown in Figure 7b. When p decreases with ω fixed, V s t a b l e increases first then decreases, which is contrary to the trend when ω decreases with p fixed, since reducing p or ω both lead to fewer neighbors. Figure 8 demonstrates the relationship between ω , p and V s t a b l e . V s t a b l e reaches its maximum when ω = 0.9 π and p = 0.6 , so by limiting the environment information particles obtain, the model can reach an ordered state of a higher level. Furthermore, when ω > 0.9 π , V s t a b l e remains at a high level even p varies significantly, which indicates ω has relatively more impact on V s t a b l e .
However, SPVM with the same V s t a b l e performs differently. Comparisons between several SPVM with approximately the same value of V s t a b l e but four different sets of parameters (SPVM(1–4)) are shown in Figure 9.
SPVM(1):
ω = 2 π , p = 0.7
SPVM(2):
ω = π , p = 1
SPVM(3):
ω = 0.8 π , p = 0.2
SPVM(4):
ω = 0.9 π , p = 0.6
In Figure 9a, after 8000 time steps, V a of SPVM(1), SPVM(2), and SPVM(3) oscillates around the same value which is the value of V s t a b l e of the three models. However, before V a saturates at the same V s t a b l e , these three models perform quite differently from time step 0 to time step 8000, which means indicator V s t a b l e does not comprehensively evaluate the convergence performance of the model under conditions with noise. Despite a higher level of synchronization of SPVM(4) after 4000 time steps, SPVM(1) apparently outperforms SPVM(4) when V a of SPVM(4) has yet to pass V a of SPVM(1). Therefore, it would be better if a balance between the faster convergence speed of SPVM(1) and the higher stabilized consensus level of SPVM(4) can be reached.

5.2. Simulation and Analysis of DPVM

As is shown in Figure 9a, SPVM cannot reach the balance between the faster convergence speed and the higher stabilized consensus level in noisy conditions. In DPVM, the updating functions of view angle ω and selection proportion p are the key factors determining the model’s performance. Therefore, simulations are conducted to verify that if the updating functions of ω and p are properly designed, DPVM will be able to reach the balance.
Since SPVM(1) can reach and oscillate around its maximum consensus level in less than 500 steps, SPVM(1) represents the model of a fast convergence speed. SPVM(4) has the highest value of V s t a b l e , and thus, SPVM(4) is the model that has the highest stabilized consensus level among all. Therefore, SPVM(1) and SPVM(4) are used to compare with DPVM from aspects of convergence speed and the stabilized consensus level. Simulation based on SPVM(1), SPVM(4), and DPVM is shown in Figure 9b. In order to achieve a better performance, we have compared several function designs of the updating functions of view angle ω and selection proportion p. Eventually, we set the functions as Equations (9) and (10). In the simulation, DPVM demonstrates a balance between faster convergence speed and higher stabilized consensus level.
ω i ( k + 1 ) = 2 π 0 V l o c a l ( k ) < 0.72 0.9 π 0.72 V l o c a l ( k ) 1
p i ( k + 1 ) = 0.7 0 V l o c a l ( k ) < 0.72 0.6 0.72 V l o c a l ( k ) 1
The simulation result has been demonstrated in Table 2. Quantitatively, V s t a b l e of SPVM(1) equals to 0.7783 ; V s t a b l e of SPVM(4) equals to 0.8032 ; V s t a b l e of DPVM equals to 0.7973 . In order to evaluate the convergence speed of the models, the threshold value of the definition of convergence time T need to be adjusted. Because of the presence of noise, the maximum value V a can reach is 0.8 based on current parameters, so the convergence speed cannot be measured if the threshold of T remains at 0.99 . Therefore, the threshold value of the definition of convergence time T is adjusted from 0.99 to 80 % of the maximum value V a can reach under the present parameters. Convergence time T here is, thus, redefined as the time steps required by the model for V a to surpass 0.64 from the random initial state when V a is close to 0. The value of 0.64 can effectively serve as a threshold value because separate groups of particles moving in an orderly manner have been formed when V a = 0.64 according to our observation. T t h r e s h o l d = 0.64 of SPVM(1) equals to 55; T t h r e s h o l d = 0.64 of SPVM(4) equals to 1579; T t h r e s h o l d = 0.64 of DPVM equals to 96. By comparing these two performance indicators of the three models, it can be concluded that DPVM is the only model that is capable of reaching a balance between faster convergence speed and higher stabilized consensus level.

6. Conclusions

In this paper, an improved neighbor strategy is introduced to VM. The improved strategy enables particles in the model to select their neighbors in a new way, which helps them converge faster with less local environmental information compared with previous models. The improved neighbor strategy states that each particle in VM will only consider the farthest part of particles that fall into its vision sector with a specific angle. Two improved VM (SPVM and DPVM) are introduced based on this rule. In SPVM, the selection proportion and view angle of particles are constants. In DPVM, each particle’s selection proportion and view angle are different and change with time according to the degree of movement consensus nearby. Compared to the original VM and other improved VM such as RVFVM and RNSVM, SPVM can further reduce the average number of neighbors while improving convergence speed in simulations without noise. In simulations with noise, SPVM can enhance the level of direction consensus further, whereas it cannot reach the balance between a higher level of direction consensus and a faster convergence speed. Thus, DPVM is proposed, and simulation results prove that such a balance can be reached with an adequately designed updating function of view angle and selection proportion. Since the updating functions in DPVM and the optimum parameters of the model are designed empirically in this work, future work will focus on applying the machine learning method to help particles automatically learn the optimum functions or values of parameters. Additionally, experiments under more parameter combinations will be conducted to further consolidate our findings.

Author Contributions

X.W. designed the structure and created the methodology, H.Z. simulated the experiments, and L.L. improved the quality of the study and checked the writings. All authors have read and agreed to the published version of the manuscript.

Funding

This work has been supported in part by the National Natural Science Foundation of China under Grant 72171172 and 62088101; in part by the Science and Technology Commission of Shanghai Municipality, China Major Project under grant 2021SHZDZX0100; in part by the Shanghai Research Institute of China Engineering Science and Technology Development Strategy, Strategic Research and Consulting Project, under grant 2022-DFZD-33-02; and in part by the Chinese Academy of Engineering, Strategic Research and Consulting Program, under grant 2022-XY-100.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

There are no research data for this study.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Attanasi, A.; Cavagna, A.; Del Castello, L.; Giardina, I.; Melillo, S.; Parisi, L.; Pohl, O.; Rossaro, B.; Shen, E.; Silvestri, E.; et al. Collective behaviour without collective order in wild swarms of midges. PLoS Comput. Biol. 2014, 10, e1003697. [Google Scholar] [CrossRef] [PubMed]
  2. Buhl, J.; Sumpter, D.J.T.; Couzin, I.D.; Hale, J.J.; Despland, E.; Miller, E.R.; Simpson, S.J. From disorder to order in marching locusts. Science 2006, 312, 1402–1406. [Google Scholar] [CrossRef] [PubMed]
  3. Bialek, W.; Cavagna, A.; Giardina, I.; Mora, T.; Silvestri, E.; Viale, M.; Walczak, A.M. Statistical mechanics for natural flocks of birds. Proc. Natl. Acad. Sci. USA 2012, 109, 4786–4791. [Google Scholar] [CrossRef] [PubMed]
  4. Bode, N.W.F.; Franks, D.W.; Wood, A.J. Limited interactions in flocks: Relating model simulations to empirical data. J. R. Soc. Interface 2011, 8, 301–304. [Google Scholar] [CrossRef] [PubMed]
  5. Herbert-Read, J.E.; Perna, A.; Mann, R.P.; Schaerf, T.M.; Sumpter, D.J.T.; Ward, A.J.W. Inferring the rules of interaction of shoaling fish. Proc. Natl. Acad. Sci. USA 2011, 108, 18726–18731. [Google Scholar] [CrossRef] [PubMed]
  6. Katz, Y.; Tunstrøm, K.; Ioannou, C.C.; Huepe, C.; Couzin, I.D. Inferring the structure and dynamics of interactions in schooling fish. Proc. Natl. Acad. Sci. USA 2011, 108, 18720–18725. [Google Scholar] [CrossRef] [PubMed]
  7. Hu, W.; Wen, G.; Rahmani, A.; Bai, J.; Yu, Y. Leader-following consensus of heterogenous fractional-order multi-agent systems under input delays. Asian J. Control 2020, 22, 2217–2228. [Google Scholar] [CrossRef]
  8. Innocente, M.; Grasso, P. Self-organising swarms of firefighting drones: Harnessing the power of collective intelligence in decentralised multi-robot systems. J. Comput. Sci. 2019, 34, 80–101. [Google Scholar] [CrossRef]
  9. Li, R.; Xiong, Y.; Zhang, T. Intelligent path planning algorithm for UAV group based on machine learning. J. Phys. Conf. Ser. 2021, 1865, 042118. [Google Scholar] [CrossRef]
  10. Ahad, M.A.; Ahmad, S.M. Investigation of a 2-DOF active magnetic bearing actuator for unmanned underwater vehicle thruster application. Actuators 2021, 10, 79. [Google Scholar] [CrossRef]
  11. Kim, J. Underwater guidance of distributed autonomous underwater vehicles using one leader. Asian J. Control 2022, 25, 2641–2654. [Google Scholar] [CrossRef]
  12. Reynolds, C.W. Flocks, herds and schools: A distributed behavioral model. ACM Siggraph Comput. Graph. 1987, 21, 25–34. [Google Scholar] [CrossRef]
  13. Vicsek, T.; Czirók, A.; Ben-Jacob, E.; Cohen, I.; Shochet, O. Novel type of phase transition in a system of self-driven particles. Phys. Rev. Lett. 1995, 75, 1226–1229. [Google Scholar] [CrossRef]
  14. Chaté, H. Dry Aligning Dilute Active Matter. Annu. Rev. Condens. Matter Phys. 2020, 11, 189–212. [Google Scholar] [CrossRef]
  15. Cai, L.B.; Chaté, H.; Ma, Y.Q.; Shi, X.Q. Dynamical subclasses of dry active nematics. Phys. Rev. E 2019, 99, 010601. [Google Scholar] [CrossRef]
  16. Ben-Jacob, E.; Shochet, O.; Tenenbaum, A.; Cohen, I.; Czirók, A.; Vicsek, T. Response of bacterial colonies to imposed anisotropy. Phys. Rev. E 1996, 53, 1835–1843. [Google Scholar] [CrossRef]
  17. Geiß, D.; Kroy, K.; Holubec, V. Signal propagation and linear response in the delay Vicsek model. Phys. Rev. E 2022, 106, 054612. [Google Scholar] [CrossRef]
  18. Serna, H.; Góźdź, W.T. The influence of obstacles on the collective motion of self-propelled objects. Phys. Stat. Mech. Appl. 2023, 625, 129042. [Google Scholar] [CrossRef]
  19. You, F.; Yang, H.X.; Li, Y.; Du, W.; Wang, G. A modified Vicsek model based on the evolutionary game. Appl. Math. Comput. 2023, 438, 127565. [Google Scholar] [CrossRef]
  20. Shang, L.; Xu, Z. Adaptive control strategy improves synchronization of self-propelled agents. Appl. Math. Comput. 2023, 454, 128102. [Google Scholar] [CrossRef]
  21. González-Albaladejo, R.; Carpio, A.; Bonilla, L.L. Scale-free chaos in the confined Vicsek flocking model. Phys. Rev. E 2023, 107, 014209. [Google Scholar] [CrossRef] [PubMed]
  22. Chatterjee, S.; Mangeat, M.; Woo, C.U.; Rieger, H.; Noh, J.D. Flocking of two unfriendly species: The two-species Vicsek model. Phys. Rev. E 2023, 107, 024607. [Google Scholar] [CrossRef] [PubMed]
  23. Zhang, X.; Fan, S.; Wu, W. Enhancing synchronization of self-propelled particles via modified rule of fixed number of neighbors. Phys. Stat. Mech. Appl. 2023, 629, 129203. [Google Scholar] [CrossRef]
  24. Xue, T.; Li, X.; Grassberger, P.; Chen, L. Swarming transitions in hierarchical societies. Phys. Rev. Res. 2020, 2, 042017. [Google Scholar] [CrossRef]
  25. Lu, X.; Zhang, C.; Huang, C.; Qin, B. Research on swarm consistent performance of improved Vicsek model with neighbors’ degree. Phys. A 2022, 588, 126567. [Google Scholar] [CrossRef]
  26. Gao, J.; Chen, Z.; Cai, Y.; Xu, X. Enhancing the convergence efficiency of a self-propelled agent system via a weighted model. Phys. Rev. E 2010, 81, 041918. [Google Scholar] [CrossRef]
  27. Chen, Y.R.; Zhang, X.X.; Yu, Y.S.; Ma, S.W.; Yang, B. Enhancing convergence efficiency of self-propelled agents using direction preference. Phys. A 2022, 586, 126415. [Google Scholar] [CrossRef]
  28. Li, W.; Wang, X. Adaptive velocity strategy for swarm aggregation. Phys. Rev. E 2007, 75, 021917. [Google Scholar] [CrossRef]
  29. Tian, B.M.; Yang, H.X.; Li, W.; Wang, W.X.; Wang, B.H.; Zhou, T. Optimal view angle in collective dynamics of self-propelled agents. Phys. Rev. E 2009, 79, 052102. [Google Scholar] [CrossRef]
  30. Zhang, X.; Jia, S.; Li, X. Improving the synchronization speed of self-propelled particles with restricted vision via randomly changing the line of sight. Nonlinear Dyn. 2017, 90, 43–51. [Google Scholar] [CrossRef]
  31. Lu, X.; Zhang, C.; Qin, B. An improved Vicsek model of swarm based on remote neighbors strategy. Phys. A 2022, 587, 126553. [Google Scholar] [CrossRef]
  32. Martin, G. Visual fields in woodcocks Scolopax rusticola (Scolopacidae; Charadriiformes). J. Comp. Physiol. A-Neuroethol. Sens. Neural Behav. Physiol. 1994, 174, 787–793. [Google Scholar] [CrossRef]
  33. Bajec, I.L.; Heppner, F.H. Organized flight in birds. Anim. Behav. 2009, 78, 777–789. [Google Scholar] [CrossRef]
  34. Wang, X.G.; Zhu, C.P.; Yin, C.Y.; Hu, D.S.; Yan, Z.J. A modified Vicsek model for self-propelled agents with exponential neighbor weight and restricted visual field. Phys. A Stat. Mech. Its Appl. 2013, 392, 2398–2405. [Google Scholar] [CrossRef]
Figure 1. Illustration of a particle’s neighbor set of the original VM.
Figure 1. Illustration of a particle’s neighbor set of the original VM.
Applsci 13 11513 g001
Figure 2. Illustration of particles’ neighbor strategy of the improved VM proposed.
Figure 2. Illustration of particles’ neighbor strategy of the improved VM proposed.
Applsci 13 11513 g002
Figure 3. Snapshots of moving particles in the VM at different time steps with the same set of parameters: N = 200 , L = 10 , R = 1 , v 0 = 0.1 , ω = 2 π , p = 1 , η = 0 . Each arrow represents a particle and the direction of the arrow represents its moving direction. (a) step = 0, V a = 0.0369 ; (b) step = 19, V a = 0.5346 ; (c) step = 42, V a = 0.7507 ; (d) step = 78, V a = 0.9908 .
Figure 3. Snapshots of moving particles in the VM at different time steps with the same set of parameters: N = 200 , L = 10 , R = 1 , v 0 = 0.1 , ω = 2 π , p = 1 , η = 0 . Each arrow represents a particle and the direction of the arrow represents its moving direction. (a) step = 0, V a = 0.0369 ; (b) step = 19, V a = 0.5346 ; (c) step = 42, V a = 0.7507 ; (d) step = 78, V a = 0.9908 .
Applsci 13 11513 g003
Figure 4. Comparisons of various Vicsek models. (a) V a and (b) n ¯ as a function of time step k. For other parameters: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 0 . Each data point is obtained by averaging over 300 different realizations.
Figure 4. Comparisons of various Vicsek models. (a) V a and (b) n ¯ as a function of time step k. For other parameters: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 0 . Each data point is obtained by averaging over 300 different realizations.
Applsci 13 11513 g004
Figure 5. Convergence time T as a function of ω or p. (a) T as a function of ω with fixed p. (b) T as a function of p with fixed ω . For other parameters: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 0 .
Figure 5. Convergence time T as a function of ω or p. (a) T as a function of ω with fixed p. (b) T as a function of p with fixed ω . For other parameters: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 0 .
Applsci 13 11513 g005
Figure 6. Three-dimensional plot of the relationship between ω , p and T. For other parameters: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 0 .
Figure 6. Three-dimensional plot of the relationship between ω , p and T. For other parameters: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 0 .
Applsci 13 11513 g006
Figure 7. V s t a b l e as a function of ω or p. (a) V s t a b l e as a function of ω with fixed p. (b) V s t a b l e as a function of p with fixed ω . For other parameters: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 1 .
Figure 7. V s t a b l e as a function of ω or p. (a) V s t a b l e as a function of ω with fixed p. (b) V s t a b l e as a function of p with fixed ω . For other parameters: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 1 .
Applsci 13 11513 g007
Figure 8. Three-dimensional plot of the relationship between ω , p and V s t a b l e . For other parameters: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 1 .
Figure 8. Three-dimensional plot of the relationship between ω , p and V s t a b l e . For other parameters: N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 1 .
Applsci 13 11513 g008
Figure 9. Order parameter V a as a function of time step k. Each data point is obtained by averaging over 20 (a) and 30 (b) random initializations. N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 1 .
Figure 9. Order parameter V a as a function of time step k. Each data point is obtained by averaging over 20 (a) and 30 (b) random initializations. N = 400 , L = 10 , v 0 = 0.1 , R = 1 , η = 1 .
Applsci 13 11513 g009
Table 1. Research progress related to the improvement of VM.
Table 1. Research progress related to the improvement of VM.
CategoryMethod
Providing more informationHierarchical society [24], Neighbors’ degree [25]
Weight difference [26], Direction preference [27]
Adaptive velocity [28]
Providing less informationEvolutionary game theory [19], Line of sight [30]
RVFVM [29], RNSVM [31]
The proposed new neighbor strategy
Table 2. Performance comparison between SPVM and DPVM.
Table 2. Performance comparison between SPVM and DPVM.
SPVM(1)SPVM(4)DPVM
V s t a b l e 0.77830.80320.7973
T t h r e s h o l d = 0.64 55157996
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, X.; Zhao, H.; Li, L. An Improved Vicsek Model of Swarms Based on a New Neighbor Strategy Considering View and Distance. Appl. Sci. 2023, 13, 11513. https://doi.org/10.3390/app132011513

AMA Style

Wang X, Zhao H, Li L. An Improved Vicsek Model of Swarms Based on a New Neighbor Strategy Considering View and Distance. Applied Sciences. 2023; 13(20):11513. https://doi.org/10.3390/app132011513

Chicago/Turabian Style

Wang, Xiaocheng, Hui Zhao, and Li Li. 2023. "An Improved Vicsek Model of Swarms Based on a New Neighbor Strategy Considering View and Distance" Applied Sciences 13, no. 20: 11513. https://doi.org/10.3390/app132011513

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop