Inner-Learning: From Hand-Coded Beliefs to Declarative Knowledge in Trick-Taking Games
Organizations: Department of Theoretical Computer Science and Mathematical Logic, Faculty of Mathematics and Physics Charles University, Prague Czech Republic
Abstract
We present a declarative approach to belief-state modeling in trick-taking card games. Starting from a state-of-the-art Skat player, we automatically extract its hand-coded inference rules into a domain-specific language built on the primitive , denoting that player cannot hold any card in set . Round-trip code generation verifies that the extracted rules reproduce the original engine's intended behavior, up to three audited bugs in the original that the declarative engine corrects. We then grow the rule base through symmetric derivation and annotation of an expert strategy document---unifying code, symmetry, and expertise in one representation. We extend the knowledge representation with cardinality constraints: at-most- and at-least- bounds on the cards a player holds from a named group, expressed in the same declarative language and enforced at world-generation time. Confidence parameters connect symbolic rules to probabilistic belief updates. Self-play evaluation shows the declarative engine measurably improving winning percentage and score over the original hand-coded engine, with the extracted rules, the human-annotated rules, and the cardinality constraints each contributing to the effect.
Knowledge Representation
Knowledge representation studies how to encode facts, concepts, rules, context, and uncertainty so machines can interpret and reason over them.
See all 129 papers