RuleWeaver: Benchmarking Rule-Centered Scenario Reasoning for Large Language Models
cs.CL
Submitted: 2026-08-27
Updated: 2026-08-27
Comments: Accepted by EMNLP 2026 Findings
Code: https://github.com/openai/tiktoken
License: http://creativecommons.org/licenses/by/4.0/
The gist: 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.
Terminology
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. 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.
Sources
- One Mind, Many Tongues: A Deep Dive into Language-Agnostic Knowledge Neurons in Large Language Models
- Transformers as Soft Reasoners over Language
- GLM-5: from Vibe Coding to Agentic Engineering
- LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Models
- FOLIO: Natural Language Reasoning with First-Order Logic
- CUAD: An Expert-Annotated NLP Dataset for Legal Contract Review
- WikiHow: A Large Scale Text Summarization Dataset
- Bias-Restrained Prefix Representation Finetuning for Mathematical Reasoning
- Learning How to Remember: A Meta-Cognitive Management Method for Structured and Transferable Agent Memory
- GPT-4 Technical Report
- LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models
- Multi-LogiEval: Towards Evaluating Multi-Step Logical Reasoning Ability of Large Language Models
- Large Language Models Meet Symbolic Provers for Logical Reasoning Evaluation
- Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thought
- TaskBench: Benchmarking Large Language Models for Task Automation
- ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Language
- Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models
- A Survey of Large Language Models
- AR-LSAT: Investigating Analytical Reasoning of Text
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering