Pretrained transformer models have achieved state-of-the-art results in many tasks and benchmarks recently. Many state-of-the-art Language Models (LMs), however, do not scale well above the threshold of 512 input tokens. In specialized domains though (such as legal, scientific or biomedical), models often need to process very long text (sometimes well above 10000 tokens). Even though many efficient transformers have been proposed (such as Longformer, BigBird or FNet), so far, only very few such efficient models are available for specialized domains. Additionally, since the pretraining process is extremely costly in general - but even more so as the sequence length increases - it is often only in reach of large research labs. One way of making pretraining cheaper is the Replaced Token Detection (RTD) task, by providing more signal during training, since the loss can be computed over all tokens. In this work, we train Longformer models with the efficient RTD task on legal data to showcase that pretraining efficient LMs is possible using much less compute. We evaluate the trained models on challenging summarization tasks requiring the model to summarize long texts to show to what extent the models can achieve good performance on downstream tasks. We find that both the small and base models outperform their baselines on the in-domain BillSum and out-of-domain PubMed tasks in their respective parameter range. We publish our code and models for research purposes.
ParaLaw Nets -- Cross-lingual Sentence-level Pretraining for Legal Text Processing
Japan Advanced Institute of Science and Technology(日本北陆先端科学技术大学院大学);University of Engineering and Technology, VNU(越南国立大学工程技术大学);National Institute of Informatics(国立信息学研究所)
Transformer-based Approaches for Legal Text Processing
Japan Advanced Institute of Science and Technology(日本先进科学技术学院);Institute of Statistical Mathematics(统计数学研究所);University of Engineering and Technology, VNU(越南国立大学工程技术学院);National Institute of Informatics(日本国立信息学研究所)
Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Dataset
Stanford University(斯坦福大学)
对大语言模型的兴起的一个担忧在于它们可能造成重大伤害,特别是在对有偏见的、淫秽的、受版权保护的和私人的信息进行预训练时。新出现的道德操守做法试图过滤培训前的材料,但这种做法是临时性的,没有考虑到背景。我们提供了一种基于法律的过滤方法,它直接解决了过滤材料的权衡问题。首先,我们收集并提供Pile of Law,这是一个256GB的开源英语法律和行政数据集,涵盖法院意见,合同,行政规则和立法记录。法律桩的预培训可能有助于有希望改善诉诸司法的法律任务。其次,我们提取了政府制定的法律规范,以限制将有毒或私人内容纳入研究人员的可操作经验教训,并讨论我们的数据集如何反映这些规范。第三,我们展示了如何桩的法律为研究人员提供了机会,直接从数据中学习这样的过滤规则,提供了一个令人兴奋的新的研究方向,在基于模型的处理。
EURO-5K: When Does Domain Pretraining Matter? Benchmarking Transformers for EU Reporting Obligation Extraction
Division of Computer Science, School of Electrical and Computer Engineering(计算机科学系,电气与计算机工程学院);National Technical University of Athens(雅典技术大学);Department of Humanities Social Sciences and Law, School of Applied Mathematical and Physical Sciences(人文社会科学与法律系,应用数学与物理科学学院)
Domain adaptation of Russian ModernBERT for long legal documents
Independent Researcher(独立研究者);National Research Nuclear University MEPhI(国立核研究大学 MEPhI);Moscow Center for Advanced Studies(莫斯科高级研究中心);University of Waterloo(滑铁卢大学)
CABACE: Injecting Character Sequence Information and Domain Knowledge for Enhanced Acronym and Long-Form Extraction
Indian Institute of Technology Kharagpur(印度理工学院卡拉格普尔分校)
首字母缩略词和长形式在研究文件中很常见,在科学和法律领域的文件中更是如此。这些文档中使用的许多首字母缩略词都是特定于领域的,很少在普通文本语料库中找到。因此,基于transformer的NLP模型通常会检测首字母缩略词标记的OOV(Out of Vocabulary),特别是对于非英语语言,并且在提取过程中将首字母缩略词链接到其长形式时,其性能会受到影响。此外,像BERT这样的预训练的Transformer模型并不专门处理科学和法律文档。这些要点是这项工作背后的首要动机,我们提出了一个新的框架CABACE:字母缩写词提取的字符感知BERT,它考虑到文本中的字符序列,并适应于科学和法律领域的掩蔽语言建模。我们进一步使用具有增强的损失函数的目标,将最大损失和掩码损失项添加到用于训练CABACE的标准交叉熵损失。我们进一步利用伪标签和对抗性数据生成来提高框架的通用性。实验结果证明了所提出的框架相比,各种基线的优越性。此外,我们表明,所提出的框架比基线模型更适合zero-shot推广到非英语语言,从而加强了我们的方法的有效性。我们的团队BacKGProp在SDU AAAI-22的首字母缩略词提取(AE)共享任务的全球排行榜上获得了法语数据集的最高分,丹麦语和越南语的第二高分,以及英语法律数据集的第三高分。
MixtureVitae: Open Web-Scale Pretraining Dataset With High Quality Instruction and Reasoning Data Built from Permissive-First Text Sources
Ontocord;Northeastern University(东北大学);LAION;Open-Ψ (Open-Sci) Collective(Open-Ψ(开放科学)联盟);Juelich Supercomputing Center (JSC), Research Center Juelich (FZJ)(于利希研究中心(FZJ)于利希超级计算中心(JSC));Carnegie Mellon University(卡内基梅隆大学);Salesforce(赛富时);Detomo Inc.(Detomo公司);Institute of Science Tokyo(东京科学研究所);École Polytechnique, IP Paris(巴黎理工学院);ELLIS Institute Tuebingen(图宾根ELLIS研究所);University of Freiburg(弗莱堡大学);NASK;Montreal Institute for Learning Algorithms, Université de Montréal(蒙特利尔大学蒙特利尔学习算法研究所);Lund University(隆德大学);DeepTensor AB
Learning Faster with Better Tokens: Parameter-Efficient Vocabulary Adaptation for Specialized Text Summarization
Dept. of Computer Science and Engg., IIT Kharagpur(印度Kharagpur理工学院计算机科学与工程系);Dept. of Medicine (Biomedical Informatics), Stanford University(斯坦福大学医学院(生物医学信息学))