{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,2]],"date-time":"2026-08-02T19:38:14Z","timestamp":1785699494134,"version":"3.56.0"},"reference-count":0,"publisher":"Association for the Advancement of Artificial Intelligence (AAAI)","issue":"1","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["AIIDE"],"abstract":"<jats:p>Large Language Models (LLMs) have shown that a model\npre-trained on general knowledge can perform well on\nspecific tasks. However, LLMs natively perform poorly when\nit comes to demonstrating an understanding of rules, such\nas applying them, interacting with them, generating or\nmodifying them, or evaluating them. Fine-tuning LLMs on a\nspecific set of rules can significantly improve this\nperformance. Yet, doing so undermines one of the main\nadvantages of using a pre-trained model, which is its\nability to generalize to rulesets outside its training\ndistribution. This ability is critical for using LLMs as a\ntool in the game development process to give feedback or\nsuggest rule modifications. In this paper, we introduce a\nframework for generating datasets to benchmark and train\nLLMs on their understanding of rules. We use Solitaire card\ngames as our testbed for generating these datasets, as they\nhave simple rules but offer a large space of possible\nvariants, each played completely differently. We define a\nset of these variants using our custom Game Description\nLanguage (GDL) and use the framework to generate game\nprogression questions, along with a textual explanation for\neach answer. Using these datasets, we conduct experiments\nto evaluate multiple LLMs on their understanding of rules,\nboth with and without fine-tuning. Furthermore, we perform\nout-of-distribution evaluations in which the model is\ntested on rulesets it has not been trained on. Our results\nshow that fine-tuning can improve the model's performance\non both in-distribution and out-of-distribution rulesets,\nsuggesting that training on rule-based datasets can improve\ngeneral rule understanding of LLMs.<\/jats:p>","DOI":"10.1609\/aiide.v21i1.36804","type":"journal-article","created":{"date-parts":[[2025,11,7]],"date-time":"2025-11-07T20:35:17Z","timestamp":1762547717000},"page":"2-11","source":"Crossref","is-referenced-by-count":1,"title":["LLM Game Rule Understanding Through Out-of-Distribution Fine-Tuning"],"prefix":"10.1609","volume":"21","author":[{"given":"Bahar","family":"Bateni","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Benjamin","family":"Pratt","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jim","family":"Whitehead","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"9382","published-online":{"date-parts":[[2025,11,7]]},"container-title":["Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment"],"original-title":[],"link":[{"URL":"https:\/\/ojs.aaai.org\/index.php\/AIIDE\/article\/download\/36804\/38942","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/ojs.aaai.org\/index.php\/AIIDE\/article\/download\/36804\/38942","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,11,7]],"date-time":"2025-11-07T20:35:17Z","timestamp":1762547717000},"score":1,"resource":{"primary":{"URL":"https:\/\/ojs.aaai.org\/index.php\/AIIDE\/article\/view\/36804"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,11,7]]},"references-count":0,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2025,11,7]]}},"URL":"https:\/\/doi.org\/10.1609\/aiide.v21i1.36804","relation":{},"ISSN":["2334-0924","2326-909X"],"issn-type":[{"value":"2334-0924","type":"electronic"},{"value":"2326-909X","type":"print"}],"subject":[],"published":{"date-parts":[[2025,11,7]]}}}