Billions of Parameters Are Worth More Than In-domain Training Data: A case study in the Legal Case Entailment Task
Not on the map. Why?
Abstract (arXiv)
Recent work has shown that language models scaled to billions of parameters, such as GPT-3, perform remarkably well in zero-shot and few-shot scenarios. In this work, we experiment with zero-shot models in the legal case entailment task of the COLIEE 2022 competition. Our experiments show that scaling the number of parameters in a language model improves the F1 score of our previous zero-shot result by more than 6 points, suggesting that stronger zero-shot capability may be a characteristic of larger models, at least for this task. Our 3B-parameter zero-shot model outperforms all models, including ensembles, in the COLIEE 2021 test set and also achieves the best performance of a single model in the COLIEE 2022 competition, second only to the ensemble composed of the 3B model itself and a smaller version of the same model. Despite the challenges posed by large language models, mainly due to latency constraints in real-time applications, we provide a demonstration of our zero-shot monoT5-3b model being used in production as a search engine, including for legal documents. The code for our submission and the demo of our system are available at https://github.com/neuralmind-ai/coliee and https://neuralsearchx.neuralmind.ai, respectively.
Key facts. Cited by 8 papers in the map (data through 13 Oct 2026). Builds on 19 of its 33 references that are in the map. First posted on arXiv 30 May 2022.
Builds on
19 of 33 references.
References · 19
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,549
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,317
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,765
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,600
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,468
- 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 375
- 2020A Brief Review of Domain Adaptationcited by 287
- 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 233
- 2020Neural Unsupervised Domain Adaptation in NLP---A Surveycited by 144
- 2021Adapting Language Models for Zero-shot Learning by Meta-tuning on Dataset and Prompt Collectionscited by 128
- 2021Language Models are Few-shot Multilingual Learnerscited by 92
7 more
- 2021PADA: Example-based Prompt Learning for on-the-fly Adaptation to Unseen Domainscited by 61
- 2021Incorporating Domain Knowledge into Deep Neural Networkscited by 56
- 2020PTT5: Pretraining and validating the T5 model on Brazilian Portuguese datacited by 35
- 2021Yes, BM25 is a Strong Baseline for Legal Case Retrievalcited by 24
- 2020JNLP Team: Deep Learning for Legal Processing in COLIEE 2020cited by 14
- 2020Rapidly Deploying a Neural Search Engine for the COVID-19 Open Research Dataset: Preliminary Thoughts and Lessons Learnedcited by 10
- 2020Effective Approach to Develop a Sentiment Annotator For Legal Domain in a Low Resource Settingcited by 2
Built on by
Citing papers per year: 2023: 6; 2024: 1; 2025: 1.
8 papers.
- 2023Challenges and Applications of Large Language Modelscited by 253
- 2023THUIR@COLIEE 2023: More Parameters and Legal Knowledge for Legal Case Entailmentcited by 11
- 2025Efficient Distributed Optimization under Heavy-Tailed Noisecited by 7
- 2023Black-Box Analysis: GPTs Across Time in Legal Textual Entailment Taskcited by 6
- 2023Simple Yet Effective Neural Ranking and Reranking Baselines for Cross-Lingual Information Retrievalcited by 4
- 2023NOWJ at COLIEE 2023 -- Multi-Task and Ensemble Approaches in Legal Information Processingcited by 4
- 2023Justifiable Artificial Intelligence: Engineering Large Language Models for Legal Applicationscited by 2
- 2024GPTs and Language Barrier: A Cross-Lingual Legal QA Examinationcited by 0
- 2025Efficient Distributed Optimization under Heavy-Tailed Noise6 Feb 2025
- 2024GPTs and Language Barrier: A Cross-Lingual Legal QA Examination26 Mar 2024
- 2023Justifiable Artificial Intelligence: Engineering Large Language Models for Legal Applications27 Nov 2023
- 2023Black-Box Analysis: GPTs Across Time in Legal Textual Entailment Task11 Sep 2023
- 2023Challenges and Applications of Large Language Models19 Jul 2023
- 2023NOWJ at COLIEE 2023 -- Multi-Task and Ensemble Approaches in Legal Information Processing8 Jun 2023
- 2023THUIR@COLIEE 2023: More Parameters and Legal Knowledge for Legal Case Entailment11 May 2023
- 2023Simple Yet Effective Neural Ranking and Reranking Baselines for Cross-Lingual Information Retrieval3 Apr 2023