mlsanityData to 7 Oct 2026

Unlocking Practical Applications in Legal Domain: Evaluation of GPT for Zero-Shot Semantic Annotation of Legal Texts

arXiv 2305.04417 ↗First posted 8 May 2023cs.CL cs.AIcited by 32

Not on the map. Why?

Abstract (arXiv)

We evaluated the capability of a state-of-the-art generative pre-trained transformer (GPT) model to perform semantic annotation of short text snippets (one to few sentences) coming from legal documents of various types. Discussions of potential uses (e.g., document drafting, summarization) of this emerging technology in legal domain have intensified, but to date there has not been a rigorous analysis of these large language models' (LLM) capacity in sentence-level semantic annotation of legal texts in zero-shot learning settings. Yet, this particular type of use could unlock many practical applications (e.g., in contract review) and research opportunities (e.g., in empirical legal studies). We fill the gap with this study. We examined if and how successfully the model can semantically annotate small batches of short text snippets (10-50) based exclusively on concise definitions of the semantic types. We found that the GPT model performs surprisingly well in zero-shot settings on diverse types of documents (F1=.73 on a task involving court opinions, .86 for contracts, and .54 for statutes and regulations). These findings can be leveraged by legal scholars and practicing lawyers alike to guide their decisions in integrating LLMs in wide range of workflows involving semantic annotation of legal texts.

Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 17 of its 46 references that are in the map. First posted on arXiv 8 May 2023.

Builds on

17 of 46 references.

References · 17

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 232
  6. 2023Can GPT-3 Perform Statutory Reasoning?cited by 71
  7. 2022Legal Prompting: Teaching a Language Model to Think Like a Lawyercited by 60
  8. 2019Identification of Rhetorical Roles of Sentences in Indian Legal Judgmentscited by 39
  9. 2023Blind Judgement: Agent-Based Supreme Court Modelling With GPTcited by 37
  10. 2023MAUD: An Expert-Annotated Legal NLP Dataset for Merger Agreement Understandingcited by 32
  11. 2020A Benchmark for Lease Contract Reviewcited by 26
  12. 2023How well do SOTA legal reasoning models support abductive reasoning?cited by 13
5 more
  1. 2021Computer-Assisted Creation of Boolean Search Rules for Text Classification in the Legal Domaincited by 12
  2. 2021Lex Rosetta: Transfer of Predictive Models Across Languages, Jurisdictions, and Legal Domainscited by 11
  3. 2021Sentence Embeddings and High-speed Similarity Search for Fast Computer Assisted Annotation of Legal Documentscited by 9
  4. 2020Performance in the Courtroom: Automated Processing and Visualization of Appeal Court Decisions in Francecited by 6
  5. 2021Cross-Domain Generalization and Knowledge Transfer in Transformers Trained on Legal Datacited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 11; 2024: 12; 2025: 5; 2026: 4.

32 papers.

Sort:

By area:

  1. 2023Explaining Legal Concepts with Augmented Large Language Models (GPT-4)cited by 39
  2. 2023Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?cited by 30
  3. 2023Using Large Language Models to Support Thematic Analysis in Empirical Legal Studiescited by 24
  4. 2024ANAH-v2: Scaling Analytical Hallucination Annotation of Large Language Modelscited by 14
  5. 2023Can ChatGPT Perform Reasoning Using the IRAC Method in Analyzing Legal Scenarios Like a Lawyer?cited by 12
  6. 2023Large Language Models are legal but they are not: Making the case for a powerful LegalLLMcited by 12
  7. 2024CheX-GPT: Harnessing Large Language Models for Enhanced Chest X-ray Report Labelingcited by 10
  8. 2023Harnessing GPT-3.5-turbo for Rhetorical Role Prediction in Legal Casescited by 8
  9. 2023From Voices to Validity: Leveraging Large Language Models (LLMs) for Textual Analysis of Policy Stakeholder Interviewscited by 8
  10. 2023LLMediator: GPT-4 Assisted Online Dispute Resolutioncited by 6
  11. 2024It Cannot Be Right If It Was Written by AI: On Lawyers' Preferences of Documents Perceived as Authored by an LLM vs a Humancited by 5
  12. 2024Experimenting with Legal AI Solutions: The Case of Question-Answering for Access to Justicecited by 5
20 more
  1. 2024Getting in the Door: Streamlining Intake in Civil Legal Services with Large Language Modelscited by 5
  2. 2023Large Language Models in Cryptocurrency Securities Cases: Can a GPT Model Meaningfully Assist Lawyers?cited by 4
  3. 2023Efficient Classification of Student Help Requests in Programming Courses Using Large Language Modelscited by 4
  4. 2025Towards Trustworthy Legal AI through LLM Agents and Formal Reasoningcited by 4
  5. 2024GPT Assisted Annotation of Rhetorical and Linguistic Features for Interpretable Propaganda Technique Detection in News Textcited by 3
  6. 2024Analyzing Images of Legal Documents: Toward Multi-Modal LLMs for Access to Justicecited by 3
  7. 2023Do Language Models Learn about Legal Entity Types during Pretraining?cited by 1
  8. 2025Metadata Extraction Leveraging Large Language Modelscited by 1
  9. 2024Physio: An LLM-Based Physiotherapy Advisorcited by 0
  10. 2024INACIA: Integrating Large Language Models in Brazilian Audit Courts: Opportunities and Challengescited by 0
  11. 2024Investigating Low-Cost LLM Annotation for~Spoken Dialogue Understanding Datasetscited by 0
  12. 2024Can GPT-4 Help Detect Quit Vaping Intentions? An Exploration of Automatic Data Annotation Approachcited by 0
  13. 2024Impacts of Continued Legal Pre-Training and IFT on LLMs' Latent Representations of Human-Defined Legal Conceptscited by 0
  14. 2025Comparing LLM Text Annotation Skills: A Study on Human Rights Violations in Social Media Datacited by 0
  15. 2025Using Large Language Models for Legal Decision-Making in Austrian Value-Added Tax Law: A Comparative Studycited by 0
  16. 2025LaQual: An Automated Framework for LLM App Quality Evaluationcited by 0
  17. 2026Reasoners or Translators? Contamination-aware Evaluation and Neuro-Symbolic Robustness in Tax Lawcited by 0
  18. 2026EURO-5K: When Does Domain Pretraining Matter? Benchmarking Transformers for EU Reporting Obligation Extractioncited by 0
  19. 2026LLJ Cards: Best practices for the Use of LLMs as Judgescited by 0
  20. 2026Legal text classification in Korean sexual offense cases: from traditional machine learning to large language models with XAI insightscited by 0