L12 - Flocking: Particle Swarm Optimisation Flashcards

1
Q
  1. What is Particle Swarm Optimisation and what movement is it based on?
A

An iterative optimisation algorithm to find an optimal solution. It’s based on flocking.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. Who invented PSO and when?
A

Kennedy and Eberhardt - 1995

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What 2 properties does each particle have and not have?

A

Have: Velocity, Acceleration
Doesn’t Have: Mass, Volume

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does each particle represent

A

Candidate Solution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the rooster effect and how does it demonstrate optimisation in PSO?

A

Chickens scooping around on the floor for food is similar to PSO. Roosters within the group will lead other roosters to the optimal solution until all roosters have swarmed to the food.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What type of representation was PSO developed for? Give some applications of PSO…

A
  1. Continuous E.g X = ( 3.554, 7.56345, 12.334, -9.948)
  2. Applications: Aeroplane wing design, design of antennae, amplifiers etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Does PSO give us both global and local information?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why is it beneficial that PSO gives us both global and local information?

A

Because it means the algorithm can navigate local optimums.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain how PSO works…

A
  1. Create and initialise N particles within the solution space. Each particle is a candidate solution.
  2. At each time step, each particle must:
    1. Update its position (by adding velocity to its current position).
    2. Update its velocity.
    3. Evaluate fitness of each particles position
  3. Terminate once termination criteria is met.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

During PSO, how do we determine the new position of a particle?

A
  1. By using its current position and current velocity.
  2. Next position(t+1) = Current Position(t) + Current Velocity(t)
  3. Particle position at next time step = position at current time step + velocity at current time step.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do we determine the new velocity of the particle? What is the formula?

A
  1. New = Current velocity + ( random weight * (particles best encountered position - current position) ) + ( random weight * ( populations best encountered position - particles current position ) )
  2. Vij(t+1) = Vij + C1Z1(Pij - Xij) + C2Z2(Gj - Xij)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

In the velocity update formula, explain what each of the variables represent?

A

T -> Time step
T+1 -> Next time step
i -> Indicates the particle
j -> Indicates the dimension
C -> Constants controlling weight of local and global information
Z -> Values between 0 and 1 to repent premature convergence
Gj -> The global best position found
Pij -> The particles best position in dimension j

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the the parameters of PSO?

A
  1. Swarm Size
  2. Neighbourhood size -> For calculating local best
  3. Iteration count
  4. Acceleration coefficients C1, C2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

If we increase C2, what affect does this have on global information?

A

Increases the weight of global information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What do the acceleration coefficients control in PSO? What effect does it have if they’re too low or high?

A

Manage the relationship between personal and global best solutions.

Too low -> Cause progress to slow.

Too high -> Can cause premature convergence.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the 4 termination criteria for PSO?

A
  1. Iterations exceeded
  2. Acceptable solution found
  3. No improvement for M iterations
  4. Normalised swarm radius is close to 0 -> But need to be careful we aren’t in local optima.
17
Q

Describe the key idea of PSO…

A

The key idea behind PSO is that particles adjust their positions and velocities in the solution space based on their own experience (personal best) and the knowledge shared by the entire swarm (global best). This collective movement helps the swarm explore the solution space efficiently and converge towards an optimal solution.

18
Q

When updating the velocity and position of particles, what 2 factors is this based on?

A
  • Its own past velocity and the difference between its current position and its personal best-known position.
  • The global best-known position and the difference between its current position and the global best-known position.
19
Q

PSO generally works with real vectors, but can be modified if working in discrete spaces. What are 2 ways PSO could be modified?

A
  1. Binary PSO where velocities are interpreted as probabilities and remains continuous, and positions are updated using the velocity probability to determine if the particle j or i is a 0 or 1 -> Resulting in binary representation of solutions.
  2. Generalised Motion approach: No velocity -> Particle positions are updated by moving them proportionally to global best (C2) and local best (C1).