Swarm Intelligence (SI) is a property of a system where the collective behaviours of (unsophisticated) agents interacting locally with their environment cause coherent functional global patterns to emerge. SI provides a basis with which it is possible to explore collective (or distributed) problem solving without centralized control or the provision of a global model (cf. Kennedy et al., 2001).
The three underlying principles of SI are: evaluate, compare and imitate. Living organisms can learn by evaluating stimuli and rate them as positive or negative. In our case this is the metric (i.e. risk or performance measure) we want to minimize/maximize. As practiced in the Adaptive Culture Model (cf. Shibanai, Yasuno and Ishiguro, 2001) and in real life, people compare themselves to others and imitate only those neighbours that are superior to themselves. Imitation is central to human sociality and important for the aquisition and maintenance of mental abilities (cf. Kennedy et al., 2001). SI offers a tradeoff between individual and group learning.
We give a brief outline of the algorithm (cf. Kennedy et al. (2001), Kennedy
and Eberhart (1995)) and use standard notation.
Let
be the position of particle
. In our case the position
represents a specific portfolio (
).
The change of portfolio is called
.
traditionally
stands for velocity. Each clockstep
particles move from one stop to another by
and sample the search space by modifying the velocity term. The direction of movement
is a function of the current position (
), velocity (
), the location of the individual's previous best
success (
), and the best position found by any member of the neighborhood (
):
| (26) |
| (27) |
| (28) |
![]() |
As the present value of a portfolio has to remain constant,
two minor modifications in the choice of
are required.
In simulation studies on typical portfolios it proves successful to inject about
of new
particles with random speeds and locations from time to time and to remove the
worst
performing particles. The exact population size is an open research problem with experts
having different opinions. A rule of thumb is to keep the population size small, but
to rely on a high number of iterations. As this can take a long time for higher dimensional
problems, parallel solutions
are an easy way out of the dilemma, following Kent Thompson's (co-inventor of Unix) famous quote:
''When in doubt, use brute force''.