Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Dataset

By Peter Henderson, Mark S. Krass, Lucia Zheng, Neel Guha, Christopher D. Manning, Dan Jurafsky, Daniel E. Ho. 2022

154 citations recorded by the source corpus.

One concern with the rise of large language models lies with their potential for significant harm, particularly from pretraining on biased, obscene, copyrighted, and private information. Emerging ethical approaches have attempted to filter pretraining material, but such approaches have been ad hoc and failed to take context into account. We offer an approach to filtering grounded in law, which has directly addressed the tradeoffs in filtering material. First, we gather and make available the Pile of Law, a 256GB (and growing) dataset of open-source English-language legal and administrative data, covering court opinions, contracts, administrative rules, and legislative records. Pretraining on the Pile of Law may help with legal tasks that have the promise to improve access to justice. Second, we distill the legal norms that governments have developed to constrain the inclusion of toxic or private content into actionable lessons for researchers and discuss how our dataset reflects these norms. Third, we show how the Pile of Law offers researchers the opportunity to learn such filtering rules directly from the data, providing an exciting new research direction in model-based processing.

Subfields: Political Science and International Relations, Large Language Models, AI Ethics, Fairness & Society, Social Sciences & Humanities

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Political Science and International Relations

  1. Noah A. Smith
  2. Percy Liang
  3. Dan Jurafsky
  4. Thomas Wolf

In Large Language Models

  1. Hannaneh Hajishirzi
  2. Luke S. Zettlemoyer
  3. Noah A. Smith
  4. Percy Liang
  5. Eric Wallace
  6. Sewon Min
  7. Colin Raffel
  8. Suchin Gururangan

In AI Ethics, Fairness & Society

  1. Noah A. Smith
  2. Percy Liang
  3. Dan Jurafsky
  4. Mark A. Lemley
  5. Tatsunori B. Hashimoto
  6. Xuechen Li
  7. Peter Henderson
  8. Suchin Gururangan

In Social Sciences & Humanities

  1. Noah A. Smith
  2. Percy Liang
  3. Dan Jurafsky

Citations in the corpus