mlsanityData to 7 Oct 2026

Legal-Tech Open Diaries: Lesson learned on how to develop and deploy light-weight models in the era of humongous Language Models

arXiv 2210.13086 ↗First posted 24 Oct 2022cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

In the era of billion-parameter-sized Language Models (LMs), start-ups have to follow trends and adapt their technology accordingly. Nonetheless, there are open challenges since the development and deployment of large models comes with a need for high computational resources and has economical consequences. In this work, we follow the steps of the R&D group of a modern legal-tech start-up and present important insights on model development and deployment. We start from ground zero by pre-training multiple domain-specific multi-lingual LMs which are a better fit to contractual and regulatory text compared to the available alternatives (XLM-R). We present benchmark results of such models in a half-public half-private legal benchmark comprising 5 downstream tasks showing the impact of larger model size. Lastly, we examine the impact of a full-scale pipeline for model compression which includes: a) Parameter Pruning, b) Knowledge Distillation, and c) Quantization: The resulting models are much more efficient without sacrificing performance at large.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 53 of its 73 references that are in the map. First posted on arXiv 24 Oct 2022.

Builds on

53 of 73 references.

References · 53

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  6. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  7. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  8. 2016Deep Learning with Differential Privacycited by 2,682
  9. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  10. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
  11. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  12. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
38 more
  1. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  2. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  3. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  4. 2019Cross-lingual Language Model Pretrainingcited by 1,088
  5. 2019Publicly Available Clinical BERT Embeddingscited by 995
  6. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  7. 2019Are Sixteen Heads Really Better than One?cited by 803
  8. 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 596
  9. 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
  10. 2019Improved Knowledge Distillation via Teacher Assistantcited by 567
  11. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  12. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 481
  13. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  14. 2013Do Deep Nets Really Need to be Deep?cited by 466
  15. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
  16. 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
  17. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  18. 2021Sustainable AI: Environmental Implications, Challenges and Opportunitiescited by 242
  19. 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 199
  20. 2021Block Pruning For Faster Transformerscited by 176
  21. 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
  22. 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 145
  23. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
  24. 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 118
  25. 2020When BERT Plays the Lottery, All Tickets Are Winningcited by 114
  26. 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
  27. 2022Measuring the Carbon Intensity of AI in Cloud Instancescited by 110
  28. 2018A generic framework for privacy preserving deep learningcited by 103
  29. 2021MultiEURLEX -- A multi-lingual and multi-label legal document classification dataset for zero-shot cross-lingual transfercited by 89
  30. 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 84
  31. 2019Efficient 8-Bit Quantization of Transformer Neural Machine Language Translation Modelcited by 58
  32. 2022FiNER: Financial Numeric Entity Recognition for XBRL Taggingcited by 47
  33. 2020The Deep Learning Compiler: A Comprehensive Surveycited by 46
  34. 2022Mining Legal Arguments in Court Decisionscited by 35
  35. 2022Improved Multi-label Classification under Temporal Concept Drift: Rethinking Group-Robust Algorithms in a Label-Wise Settingcited by 23
  36. 2018Marian: Cost-effective High-Quality Neural Machine Translation in C++cited by 22
  37. 2022Downstream Datasets Make Surprisingly Good Pretraining Corporacited by 20
  38. 2018Obligation and Prohibition Extraction Using Hierarchical RNNscited by 18

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.