Back to search

Université d'Ottawa | University of Ottawa

Automated Analysis of Differences in Standardized Legal Clauses

Abstract

dc:description.abstract

Standardized legal documents such as investment treaties follow shared templates but vary in ways that carry significant legal consequences. Identifying these differences at scale is labor-intensive and requires domain expertise. This thesis presents methods for automatically analyzing differences in standardized legal clauses, using international investment treaties as the application domain. The thesis focuses on 132 not-lowering-standards (NLS) clauses from the EDIT corpus, annotated in prior co-authored work along two expert-defined dimensions: the scope of policy domains protected and the bindingness of the obligation. Three contributions build on this dataset. First, a comparison of four extraction methods (keyword matching, POS-tagging, zero-shot BERT, and prompted large language models, LLMs) shows that a few-shot LLM assigns the values most reliably (98.73% scope and 75.91% bindingness F1-score). Second, an evidence-grounding study links every value to the verbatim span of treaty text that supports it. Keyword rules, embedding retrieval with reranking and zero-shot LLMs are compared; every span is checked for verbatim quotation and unique localization, and the selected LLM gives each scope label its own span in 98.3% of multi-label clauses. Third, a comparison tool shows two treaty articles side by side. A schema layer underlines each value's evidence where a schema exists. The core contribution of the tool is a schema-free text layer that detects differences automatically for any clause type: it matches sentences and adds an LLM statement of each matched pair's difference, quoted from both sentences and marked as identical wording, stylistic change, or a difference in meaning. The text layer is run on 1,235 article pairs from three pools of the BIT corpus and checked automatically: 92 to 97% of its quotes are verbatim, and the explanation names a differing keyword in 60 to 83% of the pairs judged different in meaning. A temporal view traces scope and bindingness across two decades of treaty making. The appendices report an exploratory provision-type classifier over the 85 EDIT Level-2 categories and a design for automatic dimension discovery.

Degree

thesis:*
Name thesis:degree_name
MCS
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Génie / Engineering
Department dc:contributor.department
Science informatique et génie électrique / Electrical Engineering and Computer Science
Grantor dc:publisher
Université d'Ottawa | University of Ottawa
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Qiu, Yue
Advisor dc:contributor.supervisor
  • Inkpen, Diana

Subjects

dc:subject × 6

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Ottawa
Base URL
ruor.uottawa.ca/server/oai/request
Last updated
2026-12-03
Source record
OAI-PMH GetRecord
citation

Qiu, Yue. Automated Analysis of Differences in Standardized Legal Clauses. Masters thesis, Université d'Ottawa | University of Ottawa, 2026. https://doi.org/10.20381/ruor-32424