lecture 26 local beam search
TRANSCRIPT
![Page 1: Lecture 26 local beam search](https://reader036.vdocuments.net/reader036/viewer/2022083109/58ed438e1a28aba1718b45a5/html5/thumbnails/1.jpg)
1
Local Beam SearchLecture-26
Hema Kashyap
![Page 2: Lecture 26 local beam search](https://reader036.vdocuments.net/reader036/viewer/2022083109/58ed438e1a28aba1718b45a5/html5/thumbnails/2.jpg)
2
Idea• The search begins with k randomly generated states • At each step, all the successors of all k states are
generated • If any one of the successors is a goal, the algorithm halts • Otherwise, it selects the k best successors from the
complete list and repeats • The parallel search of beam search leads quickly to
abandoning unfruitful searches and moves its resources to where the most progress is being made
• In stochastic beam search the maintained successor states are chosen with a probability based on their goodness
![Page 3: Lecture 26 local beam search](https://reader036.vdocuments.net/reader036/viewer/2022083109/58ed438e1a28aba1718b45a5/html5/thumbnails/3.jpg)
3
Algorithm
![Page 4: Lecture 26 local beam search](https://reader036.vdocuments.net/reader036/viewer/2022083109/58ed438e1a28aba1718b45a5/html5/thumbnails/4.jpg)
4
![Page 5: Lecture 26 local beam search](https://reader036.vdocuments.net/reader036/viewer/2022083109/58ed438e1a28aba1718b45a5/html5/thumbnails/5.jpg)
5
![Page 6: Lecture 26 local beam search](https://reader036.vdocuments.net/reader036/viewer/2022083109/58ed438e1a28aba1718b45a5/html5/thumbnails/6.jpg)
6
Assumptions
• Assume a pre-fixed width i.e. 2• Perform bredth-first, • But only keep the WIDTH best new nodes• Depending on heuristic at each new level
![Page 7: Lecture 26 local beam search](https://reader036.vdocuments.net/reader036/viewer/2022083109/58ed438e1a28aba1718b45a5/html5/thumbnails/7.jpg)
7
Example
![Page 8: Lecture 26 local beam search](https://reader036.vdocuments.net/reader036/viewer/2022083109/58ed438e1a28aba1718b45a5/html5/thumbnails/8.jpg)
8
Example
![Page 9: Lecture 26 local beam search](https://reader036.vdocuments.net/reader036/viewer/2022083109/58ed438e1a28aba1718b45a5/html5/thumbnails/9.jpg)
9
Example
![Page 10: Lecture 26 local beam search](https://reader036.vdocuments.net/reader036/viewer/2022083109/58ed438e1a28aba1718b45a5/html5/thumbnails/10.jpg)
10
Example