Comparison of Loss Functions for Training of Deep Neural Networks in Shogi

Hanhua Zhu, Tomoyuki Kaneko
{"title":"Comparison of Loss Functions for Training of Deep Neural Networks in Shogi","authors":"Hanhua Zhu, Tomoyuki Kaneko","doi":"10.1109/TAAI.2018.00014","DOIUrl":null,"url":null,"abstract":"Evaluation functions are crucial for building strong computer players in two-player games, such as chess, Go, and shogi. Although a linear combination of a large number of features has been popular representation of an evaluation function in shogi, deep neural networks (DNNs) are recently considered to be more promising by the success of AlphaZero in multiple domains, chess, Go, and shogi. This paper shows that three loss functions, loss in comparison training, temporal difference (TD) errors and cross entropy loss in win prediction, are effective for the training of evaluation functions in shogi, presented in deep neural networks. For the training of DNNs in AlphaZero, the main loss function only consists of win prediction, though it is augmented with move prediction for regularization. On the other hand, for training in traditional shogi programs, various losses including loss in comparison training, TD errors, and cross entropy loss in win prediction, have contributed to yield accurate evaluation functions which are the linear combination of a large number of features. Therefore, it is promising to combine these loss functions and to apply them to the training of modern DNNs. In our experiments, we show that training with combinations of loss functions improved the accuracy of evaluation functions represented by DNNs. The performance of trained evaluation functions is tested through top-1 accuracy, 1-1 accuracy, and self-play.","PeriodicalId":211734,"journal":{"name":"2018 Conference on Technologies and Applications of Artificial Intelligence (TAAI)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2018-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 Conference on Technologies and Applications of Artificial Intelligence (TAAI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TAAI.2018.00014","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Evaluation functions are crucial for building strong computer players in two-player games, such as chess, Go, and shogi. Although a linear combination of a large number of features has been popular representation of an evaluation function in shogi, deep neural networks (DNNs) are recently considered to be more promising by the success of AlphaZero in multiple domains, chess, Go, and shogi. This paper shows that three loss functions, loss in comparison training, temporal difference (TD) errors and cross entropy loss in win prediction, are effective for the training of evaluation functions in shogi, presented in deep neural networks. For the training of DNNs in AlphaZero, the main loss function only consists of win prediction, though it is augmented with move prediction for regularization. On the other hand, for training in traditional shogi programs, various losses including loss in comparison training, TD errors, and cross entropy loss in win prediction, have contributed to yield accurate evaluation functions which are the linear combination of a large number of features. Therefore, it is promising to combine these loss functions and to apply them to the training of modern DNNs. In our experiments, we show that training with combinations of loss functions improved the accuracy of evaluation functions represented by DNNs. The performance of trained evaluation functions is tested through top-1 accuracy, 1-1 accuracy, and self-play.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Shogi中深度神经网络训练损失函数的比较
评估功能对于在双人游戏(如国际象棋、围棋和棋)中培养强大的计算机玩家至关重要。尽管大量特征的线性组合已成为棋棋中评估函数的流行表示,但由于AlphaZero在多个领域、国际象棋、围棋和棋棋中的成功,深度神经网络(dnn)最近被认为更有前途。本文提出了三种损失函数,即比较训练中的损失、时间差(TD)误差和赢值预测中的交叉熵损失,可以有效地训练深度神经网络中的shogi评价函数。对于在AlphaZero中训练dnn,主要的损失函数只包括赢预测,尽管它被增强了正则化的移动预测。另一方面,对于传统的将棋程序的训练,各种损失,包括比较训练中的损失、TD误差和赢度预测中的交叉熵损失,有助于产生准确的评价函数,这些函数是大量特征的线性组合。因此,将这些损失函数结合起来并应用于现代dnn的训练是很有希望的。在我们的实验中,我们证明了使用损失函数组合的训练提高了dnn表示的评估函数的准确性。通过top-1准确率、1-1准确率和自玩来测试训练好的评价函数的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Ant Colony Optimization with Negative Feedback for Solving Constraint Satisfaction Problems Using Machine Learning Algorithms in Medication for Cardiac Arrest Early Warning System Construction and Forecasting Using AHP to Choose the Best Logistics Distribution Model A Vector Mosquitoes Classification System Based on Edge Computing and Deep Learning Deep Recurrent Q-Network with Truncated History
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1