Unit 3 - Practice Quiz

CSE275 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the core idea behind Swarm Intelligence?

Swarm intelligence concepts Easy
A. Using a single, highly intelligent agent to solve complex problems.
B. Mimicking the collective behavior of decentralized, self-organized systems.
C. Applying strict mathematical rules derived from physics.
D. Solving problems using traditional gradient-based methods.

2 Which of the following is a key characteristic of a swarm intelligence system?

Swarm intelligence concepts Easy
A. Simple individual agents
B. Centralized control
C. Global knowledge for every agent
D. Deterministic agent behavior

3 In Particle Swarm Optimization (PSO), what does represent?

Particle swarm optimization (PSO) Easy
A. The particle's current velocity.
B. The personal best solution found so far by an individual particle.
C. The best solution found so far by the entire swarm.
D. The particle's current position.

4 In PSO, what does represent?

Particle swarm optimization (PSO) Easy
A. The initial position of the particles.
B. The average position of all particles.
C. The global best solution found by any particle in the entire swarm.
D. The worst solution found by the swarm.

5 How does a particle in PSO primarily update its position in each iteration?

Particle swarm optimization (PSO) Easy
A. By moving in the opposite direction of its previous velocity.
B. By randomly jumping to a new location in the search space.
C. By directly copying the position of the best particle in the swarm.
D. By adding its newly calculated velocity to its current position.

6 What natural phenomenon is Ant Colony Optimization (ACO) primarily inspired by?

Ant colony optimization (ACO) Easy
A. The foraging behavior of ants finding the shortest path to a food source.
B. The waggle dance of honey bees.
C. The process of natural selection in evolution.
D. The way birds flock together.

7 In ACO, what is the role of 'pheromones'?

Ant colony optimization (ACO) Easy
A. To define the hard constraints of the problem.
B. To represent the physical distance between two nodes.
C. To serve as a form of indirect communication and memory, guiding ants towards better solutions.
D. To act as a random number generator for path selection.

8 What kind of problems is ACO particularly well-suited for?

Ant colony optimization (ACO) Easy
A. Training deep neural networks using backpropagation.
B. Continuous optimization problems with real-valued variables.
C. Discrete optimization problems, like the Traveling Salesman Problem (TSP).
D. Finding the root of a polynomial equation.

9 In the Artificial Bee Colony (ABC) algorithm, what is the main task of 'employed bees'?

Artificial bee colony (ABC) and cuckoo search algorithm Easy
A. To randomly search the entire solution space for new food sources.
B. To abandon depleted food sources and become scouts.
C. To exploit the food sources they are currently assigned to and find better solutions nearby.
D. To watch the other bees and choose the best food source based on their dances.

10 What is the primary role of 'onlooker bees' in the ABC algorithm?

Artificial bee colony (ABC) and cuckoo search algorithm Easy
A. They randomly explore new areas for food.
B. They stay in the hive and are not part of the search process.
C. They are responsible for destroying poor quality food sources.
D. They watch the 'waggle dance' of employed bees and choose a promising food source to exploit.

11 The Cuckoo Search algorithm is inspired by the brood parasitism of cuckoos. What does a cuckoo's egg represent in this algorithm?

Artificial bee colony (ABC) and cuckoo search algorithm Easy
A. The fitness function.
B. A parameter of the algorithm, like population size.
C. A new potential solution.
D. A problem constraint.

12 What does 'exploration' mean in the context of swarm intelligence?

Exploration vs exploitation trade-off Easy
A. Converging to a single solution as quickly as possible.
B. Searching a wide area of the solution space to find promising new regions.
C. Ignoring all previously found solutions and starting over.
D. Refining an existing good solution to make it slightly better.

13 What does 'exploitation' refer to in a swarm optimization algorithm?

Exploration vs exploitation trade-off Easy
A. The process of initializing the swarm at the beginning.
B. Increasing the diversity of the swarm population.
C. Focusing the search on the neighborhood of a currently known good solution to refine it.
D. Searching for completely new solutions in random locations.

