LawInstruct: A Resource for Studying Language Model Adaptation to the Legal Domain
Not on the map. Why?
Abstract (arXiv)
Instruction tuning is an important step in making language models useful for direct user interaction. However, the legal domain is underrepresented in typical instruction datasets (e.g., only 10 out of 1600+ tasks in Super-NaturalInstructions). To study whether instruction tuning on legal datasets is necessary for strong legal reasoning, we aggregate 58 annotated legal datasets and write instructions for each, creating LawInstruct. LawInstruct covers 17 global jurisdictions, 24 languages and a total of 12M examples across diverse tasks such as legal QA, summarization of court cases, and legal argument mining. We evaluate our models on LegalBench, measuring legal reasoning across five categories in 162 challenging and realistic legal tasks, and MMLU, to measure potential drops in general reasoning capabilities. We find that legal-specific instruction tuning on Flan-T5 - yielding FLawN-T5 - improves performance on LegalBench across all model sizes, with an aggregate increase of 15 points or 50% over Flan-T5 for the base size. No model size shows performance drops in MMLU. We publish LawInstruct as a resource for further study of instruction tuning in the legal domain.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 57 of its 100 references that are in the map. First posted on arXiv 2 Apr 2024.
Builds on
57 of 100 references.
References · 57
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
- 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 996
38 more
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 487
- 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
- 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
- 2022UL2: Unifying Language Learning Paradigmscited by 292
- 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 232
- 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 199
- 2018CAIL2018: A Large-Scale Legal Dataset for Judgment Predictioncited by 168
- 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 145
- 2024SaulLM-7B: A pioneering Large Language Model for Lawcited by 136
- 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 134
- 2019BillSum: A Corpus for Automatic Summarization of US Legislationcited by 117
- 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
- 2016Winning Arguments: Interaction Dynamics and Persuasion Strategies in Good-faith Online Discussionscited by 106
- 2019Large-Scale Multi-Label Text Classification on EU Legislationcited by 104
- 2021MultiEURLEX -- A multi-lingual and multi-label legal document classification dataset for zero-shot cross-lingual transfercited by 89
- 2021ILDC for CJPE: Indian Legal Documents Corpus for Court Judgment Prediction and Explanationcited by 78
- 2021Paragraph-level Rationale Extraction through Regularization: A case study on European Court of Human Rights Casescited by 77
- 2018CLAUDETTE: an Automated Detector of Potentially Unfair Clauses in Online Terms of Servicecited by 72
- 2023LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domaincited by 68
- 2019Question Answering for Privacy Policies: Combining Computational and Legal Perspectivescited by 65
- 2020A Dataset for Statutory Reasoning in Tax Law Entailment and Question Answeringcited by 61
- 2023MultiLegalPile: A 689GB Multilingual Legal Corpuscited by 59
- 2023LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Developmentcited by 54
- 2022Multi-LexSum: Real-World Summaries of Civil Rights Lawsuits at Multiple Granularitiescited by 47
- 2023LongForm: Effective Instruction Tuning with Reverse Instructionscited by 47
- 2022A Multi-Task Benchmark for Korean Legal Language Understanding and Judgement Predictioncited by 44
- 2022EUR-Lex-Sum: A Multi- and Cross-lingual Dataset for Long-form Summarization in the Legal Domaincited by 39
- 2022Mining Legal Arguments in Court Decisionscited by 35
- 2023MAUD: An Expert-Annotated Legal NLP Dataset for Merger Agreement Understandingcited by 32
- 2019CAIL2019-SCM: A Dataset of Similar Case Matching in Legal Domaincited by 30
- 2019Plain English Summarization of Contractscited by 28
- 2022Named Entity Recognition in Indian court judgmentscited by 26
- 2022ClassActionPrediction: A Challenging Benchmark for Legal Judgment Prediction of Class Action Cases in the UScited by 17
- 2021Multi-granular Legal Topic Classification on Greek Legislationcited by 15
- 2022BudgetLongformer: Can we Cheaply Pretrain a SotA Legal Language Model From Scratch?cited by 13
- 2024LegalLens: Leveraging LLMs for Legal Violation Identification in Unstructured Textcited by 12
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 2; 2026: 5.
10 papers.
- 2024SaulLM-54B & SaulLM-141B: Scaling Up Domain Adaptation for the Legal Domaincited by 39
- 2024A Picture is Worth A Thousand Numbers: Enabling LLMs Reason about Time Series via Visualizationcited by 31
- 2024Gaps or Hallucinations? Gazing into Machine-Generated Legal Analysis for Fine-grained Text Evaluationscited by 4
- 2025Balancing Truthfulness and Informativeness with Uncertainty-Aware Instruction Fine-Tuningcited by 3
- 2025Bye-bye, Bluebook? Automating Legal Drudgery With AI-Augmented Rule Followingcited by 3
- 2026OpenExempt: A Diagnostic Benchmark for Legal Reasoning and a Framework for Creating Custom Benchmarks on Demandcited by 3
- 2026AppellateGen: A Benchmark for Appellate Legal Judgment Generationcited by 1
- 2026LLM-Assisted Causal Structure Disambiguation and Factor Extraction for Legal Judgment Predictioncited by 0
- 2026Few-Shot Truly Benign DPO Attack for Jailbreaking LLMscited by 0
- 2026SALUTE: Benchmarking and Adapting LLMs for the Defense Domaincited by 0
- 2026SALUTE: Benchmarking and Adapting LLMs for the Defense Domain14 Sep 2026
- 2026Few-Shot Truly Benign DPO Attack for Jailbreaking LLMs9 May 2026
- 2026LLM-Assisted Causal Structure Disambiguation and Factor Extraction for Legal Judgment Prediction12 Mar 2026
- 2026OpenExempt: A Diagnostic Benchmark for Legal Reasoning and a Framework for Creating Custom Benchmarks on Demand19 Jan 2026
- 2026AppellateGen: A Benchmark for Appellate Legal Judgment Generation4 Jan 2026
- 2025Bye-bye, Bluebook? Automating Legal Drudgery With AI-Augmented Rule Following5 May 2025
- 2025Balancing Truthfulness and Informativeness with Uncertainty-Aware Instruction Fine-Tuning17 Feb 2025
- 2024A Picture is Worth A Thousand Numbers: Enabling LLMs Reason about Time Series via Visualization9 Nov 2024
- 2024Gaps or Hallucinations? Gazing into Machine-Generated Legal Analysis for Fine-grained Text Evaluations16 Sep 2024
- 2024SaulLM-54B & SaulLM-141B: Scaling Up Domain Adaptation for the Legal Domain28 Jul 2024
Similar, not cited
Close in wording, no citation either way
- 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Models
- 2026LegalDrill: Diagnosis-Driven Synthesis for Legal Reasoning in Small Language Models
- 2025Evaluating Test-Time Scaling LLMs for Legal Reasoning: OpenAI o1, DeepSeek-R1, and Beyond
- 2025Unilaw-R1: A Large Language Model for Legal Reasoning with Reinforcement Learning and Iterative Inference
- 2023LawBench: Benchmarking Legal Knowledge of Large Language Models
- 2025Continual Pre-Training is (not) What You Need in Domain Adaption
- 2025Parameterized Argumentation-based Reasoning Tasks for Benchmarking Generative Language Models
- 2025Benchmarking Multi-Step Legal Reasoning and Analyzing Chain-of-Thought Effects in Large Language Models