RuleWeaver: Benchmarking Rule-Centered Scenario Reasoning for Large Language Models

Bohan Yu, Shi-Yang Li, Pengfei Cao, Jun Zhao, Kang Liu
8/27/2026
cs.CL
benchmark-dataset

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Large language models (LLMs) are increasingly applied to specialized domains, where effective use of domain expertise often requires reasoning over complex rules in concrete scenarios. However, existing benchmarks only partially evaluate this capability, as they either focus on output-level instruction constraints or overlook the distinct roles that rules play in scenario reasoning.

Show full abstract

To address these gaps, this paper introduces RuleWeaver, a benchmark construction framework for evaluating rule-centered scenario reasoning. RuleWeaver starts from corpus-derived IF-THEN Meta Rules, progressively augments them into complex rules, and composes these rules into rule-centered scenario QA instances. Beyond final-answer correctness, RuleWeaver further supports process-level evaluation through rubric-based answer quality, rule recall, and rule precision. Experiments on 11 representative LLMs show that current models still struggle with complex rule-centered scenario reasoning, with even the best-performing model achieving only around 50% of the maximum rubric score. We make our code and dataset available here: https://github.com/SharkSpicy-NLP/RuleWeaver.

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. 4 weaker matches are hidden by default — 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{yu2026ruleweaver,
  title  = {RuleWeaver: Benchmarking Rule-Centered Scenario Reasoning for Large Language Models},
  author = {Bohan Yu and Shi-Yang Li and Pengfei Cao and Jun Zhao and Kang Liu},
  year   = {2026},
  eprint = {2608.26832},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.26832v1}
}

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/2608.26832.svg)](https://codeofpaper.com/paper/2608.26832)

Discussion