Identifying open-texture in regulations using LLMs
Abstract Open-texture—e.g. vague, ambiguous, under-specified, or abstract terms—in regulatory documents lead to inconsistent interpretation, and are an obstacle to the automatic processing of regulation by computers. Identifying which parts of a legal text fall under open-texture is therefore a necessary requirement to make progress in automating the law. In this paper, we propose that large language models (LLMs) might provide an effective way to automatically detect open-texture in legal texts. We first investigate the obstacles by situating open-texture in the broader literature, and we test the hypothesis using two different LLMs—the proprietary gpt-3.5-turbo and the open-source llama-2-70b-chat—for the task of identifying open-texture in the General Data Protection Regulation. We evaluate their performance by asking 12 annotators to assess their output. We find, overall, that gpt-3.5-turbo overperforms llama-2-70b-chat on F 1 -scores (0.84 vs 0.67), and its high F 1 -score could make it a suitable alternative, or complement, to using human annotators. We also test the sensitivity of the findings against four further LLMs combined with six different prompts, and replicate a finding that there is low agreement between annotators when it comes to the identification of open-texture. We conclude the article by discussing the subjectivity of open-texture, the lessons to draw when testing for open-texture, and the consequences of using LLMs in the legal domain.
Authors
- Simon Mayer (ORCID: https://orcid.org/0000-0001-6367-3454)
- Clement Guitton (ORCID: https://orcid.org/0000-0003-2009-9047)
- Reto Gubelmann (ORCID: https://orcid.org/0000-0001-6141-4168)
- Aurelia Tamò‐Larrieux (ORCID: https://orcid.org/0000-0003-3404-7643)
- Ghassen Karray
Institutions
- University of Zurich (CH)
- University of St.Gallen (CH)
Publication Details
- Journal
- Artificial Intelligence and Law
- Published
- 2025-05-06
- DOI
- https://doi.org/10.1007/s10506-025-09450-0
- Citations
- 3
- Primary Topic
- Artificial Intelligence in Law
- Type
- article
- Field-Weighted Citation Impact
- 25.57
Funders
- Universität St. Gallen