Research map / Large language models / Language, safety and interpretability
RuleBERT: Teaching Soft Rules to Pre-Trained Language Models
Mohammed Saeed, Naser Ahmadi, Preslav Nakov, Paolo Papotti
Eurecom · Qatar Computing Research Institute
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
8improved
2no clear effect
2hurt
1mixed
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use weighted BCE loss that encodes rule confidence instead of plain BCE (ablation) | RoBERTa-large · single rules | CA@k: e.g. CA@.01 .486 -> .993 (birthYear/deathYear rule) | Improved |
| use weighted BCE loss instead of plain BCE (ablation) | RoBERTa-large · single rules | accuracy: e.g. .970 -> .995; .905 -> .909 (publisher rule); .915 -> .920 | Mixed |
| fine-tune on 20 rules, then test on rules with seen predicates, versus a rule-specific model | RuleBERT · unseen rules (known predicates) | accuracy: .719 -> .869 (child -> parent) | Improved |
| fine-tune on 20 rules, then test on rules with unseen predicates, versus a rule-specific model | RuleBERT · unseen rules (unknown predicates) | accuracy: .817 -> .795 (knownFor -> founder) | Hurt |
| additionally fine-tune the 20-rule model on the target rule | RuleBERT · unseen rules | accuracy: .795 -> .971 (knownFor -> founder) | Improved |
| pre-fine-tune on soft rules before Negated LAMA probing | RoBERTa · Negated LAMA | accuracy: .684 -> .852 | Improved |
| pre-fine-tune on symmetric-predicate rules, then fine-tune on QQP (1 epoch) | RoBERTa · CheckList QQP | accuracy: .000 -> .422 | Improved |
| continue QQP fine-tuning to 3 epochs | RuleBERT · CheckList QQP | accuracy: .422 -> .000 | Hurt |
| pre-fine-tune on soft rules before bAbI task 15 (2 epochs) | RoBERTa · bAbI task 15 | accuracy: .676 -> .863 | Improved |
| pre-fine-tune on soft rules before bAbI task 15 (3 epochs) | RoBERTa · bAbI task 15 | accuracy: .827 vs .825 | No clear effect |
| train on chaining data instead of no chaining | Mod0 vs Mod5 · chaining, all depths up to 5 | F1: .589 -> .831 | Improved |
| increase fine-tuning data per rule (ablation) | RoBERTa-wBCE · single rules | accuracy | Improved |
Closest papers by meaning
- RULEBREAKERS: Challenging LLMs at the Crossroads between Formal Logic and Human-like Reasoning (ICML 2025 · similarity 0.86)
- LLMs are Single-threaded Reasoners: Demystifying the Working Mechanism of Soft Thinking (ICLR 2026 · similarity 0.85)
- Meaningful Learning: Enhancing Abstract Reasoning in Large Language Models via Generic Fact Guidance (NeurIPS 2024 · similarity 0.85)
- Exploring the Limits of Sub-Billion Language Model Reasoners with Open Training Recipes (ICLR 2026 · similarity 0.85)
- Logically Consistent Language Models via Neuro-Symbolic Integration (ICLR 2025 · similarity 0.85)
- Doing Experiments and Revising Rules with Natural Language and Probabilistic Reasoning (NeurIPS 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
