Entropy-Based Two-Phase Optimization Algorithm for Wordle-like Games

entropy based two phase optimization algorithm n.w
1 / 16
Embed
Share

"Learn about the Entropy-Based Two-Phase Optimization Algorithm (EBTPOA) designed to solve Wordle-like games efficiently with optimal results and improved time complexity. Explore the algorithm's performance in hitting answers with fewer guesses and enhancing efficiency in gameplay."

  • Wordle
  • Algorithm
  • Optimization
  • Entropy
  • Game

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Entropy-Based Two-Phase Optimization Algorithm for Solving Wordle-like Games Yen-Chi Chen, Hao-En Kuan, Yen-Shun Lu, Tzu-Chun Chen, I-Chen Wu. 2022 International Conference on Technologies and Applications of Artificial Intelligence (TAAI) December 2022, Tainan, Taiwan Presenter: Wan-Ni Ou Date: Mar. 11, 2024

  2. Abstract In the past, a method called Two-Phase Optimization Algorithm (TPOA) was designed by Shan-Tai Chen to solve the game of Mastermind and the AB game efficiently. In this paper, we proposed a modified version called Entropy-Based TPOA (EBTPOA) for Wordle-like games. It is a combination of his algorithm and our previous work on Nerdle with greedy method. It focuses on not only effectiveness but also efficiency while finding optimal results. In Wordle-like games, EBTPOAperforms better with fewer guess times on average than TPOA. In Wordle, EBTPOA hits the answer optimally within 3.42117 times on average, and 5 times in the worst case, and the best opening word is SALET . In Nerdle, EBTPOA hits the answer within 3.01947 times on average, and 4 times in the worst case, and the best opening equation is 52-34=18 . These are the best results up to date, and particularly none has achieved the result for Nerdle so far. As for efficiency, by expanding with fewer branches and limiting the depth of exploration, EBTPOA can obtain the optimal result with a lower time complexity compared to related works. 2

  3. Wordle & Nerdle 3

  4. Game list & Legal list Game list: Legal list: 4

  5. Game Tree {water,cycle, } {frame,fried, } State nodes: Chance nodes: response State nodes 5

  6. Two-Phase Optimization Algorithm(TPOA) Solve the AB game and Mastermind. Reduce the number of expanded nodes during the exploration of the game tree as much as possible. TPOA exploration phase exploitation phase TPOA+ : branching factor TPOA*: branching factor 6

  7. Two-Phase Optimization Algorithm(TPOA) group hash value hash collision group(HCG) Hashe:designed for the expected case, it will sort the number of times for each response and ignore what the actual response is. Hashw:designed for the worst case, so it only cares how many different responses there are after a word is guessed. 7

  8. Entropy( ) 8

  9. Greedy Method G-V1: each time, it takes the remaining possible answers into consideration and finds the one contributing the largest entropy as the next action. G-V4: Once the maximum entropy of a set of remaining possible answers is less than a threshold value, which is the entropy of a distribution where all of the guesses cause the same response except the answer, the solver then takes all guesses into consideration again. 9

  10. Search Method Greedy (G-V1) + TPOA* EBTPOA entropy 10

  11. 11

  12. Solving Wordle With Game/Legal List 12

  13. Solving Nerdle With Game/Legal List 13

  14. 14

  15. Avg/Worst Performance 15

  16. Thanks 16

Related


More Related Content