Inner-Learning: From Hand-Coded Beliefs to Declarative Knowledge in Trick-Taking Games

Stefan Edelkamp
10/28/2026
cs.AI

No confident code implementation found for this paper.

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 $\neg\mathsf{holds}(P,C)$, denoting that player $P$ cannot hold any card in set $C$.

Show full abstract

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 \emph{cardinality constraints}: at-most-$k$ and at-least-$k$ 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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{edelkamp2026innerlearning,
  title  = {Inner-Learning: From Hand-Coded Beliefs to Declarative Knowledge in Trick-Taking Games},
  author = {Stefan Edelkamp},
  year   = {2026},
  eprint = {2610.38304},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.38304v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.38304.svg)](https://codeofpaper.com/paper/2610.38304)

Discussion