arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.20260cs.CL
收藏

从教科书学习下棋(LEAP):一个基于情感分析评估棋步的语料库

Learning to Play Chess from Textbooks (LEAP): a Corpus for Evaluating Chess Moves based on Sentiment Analysis

University of Manchester(曼彻斯特大学)

Haifa Alrdahi, Riza Batista-Navarro

AI总结:

本文提出 LEAP 语料库,首次利用国际象棋教科书文本,通过基于 transformer 的情感分析模型评估棋步质量,最佳模型取得 68% 的加权微观 F_1 分数,并合成了更大数据集以缓解该领域文本资源稀缺问题。

摘要:

学习国际象棋策略已被广泛研究,大多数研究侧重于使用搜索算法从以往对局中学习。国际象棋教科书凝聚了特级大师的知识,解释了行棋策略,并且与传统国际象棋智能体相比需要更小的搜索空间。本文考察了国际象棋教科书作为一种新的知识来源,使机器能够学习如何下棋——这是一种此前未被探索过的资源。我们开发了 LEAP 语料库,这是第一个新的异构数据集,包含结构化数据(棋步记谱法和棋盘状态)和非结构化数据(文本描述),这些数据收集自一本国际象棋教科书,其中包含 1164 个句子,讨论了 91 局对局中的策略性棋步。我们首先根据句子的相关性对其进行标注,即判断它们是否在讨论某个棋步。然后,每个相关句子根据其对所描述棋步的情感倾向进行标注。我们进行了实证实验,评估了各种基于 transformer 的基线模型在情感分析上的性能。我们的结果表明,采用基于 transformer 的情感分析模型来评估国际象棋棋步是可行的,表现最好的模型获得了 68% 的加权微观 F_1 分数。最后,我们对 LEAP 语料库进行了合成,以创建一个更大的数据集,这可以作为解决国际象棋领域文本资源有限问题的一种方案。

英文摘要:

Learning chess strategies has been investigated widely, with most studies focussing on learning from previous games using search algorithms. Chess textbooks encapsulate grandmaster knowledge, explain playing strategies and require a smaller search space compared to traditional chess agents. This paper examines chess textbooks as a new knowledge source for enabling machines to learn how to play chess -- a resource that has not been explored previously. We developed the LEAP corpus, a first and new heterogeneous dataset with structured (chess move notations and board states) and unstructured data (textual descriptions) collected from a chess textbook containing 1164 sentences discussing strategic moves from 91 games. We firstly labelled the sentences based on their relevance, i.e., whether they are discussing a move. Each relevant sentence was then labelled according to its sentiment towards the described move. We performed empirical experiments that assess the performance of various transformer-based baseline models for sentiment analysis. Our results demonstrate the feasibility of employing transformer-based sentiment analysis models for evaluating chess moves, with the best performing model obtaining a weighted micro F_1 score of 68%. Finally, we synthesised the LEAP corpus to create a larger dataset, which can be used as a solution to the limited textual resource in the chess domain.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