mlsanityData to 14 Oct 2026

Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?

arXiv 2306.13906 ↗First posted 24 Jun 2023cs.CLcited by 31

Not on the map. Why?

Abstract (arXiv)

We evaluated the capability of generative pre-trained transformers~(GPT-4) in analysis of textual data in tasks that require highly specialized domain expertise. Specifically, we focused on the task of analyzing court opinions to interpret legal concepts. We found that GPT-4, prompted with annotation guidelines, performs on par with well-trained law student annotators. We observed that, with a relatively minor decrease in performance, GPT-4 can perform batch predictions leading to significant cost reductions. However, employing chain-of-thought prompting did not lead to noticeably improved performance on this task. Further, we demonstrated how to analyze GPT-4's predictions to identify and mitigate deficiencies in annotation guidelines, and subsequently improve the performance of the model. Finally, we observed that the model is quite brittle, as small formatting related changes in the prompt had a high impact on the predictions. These findings can be leveraged by researchers and practitioners who engage in semantic/pragmatic annotations of texts in the context of the tasks requiring highly specialized domain expertise.

Key facts. Cited by 31 papers in the map (data through 14 Oct 2026). Builds on 44 of its 91 references that are in the map. First posted on arXiv 24 Jun 2023.

Builds on

44 of 91 references.

References · 44

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  7. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  8. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  9. 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,919
  10. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  11. 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 870
  12. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
32 more
  1. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 431
  2. 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 417
  3. 2023Can Large Language Models Transform Computational Social Science?cited by 250
  4. 2022Grounded Copilot: How Programmers Interact with Code-Generating Modelscited by 218
  5. 2022Is GPT-3 a Good Data Annotator?cited by 208
  6. 2022Leveraging Large Language Models for Multiple Choice Question Answeringcited by 203
  7. 2021Want To Reduce Labeling Cost? GPT-3 Can Helpcited by 196
  8. 2022Can large language models reason about medical questions?cited by 194
  9. 2023Is ChatGPT better than Human Annotators? Potential and Limitations of ChatGPT in Explaining Implicit Hate Speechcited by 166
  10. 2023ChatGPT-4 Outperforms Experts and Crowd Workers in Annotating Political Twitter Messages with Zero-Shot Learningcited by 100
  11. 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generationcited by 99
  12. 2023Can ChatGPT Reproduce Human-Generated Labels? A Study of Social Computing Taskscited by 89
  13. 2022Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Languagecited by 82
  14. 2023Can GPT-3 Perform Statutory Reasoning?cited by 73
  15. 2022GPT Takes the Bar Examcited by 65
  16. 2022Legal Prompting: Teaching a Language Model to Think Like a Lawyercited by 60
  17. 2023Testing the Reliability of ChatGPT for Text Annotation and Classification: A Cautionary Remarkcited by 54
  18. 2023ChatGPT: Beginning of an End of Manual Linguistic Data Annotation? Use Case of Automatic Genre Identificationcited by 45
  19. 2023ChatGPT and Software Testing Education: Promises & Perilscited by 42
  20. 2023Explaining Legal Concepts with Augmented Large Language Models (GPT-4)cited by 40
  21. 2023Blind Judgement: Agent-Based Supreme Court Modelling With GPTcited by 38
  22. 2023Unlocking Practical Applications in Legal Domain: Evaluation of GPT for Zero-Shot Semantic Annotation of Legal Textscited by 33
  23. 2023Large Language Models (GPT) Struggle to Answer Multiple-Choice Questions about Codecited by 32
  24. 2023GPT as Knowledge Worker: A Zero-Shot Evaluation of (AI)CPA Capabilitiescited by 22
  25. 2021Solving Linear Algebra by Program Synthesiscited by 14
  26. 2022Codex Hacks HackerRank: Memorization Issues and a Framework for Code Synthesis Evaluationcited by 14
  27. 2015Autonomy and Reliability of Continuous Active Learning for Technology-Assisted Reviewcited by 13
  28. 2023How well do SOTA legal reasoning models support abductive reasoning?cited by 13
  29. 2021Computer-Assisted Creation of Boolean Search Rules for Text Classification in the Legal Domaincited by 12
  30. 2022Fooling MOSS Detection with Pretrained Language Modelscited by 12
  31. 2021Discovering Explanatory Sentences in Legal Case Decisions Using Pre-trained Language Modelscited by 9
  32. 2021Sentence Embeddings and High-speed Similarity Search for Fast Computer Assisted Annotation of Legal Documentscited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 12; 2024: 13; 2025: 3; 2026: 3.

