Quiz: Local Search

Methods of AI — SoSe 2026


Question: What is the key difference between Local Beam Search and running k independent Hill Climbing searches in parallel?

Max’s answer: LBS creates k beams at random locations and the creates n children, where their distance to the parent beam is defined by the step size. then the algorithm takes all children from all aprents (k x n) and take the best k children, makes them to the new parents and starts the process over. parallel HC on the other hand, the beams do not talk to each other and only take the best children among their own. that leads to beams being stuck in a local minima.
Result:


Question: Hill Climbing never makes downhill moves. What is the consequence for its performance, and which variant addresses this?

Max’s answer: the consequence is that HC often then converges in a local minimum of which it cannot escape. There are variants which try to avoid this issue:
Random Start HC: restarts HC once it converged. Therefore, there is a higher chance of finding the global minimum while maintaining relatively low computing cost.
Result:


Question: Explain the role of the three operators in a Genetic Algorithm: selection, crossover, and mutation.

Max’s answer:
Result:


Question: What is the tradeoff between small and large neighborhoods in Hill Climbing?

Max’s answer:
Result:


Question: How does Random-Restart Hill Climbing address the local optima problem, and what guarantee does it provide?

Max’s answer:
Result:


Question: In Simulated Annealing, when is a downhill neighbor accepted? Write the formula.

Max’s answer: wenn delta < 0, und T > 1, dann P = exp (delta/T) ist die formel
Result:


Question: Why does the uniform-order crossover exist, and when is it needed?

Max’s answer:
Result:


Beyond the lecture (optional)

These questions go beyond the SoSe 2026 lecture slides (textbook / external additions). Kept for depth, not exam-critical.

Question: What are the failure modes of Hill Climbing (name 3 and explain briefly)?

Max’s answer:
Result:


Score

Total: / 8