Open Rule Induction

Wanyun Cui, Xingran Chen

TL;DR

Orion is a novel unsupervised system that induces "open rules" directly from pre-trained language models (LMs) by discovering commonalities across data instances. Unlike previous methods that are limited to rigid knowledge bases or "canned" human-annotated patterns, Orion leverages the full expressive power of LMs to generate diverse, complex rules that can even outperform human annotations in downstream tasks.

What Problem Does This Paper Address?

Rule induction—the process of extracting "if-then" logic from data—is a cornerstone of interpretable AI. Historically, this was done using Knowledge Base (KB) induction, which is limited by the fixed entities and relations within a structured database (e.g., "If $x$ is the father of $y$, then $y$ is the child of $x$").

Recently, researchers turned to Language Models (LMs) to generate rules in natural language. However, existing LM-based systems like Comet suffer from a "learning rules from rules" trap: they are trained on small sets of human-annotated rule templates. This restricts them to a few "canned" patterns and prevents them from utilizing the vast, unstructured knowledge LMs acquire during pre-training. The authors propose Open Rule Induction, aiming to move from "learning rules from rules" back to the classical principle of "learning rules from data commonalities," but using the LM itself as the data source.

Methods

The authors introduce Orion, an unsupervised framework that follows a three-step probabilistic logic:

  1. Instantiation ($P(instance|premise)$): Given a premise like "$x$ is the founder of $y$," Orion probes the LM to find specific examples (e.g., Steve Jobs-Apple, Bill Gates-Microsoft).
  2. Applicability ($P(hypothesis|instance)$): Orion then asks the LM what other relationships are true for these specific pairs (e.g., "Steve Jobs is the CEO of Apple").
  3. Supported Beam Search (STS): This is the core algorithmic innovation. Standard beam search decodes text for a single prompt. STS, however, aggregates the probability scores across a whole "crowd" of instantiations simultaneously. It only selects words for the final rule if they are globally supported by the majority of the instances found in step 1.
The Orion process: from premise atom to instantiations, then to globally supported inducted rules.

To ensure the LM generates clean relational text rather than "noisy" fragments, the authors also perform a denoising phase, fine-tuning the underlying BART model on a large-scale relational description corpus derived from Wikipedia and Bookcorpus.

Datasets

  • OpenRule155: A new benchmark dataset created by the authors. It contains 155 premise atoms (121 from existing relation extraction datasets and 34 from the Yago2 knowledge graph) with human-annotated ground truth hypotheses for evaluation.
  • Relational Description Corpora: A massive dataset of 93.63 million samples extracted from Wikipedia and Bookcorpus used for the denoising/weak supervision phase.
  • Downstream Evaluation: Standard relation extraction datasets including Google-RE, TREx, NYT10, WIKI80, FewRel, and SemEval.

Key Insights and Ideas

  • Data over Templates: By letting the LM "speak" the commonalities of the data it has seen, Orion discovers rules that humans might overlook or that aren't present in small, annotated datasets.
  • The Power of Aggregation: The "Aha!" moment is the Supported Beam Search. By forcing the decoder to satisfy multiple instances at once, the system filters out coincidental facts about a single entity and retains only the generalizable "rule."
  • Identifying Model Bias: Open rule induction acts as a mirror for the LM. If the model induces a rule like "If $x$ is a politician of $y$, then $x$ was the founder and president of $y$," it reveals a disproportionate bias in the training data where politicians are frequently described as founders.

Key Results

Orion significantly outperformed existing baselines across multiple metrics. In the OpenRule155 benchmark, Orion achieved a BLEU-1 score of 45.41, more than doubling the performance of the supervised Comet model (21.58).

Comparison of Orion against baselines on the OpenRule155 dataset.

More impressively, when these automatically induced rules were used as "extra knowledge" for a Relation Extraction task (using the ExpBERT backbone), they actually outperformed manually annotated rules provided by humans.

The system also proved robust for complex premises. While previous models struggled with long-form text, Orion could extract meaningful rules from sentences describing intricate international relations or specific career histories.

Limitations and Future Work

  • Computational Complexity: Supported Beam Search requires processing a batch of instances for every decoding step, which is more computationally expensive than standard inference.
  • Knowledge Bottleneck: Orion is limited by the knowledge already present in the LM. If the LM has not seen enough instances of a specific relation, it cannot induce a rule for it.
  • Variable Constraints: Currently, the work focuses primarily on rules with two variables ($x$ and $y$). The authors suggest that extending this to more complex, multi-variable Horn clauses is a promising future direction.

Summary updated

BibTeX
@inproceedings{cui2021open,
  author = {Wanyun Cui and Xingran Chen},
  title = {{Open Rule Induction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=mZR8TnxSAfv},
}
Figure