Professional Documents
Culture Documents
net/publication/284898264
CITATIONS READS
10 439
6 authors, including:
Some of the authors of this publication are also working on these related projects:
Butterfly Inspired Multi-robotic Swarm for Signal Source Localization View project
All content following this page was uploaded by Anil Kumar Vadathya on 10 November 2017.
Abstract This paper presents a novel swarm intelligence algorithm named as But-
terfly Mating Optimization (BMO) which is based on the mating phenomena occur-
ring in butterflies. The BMO algorithm is developed with novel concept of dynamic
local mate selection process which plays a major role in capturing multiple peaks
for multimodal search spaces. This BMO algorithm was tested on 3-peaks function
and various convergence plots were drawn from it. Also, BMO was tested on other
benchmark functions to check and discuss thoroughly its capability in terms of cap-
turing the local peaks. Various comparisons were made between BMO and GSO, a
recent swarm algorithm for multimodal optimization problems. BMO was also tested
on a function with varying dimensionality at higher level. Finally based on various
assumptions through simulations, possible future work is discussed.
1 Introduction
Nature is a hidden place for magical powers used in many ways in the world everyday.
It has been a great source of inspiration for many inventions. Since the time of
evolution it has solved many complex problems efficiently keeping in view all the
constraints. The property of emergence through collective behavior is remarkably
observed in nature. For instance, properties of water are not present in Hydrogen and
Oxygen alone, but the specific combination of them emerges into water, which made
life possible on Earth. In the similar way many groups of organisms together achieve
a specific task by their collective behavior often described as Swarm Intelligence,
which has made them emerge into efficient tools and make their survival possible [1].
For instance, colony of ants emerged as the foragers of food; school of fishes as the
best self defenders; flock of birds as the migrators and foragers; glowworm swarm
as the prey attractors, etc. In all these natural swarms, though the achievement of
task is due to collective behavior the progress of each organism is decentralized
by considering its own social and cognitive behavior. In nature what we see the
so called randomness in Bee’s dance, swaying of plants, butterfly movement is not
really random but it has got a meaning in its own sense. One of these randomnesses
is seen in the butterfly’s movement. If we can understand its behavior and deduce
a metaphor, it can lead us to solve many engineering problems like cooperative
multi-agent systems and optimization problems. This paper explains an engineering
metaphor based on butterfly mating phenomenon.
This paper is organized as follows: Prior related work is discussed in Section 2.
Section 3 explains the butterfly mating mechanism used in this paper. Butterfly
metaphor - the main contribution of the paper is explained in Section 4. Extensive
simulation results followed by the discussions are presented in the Section 5. BMO
test on higher dimensional function is discussed in Section 6. The paper concludes
with few remarks in Section 7.
2 Literature Survey
Many of the engineering metaphors proposed by mimicking the swarm intelligence
were applied to diversified fields such as classification, localization and clustering
etc. Most of these metaphors fall under the roof of Optimization field, in which one
class of problems deals with finding the global optimum and the another with finding
multiple optima (not necessarily equal) [2], [3]. The advantage of having multiple
optima is obtaining insight into the multimodal function landscape and an alterna-
tive solution can be chosen if the behavior of constraints in the search space makes
previous optimum solution infeasible to implement. In these engineering models,
Muller et al. [4] presented an optimization algorithm based on the bacterial chemo-
taxis to find solutions to multimodal functions. Deneubourg et al. [5] investigated the
pheromone laying and following behavior of ants as an example of stigmergy using
the Double Bridge Experiment. This inspired the development of one of the many
ant algorithms proposed by Bilchev and Parmee [6] to solve continuous optimiza-
tion problems. Marco Dorigo and Thomas Stutzle [7], have formalized Ant Colony
Optimization (ACO) into meta-heuristic for combinatorial optimization problems
and solved Travelling Salesman Problem (TSP). Krishnanand and Ghose [8] used
the concept of luciferin released by Glowworm for attracting other glowworms and
proposed a Glowworm Swarm Optimization (GSO) algorithm. By incorporating the
concept of variable decision domain range, the GSO algorithm captured local peaks
for multimodal search spaces and was used to detect multiple source locations with
applications to collective robots. Particle Swarm Optimization (PSO) [9], [10] is a
population-based search algorithm where each particle exhibits a taxis behavior to-
wards favourable regions in the searching process when its velocity is dynamically
anil.rgukt@gmail.com
Butterfly Mating Optimization 5
adjusted according to the history of itself and its neighbours. Parsopoulos and Vra-
hatis [11], found the local optima of multimodal functions sequentially by combining
PSO variant with constriction factor along with repulsion technique.
Similar to the above mentioned swarm behavior and metaphors, the communi-
cation strategies of butterflies have scope for inspiration in deducing optimization
algorithms. The communication in butterflies is mainly for mating; they either adopt
patrolling or perching for their mate location. In patrolling, the male butterflies fly
in search of females using color and odor to screen females. On the other hand, in
perching, males spend long time sitting on a prominent height so that they could
survey and intercept passing females using their movement and size [12]. The next
section concentrates only on the patrolling mating mechanism of butterflies in detail
and the experimental simulations done previously which are taken as the basis in
developing the proposed algorithm.
anil.rgukt@gmail.com
6 C. Jada et al.
In this, the U V of each Bfly is updated in proportion to it’s fitness i.e function value
at the current location of Bfly, as given below.
U V is updated at time index ‘t’, giving more importance to the current fitness and
less to the previous U V , accordingly choose the b1 , b2 values such that 0 ≤ b1 ≤ 1
and b2 > 1.
Here, every Bfly distributes its U V to remaining Bflies such that the nearest Bfly gets
more share than the farthest one. To distribute in this way, the following approach
has been followed: An i th Bfly having U Vi reflects it’s U V value to the j th Bfly at
a distance di j which is given by
di−1
j
U Vi→ j = U Vi × � (2)
−1
dik
k
anil.rgukt@gmail.com
Butterfly Mating Optimization 7
1st Bfly in its descending order as its l-mate and move towards that, then this behavior
will lead to some kind of localization and sensing of peaks which is discussed in
Section 5. But to capture local peaks simultaneously an i th Bfly should also consider
the U V of remaining Bflies; by sequentially comparing U Vi with U V values of
Bflies arranged in the descending order, then it chooses the first encountered Bfly
which satisfies below condition as it’s l-mate i.e., which has got more U V than it
has.
U V (i th B f ly) < U V ( j th B f ly) (3)
where Bs is Bfly step size; xi (t) is the position of i th Bfly in a time index t. The
pseudo code for the BMO algorithm is given below.
Butterfly Mating Optimization
Randomly initialize Bflies;
∀ i, set U Vi = U V (0);
Set maximum number of iterations = iter _max;
Set iter = 1;
while (iter ≤ iter _max) do:
{
for each Bfly i do:
U V Updation; %using Eqn. 1
U V Distribution; %using Eqn. 2
for each Bfly i do:
Select l-mate; %using l − mate selection phase
Update position; %using Eqn. 4
iter = iter + 1;
}
anil.rgukt@gmail.com
8 C. Jada et al.
55
10 UV absorbance
UV value of Bfly−7
50
8 UV value of Bfly
12
25 4
−2 6 10
6
15 6
4 20
−4 10
4
16 12
15 16
−6 9
13 11 13 14 8
10 2
−8 1 15 3 5
2 1 5
−10 5
−10 −8 −6 −4 −2 0 2 4 6 8 10 2 4 6 8 10 12 14
x1 check count
(a) (b)
Fig. 1 (a). Dynamic behavior of l-mate locating range (Incremental), (b). l-mate locating
strategy plot
55
UV absorbance
10
3 UV value of Bfly−7
50
UV value of Bfly
8
UV absorbance by Bfly−7 & UV values of Bflies
12 45
8 l−mate Bfly−8
6 2
15 UV value of Bfly−7
40
4 2 1
14
13
35
15
2 11
3
13 9
16 30 5
5 16
0
x2
11 12
Selected l−mate 25 4
10
−2 6
9 6
20 10
−4 14 4
6 10 1 8 7 12
Previous l−mate 15 16
−6 9 11 13 14
4 8 2
10 1
−8 15 3 5
5
−10 2 4 6 8 10 12 14
−10 −8 −6 −4 −2 0 2 4 6 8 10
check count
x1
(a) (b)
Fig. 2 (a). Dynamic behavior of l-mate locating range (Decremental), (b). l-mate locating
strategy plot
According to l-mate selection phase, previously Bfly-10 was the l-mate of Bfly-7
(located at (0, 0)). Figure 1.(b) shows that Bfly-8 is the next l-mate of Bfly-7 and
hence there is an increment in the l-mate locating range from Bfly-10 to Bfly-8 as
shown in Figure 1.(a). Similarly, Figure 2.(b) shows that Bfly-11 is the next l-mate
for Bfly-5 (located at (0, 0)) after Bfly-10, and hence there is a decrement in the
l-mate locating range from Bly-10 to Bfly-11 as seen in Figure 2.(a).
anil.rgukt@gmail.com
Butterfly Mating Optimization 9
more agents towards it than others, enabling the agents to move towards the favourable
places in the search space. BMO algorithm is somewhat similar to GSO but with sig-
nificant differences in the mate selection. In BMO adaptive l-mate selection phase, dis-
cussed in Section 4.1, is such that a Bfly selects the nearest Bfly which passes highest
UV towards it as its l-mate which results in capturing of local peaks. However, a few
exceptions are observed to this l-mate selection which are discussed in Section 5.1.
x1 2 2 22 1 2 2
f 1 (x1 , x2 ) = 3(1−x1 )2 e−[x1 +(x2 +1) ] −10(
−x13 −x25 )e−[x1 +x2 ] − e−[(x1 +1) +x2 ]
5 3
(5)
The algorithmic parameters are set as 50 Bflies with step size of 0.02, b1 = 0 and
b2 = 3 for 350 iterations.
Initial Placement of Bflies
Peaks 3
2
P1
5
1
P3
0 0
Y
P2
−5 −1
25
2
3
2 −2 26
0 1 18
0 37
−2 −1
−2
y −3
x −3
−3 −2 −1 0 1 2 3
X
Initially the first ranked Bfly in the descending order after UV distribution is di-
rectly selected as l-mate [case(1)] and simulations were carried out using this l-mate
selection process. Figure 4 shows the initial deployment for case(1) along with peak
locations, Figure 5 shows emergence of Bflies at various iterations (t = 50, 80, 350)
and Figure 7.(a) shows the Bflies positions at final iteration on f 1 ’s contour. Here
we observe that the Bflies were emerging into disjoint groups creating an atmo-
sphere of localization by forming groups nearer to the peaks thereby sensing the
peak locations which is a crucial result of case(1). This localizing can also be
observed from Figure 8.(a) which shows the UV converged values of all Bflies
vs iterations. However, because of this blind selection of l-mate, Bflies were get-
ting struck after forming the groups and as a result none of the peaks is captured.
To solve this problem, UV comparison of that particular Bfly with the remaining ones
is introduced which is already discussed in Section 4.1. Considering this proposed
anil.rgukt@gmail.com
10 C. Jada et al.
Emergence status at t=50 Emergence status at t=80 Emergence status at t=350
3 3 3
(A) (B) (D)
2 2 2
P1 P1 P1
1 1 1
P3 P3 P3
0 0 0
Y
Y
Y
P2 P2 P2
−1 −1 −1
−2 −2 −2
−3 −3 −3
−3 −2 −1 0 1 2 3 −3 −2 −1 0 1 2 3 −3 −2 −1 0 1 2 3
X X X
2 2 2
P1 P1 P1
1 1 1
0 0 0
Y
Y
Y
P3 P3 P3
P2 P2 P2
−1 −1 −1
−2 −2 −2
−3 −3 −3
−3 −2 −1 0 1 2 3 −3 −2 −1 0 1 2 3 −3 −2 −1 0 1 2 3
X X X
Iteration:350 3
Iteration:350 3
3
2
2
2
P1
P1 P1
1
1 1
P3
0
Y
0
Y
0
Y
P3
P2 P2
−1 −1 −1
−2 −2 −2
−3 −3 −3
−3 −2 −1 0 1 2 3 −3 −2 −1 0 1 2 3 −3 −2 −1 0 1 2 3
X X X
l-mate selection process [case(2)] simulations were carried and results are compared
with the case(1). For comparison, same initial deployment of Bflies and algorithm
parameters were considered for both cases. Figure 6 shows the emergence of Bflies
at various iterations (t = 65, 100, 220) with the proposed l-mate selection phase.
Finally we observe that all the peaks were captured as shown in the Figure 7.(b).
Figure 7.(c) shows the co-location and direction of Bflies after they enter into the
contours of the peaks supporting the idea that they would ultimately reach the aimed
peaks. Figure 8.(b) shows the variation of UV for all Bflies and its convergence.
Figure 8.(c) shows the UV convergence of 4 Bflies (18, 25, 26, 37), shown in Figure
4, in both the cases. In the case(1) Bflies were stuck at some value of UV and for
case(2) they clearly converged to the peak(P1).
anil.rgukt@gmail.com
Butterfly Mating Optimization 11
14
10
20 case 2
12
8
10
15
UV of Bfly
UV of Bfly
UV of Bfly
8 6
10
6
4
case 1
4
5
2
2
0 0 0
0 50 100 150 200 250 300 350 0 50 100 150 200 250 300 350 0 50 100 150 200 250 300 350
iteration iteration iteration
Fig. 8 UV convergence
3
2
2
50 P1
50 P1
40 40 2.5
2 2
1 1 27
27
22 22 2
Y
0 31 7 0 31 7
Y
Y
30 P3 30 P3
1.5 GSO
P2 P2
−1 −1
BMO
1
−2 −2 0.5
18 18
−3 0
−3 −2 −1 0 1 2 3 −3 0 50 100 150 200 250 300 350
−3 −2 −1 0 1 2 3 X
X
X
Fig. 9 Emergence plot of Fig. 10 Emergence plot of Fig. 11 rd (t) variation for
GSO BMO agent 50
anil.rgukt@gmail.com
12 C. Jada et al.
To test the Schwefel function, 500 Bflies were deployed in the search space with
the step size of 0.5, b1 = 0, b2 = 3 for an iteration count of 400. Figure 12, 13,
14 show the surface plots of Schwefel function, emergence of all Bflies, and final
co-location of Bflies respectively. We observe that BMO was able to capture 95%
of peaks of the Schwefel function. To test the Rastrigen function, 1000 Bflies were
deployed in the search space and was run for 120 iterations for a step size of 0.009,
b1 = 0.1, b2 = 3. Figures 15, 16, 17 show the surface plots of Rastrigen function,
emergence of Bflies and final co-location of all Bflies at last iteration respectively.
It is observed that BMO was able to capture 94% of peaks. In the emergence plots
of both Schwefel function and Rastrigen function, we observe that the Bflies were
almost forming queues while entering into the contour and are co-locating at the
peaks due to the adaptive l-mate selection process.
150
150
300
100
100
200
100 50
50
0
Y
Y
−100 0
0
−200
−50
−300 −50
200
100 200
0 100 −100 −100
0
−100 −100
−200 −200
−150 −150
−150 −100 −50 0 50 100 150 −150 −100 −50 0 50 100 150
X X
5 5
4 4
3 3
2 2
1 1
0 0
Y
Y
−1 −1
−2 −2
−3 −3
−4 −4
−5 −5
−5 −4 −3 −2 −1 0 1 2 3 4 5 −5 −4 −3 −2 −1 0 1 2 3 4 5
X X
anil.rgukt@gmail.com
Butterfly Mating Optimization 13
Figures 18.(a) and (b) show the number of bflies co-located at each peak for di-
mension, m = 4, with 91 peaks for 500 and 2000 bflies respectively. As expected,
as the number of bflies(n) increases, the number of peaks captured also increases.
Figure 18.(c) shows variation in the average of distance from bflies to their finally
co-located peaks as the iterations progress. We can see that as n increases the rate of
convergence also increases. To characterize the dependence of the required number
of bflies on the dimensionality of the problem, the number of bflies n m required for
50% peak-capture for m = 1,…,5 are obtained and enumerated in Table 1. The values
of n m /n (m−1) show that the number of bflies needed to capture a given fraction of
the total number of peaks does not increase exponentially.
5
20 100
500 bflies
18 90 4.5 1000 bflies
1500 bflies
2000 bflies
Number of Bflies co−located at each peak
Number of Bflies co−located at each peak
4
Average distance to peak locations
16 80
14 70 3.5
12 60 3
10 50 2.5
8 40 2
6 30
1.5
4 20
1
2 10
0.5
0 0
0 10 20 30 40 50 60 70 80 90 0 10 20 30 40 50 60 70 80 90 0
Peak Number Peak Number 20 40 60 80 100 120
iterations
anil.rgukt@gmail.com
14 C. Jada et al.
References
1. Bonabeau, E., Dorigo, M., Theraulaz, G.: Swarm Intelligence: From Natural to Artificial
Systems. Oxford University Press (1999)
2. Goldberg, D.E., Richardson, J.: Genetic algorithms with sharing for multi-modal function
optimization. In: Grefenstette, (ed.) Genetic Algorithms and their Applications, ICCGA
1987, pp. 41–49 (1987)
3. Lung, R.I., Dumitrescu, D.: Roaming optimization: A new evolutionary technique for mul-
timodal optimization. Studia Univ. Babes Bolyai, Informatica XLIX(1), 99–109 (2004)
4. Muller, S.D., Marchetto, J., Airaghi, S., Koumoutsakos, P.: Optimization based on bac-
terial chemotaxis. IEEE Transactions on Evolutionary Computation 6(6), 16–29 (2002)
5. Deneubourg, J.L., Aron, S., Goss, S., Pasteels, J.M.: The self-organizing exploratory
pattern of the Argentine ant. Journal of Insect Behaviour 3(2), 159–168 (1990)
6. Bilchev, G., Parmee, I.C.: The ant colony metaphor for searching continuous design
spaces. In: Fogarty, T.C. (ed.) AISB-WS 1995. LNCS, vol. 993, pp. 25–39. Springer,
Heidelberg (1995)
7. Dorigo, M., Stutzle, T.: Ant Colony Optimization. A Bradford Book. The MIT Press,
Cambridge (2004)
8. Krishnanand, K.N., Ghose, D.: Glowworm swarm optimisation: a new method for opti-
mising multi-modal functions. International Journal of Computational Intelligence Stud-
ies 1(1), 93–119 (2009)
9. Clerc, M.: Particle Swarm Optimization. Hermes Science Publications (April 2006)
10. Kennedy, J., Eberhart, R.: Particle swarm optimization. In: Proceedings of the Fourth IEEE
International Conference on Neural Networks, pp. 1942–1948. IEEE Service Center, Perth
(1995)
anil.rgukt@gmail.com
Butterfly Mating Optimization 15
11. Parsopoulos, K.E., Plagianakos, V.P., Magoulas, G.D., Vrahatis, M.N.: Stretching tech-
nique for obtaining global minimizers through particle swarm optimization. In: Proceed-
ings of Particle Swarm Optimization Workshop, pp. 22–29 (2001)
12. Rutowski, R.L.: Sexual Selection and the Evolution of Butterfly Mating behaviour. Journal
of Research on Lepidoptera, 125–142 (1984)
13. Andersson, J., Borg-Karlson, A.K., Vongvanich, N.: Wiklund, C.: Male sex pheromone
release and female mate choice in a butterfly. Journal of Experimental Biology, 964–970
(2007)
14. Robertson, K.A., Monteiro, A.: Female Bicyclus Anynana butterflies choose males on the
basis of their dorsal UV reflective eyespots. Proceedings of the Biological Sciences/The
Royal Society, 1541–1546 (2005)
15. Sowmya, C., Shaik, A., Jada, C., Vadathya, A.K.: Butterfly communication strategies: a
prospect for soft-computing techniques. In: Proceedings of International Joint Conference
on Neural Networks (ICJNN), pp. 424–431 (July 2014)
anil.rgukt@gmail.com