Legal Prompting: Teaching a Language Model to Think Like a Lawyer
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
Abstract (arXiv)
Large language models that are capable of zero or few-shot prompting approaches have given rise to the new research area of prompt engineering. Recent advances showed that for example Chain-of-Thought (CoT) prompts can improve arithmetic or common sense tasks significantly. We explore how such approaches fare with legal reasoning tasks and take the COLIEE entailment task based on the Japanese Bar exam for testing zero-shot/few-shot and fine-tuning approaches. Our findings show that while CoT prompting and fine-tuning with explanations approaches show improvements, the best results are produced by prompts that are derived from specific legal reasoning techniques such as IRAC (Issue, Rule, Application, Conclusion). Based on our experiments we improve the 2021 best result from 0.7037 accuracy to 0.8148 accuracy and beat the 2022 best system of 0.6789 accuracy with an accuracy of 0.7431.
Key facts. Cited by 60 papers in the map (data through 7 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 14 of its 23 references that are in the map. First posted on arXiv 2 Dec 2022.
Builds on
14 of 23 references.
Closest ancestors · 1
Same direction, newest first
Other references · 13
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
- 2019Explain Yourself! Leveraging Language Models for Commonsense Reasoningcited by 367
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 324
- 2021How Many Data Points is a Prompt Worth?cited by 197
1 more
- 2020LEGAL-BERT: The Muppets straight out of Law Schoolcited by 111
Built on by
Citing papers per year: 2023: 21; 2024: 23; 2025: 9; 2026: 7.
60 papers.
Sort:
By area:
- 2023A Survey of Large Language Modelscited by 2,537
- 2023MedAgents: Large Language Models as Collaborators for Zero-shot Medical Reasoningcited by 311
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023Evaluating Large Language Models: A Comprehensive Surveycited by 200
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2024LHRS-Bot: Empowering Remote Sensing with VGI-Enhanced Large Multimodal Language Modelcited by 133
- 2025Lifelong Learning of Large Language Model based Agents: A Roadmapcited by 78
- 2023Can GPT-3 Perform Statutory Reasoning?cited by 71
- 2024Fairness in Large Language Models: A Taxonomic Surveycited by 57
- 2023A Short Survey of Viewing Large Language Models in Legal Aspectcited by 51
- 2023Explaining Legal Concepts with Augmented Large Language Models (GPT-4)cited by 39
- 2023Legal Syllogism Prompting: Teaching Large Language Models for Legal Judgment Predictioncited by 37
38 more
- 2023Unlocking Practical Applications in Legal Domain: Evaluation of GPT for Zero-Shot Semantic Annotation of Legal Textscited by 32
- 2024Tokenization Matters! Degrading Large Language Models through Challenging Their Tokenizationcited by 32
- 2023Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?cited by 30
- 2024Chain of Logic: Rule-Based Reasoning with Large Language Modelscited by 18
- 2024A Comprehensive Survey on Evaluating Large Language Model Applications in the Medical Industrycited by 17
- 2024CitaLaw: Enhancing LLM with Citations in Legal Domaincited by 16
- 2024Can Large Language Models Grasp Legal Theories? Enhance Legal Reasoning with Insights from Multi-Agent Collaborationcited by 14
- 2023The Importance of Prompt Tuning for Automated Neuron Explanationscited by 12
- 2023Legal Summarisation through LLMs: The PRODIGIT Projectcited by 10
- 2025Large Language Models Meet Legal Artificial Intelligence: A Surveycited by 9
- 2023Large Language Model Prompt Chaining for Long Legal Document Classificationcited by 7
- 2024Fake Artificial Intelligence Generated Contents (FAIGC): A Survey of Theories, Detection Methods, and Opportunitiescited by 7
- 2023LLMediator: GPT-4 Assisted Online Dispute Resolutioncited by 6
- 2024Exploring the Nexus of Large Language Models and Legal Systems: A Short Surveycited by 6
- 2024Evaluating Large Language Models for Public Health Classification and Extraction Taskscited by 6
- 2024Logic Rules as Explanations for Legal Case Retrievalcited by 5
- 2024Enhancing Court View Generation with Knowledge Injection and Guidancecited by 5
- 2024Automating IRAC Analysis in Malaysian Contract Law using a Semi-Structured Knowledge Basecited by 5
- 2024Experimenting with Legal AI Solutions: The Case of Question-Answering for Access to Justicecited by 5
- 2024Beyond Guilt: Legal Judgment Prediction with Trichotomous Reasoningcited by 5
- 2026LegalGraphRAG: Multi-Agent Graph Retrieval-Augmented Generation for Reliable Legal Reasoningcited by 5
- 2023Large Language Models in Cryptocurrency Securities Cases: Can a GPT Model Meaningfully Assist Lawyers?cited by 4
- 2024When Geoscience Meets Generative AI and Large Language Models: Foundations, Trends, and Future Challengescited by 4
- 2024Exploring Large Language Models and Hierarchical Frameworks for Classification of Large Unstructured Legal Documentscited by 4
- 2024HALO: Hallucination Analysis and Learning Optimization to Empower LLMs with Retrieval-Augmented Context for Guided Clinical Decision Makingcited by 3
- 2024Analyzing Images of Legal Documents: Toward Multi-Modal LLMs for Access to Justicecited by 3
- 2025LexChain: Modeling Legal Reasoning Chains for Chinese Tort Case Analysiscited by 3
- 2023Justifiable Artificial Intelligence: Engineering Large Language Models for Legal Applicationscited by 2
- 2024LAPIS: Language Model-Augmented Police Investigation Systemcited by 2
- 2025An Explicit Syllogistic Legal Reasoning Framework for Large Language Modelscited by 2
- 2025Reflexive Prompt Engineering: A Framework for Responsible Prompt Engineering and Interaction Designcited by 2
- 2023A Hierarchical Neural Framework for Classification and its Explanation in Large Unstructured Legal Documentscited by 1
- 2023A Search for Prompts: Generating Structured Answers from Contractscited by 1
- 2024Exploiting LLMs' Reasoning Capability to Infer Implicit Concepts in Legal Information Retrievalcited by 1
- 2024A Comprehensive Framework for Reliable Legal AI: Combining Specialized Expert Systems and Adaptive Refinementcited by 1
- 2025Aligning Language Models for Icelandic Legal Text Summarizationcited by 1
- 2026Correct Prediction, Wrong Steps? Consensus Reasoning Knowledge Graph for Robust Chain-of-Thought Synthesiscited by 1
- 2023Making a Computational Attorneycited by 0
50 most cited of 60 All 60 (JSON)
- 2026GANDR: Claim Auditing for Verifiable Legal Answer Generation9 Sep 2026
- 2026PROSLEX: A Novel Dataset for Expert-Annotated Legal Statute Prediction for Indian Judiciary9 Aug 2026
- 2026L-MAD: A Systematic Evaluation of Multi-Agent Debate Structures in Legal Reasoning10 Jul 2026
- 2026From Judgments to Issues: Structured Extraction of Legal Reasoning with Citation-Hallucination Control3 Jul 2026
- 2026PolicyGuard: From Organizational Policies to Neuro-SymbolicCompliance Review Engines30 Jun 2026
- 2026LegalGraphRAG: Multi-Agent Graph Retrieval-Augmented Generation for Reliable Legal Reasoning27 May 2026
- 2026Correct Prediction, Wrong Steps? Consensus Reasoning Knowledge Graph for Robust Chain-of-Thought Synthesis15 Apr 2026
- 2025Structured Definitions and Segmentations for Legal Reasoning in LLMs: A Study on Indian Legal Data14 Nov 2025
- 2025LexChain: Modeling Legal Reasoning Chains for Chinese Tort Case Analysis20 Oct 2025
- 2025Large Language Models Meet Legal Artificial Intelligence: A Survey12 Sep 2025
- 2025LLMs for LLMs: A Structured Prompting Methodology for Long Legal Documents2 Sep 2025
- 2025Aligning Language Models for Icelandic Legal Text Summarization25 Apr 2025
38 more
- 2025Reflexive Prompt Engineering: A Framework for Responsible Prompt Engineering and Interaction Design22 Apr 2025
- 2025An Explicit Syllogistic Legal Reasoning Framework for Large Language Models5 Apr 2025
- 2025D2S-FLOW: Automated Parameter Extraction from Datasheets for SPICE Model Generation Using Large Language Models23 Feb 2025
- 2025Lifelong Learning of Large Language Model based Agents: A Roadmap13 Jan 2025
- 2024A Comprehensive Framework for Reliable Legal AI: Combining Specialized Expert Systems and Adaptive Refinement29 Dec 2024
- 2024Beyond Guilt: Legal Judgment Prediction with Trichotomous Reasoning19 Dec 2024
- 2024CitaLaw: Enhancing LLM with Citations in Legal Domain19 Dec 2024
- 2024Analyzing Images of Legal Documents: Toward Multi-Modal LLMs for Access to Justice16 Dec 2024
- 2024Exploiting LLMs' Reasoning Capability to Infer Implicit Concepts in Legal Information Retrieval16 Oct 2024
- 2024Can Large Language Models Grasp Legal Theories? Enhance Legal Reasoning with Insights from Multi-Agent Collaboration3 Oct 2024
- 2024HALO: Hallucination Analysis and Learning Optimization to Empower LLMs with Retrieval-Augmented Context for Guided Clinical Decision Making16 Sep 2024
- 2024Experimenting with Legal AI Solutions: The Case of Question-Answering for Access to Justice12 Sep 2024
- 2024Prompting Encoder Models for Zero-Shot Classification: A Cross-Domain Study in Italian30 Jul 2024
- 2024LAPIS: Language Model-Augmented Police Investigation System19 Jul 2024
- 2024Automating IRAC Analysis in Malaysian Contract Law using a Semi-Structured Knowledge Base19 Jun 2024
- 2024Tokenization Matters! Degrading Large Language Models through Challenging Their Tokenization27 May 2024
- 2024Evaluating Large Language Models for Public Health Classification and Extraction Tasks23 May 2024
- 2024Fake Artificial Intelligence Generated Contents (FAIGC): A Survey of Theories, Detection Methods, and Opportunities25 Apr 2024
- 2024A Comprehensive Survey on Evaluating Large Language Model Applications in the Medical Industry24 Apr 2024
- 2024Exploring the Nexus of Large Language Models and Legal Systems: A Short Survey1 Apr 2024
- 2024Fairness in Large Language Models: A Taxonomic Survey31 Mar 2024
- 2024Exploring Large Language Models and Hierarchical Frameworks for Classification of Large Unstructured Legal Documents11 Mar 2024
- 2024Enhancing Court View Generation with Knowledge Injection and Guidance7 Mar 2024
- 2024Logic Rules as Explanations for Legal Case Retrieval3 Mar 2024
- 2024Chain of Logic: Rule-Based Reasoning with Large Language Models16 Feb 2024
- 2024LHRS-Bot: Empowering Remote Sensing with VGI-Enhanced Large Multimodal Language Model4 Feb 2024
- 2024When Geoscience Meets Generative AI and Large Language Models: Foundations, Trends, and Future Challenges25 Jan 2024
- 2023Justifiable Artificial Intelligence: Engineering Large Language Models for Legal Applications27 Nov 2023
- 2023MedAgents: Large Language Models as Collaborators for Zero-shot Medical Reasoning16 Nov 2023
- 2023Evaluating Large Language Models: A Comprehensive Survey30 Oct 2023
- 2023A Search for Prompts: Generating Structured Answers from Contracts16 Oct 2023
- 2023The Importance of Prompt Tuning for Automated Neuron Explanations9 Oct 2023
- 2023A Hierarchical Neural Framework for Classification and its Explanation in Large Unstructured Legal Documents19 Sep 2023
- 2023Large Language Models in Cryptocurrency Securities Cases: Can a GPT Model Meaningfully Assist Lawyers?11 Aug 2023
- 2023Large Language Model Prompt Chaining for Long Legal Document Classification8 Aug 2023
- 2023Legal Summarisation through LLMs: The PRODIGIT Project4 Aug 2023
- 2023LLMediator: GPT-4 Assisted Online Dispute Resolution27 Jul 2023
- 2023Challenges and Applications of Large Language Models19 Jul 2023
50 newest of 60 All 60 (JSON)
- 2023MedAgents: Large Language Models as Collaborators for Zero-shot Medical Reasoningcited by 311
- 2023Legal Syllogism Prompting: Teaching Large Language Models for Legal Judgment Predictioncited by 37
- 2024Chain of Logic: Rule-Based Reasoning with Large Language Modelscited by 18
- 2024Can Large Language Models Grasp Legal Theories? Enhance Legal Reasoning with Insights from Multi-Agent Collaborationcited by 14
- 2024Beyond Guilt: Legal Judgment Prediction with Trichotomous Reasoningcited by 5
- 2026LegalGraphRAG: Multi-Agent Graph Retrieval-Augmented Generation for Reliable Legal Reasoningcited by 5
- 2025LexChain: Modeling Legal Reasoning Chains for Chinese Tort Case Analysiscited by 3
- 2025An Explicit Syllogistic Legal Reasoning Framework for Large Language Modelscited by 2
- 2024Exploiting LLMs' Reasoning Capability to Infer Implicit Concepts in Legal Information Retrievalcited by 1
- 2026Correct Prediction, Wrong Steps? Consensus Reasoning Knowledge Graph for Robust Chain-of-Thought Synthesiscited by 1
- 2025Structured Definitions and Segmentations for Legal Reasoning in LLMs: A Study on Indian Legal Datacited by 0
- 2026From Judgments to Issues: Structured Extraction of Legal Reasoning with Citation-Hallucination Controlcited by 0
- 2026From Judgments to Issues: Structured Extraction of Legal Reasoning with Citation-Hallucination Control3 Jul 2026
- 2026LegalGraphRAG: Multi-Agent Graph Retrieval-Augmented Generation for Reliable Legal Reasoning27 May 2026
- 2026Correct Prediction, Wrong Steps? Consensus Reasoning Knowledge Graph for Robust Chain-of-Thought Synthesis15 Apr 2026
- 2025Structured Definitions and Segmentations for Legal Reasoning in LLMs: A Study on Indian Legal Data14 Nov 2025
- 2025LexChain: Modeling Legal Reasoning Chains for Chinese Tort Case Analysis20 Oct 2025
- 2025An Explicit Syllogistic Legal Reasoning Framework for Large Language Models5 Apr 2025
- 2024Beyond Guilt: Legal Judgment Prediction with Trichotomous Reasoning19 Dec 2024
- 2024Exploiting LLMs' Reasoning Capability to Infer Implicit Concepts in Legal Information Retrieval16 Oct 2024
- 2024Can Large Language Models Grasp Legal Theories? Enhance Legal Reasoning with Insights from Multi-Agent Collaboration3 Oct 2024
- 2024Chain of Logic: Rule-Based Reasoning with Large Language Models16 Feb 2024
- 2023MedAgents: Large Language Models as Collaborators for Zero-shot Medical Reasoning16 Nov 2023
- 2023Legal Syllogism Prompting: Teaching Large Language Models for Legal Judgment Prediction17 Jul 2023
- 2023A Survey of Large Language Modelscited by 2,537
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023Evaluating Large Language Models: A Comprehensive Surveycited by 200
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2023Can GPT-3 Perform Statutory Reasoning?cited by 71
- 2024Fairness in Large Language Models: A Taxonomic Surveycited by 57
- 2023A Short Survey of Viewing Large Language Models in Legal Aspectcited by 51
- 2023Explaining Legal Concepts with Augmented Large Language Models (GPT-4)cited by 39
- 2023Unlocking Practical Applications in Legal Domain: Evaluation of GPT for Zero-Shot Semantic Annotation of Legal Textscited by 32
- 2024Tokenization Matters! Degrading Large Language Models through Challenging Their Tokenizationcited by 32
- 2023Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?cited by 30
- 2024A Comprehensive Survey on Evaluating Large Language Model Applications in the Medical Industrycited by 17
12 most cited of 42 All 42 (JSON)
- 2026GANDR: Claim Auditing for Verifiable Legal Answer Generation9 Sep 2026
- 2026PROSLEX: A Novel Dataset for Expert-Annotated Legal Statute Prediction for Indian Judiciary9 Aug 2026
- 2026PolicyGuard: From Organizational Policies to Neuro-SymbolicCompliance Review Engines30 Jun 2026
- 2025Large Language Models Meet Legal Artificial Intelligence: A Survey12 Sep 2025
- 2025LLMs for LLMs: A Structured Prompting Methodology for Long Legal Documents2 Sep 2025
- 2025Reflexive Prompt Engineering: A Framework for Responsible Prompt Engineering and Interaction Design22 Apr 2025
- 2025D2S-FLOW: Automated Parameter Extraction from Datasheets for SPICE Model Generation Using Large Language Models23 Feb 2025
- 2024A Comprehensive Framework for Reliable Legal AI: Combining Specialized Expert Systems and Adaptive Refinement29 Dec 2024
- 2024CitaLaw: Enhancing LLM with Citations in Legal Domain19 Dec 2024
- 2024Analyzing Images of Legal Documents: Toward Multi-Modal LLMs for Access to Justice16 Dec 2024
- 2024Experimenting with Legal AI Solutions: The Case of Question-Answering for Access to Justice12 Sep 2024
- 2024Prompting Encoder Models for Zero-Shot Classification: A Cross-Domain Study in Italian30 Jul 2024
12 newest of 42 All 42 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Soft Guidance Starts to Outperform CoT Prompting as LLMs Improve
- 2025Prompting Science Report 2: The Decreasing Value of Chain of Thought in Prompting
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matters
- 2025Effectiveness of Zero-shot-CoT in Japanese Prompts
- 2023Towards Better Chain-of-Thought Prompting Strategies: A Survey
- 2023Leveraging Training Data in Few-Shot Prompting for Numerical Reasoning
- 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Models
- 2023Large Language Models as Analogical Reasoners