14 In PSO, what is the 'inertia weight' () parameter primarily used for?

Parameter sensitivity and tuning in swarm algorithms Easy
A. To determine the maximum number of iterations for the algorithm.
B. To define the size of the swarm population.
C. To control the influence of the particle's previous velocity on its current velocity.
D. To calculate the fitness score of a particle's position.

15 What is a common consequence of poorly tuned parameters in a swarm algorithm?

Parameter sensitivity and tuning in swarm algorithms Easy
A. The algorithm always finds the global optimum faster.
B. The algorithm may converge too early to a local optimum or fail to converge at all.
C. The algorithm uses significantly less memory.
D. The algorithm becomes a deterministic, non-heuristic method.

16 What is 'swarm stagnation' or 'premature convergence'?

Swarm stagnation and mitigation strategies Easy
A. When the initial population of the swarm is perfectly uniform.
B. When all agents in the swarm cluster around a single, non-optimal solution and stop exploring.
C. When the swarm successfully finds the true global optimum.
D. When the algorithm runs for too many iterations without stopping.

17 Which of the following is a simple strategy to mitigate swarm stagnation?

Swarm stagnation and mitigation strategies Easy
A. Introducing randomness or re-initializing some agents if no improvement is seen for a while.
B. Fixing all algorithm parameters to a constant value.
C. Stopping the algorithm as soon as any solution is found.
D. Decreasing the swarm size to one agent.

18 Why are swarm intelligence algorithms considered inherently parallel?

Parallel and distributed nature of swarm optimization Easy
A. They follow a strict, sequential set of steps that cannot be broken down.
B. They require a central controller to manage every single agent's move.
C. They can only be run on a single processor core.
D. The fitness evaluation and movement of each agent can often be done independently of others in the same iteration.

19 Which of the following is a common application of swarm optimization in machine learning?

Swarm-based optimization for machine learning problems Easy
A. Labeling a dataset with ground truth values.
B. Writing the source code for a machine learning library.
C. Tuning the hyperparameters of a support vector machine or neural network.
D. Performing basic matrix multiplication faster.

20 In the context of feature selection for a machine learning model, how can a swarm intelligence algorithm be used?

Swarm-based optimization for machine learning problems Easy
A. To replace the learning algorithm itself, such as gradient descent.
B. To search for the best subset of features that results in the highest model accuracy.
C. To normalize the feature values to be between 0 and 1.
D. To create entirely new features from existing ones using symbolic regression.

21 In a Particle Swarm Optimization (PSO) algorithm, the velocity update equation is given by: . If the inertia weight () is set to a value greater than 1, what is the most likely outcome?

Particle swarm optimization (PSO) Medium
A. The swarm will converge to the global optimum much faster than usual.
B. The particles will stop moving, leading to premature stagnation.
C. The swarm's behavior will become purely exploitative, ignoring personal best positions.
D. The particles' velocities will continuously increase, causing the swarm to diverge and move away from the search space.

22 In an Ant Colony Optimization (ACO) algorithm for the Traveling Salesperson Problem (TSP), what is the primary role of the pheromone evaporation mechanism ()?

Ant colony optimization (ACO) Medium
A. To exclusively reinforce the shortest path found so far.
B. To encourage exploration by preventing early convergence to a suboptimal solution.
C. To ensure that all possible paths are eventually explored.
D. To increase the speed of individual ants moving between cities.

23 Which parameter modification in the Artificial Bee Colony (ABC) algorithm would most directly increase the swarm's exploration capability?

Exploration vs exploitation trade-off Medium
A. Increasing the probability of scout bees being generated.
B. Increasing the 'limit' parameter for abandoning a food source.
C. Decreasing the size of the bee colony.
D. Decreasing the number of onlooker bees.

24 You observe that in your PSO implementation, all particles have converged to the same position, which is not the global optimum, and their velocities are near zero. What is this phenomenon called, and what is a suitable mitigation strategy?

