arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.14636cs.LGcs.AI
收藏

AlphaZero-Edu:普及AlphaZero的访问

When Search Teaches Style: Causal Internalization of Tactical Priors in AlphaZero

Department of Communication Studies, School of Communication, Hong Kong Baptist University(通讯学院传播研究系,香港 Baptist 大学);Department of Neurobiology and Department of Rehabilitation Medicine, First Affiliated Hospital, Zhejiang University School of Medicine(神经生物学系和康复医学系,浙江大学医学院第一附属医院);Personal participation(个人参与)

Ruitong Li, Binjie Guo, Aisheng Mo, Guowei Su, Han Wang, Jie Li, Ru Zhang

AI总结:

本文提出AlphaZero-Edu,一种轻量级教育导向的实现,通过模块化架构和高效训练,提升AlphaZero的可访问性和可重复性,实现单GPU训练和并行自对弈加速。

摘要:

近年来,强化学习领域取得了显著进展,尤其是类似Zero的范式,大幅提升了大语言模型的泛化和推理能力。然而,现有框架常面临实现复杂性和可重复性差的问题。为解决这些问题,我们提出了AlphaZero-Edu,基于AlphaZero的数学框架,采用模块化架构分离关键组件,实现算法过程的透明可视化。此外,它针对单块NVIDIA RTX 3090 GPU的资源高效训练进行了优化,并通过高度并行化的自对弈数据生成,实现8进程下的3.2倍加速。在五子棋比赛中,该框架表现出色,能持续以高胜率对抗人类对手。AlphaZero-Edu已开源于https://github.com/StarLight1212/AlphaZero_Edu,为学术研究和工业应用提供了可访问和实用的基准。

英文摘要:

AlphaZero is normally evaluated as one agent: a policy-value network fused with Monte Carlo tree search. That fusion hides a causal question. When self-play search is given a useful prior, does the network absorb the induced behavior, or does the behavior stay rented from search at test time? We answer with Cross-Phase Prior Intervention (CPI), which switches a root-level tactical prior on and off independently during training and during evaluation, separating the prior's online effect from the learned residual it leaves in the weights. The endpoint is deliberately narrow: how often a network discharges a forced defensive obligation when no search-time guidance is available. On a sealed one-shot final test in 9x9 Gomoku and 19x19 Go, deleting the prior still leaves a large residual response rises from 13.8% to 26.3% in Gomoku and from 0.6% to 33.8% in Go-and soft reweighting teaches as well as hard action restriction, so pruning legal actions is not the mechanism. The same cross bounds the claim: re-enabling the prior restores nearly 100% response, leaving dependence gaps of 73.7 and 65.8 points. A latched-position evaluation localizes the residual to trained geometry-absent at the shared initialization, emerging over training, worth +17.3 points on in-distribution defenses but only +1.3 on structurally novel ones. Search is therefore best read as a training-time behavioral curriculum whose lessons are real, partial, and geometry-bound, and online competence and internalized competence are different estimands that a diagonal ablation cannot tell apart.

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

↑