LEDIR: An Unsupervised Algorithm for Learning Directionality of Inference Rules

Rahul Bhagat, Patrick Pantel, Eduard H. HovyEMNLP 2007

TL;DR

This paper introduces LEDIR, an unsupervised algorithm that filters incorrect inference rules and determines their directionality (e.g., "X eats Y" implies "X likes Y"). It leverages a novel "Directionality Hypothesis" based on distributional semantics and relational selectional preferences, showing significant improvements over baseline methods in classifying inference rules.

What Problem Does This Paper Address?

Natural language understanding often relies on inferring relationships between pieces of text. While algorithms exist to automatically learn these "inference rules" from large text corpora, they often produce rules that are either factually incorrect or lack directionality. For example, a rule might state that "X eats Y" and "X likes Y" are equivalent, when in reality, one direction is much more likely than the other. This ambiguity and inaccuracy limit the usefulness of these automatically generated rules in downstream NLP applications like question answering, summarization, and information retrieval. The paper aims to address this by developing a method to filter out bad rules and, crucially, to determine the correct direction of plausible inference rules.

Methods

The core of LEDIR is built upon two key ideas: the distributional hypothesis (words appearing in similar contexts have similar meanings) and relational selectional preferences (RSPs).

  1. Directionality Hypothesis: The authors propose a novel hypothesis: if two semantic relations occur in similar contexts and one relation appears in significantly more contexts than the other, then the relation with more contexts likely implies the one with fewer. This is based on the intuition that more general relations have broader applicability.
  2. Relational Selectional Preferences (RSPs): RSPs capture the semantic classes of words that typically fill the arguments of a relation. For instance, for the relation "X likes Y," X might belong to classes like "individual" or "Social_group," and Y to "food" or "activity." The paper uses two models to learn RSPs:
  3. Joint Relational Model (JRM): Considers the arguments of a relation jointly.
  4. Independent Relational Model (IRM): Models arguments independently, which is more robust to data sparsity.
  5. Inference Plausibility and Directionality Model: LEDIR uses the learned RSPs to determine plausibility and directionality.
  6. Plausibility: Measured by the overlap coefficient between the RSPs of two candidate inference rules. If the overlap exceeds a threshold, the inference is considered plausible.
  7. Directionality: For plausible inferences, the ratio of selectional preferences between the two rules is compared against another threshold to determine the direction (e.g., $p_1 \Rightarrow p_2$ or $p_1 \Leftarrow p_2$).

Datasets

  • DIRT resource: The inference rules used for experimentation were extracted from the DIRT (Discovery of Inference Rules from Text) resource, specifically 12 million rules derived from AP Newswire, San Jose Mercury, and Wall Street Journal text.
  • AP Newswire collection: A 31 million word collection was parsed to obtain probability statistics for the JRM and IRM models.
  • WordNet 2.1: Used to obtain a set of semantic classes by cutting the noun hierarchy at depth four.
  • CBC clustering algorithm: Applied to TREC-9 and TREC-2002 newswire collections to generate another set of semantic classes (1628 clusters).
  • Gold Standard: A manually annotated dataset of 100 DIRT inference rules was created by two annotators to evaluate the system's performance.

Key Insights and Ideas

  • Directionality is Key: The paper strongly argues that simply learning inference rules isn't enough; their directionality is crucial for practical NLP applications.
  • Distributional Semantics for Direction: The "Directionality Hypothesis" offers a novel and intuitive way to infer directionality based on the breadth of a relation's applicability, leveraging distributional properties.
  • RSPs as Context: Relational Selectional Preferences are shown to be effective proxies for the "context" of a relation, enabling comparison and inference.
  • IRM's Robustness: The Independent Relational Model (IRM) proves more effective than the Joint Relational Model (JRM), likely due to its better handling of sparse data when learning RSPs.
  • Semantic Class Impact: The choice of semantic classes (e.g., from clustering vs. WordNet) significantly impacts performance, highlighting this as a critical area for future research.
  • Antonymy Challenge: The distributional hypothesis struggles with antonymous relations (e.g., "loves" vs. "hates"), which are a known source of errors in automatically generated inference rules.

Key Results

  • The best performing system, IRM using CBC RSPs, achieved an accuracy of 48% on the test set for determining both plausibility and directionality.
  • This performance was significantly better than baselines: B-random (25%), B-frequent (34%), and B-DIRT (25%).
  • When focusing solely on predicting directionality for correct inference rules, the best system achieved 63.64% accuracy, a substantial improvement over the baseline (48.48%).
  • The paper demonstrates that LEDIR can classify inference rules significantly better than several baselines.

Limitations and Future Work

  • Incorrect Inference Rules: The paper acknowledges that filtering incorrect inference rules remains a challenge, particularly those involving antonyms. Future work could focus on methods similar to those for identifying synonyms to address this.
  • Semantic Class Selection: The impact of semantic class choice is significant. Investigating more sophisticated algorithms for extracting semantic classes from resources like WordNet is suggested.
  • Generalizing to Other Relation Types: While the paper focuses on binary relations, extending the approach to other types of relations and incorporating nominalizations more robustly are potential future directions.
  • Larger Corpora: The JRM model's performance could be improved with significantly larger corpora to achieve better coverage.

Summary updated

BibTeX
@inproceedings{bhagat2007ledir,
  author = {Rahul Bhagat and Patrick Pantel and Eduard H. Hovy},
  title = {{LEDIR: An Unsupervised Algorithm for Learning Directionality of Inference Rules}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2007},
  url = {https://openreview.net/forum?id=Byb12WGO-B},
}
Figure