Swarm stagnation and mitigation strategies Medium
A. Oscillation; decrease both cognitive () and social () parameters.
B. Premature convergence (stagnation); introduce a mutation operator or re-initialize a portion of the swarm.
C. Swarm divergence; decrease the inertia weight.
D. Over-exploration; increase the social parameter ().

25 When using Ant Colony Optimization (ACO) for feature selection in a machine learning model, how is a 'solution' typically constructed by an ant?

Swarm-based optimization for machine learning problems Medium
A. Each ant represents a different machine learning algorithm.
B. The length of an ant's path determines the number of training epochs.
C. An ant's path represents a specific subset of features to be evaluated.
D. An ant's path represents the weights of a neural network.

26 In the Artificial Bee Colony (ABC) algorithm, what is the fundamental difference between the role of an 'employed bee' and an 'onlooker bee'?

Artificial bee colony (ABC) and cuckoo search algorithm Medium
A. Onlooker bees deposit pheromones, while employed bees follow them.
B. Employed bees are tied to a specific food source and try to improve it, while onlooker bees choose a source to exploit based on information from employed bees.
C. Employed bees become scout bees if their source is exhausted, while onlooker bees cannot.
D. Employed bees explore randomly, while onlooker bees exploit known food sources.

27 You are tuning a PSO algorithm and notice the swarm converges very slowly, with particles making only minor adjustments in each iteration. Which parameter change is most likely to speed up convergence?

Parameter sensitivity and tuning in swarm algorithms Medium
A. Increasing the swarm size without changing other parameters.
B. Setting the social coefficient () to zero.
C. Significantly decreasing the inertia weight ().
D. Increasing the cognitive () and social () acceleration coefficients.

28 The principle of 'stigmergy' is fundamental to many swarm intelligence algorithms. Which of the following is the best example of stigmergy in action?

Swarm intelligence concepts Medium
A. In PSO, a particle adjusting its trajectory based on the swarm's globally best-known position.
B. In ABC, a scout bee randomly searching for a new food source.
C. In ACO, an ant choosing its next city based on the concentration of pheromones left by other ants on the path.
D. In Cuckoo Search, a host bird discovering and abandoning a cuckoo's egg.

29 Why are swarm intelligence algorithms like PSO and ACO considered inherently suitable for parallel and distributed computing environments?

Parallel and distributed nature of swarm optimization Medium
A. They use very little memory, which is the main constraint in distributed systems.
B. The algorithms are strictly sequential, but each step can be broken down into parallel tasks.
C. The population-based approach allows for the fitness evaluation of many solutions (agents) to be performed concurrently with minimal inter-agent dependency.
D. They require a powerful central controller to manage all agents, which can be distributed.

30 What is the primary mechanism for exploration in the Cuckoo Search algorithm?

Artificial bee colony (ABC) and cuckoo search algorithm Medium
A. The probabilistic abandonment of the worst nests by host birds.
B. The waggle dance performed by cuckoos to signal good nests.
C. The use of Lévy flights for generating new candidate solutions.
D. A velocity and position update equation similar to PSO.

31 In PSO, a time-varying inertia weight () that decreases linearly from a high value (e.g., 0.9) to a low value (e.g., 0.4) over the course of the run is a common strategy. What is the goal of this approach?

Exploration vs exploitation trade-off Medium
A. To reduce the computational cost of the algorithm in later stages.
B. To maintain a constant level of exploration throughout the entire search.
C. To encourage exploration in the beginning and shift towards exploitation as the search progresses.
D. To encourage exploitation first and then switch to global exploration.

32 Which machine learning task is analogous to the Traveling Salesperson Problem (TSP) and thus is a natural fit for optimization with ACO?

Swarm-based optimization for machine learning problems Medium
A. Tuning the learning rate of a gradient descent algorithm.
B. Classifying an image as a cat or a dog.
C. Optimizing the order of features in a sequence-based feature selection method.
D. Clustering data points into a predefined number of clusters.

33 In PSO, what is the conceptual difference between the 'pbest' (personal best) and 'gbest' (global best) positions?

