English

RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic Sampling

Computation and Language 2026-02-17 v2 Artificial Intelligence Machine Learning

Abstract

Rule-based reasoning is acknowledged as one of the fundamental problems of reasoning. While recent studies show that large reasoning models (LRMs) have remarkable reasoning capabilities enhanced by reinforcement learning (RL), real applications still face severe challenges due to variations in rule formats, types, and complexity. To mitigate this issue, we introduce RuleReasoner, an effective method for rule-based reasoning via a wide collection of curated tasks and a novel domain-aware dynamic sampling approach in RL. Specifically, RuleReasoner resamples each training batch by updating the domain weights based on historical rewards. This facilitates domain balance and active learning schedules for RL, obviating static mix-training engineered by human. Evaluations on in-distribution (ID) and out-of-distribution (OOD) benchmarks reveal that RuleReasoner outperforms frontier LRMs by a significant margin (Δ\Delta4.1% on eight ID tasks and Δ\Delta10.4% on three OOD tasks over OpenAI-o1). Notably, our approach also exhibits higher computational efficiency compared to prior methods.

Keywords

Cite

@article{arxiv.2506.08672,
  title  = {RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic Sampling},
  author = {Yang Liu and Jiaqi Li and Zilong Zheng},
  journal= {arXiv preprint arXiv:2506.08672},
  year   = {2026}
}

Comments

ICLR 2026 camera ready, 28 pages, 10 figures, 15 tables

R2 v1 2026-07-01T03:08:52.815Z