31 papers.

Sort:

By area:

  1. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
  2. 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 86
  3. 2023A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Educationcited by 35
  4. 2023Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validationcited by 29
  5. 2024'Simulacrum of Stories': Examining Large Language Models as Qualitative Research Participantscited by 28
  6. 2023Harnessing LLMs in Curricular Design: Using GPT-4 to Support Authoring of Learning Objectivescited by 16
  7. 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 14
  8. 2023More Robots are Coming: Large Multimodal Models (ChatGPT) can Solve Visually Diverse Images of Parsons Problemscited by 11
  9. 2023"It's not like Jarvis, but it's pretty close!" -- Examining ChatGPT's Usage among Undergraduate Students in Computer Sciencecited by 10
  10. 2025Do LLMs Consider Security? An Empirical Study on Responses to Programming Questionscited by 9
  11. 2023Decoding Logic Errors: A Comparative Study on Bug Detection by Students and Large Language Modelscited by 6
  12. 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?cited by 6
19 more
  1. 2024"ChatGPT Is Here to Help, Not to Replace Anybody" -- An Evaluation of Students' Opinions On Integrating ChatGPT In CS Coursescited by 6
  2. 2024CourseAssist: Pedagogically Appropriate AI Tutor for Computer Science Educationcited by 5
  3. 2024ECoh: Turn-level Coherence Evaluation for Multilingual Dialoguescited by 5
  4. 2023Kattis vs. ChatGPT: Assessment and Evaluation of Programming Tasks in the Age of Artificial Intelligencecited by 4
  5. 2024Using Generative Text Models to Create Qualitative Codebooks for Student Evaluations of Teachingcited by 4
  6. 2024CSEPrompts: A Benchmark of Introductory Computer Science Promptscited by 3
  7. 2024Benchmarking Educational Program Repaircited by 2
  8. 2024"Give me the code" -- Log Analysis of First-Year CS Students' Interactions With GPTcited by 2
  9. 2024Seeing the Forest and the Trees: Solving Visual Graph and Tree Based Data Structure Problems using Large Multimodal Modelscited by 2
  10. 2025Do AI assistants help students write formal specifications? A study with ChatGPT and the B-Methodcited by 2
  11. 2023C5: Towards Better Conversation Comprehension and Contextual Continuity for ChatGPTcited by 1
  12. 2023"With Great Power Comes Great Responsibility!": Student and Instructor Perspectives on the influence of LLMs on Undergraduate Engineering Educationcited by 1
  13. 2024Interactions with Prompt Problems: A New Way to Teach Programming with Large Language Modelscited by 1
  14. 2024"Which LLM should I use?": Evaluating LLMs for tasks performed by Undergraduate Computer Science Studentscited by 1
  15. 2026JudgeMeNot: Personalizing Large Language Models to Emulate Judicial Reasoning in Hebrewcited by 1
  16. 2024Physio: An LLM-Based Physiotherapy Advisorcited by 0
  17. 2025Prompt-Based Cost-Effective Evaluation and Operation of ChatGPT as a Computer Programming Teaching Assistantcited by 0
  18. 2026Magic Words or Methodical Work? Challenging Conventional Wisdom in LLM-Based Political Text Annotationcited by 0
  19. 2026Revisiting the Performance of Generative Artificial Intelligence on Introductory Object-Oriented Programming Assessments: Insights from 2026cited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2023LexGPT 0.1: pre-trained GPT-J models with Pile of Law
  2. 2023Gpt-4: A Review on Advancements and Opportunities in Natural Language Processing
  3. 2023Modeling Legal Reasoning: LM Annotation at the Edge of Human Agreement
  4. 2023GPT-3.5, GPT-4, or BARD? Evaluating LLMs Reasoning Ability in Zero-Shot Setting and Performance Boosting Through Prompts
  5. 2024Team UTSA-NLP at SemEval 2024 Task 5: Prompt Ensembling for Argument Reasoning in Civil Procedures with GPT4
  6. 2024Phi-4 Technical Report
  7. 2023Large-Scale Text Analysis Using Generative Language Models: A Case Study in Discovering Public Value Expressions in AI Patents
  8. 2025LawGPT: Knowledge-Guided Data Generation and Its Application to Legal LLM