Particle swarm optimization (PSO) Medium
A. 'pbest' is the global best from the previous iteration, while 'gbest' is the global best in the current iteration.
B. 'pbest' is the best position found by an individual particle so far, while 'gbest' is the best position found by any particle in the entire swarm so far.
C. 'pbest' tracks the worst performance to avoid it, while 'gbest' tracks the best performance to follow it.
D. 'pbest' is a particle's current position, while 'gbest' is its target position.

34 How does the heuristic information () typically influence an ant's decision-making process in ACO for the TSP?

Ant colony optimization (ACO) Medium
A. It represents the pheromone level on an edge, guiding the ant towards frequently used paths.
B. It is a random value that forces the ant to explore new paths.
C. It determines the evaporation rate of the pheromone on an edge.
D. It represents the desirability of a move, often based on a greedy choice like the inverse of the distance to the next city.

35 A common strategy to handle swarm stagnation in PSO is to use a different neighborhood topology instead of the standard 'gbest' model. How does using a 'lbest' (local best) topology, where particles are only influenced by their immediate neighbors, help mitigate stagnation?

Swarm stagnation and mitigation strategies Medium
A. It forces all particles to follow the single best particle, ensuring faster convergence.
B. It eliminates the need for the cognitive component () in the velocity update.
C. It guarantees finding the global optimum by isolating particles.
D. It slows down information propagation across the swarm, maintaining diversity and allowing for multiple 'peaks' to be explored simultaneously.

36 In ACO, two key parameters are and , which control the influence of the pheromone trail () and heuristic information (), respectively. If you set , what kind of search behavior will the ants exhibit?

Parameter sensitivity and tuning in swarm algorithms Medium
A. A search guided only by the collective experience (pheromones), ignoring any problem-specific greedy information.
B. A purely greedy search, where ants always choose the heuristically best next step.
C. A purely random search, as both pheromone and heuristic information are ignored.
D. The algorithm will fail to run as cannot be zero.

37 Which two properties are essential characteristics of a system described as exhibiting swarm intelligence?

Swarm intelligence concepts Medium
A. Hierarchical structure and direct communication between all agents.
B. Self-organization and decentralized control.
C. Centralized control and deterministic agent behavior.
D. A complex global leader and simple follower agents.

38 When using PSO to tune the hyperparameters of a deep neural network (e.g., learning rate, number of layers, nodes per layer), what does a single 'particle's position' in the search space represent?

Swarm-based optimization for machine learning problems Medium
A. The final accuracy of the trained network.
B. The dataset used for training the network.
C. A single weight within the neural network.
D. A complete set of specific hyperparameter values for the network.

39 What is a potential drawback of using a synchronous (blocking) update scheme in a parallel implementation of a swarm algorithm compared to an asynchronous (non-blocking) scheme?

Parallel and distributed nature of swarm optimization Medium
A. Faster processors/nodes must wait for the slowest one to finish its fitness evaluation in each generation, leading to idle time.
B. It is more complex to implement and requires more memory.
C. It reduces the exploration capability of the swarm significantly.
D. It leads to faster convergence but is more likely to get stuck in local optima.

40 In Cuckoo Search, a parameter represents the probability of a host bird discovering a cuckoo egg. How does a high value of influence the algorithm's search strategy?

Artificial bee colony (ABC) and cuckoo search algorithm Medium
A. It increases exploitation by keeping good solutions for longer.
B. It transforms the search into a simple hill-climbing algorithm.
C. It increases exploration by causing more nests (solutions) to be abandoned and replaced with new random solutions.
D. It guarantees that the global optimum will be found.

41 In a standard PSO algorithm, consider the velocity update equation: . If you set the inertia weight , cognitive coefficient , and social coefficient , what is the most likely behavior of the swarm over many iterations?

Particle swarm optimization (PSO) Hard
A. The particles will move linearly away from the global best position.
B. The swarm will perform a pure random search, ignoring all historical information.
C. The swarm will oscillate divergently around the global best position, likely never converging.
D. All particles will rapidly converge to the current global best position and stagnate.

