LogicGame: Benchmarking Rule-Based Reasoning Abilities of Large Language Models
Jiayi Gui, Yiming Liu, Jiale Cheng, Xiaotao Gu, Xiao Liu, Hongning Wang, Yuxiao Dong, Jie Tang, Minlie Huang
TL;DR
LogicGame introduces a rule-based reasoning benchmark for large language models, emphasizing execution and planning under strictly defined rules with deterministic intermediate steps. The dataset is built via a four-phase process, includes bilingual zh/en versions, and uses a structured JSON output with A-Acc, P-Acc, and AP-Acc scoring to automatically verify reasoning traces. Experiments across 14 diverse LLMs show substantial gaps in rule-based reasoning, with best performances around the mid-20s to mid-50s in AP-Acc depending on language and task, and notable differences between execution and planning. The work highlights the importance of evaluating both outcomes and reasoning processes, demonstrates the challenges models face on Reversi-like tasks, and calls for advances in coherent, rule-constrained reasoning in future systems.
Abstract
Large Language Models (LLMs) have demonstrated notable capabilities across various tasks, showcasing complex problem-solving abilities. Understanding and executing complex rules, along with multi-step planning, are fundamental to logical reasoning and critical for practical LLM agents and decision-making systems. However, evaluating LLMs as effective rule-based executors and planners remains underexplored. In this paper, we introduce LogicGame, a novel benchmark designed to evaluate the comprehensive rule understanding, execution, and planning capabilities of LLMs. Unlike traditional benchmarks, LogicGame provides diverse games that contain a series of rules with an initial state, requiring models to comprehend and apply predefined regulations to solve problems. We create simulated scenarios in which models execute or plan operations to achieve specific outcomes. These game scenarios are specifically designed to distinguish logical reasoning from mere knowledge by relying exclusively on predefined rules. This separation allows for a pure assessment of rule-based reasoning capabilities. The evaluation considers not only final outcomes but also intermediate steps, providing a comprehensive assessment of model performance. Moreover, these intermediate steps are deterministic and can be automatically verified. LogicGame defines game scenarios with varying difficulty levels, from simple rule applications to complex reasoning chains, in order to offer a precise evaluation of model performance on rule understanding and multi-step execution. Utilizing LogicGame, we test various LLMs and identify notable shortcomings in their rule-based logical reasoning abilities.
