mlsanityData to 7 Oct 2026

LawInstruct: A Resource for Studying Language Model Adaptation to the Legal Domain

arXiv 2404.02127 ↗First posted 2 Apr 2024cs.CL cs.AI cs.LGcited by 10

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  5. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  6. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  7. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  8. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
  9. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
  10. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  11. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
  12. 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 996
38 more
  1. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
  2. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
  3. 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 487
  4. 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
  5. 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
  6. 2022UL2: Unifying Language Learning Paradigmscited by 292
  7. 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 232
  8. 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 199
  9. 2018CAIL2018: A Large-Scale Legal Dataset for Judgment Predictioncited by 168
  10. 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 145
  11. 2024SaulLM-7B: A pioneering Large Language Model for Lawcited by 136
  12. 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 134
  13. 2019BillSum: A Corpus for Automatic Summarization of US Legislationcited by 117
  14. 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
  15. 2016Winning Arguments: Interaction Dynamics and Persuasion Strategies in Good-faith Online Discussionscited by 106
  16. 2019Large-Scale Multi-Label Text Classification on EU Legislationcited by 104
  17. 2021MultiEURLEX -- A multi-lingual and multi-label legal document classification dataset for zero-shot cross-lingual transfercited by 89
  18. 2021ILDC for CJPE: Indian Legal Documents Corpus for Court Judgment Prediction and Explanationcited by 78
  19. 2021Paragraph-level Rationale Extraction through Regularization: A case study on European Court of Human Rights Casescited by 77
  20. 2018CLAUDETTE: an Automated Detector of Potentially Unfair Clauses in Online Terms of Servicecited by 72
  21. 2023LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domaincited by 68
  22. 2019Question Answering for Privacy Policies: Combining Computational and Legal Perspectivescited by 65
  23. 2020A Dataset for Statutory Reasoning in Tax Law Entailment and Question Answeringcited by 61
  24. 2023MultiLegalPile: A 689GB Multilingual Legal Corpuscited by 59
  25. 2023LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Developmentcited by 54
  26. 2022Multi-LexSum: Real-World Summaries of Civil Rights Lawsuits at Multiple Granularitiescited by 47
  27. 2023LongForm: Effective Instruction Tuning with Reverse Instructionscited by 47
  28. 2022A Multi-Task Benchmark for Korean Legal Language Understanding and Judgement Predictioncited by 44
  29. 2022EUR-Lex-Sum: A Multi- and Cross-lingual Dataset for Long-form Summarization in the Legal Domaincited by 39
  30. 2022Mining Legal Arguments in Court Decisionscited by 35
  31. 2023MAUD: An Expert-Annotated Legal NLP Dataset for Merger Agreement Understandingcited by 32
  32. 2019CAIL2019-SCM: A Dataset of Similar Case Matching in Legal Domaincited by 30
  33. 2019Plain English Summarization of Contractscited by 28
  34. 2022Named Entity Recognition in Indian court judgmentscited by 26
  35. 2022ClassActionPrediction: A Challenging Benchmark for Legal Judgment Prediction of Class Action Cases in the UScited by 17
  36. 2021Multi-granular Legal Topic Classification on Greek Legislationcited by 15
  37. 2022BudgetLongformer: Can we Cheaply Pretrain a SotA Legal Language Model From Scratch?cited by 13
  38. 2024LegalLens: Leveraging LLMs for Legal Violation Identification in Unstructured Textcited by 12

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 2; 2026: 5.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Models
  2. 2026LegalDrill: Diagnosis-Driven Synthesis for Legal Reasoning in Small Language Models
  3. 2025Evaluating Test-Time Scaling LLMs for Legal Reasoning: OpenAI o1, DeepSeek-R1, and Beyond
  4. 2025Unilaw-R1: A Large Language Model for Legal Reasoning with Reinforcement Learning and Iterative Inference
  5. 2023LawBench: Benchmarking Legal Knowledge of Large Language Models
  6. 2025Continual Pre-Training is (not) What You Need in Domain Adaption
  7. 2025Parameterized Argumentation-based Reasoning Tasks for Benchmarking Generative Language Models
  8. 2025Benchmarking Multi-Step Legal Reasoning and Analyzing Chain-of-Thought Effects in Large Language Models