42 You are using ACO to solve a Traveling Salesperson Problem (TSP) on a graph where some edges have extremely high costs, effectively making them undesirable paths. However, your algorithm frequently converges to solutions containing these high-cost edges. Which parameter tuning strategy is most likely to mitigate this specific problem?

Ant colony optimization (ACO) Hard
A. Increase the pheromone influence () and decrease the heuristic information influence ().
B. Set the initial pheromone level () to a very high value.
C. Increase the pheromone evaporation rate () and increase the heuristic information influence ().
D. Decrease the pheromone evaporation rate () and decrease the heuristic information influence ().

43 In a multimodal optimization problem, a PSO swarm has prematurely converged, with all particles clustered around a local optimum. The gbest value has not improved for many generations. Which of the following is an advanced strategy specifically designed to re-introduce exploration by actively creating multiple sub-swarms?

Swarm stagnation and mitigation strategies Hard
A. Applying a time-varying inertia weight that decreases linearly from 0.9 to 0.4.
B. Increasing the cognitive parameter () and decreasing the social parameter ().
C. Implementing a niching technique like Fitness Sharing, where a particle's fitness is derated by the number of similar particles in its neighborhood.
D. Restarting the entire swarm with new random positions and velocities.

44 Consider a Cuckoo Search algorithm using Lévy flights for generating new solutions. How does the step length distribution of a Lévy flight inherently balance exploration and exploitation compared to a standard Gaussian random walk?

Exploration vs exploitation trade-off Hard
A. It primarily focuses on exploration by having a uniform probability of taking any step size.
B. It primarily focuses on exploitation by taking many long steps to quickly traverse the search space.
C. The step length is deterministic, ensuring a systematic and predictable balance between searching locally and globally.
D. The high frequency of short steps facilitates local exploitation, while occasional long-jump steps enable global exploration to escape local optima.

45 When using Ant Colony Optimization (ACO) for feature selection, the problem is modeled as finding the optimal path on a graph. Which graph representation is most suitable and sophisticated for this task?

Swarm-based optimization for machine learning problems Hard
A. A simple graph where each feature is a node, and the presence of pheromone on a node indicates its selection, independent of any path.
B. A bipartite graph with one set of nodes for features and another for classes, where ants find paths to optimize classification accuracy.
C. A fully connected graph where nodes represent features, and ants traverse a path of a fixed length corresponding to the desired subset size.
D. A sequential graph where each node represents a feature, and an ant's path from a start node to an end node constructs the feature subset.

46 In the Artificial Bee Colony (ABC) algorithm, the 'limit' parameter defines the number of unsuccessful trials after which a food source (solution) is abandoned by an employed bee, turning it into a scout. What is the consequence of setting this 'limit' parameter to a very large value?

Parameter sensitivity and tuning in swarm algorithms Hard
A. The algorithm will heavily favor exploitation, potentially getting trapped in local optima as it is slow to abandon mediocre solutions.
B. The algorithm will heavily favor exploration, as bees will quickly abandon their sources to become scouts.
C. It will have no significant effect on the algorithm's performance, as the scout bee phase is secondary.
D. The convergence speed will increase significantly, as bees have more time to refine good solutions.

47 When implementing a distributed PSO, an asynchronous global best (gbest) update model is often preferred over a synchronous one. What is the primary trade-off associated with the asynchronous model?

Parallel and distributed nature of swarm optimization Hard
A. It requires a central master node to coordinate all updates, creating a single point of failure.
B. It increases the risk of swarm stagnation because all particles receive the gbest update simultaneously.
C. It reduces communication overhead and idle time at the cost of working with potentially outdated gbest information, which can sometimes improve diversity.
D. It guarantees faster convergence to the true global optimum but requires significantly more complex synchronization logic.

48 Consider a PSO with a ring topology for its neighborhood, where each particle is only influenced by its immediate neighbors (e.g., the two particles adjacent to it in the particle index array) to determine its local best (lbest). How does this topology's performance compare to the standard global best (gbest) topology on a complex, multimodal problem?

