arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.19446cs.ITcs.GTmath.IT
收藏

信息质量:一种基于加权熵的近最优Mastermind解决方案

The Quality of Information: A Weighted Entropy Approach to Near-Optimal Mastermind

Serkan Gür

AI总结:

本文提出了一种基于加权熵的Mastermind解决方案,通过遗传算法优化发现可解释的权重模式,实现接近理论最优的性能。

摘要:

本文提出了一种新的信息论策略类方法,用于解决Mastermind游戏,实现了在已知启发式方法中的最佳性能。核心贡献是应用基于Belis-Guias、u框架的加权熵启发式方法,为每种可能的反馈类型分配上下文相关的效用值。遗传算法优化方法发现可解释的权重模式,这些模式反映了战略游戏动态。首先,我证明了一个固定优化权重向量可以实现4.3565的平均猜测数,最大为5。在此基础上,我引入了阶段加权启发式方法,为每个回合分配不同的效用向量,实现4.3488的平均猜测数,最大为6,接近理论最优值4.3403,误差小于0.2%。该方法保留了经典一步-ahead启发式方法的计算效率,同时通过原则性的信息估值显著提高了性能。完整的实现和所有优化参数都提供,以确保完全可复现性。

英文摘要:

This paper presents a novel class of information-theoretic strategies for solving the game of Mastermind, achieving state-of-the-art performance among known heuristic methods. The core contribution is the application of a weighted entropy heuristic, based on the Belis-Guias, u framework, which assigns context-dependent utility values to each of the possible feedback types. A genetic algorithm optimization approach discovers interpretable weight patterns that reflect strategic game dynamics. First, I demonstrate that a single, fixed vector of optimized weights achieves a remarkable 4.3565 average guesses with a maximum of 5. Building upon this, I introduce a stage-weighted heuristic with distinct utility vectors for each turn, achieving 4.3488 average guesses with a maximum of 6, approaching the theoretical optimum of 4.3403 by less than 0.2%. The method retains the computational efficiency of classical one-step-ahead heuristics while significantly improving performance through principled information valuation. A complete implementation and all optimized parameters are provided for full reproducibility.

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

↑