mlsanityData to 7 Oct 2026

RuleBert: Teaching Soft Rules to Pre-trained Language Models

arXiv 2109.13006 ↗First posted 24 Sep 2021cs.AI cs.CL cs.LGcited by 25

Not on the map. Why?

Abstract (arXiv)

While pre-trained language models (PLMs) are the go-to solution to tackle many natural language processing problems, they are still very limited in their ability to capture and to use common-sense knowledge. In fact, even if information is available in the form of approximate (soft) logical rules, it is not clear how to transfer it to a PLM in order to improve its performance for deductive reasoning tasks. Here, we aim to bridge this gap by teaching PLMs how to reason with soft Horn rules. We introduce a classification task where, given facts and soft rules, the PLM should return a prediction with a probability for a given hypothesis. We release the first dataset for this task, and we propose a revised loss function that enables the PLM to learn how to predict precise probabilities for the task. Our evaluation results show that the resulting fine-tuned models achieve very high performance, even on logical rules that were unseen at training. Moreover, we demonstrate that logical notions expressed by the rules are transferred to the fine-tuned model, yielding state-of-the-art results on external datasets.

Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 33 of its 55 references that are in the map. First posted on arXiv 24 Sep 2021.

Builds on

33 of 55 references.

References · 33

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  4. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  5. 2019Language Models as Knowledge Bases?cited by 1,922
  6. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  7. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  8. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
  9. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  10. 2019Green AIcited by 620
  11. 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 540
  12. 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 377
21 more
  1. 2017Measuring Catastrophic Forgetting in Neural Networkscited by 359
  2. 2015Towards AI-Complete Question Answering: A Set of Prerequisite Toy Taskscited by 309
  3. 2019Learning Deep Transformer Models for Machine Translationcited by 309
  4. 2020ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Languagecited by 309
  5. 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 294
  6. 2019Deep Learning for Symbolic Mathematicscited by 266
  7. 2020Transformers as Soft Reasoners over Languagecited by 265
  8. 2020On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselinescited by 254
  9. 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 240
  10. 2020Towards Debiasing Sentence Representationscited by 170
  11. 2019oLMpics -- On what Language Model Pre-training Capturescited by 161
  12. 2020Continual Lifelong Learning in Natural Language Processing: A Surveycited by 152
  13. 2018Embedding Logical Queries on Knowledge Graphscited by 120
  14. 2019Evaluating Commonsense in Pre-trained Language Modelscited by 95
  15. 2020Hurtful Words: Quantifying Biases in Clinical Contextual Word Embeddingscited by 79
  16. 2014Clingo = ASP + Control: Preliminary Reportcited by 56
  17. 2020What Do Position Embeddings Learn? An Empirical Study of Pre-Trained Language Model Positional Encodingcited by 52
  18. 2019Differentiable Reasoning on Large Knowledge Bases and Natural Languagecited by 30
  19. 2020Leap-Of-Thought: Teaching Pre-Trained Models to Systematically Reason Over Implicit Knowledgecited by 24
  20. 2016Learning Executable Semantic Parsers for Natural Language Understandingcited by 21
  21. 2017Computing LPMLN Using ASP and MLN Solverscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 8; 2023: 6; 2024: 4; 2025: 4; 2026: 2.

25 papers.

Sort:

By area:

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2022FOLIO: Natural Language Reasoning with First-Order Logiccited by 233
  3. 2022A Survey of Knowledge Enhanced Pre-trained Language Modelscited by 76
  4. 2024LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Modelscited by 67
  5. 2022LAMBADA: Backward Chaining for Automated Reasoning in Natural Languagecited by 66
  6. 2023BoardgameQA: A Dataset for Natural Language Reasoning with Contradictory Informationcited by 42
  7. 2022Transfer Learning with Synthetic Corpora for Spatial Role Labeling and Reasoningcited by 32
  8. 2022Chain of Thought Imitation with Procedure Cloningcited by 30
  9. 2024Enhancing Reasoning Capabilities of LLMs via Principled Synthetic Logic Corpuscited by 29
  10. 2023Improved Logical Reasoning of Language Models via Differentiable Symbolic Programmingcited by 18
  11. 2025Large language models for artificial general intelligence (AGI): A survey of foundational principles and approachescited by 18
  12. 2023RECKONING: Reasoning through Dynamic Knowledge Encodingcited by 17
13 more
  1. 2025Extracting Probabilistic Knowledge from Large Language Models for Bayesian Network Parameterizationcited by 15
  2. 2024LogicPro: Improving Complex Logical Reasoning via Program-Guided Learningcited by 14
  3. 2023GLUECons: A Generic Benchmark for Learning Under Constraintscited by 9
  4. 2024A Survey on Symbolic Knowledge Distillation of Large Language Modelscited by 9
  5. 2026RFEval: Benchmarking Reasoning Faithfulness under Counterfactual Reasoning Intervention in Large Reasoning Modelscited by 9
  6. 2025Leveraging Large Language Models for Bengali Math Word Problem Solving with Chain of Thought Reasoningcited by 8
  7. 2023Teaching Probabilistic Logical Reasoning to Transformerscited by 7
  8. 2022Automatic Rule Induction for Interpretable Semi-Supervised Learningcited by 6
  9. 2021A Survey of Knowledge Enhanced Pre-trained Modelscited by 3
  10. 2022Reasoning over Logically Interacted Conditions for Question Answeringcited by 3
  11. 2023Dynamic MOdularized Reasoning for Compositional Structured Explanation Generationcited by 1
  12. 2026Where Reasoning Breaks: Logic-Aware Path Selection by Controlling Logical Connectives in LLMs Reasoning Chainscited by 1
  13. 2025MIH-TCCT: Mitigating Inconsistent Hallucinations in LLMs via Event-Driven Text-Code Cyclic Trainingcited by 0