Particle swarm optimization (PSO) Hard
A. It converges slower but is more effective at resisting premature convergence and exploring multiple local optima.
B. It performs identically to the gbest model, as information eventually propagates through the entire swarm.
C. It is guaranteed to find the global optimum, whereas the gbest model is not.
D. It converges faster due to reduced information flow, leading to a higher quality final solution.

49 In the Cuckoo Search algorithm, a fraction of the worst nests () are abandoned and new ones are built at new locations. This mechanism is most analogous to which operator in a traditional Genetic Algorithm (GA)?

Artificial bee colony (ABC) and cuckoo search algorithm Hard
A. The crossover operator, where information from two parent solutions is combined.
B. A combination of elitism and mutation, where poor solutions are discarded and new random solutions are generated.
C. The selection operator (e.g., roulette wheel), where solutions are chosen based on fitness.
D. The fitness evaluation function itself.

50 In continuous domain Ant Colony Optimization (ACO-R), instead of discrete pheromone values on graph edges, a probability density function (PDF), often a Gaussian mixture model, is used to represent the pheromone distribution. What is the primary role of the variance of the Gaussian components in this model?

Ant colony optimization (ACO) Hard
A. The variance is always kept constant to ensure stable convergence.
B. The variance controls the exploration/exploitation balance: smaller variance encourages exploitation around promising means, while larger variance promotes exploration.
C. The variance is a direct measure of the objective function value at the mean of the Gaussian.
D. The variance determines the number of ants in the colony.

51 The principle of 'stigmergy' is fundamental to many swarm intelligence algorithms. It refers to indirect communication mediated by modifications of the environment. Which of the following algorithm mechanics is NOT a direct example of stigmergy?

Swarm intelligence concepts Hard
A. In PSO, a particle's velocity is directly influenced by the global best position (gbest) stored in memory.
B. In ACO, an ant chooses its next path based on the concentration of pheromone deposited by other ants.
C. In the Artificial Bee Colony algorithm, an onlooker bee chooses a food source based on the quality information shared by employed bees via a 'waggle dance'.
D. Termites building a mound by depositing soil pellets in response to the chemical traces on existing structures.

52 You are tasked with using PSO to find optimal weights for a small, fixed-architecture neural network. A particle's position vector represents the entire set of weights and biases. What is a major and well-documented challenge of applying standard PSO to this high-dimensional, non-separable optimization problem?

Swarm-based optimization for machine learning problems Hard
A. The 'curse of dimensionality' leads to extremely slow convergence and a high likelihood of stagnation, as the search space volume is vast and particle influence becomes too localized.
B. The gbest solution corresponds to the lowest training error, which always guarantees the best generalization performance on unseen data.
C. The particle's velocity can only be updated with binary values, which is incompatible with continuous neural network weights.
D. PSO cannot be used because the error surface of a neural network is not differentiable.

53 A common sign of stagnation in PSO is when the swarm diversity, measured as the average distance of particles from the swarm's centroid, drops to near zero. A 'guaranteed convergence' PSO (GCPSO) variant attempts to mitigate this by modifying the global best particle's movement. How does it work?

Swarm stagnation and mitigation strategies Hard
A. It stops the movement of the gbest particle entirely to create a stable anchor for the rest of the swarm.
B. It periodically replaces the gbest particle with a randomly generated one to inject diversity.
C. It ensures the global best particle (gbest) samples the entire search space via a systematic search if it is not improving, guaranteeing that it can escape any local optimum.
D. It forces the gbest particle to move towards a weighted average of all personal bests, preventing it from being isolated.

54 In many swarm algorithms, a dynamic adaptation of parameters is used to manage the exploration-exploitation balance over time. Which of the following strategies represents the most common and logically sound dynamic trade-off?

Exploration vs exploitation trade-off Hard
A. Initially prioritize high exploration to scan the search space globally, then gradually shift towards high exploitation to refine promising solutions.
B. Initially prioritize high exploitation to quickly find a good solution, then switch to high exploration to check if better solutions exist.
C. Maintain a constant 50/50 balance between exploration and exploitation throughout the entire run.
D. Alternate between pure exploration and pure exploitation phases in every iteration.

