{"id":199183,"date":"2024-05-10T00:51:29","date_gmt":"2024-05-09T16:51:29","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/199183.html"},"modified":"2024-05-10T00:51:32","modified_gmt":"2024-05-09T16:51:32","slug":"%e8%92%99%e7%89%b9%e5%8d%a1%e6%b4%9b%e6%a0%91%e6%98%af%e4%bb%80%e4%b9%88%e7%ae%97%e6%b3%95","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/199183.html","title":{"rendered":"\u8499\u7279\u5361\u6d1b\u6811\u662f\u4ec0\u4e48\u7b97\u6cd5"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24140634\/dfb71d77-d90c-4056-b255-12320427f927.webp\" alt=\"\u8499\u7279\u5361\u6d1b\u6811\u662f\u4ec0\u4e48\u7b97\u6cd5\" \/><\/p>\n<p><p>\u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\uff08MCTS\uff09<strong>\u662f\u4e00\u79cd\u5728\u51b3\u7b56\u8fc7\u7a0b\u4e2d\u7528\u4e8e\u5bfb\u627e\u6700\u4f18\u51b3\u7b56\u7684\u7b97\u6cd5<\/strong>\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u6e38\u620f\u548c\u51b3\u7b56\u5236\u5b9a\u95ee\u9898\u4e2d\uff0c\u7279\u522b\u662f\u5728\u90a3\u4e9b\u51b3\u7b56\u7a7a\u95f4\u5de8\u5927\u6216\u4fe1\u606f\u4e0d\u5b8c\u5168\u7684\u60c5\u51b5\u4e0b\u3002<strong>\u6838\u5fc3\u7279\u70b9\u5305\u62ec\uff1a\u8fd0\u7528\u968f\u673a\u6a21\u62df\u6765\u8bc4\u4f30\u51b3\u7b56\u7ed3\u679c\u3001\u5e73\u8861\u63a2\u7d22\u4e0e\u5229\u7528\u3001\u9002\u5e94\u590d\u6742\u548c\u52a8\u6001\u7684\u95ee\u9898\u73af\u5883<\/strong>\u3002MCTS\u901a\u8fc7\u591a\u6b21\u968f\u673a\u6a21\u62df\u6765\u6784\u5efa\u4e00\u68f5\u641c\u7d22\u6811\uff0c\u6811\u4e2d\u7684\u8282\u70b9\u8868\u793a\u51b3\u7b56\u70b9\uff0c\u800c\u8fb9\u8868\u793a\u51b3\u7b56\u540e\u7684\u53ef\u80fd\u72b6\u6001\u3002<strong>\u8be5\u7b97\u6cd5\u4e3b\u8981\u7531\u56db\u4e2a\u6b65\u9aa4\u7ec4\u6210\uff1a\u9009\u62e9\u3001\u6269\u5c55\u3001\u6a21\u62df\u3001\u56de\u6eaf<\/strong>\u3002\u5176\u52a8\u6001\u5e73\u8861\u201c\u63a2\u7d22\u4e0e\u5229\u7528\u201d\u7684\u80fd\u529b\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5de8\u5927\u641c\u7d22\u7a7a\u95f4\u4e2d\u7684\u95ee\u9898\u65f6\u663e\u5f97\u5c24\u4e3a\u5173\u952e\u3002<\/p>\n<\/p>\n<p><p><strong>\u9009\u62e9<\/strong>\u6b65\u9aa4\u7684\u6838\u5fc3\u5728\u4e8e\u5982\u4f55\u5e73\u8861\u201c\u63a2\u7d22\u4e0e\u5229\u7528\u201d\uff08Exploration vs. Exploitation\uff09\u3002\u4e3a\u4e86\u505a\u51fa\u6700\u4f18\u51b3\u7b56\uff0c\u7b97\u6cd5\u5fc5\u987b\u5728\u63a2\u7d22\u672a\u77e5\u533a\u57df\u4e0e\u5229\u7528\u5df2\u77e5\u4fe1\u606f\u4e4b\u95f4\u5bfb\u6c42\u5e73\u8861\u3002\u8fd9\u901a\u5e38\u901a\u8fc7\u5e94\u7528\u4e00\u79cd\u79f0\u4e3aUCT\uff08Upper Confidence bound applied to Trees\uff09\u7684\u7b56\u7565\u6765\u5b9e\u73b0\uff0cUCT\u5229\u7528\u4e86\u80dc\u7387\uff08\u5373\u6a21\u62df\u7684\u7ed3\u679c\uff09\u4e0e\u8bbf\u95ee\u9891\u7387\u6765\u8bc4\u4f30\u8282\u70b9\u7684\u4ef7\u503c\uff0c\u786e\u4fdd\u5728\u5145\u5206\u63a2\u7d22\u8f83\u5c11\u8bbf\u95ee\u8282\u70b9\u7684\u540c\u65f6\uff0c\u4e5f\u4e0d\u653e\u5f03\u5bf9\u5df2\u77e5\u6709\u4f18\u52bf\u8282\u70b9\u7684\u5229\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u7b97\u6cd5\u6982\u8ff0<\/h3>\n<\/p>\n<p><p>\u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\uff08MCTS\uff09\u901a\u8fc7\u5728\u6a21\u62df\u7684\u6e38\u620f\u4e2d\u8fdb\u884c\u5927\u91cf\u7684\u968f\u673a\u8bd5\u9a8c\uff0c\u6536\u96c6\u4fe1\u606f\u4ee5\u6307\u5bfc\u672a\u6765\u7684\u51b3\u7b56\u3002\u8fd9\u79cd\u65b9\u5f0f\u4f7f\u5f97MCTS\u65e0\u9700\u5b8c\u6574\u7684\u6e38\u620f\u4fe1\u606f\u6216\u662f\u590d\u6742\u7684\u4f30\u503c\u51fd\u6570\u4fbf\u80fd\u8fdb\u884c\u6709\u6548\u7684\u641c\u7d22\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u6838\u5fc3\u6b65\u9aa4\u8be6\u89e3<\/h3>\n<\/p>\n<p><h4>\u9009\u62e9\uff08Selection\uff09<\/h4>\n<\/p>\n<p><p>\u4ece\u6839\u8282\u70b9\u5f00\u59cb\uff0c\u9009\u62e9\u7b56\u7565\u5f15\u5bfc\u7b97\u6cd5\u6cbf\u6811\u5411\u4e0b\u79fb\u52a8\u81f3\u53f6\u8282\u70b9\u3002\u6b64\u8fc7\u7a0b\u91cd\u590d\u5e94\u7528UCT\u516c\u5f0f\uff0c\u4e0d\u65ad\u6bd4\u8f83\u5404\u8282\u70b9\u7684\u7edf\u8ba1\u6570\u636e\uff0c\u76f4\u5230\u8fbe\u5230\u5c1a\u672a\u5b8c\u5168\u5c55\u5f00\u7684\u8282\u70b9\u3002\u6b64\u6b65\u9aa4\u7684\u4e3b\u8981\u76ee\u6807\u662f\u627e\u5230\u4e00\u4e2a\u5e73\u8861\u70b9\uff0c\u65e2\u8981\u4fdd\u8bc1\u9ad8\u6982\u7387\u80dc\u51fa\u7684\u8282\u70b9\u88ab\u91cd\u590d\u8bbf\u95ee\uff08\u5229\u7528\uff09\uff0c\u540c\u65f6\u4e5f\u8981\u786e\u4fdd\u672a\u88ab\u5145\u5206\u63a2\u7d22\u7684\u8282\u70b9\u5f97\u5230\u63a2\u7d22\uff08\u63a2\u7d22\uff09\u3002<\/p>\n<\/p>\n<p><h4>\u6269\u5c55\uff08Expansion\uff09<\/h4>\n<\/p>\n<p><p>\u4e00\u65e6\u9009\u62e9\u8fc7\u7a0b\u5230\u8fbe\u5c1a\u672a\u5b8c\u5168\u5c55\u5f00\u7684\u8282\u70b9\uff0c\u7b97\u6cd5\u4f1a\u9009\u62e9\u4e00\u4e2a\u6216\u591a\u4e2a\u672a\u88ab\u63a2\u7d22\u7684\u52a8\u4f5c\u6765\u6269\u5c55\u641c\u7d22\u6811\uff0c\u6b64\u6b65\u9aa4\u4e3b\u8981\u589e\u52a0\u641c\u7d22\u6811\u7684\u5bbd\u5ea6\uff0c\u5141\u8bb8\u7b97\u6cd5\u63a2\u7d22\u65b0\u7684\u7b56\u7565\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u6a21\u62df\uff08Simulation\uff09<\/h3>\n<\/p>\n<p><p>\u5728\u6269\u5c55\u9636\u6bb5\u540e\uff0c\u7b97\u6cd5\u901a\u8fc7\u4ece\u5f53\u524d\u8282\u70b9\u5f00\u59cb\u8fdb\u884c\u968f\u673a\u7684\u6e38\u620f\u6a21\u62df\uff08\u4e5f\u79f0\u4f5c\u4e0b\u964d\uff09\u3002\u8fd9\u91cc\u7684\u201c\u968f\u673a\u201d\u5e76\u4e0d\u662f\u5b8c\u5168\u968f\u610f\uff0c\u800c\u662f\u6839\u636e\u67d0\u4e9b\u7b80\u5355\u89c4\u5219\u6216\u542f\u53d1\u5f0f\u77e5\u8bc6\u8fdb\u884c\u3002\u6a21\u62df\u8fc7\u7a0b\u6301\u7eed\u5230\u8fbe\u9884\u5b9a\u7684\u7ec8\u6b62\u6761\u4ef6\uff0c\u5982\u6e38\u620f\u7ed3\u675f\u6216\u8fbe\u5230\u7279\u5b9a\u6df1\u5ea6\u9650\u5236\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u56de\u6eaf\uff08Backpropagation\uff09<\/h3>\n<\/p>\n<p><p>\u6a21\u62df\u7ed3\u675f\u540e\uff0c\u7b97\u6cd5\u5c06\u6a21\u62df\u7684\u7ed3\u679c\u4ece\u5f53\u524d\u8282\u70b9\u4e00\u76f4\u56de\u6eaf\u5230\u6839\u8282\u70b9\uff0c\u66f4\u65b0\u8fd9\u4e00\u8def\u5f84\u4e0a\u6240\u6709\u8282\u70b9\u7684\u7edf\u8ba1\u4fe1\u606f\uff0c\u5982\u80dc\u7387\u548c\u8bbf\u95ee\u6b21\u6570\u3002\u8fd9\u4e00\u6b65\u9aa4\u786e\u4fdd\u4e86\u7b97\u6cd5\u7684\u5b66\u4e60\u8fc7\u7a0b\uff0c\u4f7f\u5f97\u4e4b\u540e\u7684\u9009\u62e9\u6b65\u9aa4\u80fd\u66f4\u597d\u5730\u8fdb\u884c\u51b3\u7b56\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u7b97\u6cd5\u5e94\u7528\u548c\u6311\u6218<\/h3>\n<\/p>\n<p><p>MCTS\u7531\u4e8e\u5176\u72ec\u7279\u7684\u7279\u6027\uff0c\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u591a\u79cd\u9886\u57df\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u68cb\u7c7b\u6e38\u620f\u5982\u56f4\u68cb\u3001\u56fd\u9645\u8c61\u68cb\uff0c\u4ee5\u53ca\u5b9e\u65f6\u7b56\u7565\u6e38\u620f\u3001\u8def\u5f84\u89c4\u5212\u7b49\u3002\u7136\u800c\uff0c\u5c3d\u7ba1MCTS\u80fd\u5904\u7406\u5de8\u5927\u7684\u51b3\u7b56\u7a7a\u95f4\u548c\u4e0d\u5b8c\u5168\u4fe1\u606f\uff0c\u7b97\u6cd5\u7684\u6548\u7387\u548c\u7ed3\u679c\u7684\u8d28\u91cf\u9ad8\u5ea6\u4f9d\u8d56\u4e8e\u6a21\u62df\u7684\u8d28\u91cf\u548c\u9009\u62e9\u7b56\u7565\u7684\u8c03\u6574\uff0c\u8fd9\u4e5f\u662f\u7814\u7a76\u548c\u6539\u8fdb\u7684\u4e3b\u8981\u65b9\u5411\u3002<\/p>\n<\/p>\n<p><p>\u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\u7b97\u6cd5\u901a\u8fc7\u5176\u7075\u6d3b\u6027\u548c\u5f3a\u5927\u7684\u641c\u7d22\u80fd\u529b\uff0c\u5728\u590d\u6742\u51b3\u7b56\u95ee\u9898\u4e2d\u63d0\u4f9b\u4e86\u4e00\u79cd\u6709\u6548\u7684\u89e3\u51b3\u65b9\u6848\u3002\u5176\u5bf9\u201c\u63a2\u7d22\u4e0e\u5229\u7528\u201d\u5e73\u8861\u7684\u72ec\u5230\u7406\u89e3\uff0c\u4f7f\u5176\u6210\u4e3a\u5f53\u4eca<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>\u9886\u57df\u5185\u4e00\u9879\u91cd\u8981\u548c\u5e7f\u6cdb\u5e94\u7528\u7684\u6280\u672f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u4ec0\u4e48\u662f\u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\u7b97\u6cd5\uff1f<\/strong><br \/>\n\u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\u7b97\u6cd5\u662f\u4e00\u79cd\u89e3\u51b3\u51b3\u7b56\u95ee\u9898\u7684\u7b97\u6cd5\uff0c\u5b83\u57fa\u4e8e\u968f\u673a\u6a21\u62df\u548c\u641c\u7d22\u6811\u7684\u7ec4\u5408\u3002\u8be5\u7b97\u6cd5\u901a\u8fc7\u5728\u4e00\u4e2a\u641c\u7d22\u6811\u4e2d\u4e0d\u65ad\u6269\u5c55\u8282\u70b9\uff0c\u7136\u540e\u5229\u7528\u968f\u673a\u6a21\u62df\u6765\u8bc4\u4f30\u5404\u4e2a\u8282\u70b9\u7684\u4ef7\u503c\uff0c\u6700\u7ec8\u9009\u62e9\u6700\u4f18\u7684\u51b3\u7b56\u8def\u5f84\u3002\u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\u7b97\u6cd5\u5728\u5f88\u591a\u9886\u57df\u90fd\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\uff0c\u5982\u6e38\u620f\u4e2d\u7684<a href=\"https:\/\/docs.pingcode.com\/tag\/AI\" target=\"_blank\">\u4eba\u5de5\u667a\u80fd<\/a>\u51b3\u7b56\u3001\u68cb\u7c7b\u6e38\u620f\u7684\u81ea\u52a8\u5bf9\u5f08\u7b49\u3002<\/p>\n<p><strong>2. \u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\u7b97\u6cd5\u7684\u539f\u7406\u662f\u600e\u6837\u7684\uff1f<\/strong><br \/>\n\u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\u7b97\u6cd5\u7684\u539f\u7406\u53ef\u4ee5\u7b80\u8981\u6982\u62ec\u4e3a\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a\u9996\u5148\uff0c\u4ece\u6839\u8282\u70b9\u5f00\u59cb\uff0c\u5728\u641c\u7d22\u6811\u4e2d\u9009\u62e9\u4e00\u4e2a\u672a\u5b8c\u5168\u6269\u5c55\u7684\u8282\u70b9\uff1b\u7136\u540e\uff0c\u5728\u9009\u62e9\u7684\u8282\u70b9\u4e0a\u8fdb\u884c\u6269\u5c55\uff0c\u751f\u6210\u65b0\u7684\u5b50\u8282\u70b9\uff1b\u63a5\u7740\uff0c\u5229\u7528\u968f\u673a\u6a21\u62df\u6765\u8bc4\u4f30\u6bcf\u4e2a\u5b50\u8282\u70b9\u7684\u4ef7\u503c\uff0c\u5e76\u66f4\u65b0\u5b83\u4eec\u7684\u7edf\u8ba1\u6570\u636e\uff1b\u6700\u540e\uff0c\u6839\u636e\u8282\u70b9\u7684\u7edf\u8ba1\u6570\u636e\u9009\u62e9\u6700\u4f18\u7684\u8def\u5f84\u3002<\/p>\n<p><strong>3. \u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\u7b97\u6cd5\u5728\u6e38\u620f\u4e2d\u7684\u5e94\u7528\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>\n\u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\u7b97\u6cd5\u5728\u6e38\u620f\u4e2d\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\uff0c\u5c24\u5176\u662f\u5728\u4eba\u5de5\u667a\u80fd\u51b3\u7b56\u548c\u81ea\u52a8\u5bf9\u5f08\u65b9\u9762\u3002\u4f8b\u5982\uff0cAlphaGo\u5c31\u662f\u57fa\u4e8e\u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\u7b97\u6cd5\u7684\u6df1\u5ea6\u5b66\u4e60\u7a0b\u5e8f\uff0c\u5b83\u5728\u56f4\u68cb\u6bd4\u8d5b\u4e2d\u6253\u8d25\u4e86\u591a\u6b21\u4e16\u754c\u51a0\u519b\u3002\u6b64\u5916\uff0c\u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\u7b97\u6cd5\u8fd8\u53ef\u4ee5\u7528\u4e8e\u5176\u4ed6\u68cb\u7c7b\u6e38\u620f\uff0c\u5982\u56fd\u9645\u8c61\u68cb\u3001\u56f4\u68cb\u3001\u8c61\u68cb\u7b49\uff0c\u5b83\u901a\u8fc7\u5927\u91cf\u7684\u968f\u673a\u6a21\u62df\u548c\u641c\u7d22\u6811\u7684\u6784\u5efa\uff0c\u80fd\u591f\u8f83\u597d\u5730\u8bc4\u4f30\u6bcf\u4e2a\u51b3\u7b56\u7684\u4ef7\u503c\uff0c\u4ece\u800c\u505a\u51fa\u6700\u4f18\u7684\u9009\u62e9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8499\u7279\u5361\u6d1b\u6811\u641c\u7d22\uff08MCTS\uff09\u662f\u4e00\u79cd\u5728\u51b3\u7b56\u8fc7\u7a0b\u4e2d\u7528\u4e8e\u5bfb\u627e\u6700\u4f18\u51b3\u7b56\u7684\u7b97\u6cd5\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u6e38\u620f\u548c\u51b3\u7b56\u5236\u5b9a\u95ee\u9898\u4e2d\uff0c\u7279\u522b\u662f\u5728\u90a3 [&hellip;]","protected":false},"author":3,"featured_media":199184,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/199183"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=199183"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/199183\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/199184"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=199183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=199183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=199183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}