NAACL 2024long1 citations

LegalDiscourse: Interpreting When Laws Apply and To Whom

Alexander Spangher, Zihan Xue, Te-Lin Wu, Mark Hansen, Jonathan May

Abstract

While legal AI has made strides in recent years, it still struggles with basic legal concepts: _when_ does a law apply? _Who_ does it applies to? _What_ does it do? We take a _discourse_ approach to addressing these problems and introduce a novel taxonomy for span-and-relation parsing of legal texts. We create a dataset, _LegalDiscourse_ of 602 state-level law paragraphs consisting of 3,715 discourse spans and 1,671 relations. Our trained annotators have an agreement-rate 𝜅>.8, yet few-shot GPT3.5 performs poorly at span identification and relation classification. Although fine-tuning improves performance, GPT3.5 still lags far below human level. We demonstrate the usefulness of our schema by creating a web application with journalists. We collect over 100,000 laws for 52 U.S. states and territories using 20 scrapers we built, and apply our trained models to 6,000 laws using U.S. Census population numbers. We describe two journalistic outputs stemming from this application: (1) an investigation into the increase in liquor licenses following population growth and (2) a decrease in applicable laws under different under-count projections.

BibTeX
@inproceedings{spangher-etal-2024-legaldiscourse,
    title = "{L}egal{D}iscourse: Interpreting When Laws Apply and To Whom",
    author = "Spangher, Alexander  and
      Xue, Zihan  and
      Wu, Te-Lin  and
      Hansen, Mark  and
      May, Jonathan",
    editor = "Duh, Kevin  and
      Gomez, Helena  and
      Bethard, Steven",
    booktitle = "Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)",
    month = jun,
    year = "2024",
    address = "Mexico City, Mexico",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.naacl-long.472/",
    doi = "10.18653/v1/2024.naacl-long.472",
    pages = "8536--8559"
}