Skip to main content
QUICK REVIEW

[Paper Review] Extracting Fairness Policies from Legal Documents

Rashmi Nagpal, Chetna Wadhwa|arXiv (Cornell University)|Sep 12, 2018
Ethics and Social Impacts of AISocial Sciences19 references5 citations
TL;DR

This paper proposes a semantic similarity-based approach to automatically extract fairness-related policies from complex legal documents, comparing classical WordNet-based methods with modern word and sentence vector representations. GloVe word vectors significantly outperform both the classical baseline and other vector methods, demonstrating superior performance despite lacking sense disambiguation and sentence-level modeling capabilities.

ABSTRACT

Machine Learning community is recently exploring the implications of bias and fairness with respect to the AI applications. The definition of fairness for such applications varies based on their domain of application. The policies governing the use of such machine learning system in a given context are defined by the constitutional laws of nations and regulatory policies enforced by the organizations that are involved in the usage. Fairness related laws and policies are often spread across the large documents like constitution, agreements, and organizational regulations. These legal documents have long complex sentences in order to achieve rigorousness and robustness. Automatic extraction of fairness policies, or in general, any specific kind of policies from large legal corpus can be very useful for the study of bias and fairness in the context of AI applications. We attempted to automatically extract fairness policies from publicly available law documents using two approaches based on semantic relatedness. The experiments reveal how classical Wordnet-based similarity and vector-based similarity differ in addressing this task. We have shown that similarity based on word vectors beats the classical approach with a large margin, whereas other vector representations of senses and sentences fail to even match the classical baseline. Further, we have presented thorough error analysis and reasoning to explain the results with appropriate examples from the dataset for deeper insights.

Motivation & Objective

  • To address the challenge of identifying fairness-related policies in lengthy, complex legal documents such as constitutions and regulatory codes.
  • To compare classical NLP techniques (WordNet-based similarity) with modern vector-based approaches (GloVe, Sense2Vec, Para2Vec) for fairness policy extraction.
  • To evaluate the effectiveness of different semantic similarity methods in capturing domain-specific fairness concepts within legal text.
  • To conduct a detailed error analysis to understand the strengths and limitations of each method in the context of legal document understanding.
  • To provide a foundation for automated compliance checking of AI systems with legal fairness standards.

Proposed method

  • Used WordNet-based path similarity to compute semantic relatedness between words in candidate sentences and seed senses related to fairness, bias, and discrimination.
  • Employed pre-trained GloVe word vectors to compute cosine similarity between word vectors of candidate sentences and seed terms, treating sentences as bags of words.
  • Explored Sense2Vec for context-aware word representations with built-in word sense disambiguation, trained on general-domain corpora.
  • Applied Para2Vec to capture high-level semantic representations of entire sentences, aiming to model sentence-level meaning.
  • Set a threshold on maximum similarity scores to classify a sentence as a fairness policy if it exceeded the threshold.
  • Performed error analysis on misclassified examples to identify failure modes and domain-specific limitations of each method.

Experimental results

Research questions

  • RQ1How effective are classical WordNet-based semantic similarity methods in extracting fairness policies from legal documents?
  • RQ2Can modern word and sentence vector representations outperform classical NLP techniques in this specific task?
  • RQ3Why do certain vector-based approaches like Sense2Vec and Para2Vec underperform despite their theoretical advantages?
  • RQ4What are the key failure modes of each method, and how do they relate to semantic granularity and domain mismatch?
  • RQ5To what extent can pre-trained embeddings be used effectively in legal text without fine-tuning for the legal domain?

Key findings

  • GloVe word vectors achieved the highest performance among all methods, significantly outperforming the classical WordNet-based baseline.
  • The classical WordNet-based approach performed reasonably well, benefiting from precise sense identification and path-based similarity computation.
  • Sense2Vec, despite its ability to model word senses, underperformed due to domain shift between pre-training and legal text.
  • Para2Vec failed to capture the narrow, specific semantics of fairness policies, as it is optimized for broader semantic categories like sentiment.
  • The error analysis revealed that GloVe's success stems from its robustness to semantic ambiguity and generalization across legal phrasings, even without sense disambiguation.
  • The study highlights that domain mismatch and coarse-grained semantic capture are major limitations for pre-trained embeddings in legal NLP tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.