NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SConE: Contextual Relevance based Significant CompoNent Extraction from Contracts

Hiranmai Sri Adibhatla, Manish ShrivastavaICON 2022

Abstract

Automatic extraction of “significant” components of a legal contract has the potential to simplify the end user’s comprehension. In essence, “significant” pieces of information have 1) information pertaining to material/practical details about a specific contract and 2) information that is novel or comes as a “surprise” for a specific type of contract. It indicates that the significance of a component may be defined at an individual contract level and at a contract-type level. A component, sentence, or paragraph, may be considered significant at a contract level if it contains contract-specific information (CSI), like names, dates, or currency terms. At a contract-type level, components that deviate significantly from the norm for the type may be considered significant (type-specific information (TSI)). In this paper, we present approaches to extract “significant” components from a contract at both these levels. We attempt to do this by identifying patterns in a pool of documents of the same kind. Consequently, in our approach, the solution is formulated in two parts: identifying CSI using a BERT-based contract-specific information extractor and identifying TSI by scoring sentences in a contract for their likelihood. In this paper, we even describe the annotated corpus of contract documents that we created as a first step toward the development of such a language-processing system. We also release a dataset of contract samples containing sentences belonging to CSI and TSI.

Introduction

Legal contracts are notoriously difficult to read. They are dense, filled with specialized vocabulary, and heavily reliant on "boilerplate"—standardized text that remains nearly identical across thousands of documents. For a non-expert, finding the "surprises" or the specific material details in a 50-page document is a needle-in-a-haystack problem.

Existing Natural Language Processing (NLP) tools often struggle here. Standard extractive summarization tends to pick the most "representative" sentences, which in law are usually the most common boilerplate. Abstractive summarization, meanwhile, risks hallucinating or subtly altering legal meanings, which is unacceptable in a professional context. The SConE (Significant CompoNent Extraction) framework aims to bridge this gap by identifying two specific types of information:

  1. Contract Specific Information (CSI): The "who, when, and where" (e.g., parties, effective dates).
  2. Type Specific Information (TSI): The unique clauses that deviate from the category norm (e.g., a strange tax indemnity in a standard employment agreement).

Methodology

The SConE framework operates in two distinct stages, utilizing specialized architectures for fact extraction and novelty detection.

Architectural overview of the CSI and TSI models within the SConE framework.

Identifying CSI (The Facts)

The authors treat CSI identification as a sequence labeling task. They utilize LEGAL-BERT-BASE, a version of BERT pre-trained on legal corpora, combined with a Conditional Random Field (CRF) layer. This model is trained to identify and tag specific contract elements using the BIO (Beginning, Inside, Outside) tagging scheme.

Identifying TSI (The Novelty)

To find "rare" sentences, the authors define a "likelihood score." They use LaBSE (Language-Agnostic BERT Sentence Embedding) to calculate semantic similarity between a sentence and every other sentence in a large pool of similar contracts. Concepts appearing frequently across the corpus receive a high likelihood score (boilerplate), while unique concepts receive a low score (significant).

A key challenge is that specific names and dates make every sentence look unique to a computer. To address this, the authors employ entity masking—replacing specific entities like "John Doe" with generic tags like "PERSON"—before calculating scores. This ensures the model identifies significant legal logic rather than just unique identifiers.

Example of entity masking and its impact on sentence likelihood scores (Iscore).

Finally, they train a BERT-based regressor (TSI-A) to predict these likelihood scores directly, allowing the system to flag rare sentences in new contracts in real-time without comparing them against the entire database.

Datasets

The researchers utilized contracts sourced from the SEC EDGAR database, focusing on five categories: Employment, Incentive, Severance, Purchase, and Software License.

  • Training Pool: 5,000 randomly selected files were used to calculate semantic likelihood scores.
  • Annotated Corpus: 500 documents were manually annotated to create a gold-standard dataset for CSI extraction.
  • Release: The authors have released a dataset of contract samples containing sentences labeled as CSI and TSI to encourage further research.

Results and Discussion

SConE successfully inverts traditional importance ranking. In most NLP tasks, frequency implies importance; in legal tech, frequency usually implies unimportance (boilerplate).

Performance Metrics

The CSI model performed exceptionally well on common elements like ContractParties (0.92 F1) and EffectiveDate (0.84 F1). However, it struggled with rare elements like SalaryCompensation (0.49 F1), likely due to data sparsity.

The TSI-A regression model achieved a remarkably high Pearson correlation (ranging from 0.987 to 0.998) with the ground-truth semantic similarity scores. This demonstrates that a BERT model can accurately learn to "sense" the rarity of a legal clause. Furthermore, in a study comparing the model against human annotators, the TSI model significantly outperformed unsupervised baselines like TextRank and Local Outlier Factor (LOF).

Conclusion

While SConE shows great promise, its performance on specific CSI elements remains dependent on training data frequency. Future work may involve addressing data sparsity for uncommon elements and refining the rarity scoring for complex document types like contract amendments. The authors suggest moving toward a query-based model, where users could specifically ask for unusual conditions, leveraging SConE's logic to highlight relevant, non-standard sections.

Summary updated

BibTeX
@inproceedings{adibhatla2022scone,
  author = {Hiranmai Sri Adibhatla and Manish Shrivastava},
  title = {{SConE: Contextual Relevance based Significant CompoNent Extraction from Contracts}},
  booktitle = {ICON},
  year = {2022},
  url = {https://openreview.net/forum?id=YqAn4GBRiC},
}
Figure