55 In ACO, the pheromone update rule is often given by . If the evaporation rate is set to a value very close to 1 (e.g., 0.99), what is the expected behavior of the algorithm?

Parameter sensitivity and tuning in swarm algorithms Hard
A. The amount of pheromone on all edges will grow without bound, making all paths equally likely.
B. The influence of the best-so-far solution (ant-cycle or elitist update) will become overwhelmingly strong, leading to stagnation.
C. The search will become almost memoryless and random, heavily relying on the heuristic information () because past pheromone trails evaporate almost instantly.
D. The algorithm will converge extremely quickly to a single path, as pheromone builds up rapidly.

56 How does the division of labor between employed bees, onlooker bees, and scout bees in the Artificial Bee Colony (ABC) algorithm represent a balanced search strategy?

Artificial bee colony (ABC) and cuckoo search algorithm Hard
A. All three types of bees perform the same random search, but are given different names for conceptual clarity.
B. Employed bees perform exploration, onlooker bees perform exploitation, and scout bees handle convergence.
C. Employed bees perform exploitation, onlooker bees add probabilistic selection pressure towards better solutions, and scout bees perform exploration.
D. Employed and onlooker bees handle exploration, while scout bees are responsible for fine-tuning the global best solution (exploitation).

57 In some PSO variants, a concept of 'quantum-behaved particles' is introduced, where a particle's state is described by a wave function instead of a position and velocity. What is the primary motivation for this significantly more complex model?

Particle swarm optimization (PSO) Hard
A. To remove the velocity vector, thus eliminating the problem of velocity explosion and the need to tune inertia weight, , and .
B. To model particle movement based on Newtonian physics for better real-world problem mapping.
C. To allow the algorithm to solve optimization problems on quantum computers.
D. To guarantee that the particle will always find the global optimum in a single iteration.

58 Consider a parallel implementation of ACO for the TSP. A common strategy is to run multiple independent colonies in parallel and periodically share the global best tour found among them. What is a significant risk of sharing this global best tour too frequently?

Parallel and distributed nature of swarm optimization Hard
A. It violates the principle of stigmergy, invalidating the algorithm's theoretical foundation.
B. It can lead to a loss of overall swarm diversity, causing all colonies to prematurely converge to the same (potentially suboptimal) region of the search space.
C. It causes significant network latency, making the parallel implementation slower than a sequential one.
D. It guarantees that the final solution will be worse than that of any single colony run in isolation.

59 When using PSO for hyperparameter optimization of a machine learning model (e.g., tuning learning rate, C, and gamma for an SVM), the fitness evaluation for each particle is computationally expensive as it requires training and validating the model. Which strategy is most effective for mitigating this high computational cost?

Swarm-based optimization for machine learning problems Hard
A. Evaluating fitness based on training accuracy instead of cross-validation accuracy.
B. Reducing the number of particles in the swarm to one, effectively turning it into a randomized hill-climbing algorithm.
C. Setting a fixed, very small number of iterations (e.g., 5) to ensure the optimization process finishes quickly.
D. Using a surrogate model (e.g., a Gaussian Process) to approximate the fitness function, and only running the actual expensive evaluation for the most promising particles.

60 The Max-Min Ant System (MMAS) is an improvement over the basic Ant System. One of its key features is limiting the pheromone trail values to a range [, ]. What is the primary purpose of enforcing a minimum pheromone level, ?

Ant colony optimization (ACO) Hard
A. To ensure that the pheromone values do not decay to zero due to floating-point arithmetic errors.
B. To avoid search stagnation by ensuring that no path is ever completely excluded from being explored, thereby encouraging continued exploration throughout the run.
C. To reduce the memory required to store the pheromone matrix by clipping values.
D. To speed up convergence by forcing ants to focus only on paths that have reached the minimum pheromone threshold.