Unlocking Practical Applications in Legal Domain: Evaluation of GPT for Zero-Shot Semantic Annotation of Legal Texts
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
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 232
- 2023Can GPT-3 Perform Statutory Reasoning?cited by 71
- 2022Legal Prompting: Teaching a Language Model to Think Like a Lawyercited by 60
- 2019Identification of Rhetorical Roles of Sentences in Indian Legal Judgmentscited by 39
- 2023Blind Judgement: Agent-Based Supreme Court Modelling With GPTcited by 37
- 2023MAUD: An Expert-Annotated Legal NLP Dataset for Merger Agreement Understandingcited by 32
- 2020A Benchmark for Lease Contract Reviewcited by 26
- 2023How well do SOTA legal reasoning models support abductive reasoning?cited by 13
5 more
- 2021Computer-Assisted Creation of Boolean Search Rules for Text Classification in the Legal Domaincited by 12
- 2021Lex Rosetta: Transfer of Predictive Models Across Languages, Jurisdictions, and Legal Domainscited by 11
- 2021Sentence Embeddings and High-speed Similarity Search for Fast Computer Assisted Annotation of Legal Documentscited by 9
- 2020Performance in the Courtroom: Automated Processing and Visualization of Appeal Court Decisions in Francecited by 6
- 2021Cross-Domain Generalization and Knowledge Transfer in Transformers Trained on Legal Datacited by 5
Built on by
Citing papers per year: 2023: 11; 2024: 12; 2025: 5; 2026: 4.
32 papers.
Sort:
By area:
- 2023Explaining Legal Concepts with Augmented Large Language Models (GPT-4)cited by 39
- 2023Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?cited by 30
- 2023Using Large Language Models to Support Thematic Analysis in Empirical Legal Studiescited by 24
- 2024ANAH-v2: Scaling Analytical Hallucination Annotation of Large Language Modelscited by 14
- 2023Can ChatGPT Perform Reasoning Using the IRAC Method in Analyzing Legal Scenarios Like a Lawyer?cited by 12
- 2023Large Language Models are legal but they are not: Making the case for a powerful LegalLLMcited by 12
- 2024CheX-GPT: Harnessing Large Language Models for Enhanced Chest X-ray Report Labelingcited by 10
- 2023Harnessing GPT-3.5-turbo for Rhetorical Role Prediction in Legal Casescited by 8
- 2023From Voices to Validity: Leveraging Large Language Models (LLMs) for Textual Analysis of Policy Stakeholder Interviewscited by 8
- 2023LLMediator: GPT-4 Assisted Online Dispute Resolutioncited by 6
- 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
- 2024Experimenting with Legal AI Solutions: The Case of Question-Answering for Access to Justicecited by 5
20 more
- 2024Getting in the Door: Streamlining Intake in Civil Legal Services with Large Language Modelscited by 5
- 2023Large Language Models in Cryptocurrency Securities Cases: Can a GPT Model Meaningfully Assist Lawyers?cited by 4
- 2023Efficient Classification of Student Help Requests in Programming Courses Using Large Language Modelscited by 4
- 2025Towards Trustworthy Legal AI through LLM Agents and Formal Reasoningcited by 4
- 2024GPT Assisted Annotation of Rhetorical and Linguistic Features for Interpretable Propaganda Technique Detection in News Textcited by 3
- 2024Analyzing Images of Legal Documents: Toward Multi-Modal LLMs for Access to Justicecited by 3
- 2023Do Language Models Learn about Legal Entity Types during Pretraining?cited by 1
- 2025Metadata Extraction Leveraging Large Language Modelscited by 1
- 2024Physio: An LLM-Based Physiotherapy Advisorcited by 0
- 2024INACIA: Integrating Large Language Models in Brazilian Audit Courts: Opportunities and Challengescited by 0
- 2024Investigating Low-Cost LLM Annotation for~Spoken Dialogue Understanding Datasetscited by 0
- 2024Can GPT-4 Help Detect Quit Vaping Intentions? An Exploration of Automatic Data Annotation Approachcited by 0
- 2024Impacts of Continued Legal Pre-Training and IFT on LLMs' Latent Representations of Human-Defined Legal Conceptscited by 0
- 2025Comparing LLM Text Annotation Skills: A Study on Human Rights Violations in Social Media Datacited by 0
- 2025Using Large Language Models for Legal Decision-Making in Austrian Value-Added Tax Law: A Comparative Studycited by 0
- 2025LaQual: An Automated Framework for LLM App Quality Evaluationcited by 0
- 2026Reasoners or Translators? Contamination-aware Evaluation and Neuro-Symbolic Robustness in Tax Lawcited by 0
- 2026EURO-5K: When Does Domain Pretraining Matter? Benchmarking Transformers for EU Reporting Obligation Extractioncited by 0
- 2026LLJ Cards: Best practices for the Use of LLMs as Judgescited by 0
- 2026Legal text classification in Korean sexual offense cases: from traditional machine learning to large language models with XAI insightscited by 0
- 2026LLJ Cards: Best practices for the Use of LLMs as Judges21 Sep 2026
- 2026Legal text classification in Korean sexual offense cases: from traditional machine learning to large language models with XAI insights7 Sep 2026
- 2026EURO-5K: When Does Domain Pretraining Matter? Benchmarking Transformers for EU Reporting Obligation Extraction2 Jun 2026
- 2026Reasoners or Translators? Contamination-aware Evaluation and Neuro-Symbolic Robustness in Tax Law15 May 2026
- 2025Towards Trustworthy Legal AI through LLM Agents and Formal Reasoning26 Nov 2025
- 2025Metadata Extraction Leveraging Large Language Models22 Oct 2025
- 2025LaQual: An Automated Framework for LLM App Quality Evaluation26 Aug 2025
- 2025Using Large Language Models for Legal Decision-Making in Austrian Value-Added Tax Law: A Comparative Study11 Jul 2025
- 2025Comparing LLM Text Annotation Skills: A Study on Human Rights Violations in Social Media Data15 May 2025
- 2024Analyzing Images of Legal Documents: Toward Multi-Modal LLMs for Access to Justice16 Dec 2024
- 2024Impacts of Continued Legal Pre-Training and IFT on LLMs' Latent Representations of Human-Defined Legal Concepts15 Oct 2024
- 2024Getting in the Door: Streamlining Intake in Civil Legal Services with Large Language Models2 Oct 2024
20 more
- 2024Experimenting with Legal AI Solutions: The Case of Question-Answering for Access to Justice12 Sep 2024
- 2024GPT Assisted Annotation of Rhetorical and Linguistic Features for Interpretable Propaganda Technique Detection in News Text16 Jul 2024
- 2024It Cannot Be Right If It Was Written by AI: On Lawyers' Preferences of Documents Perceived as Authored by an LLM vs a Human9 Jul 2024
- 2024ANAH-v2: Scaling Analytical Hallucination Annotation of Large Language Models5 Jul 2024
- 2024Can GPT-4 Help Detect Quit Vaping Intentions? An Exploration of Automatic Data Annotation Approach28 Jun 2024
- 2024Investigating Low-Cost LLM Annotation for~Spoken Dialogue Understanding Datasets19 Jun 2024
- 2024CheX-GPT: Harnessing Large Language Models for Enhanced Chest X-ray Report Labeling21 Jan 2024
- 2024INACIA: Integrating Large Language Models in Brazilian Audit Courts: Opportunities and Challenges10 Jan 2024
- 2024Physio: An LLM-Based Physiotherapy Advisor3 Jan 2024
- 2023From Voices to Validity: Leveraging Large Language Models (LLMs) for Textual Analysis of Policy Stakeholder Interviews2 Dec 2023
- 2023Large Language Models are legal but they are not: Making the case for a powerful LegalLLM15 Nov 2023
- 2023Efficient Classification of Student Help Requests in Programming Courses Using Large Language Models31 Oct 2023
- 2023Using Large Language Models to Support Thematic Analysis in Empirical Legal Studies28 Oct 2023
- 2023Harnessing GPT-3.5-turbo for Rhetorical Role Prediction in Legal Cases26 Oct 2023
- 2023Can ChatGPT Perform Reasoning Using the IRAC Method in Analyzing Legal Scenarios Like a Lawyer?23 Oct 2023
- 2023Do Language Models Learn about Legal Entity Types during Pretraining?19 Oct 2023
- 2023Large Language Models in Cryptocurrency Securities Cases: Can a GPT Model Meaningfully Assist Lawyers?11 Aug 2023
- 2023LLMediator: GPT-4 Assisted Online Dispute Resolution27 Jul 2023
- 2023Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?24 Jun 2023
- 2023Explaining Legal Concepts with Augmented Large Language Models (GPT-4)15 Jun 2023
- 2023Can ChatGPT Perform Reasoning Using the IRAC Method in Analyzing Legal Scenarios Like a Lawyer?cited by 12
- 2025Towards Trustworthy Legal AI through LLM Agents and Formal Reasoningcited by 4
- 2026Reasoners or Translators? Contamination-aware Evaluation and Neuro-Symbolic Robustness in Tax Lawcited by 0
- 2026Reasoners or Translators? Contamination-aware Evaluation and Neuro-Symbolic Robustness in Tax Law15 May 2026
- 2025Towards Trustworthy Legal AI through LLM Agents and Formal Reasoning26 Nov 2025
- 2023Can ChatGPT Perform Reasoning Using the IRAC Method in Analyzing Legal Scenarios Like a Lawyer?23 Oct 2023
- 2023Explaining Legal Concepts with Augmented Large Language Models (GPT-4)cited by 39
- 2023Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?cited by 30
- 2023Using Large Language Models to Support Thematic Analysis in Empirical Legal Studiescited by 24
- 2024ANAH-v2: Scaling Analytical Hallucination Annotation of Large Language Modelscited by 14
- 2023Large Language Models are legal but they are not: Making the case for a powerful LegalLLMcited by 12
- 2024CheX-GPT: Harnessing Large Language Models for Enhanced Chest X-ray Report Labelingcited by 10
- 2023Harnessing GPT-3.5-turbo for Rhetorical Role Prediction in Legal Casescited by 8
- 2023From Voices to Validity: Leveraging Large Language Models (LLMs) for Textual Analysis of Policy Stakeholder Interviewscited by 8
- 2023LLMediator: GPT-4 Assisted Online Dispute Resolutioncited by 6
- 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
- 2024Experimenting with Legal AI Solutions: The Case of Question-Answering for Access to Justicecited by 5
- 2024Getting in the Door: Streamlining Intake in Civil Legal Services with Large Language Modelscited by 5
12 most cited of 29 All 29 (JSON)
- 2026LLJ Cards: Best practices for the Use of LLMs as Judges21 Sep 2026
- 2026Legal text classification in Korean sexual offense cases: from traditional machine learning to large language models with XAI insights7 Sep 2026
- 2026EURO-5K: When Does Domain Pretraining Matter? Benchmarking Transformers for EU Reporting Obligation Extraction2 Jun 2026
- 2025Metadata Extraction Leveraging Large Language Models22 Oct 2025
- 2025LaQual: An Automated Framework for LLM App Quality Evaluation26 Aug 2025
- 2025Using Large Language Models for Legal Decision-Making in Austrian Value-Added Tax Law: A Comparative Study11 Jul 2025
- 2025Comparing LLM Text Annotation Skills: A Study on Human Rights Violations in Social Media Data15 May 2025
- 2024Analyzing Images of Legal Documents: Toward Multi-Modal LLMs for Access to Justice16 Dec 2024
- 2024Impacts of Continued Legal Pre-Training and IFT on LLMs' Latent Representations of Human-Defined Legal Concepts15 Oct 2024
- 2024Getting in the Door: Streamlining Intake in Civil Legal Services with Large Language Models2 Oct 2024
- 2024Experimenting with Legal AI Solutions: The Case of Question-Answering for Access to Justice12 Sep 2024
- 2024GPT Assisted Annotation of Rhetorical and Linguistic Features for Interpretable Propaganda Technique Detection in News Text16 Jul 2024
12 newest of 29 All 29 (JSON)