Transformer通常被认为在从输入中复制内容方面效率很高,但本文表明大型语言模型(LLMs)的上下文复制能力可通过显式建模得到提升。本文提出复制-粘贴语言模型(Copy-Paste Language Models,CPLMs),其在传统语言建模(LM)头的基础上添加了轻量级复制-粘贴头。CPLMs可提升训练效率、下游任务性能,并在长上下文和检索设置中提供新的操作点。我们通过预训练参数规模从1.35亿到17亿的模型验证了该方法,结果显示在所有规模和主干网络上均有提升,且训练和推理开销可忽略不计。我们解释CPLMs的成功在于其通过替代梯度路径部分缓解了LM头的梯度瓶颈。
英文摘要:
Transformers are intuitively considered to be efficient at copying from their inputs. We actually show that the ability of LLMs to copy in context can be improved through explicit modeling. We propose Copy-Paste Language Models (CPLMs), which add a lightweight Copy-Paste head to the conventional language modeling (LM) head. CPLMs improve training efficiency, downstream performance, and offer new operating points in long-context and retrieval setups. We validate our approach by pretraining models from 135M to 1.7B parameters, showing improvements across all scales and backbones with negligible training and inference overheads. We explain the success of CPLMs by showing that they partially mitigate the LM head gradient bottleneck through an alternative gradient path.
Copy-Paste to Mitigate Large Language Model Hallucinations
Department of Computer Science, Tianjin University of Technology(天津理工大学计算机学院);National Institute of Health Data Science, Peking University(北京大学国家健康数据科学研究院);Tencent Jarvis Lab(腾讯Jarvis实验室)
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Machine Learning Platform Department, Tencent(腾讯机器学习平台部);School of Computer Science, Wuhan University(武汉大学计算机学院)
The KL3M Data Project: Copyright-Clean Training Resources for Large Language Models
Institute for the Advancement of Legal and Ethical AI (ALEA Institute)(法律与伦理AI推进研究所(ALEA研究所));CodeX—The Stanford Center for Legal Informatics(CodeX——斯坦福法律信息学中心);Illinois Tech—Chicago Kent College of Law(伊利诺伊理工大学芝加哥肯特法学院);Center for Legal Technology & Data Science, Bucerius Law School(布塞留斯法学院法律技术与数据科学中心)
Are You Copying My Model? Protecting the Copyright of Large Language Models for EaaS via Backdoor Watermark
Beijing Jiaotong University(北京交通大学);Microsoft Research Asia(微软亚洲研究院);Sony AI(索尼人工智能);Microsoft STC Asia(微软亚洲软件技术中心);University of Science and Technology of China(中国科学技术大学)
SoK: Large Language Model Copyright Auditing via Fingerprinting
The State Key Laboratory of Blockchain and Data Security(区块链与数据安全国家重点实验室);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新技术区(滨江)区块链与数据安全研究院);Nanyang Technological University(南洋理工大学);City University of Hong Kong(香港城市大学);Sun Yat-Sen University(中山大学)
Leave No TRACE: Black-box Detection of Copyrighted Dataset Usage in Large Language Models via Watermarking
Antiquus S. Hippocampus, Natalia Cerebro & Amelie P. Amygdale Department of Computer Science Cranberry-Lemon University Pittsburgh, PA 15213, USA(计算机科学系,Cranberry-Lemon大学);Ji Q. Ren & Yevgeny LeNet Department of Computational Neuroscience University of the Witwatersrand Joburg, South Africa(计算神经科学系,沃特瓦特斯兰大学)
Digger: Detecting Copyright Content Mis-usage in Large Language Model Training
Beijing University of Posts and Telecommunications(北京邮电大学);Nanyang Technological University(南洋理工大学);Huazhong University of Science and Technology(华中科技大学);The University of New South Wales(新南威尔士大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳))
Copy First, Translate Later: Interpreting Translation Dynamics in Multilingual Pretraining
MaiNLP, Center for Information and Language Processing, LMU Munich(MaiNLP,信息与语言处理中心,慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Department of Mathematics, LMU Munich(数学系,慕尼黑大学);Department of Physics and Technology, University of Tromsø(物理与技术系,特罗姆瑟大学);DLR-German Aerospace Center(德国航空航天中心)
ISACL: Internal State Analyzer for Copyrighted Training Data Leakage
City University of Hong Kong(香港城市大学);Microsoft(微软);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Google LLC(谷歌公司);Arizona State University(亚利桑那州立大学);Stevens Institute of Technology(史蒂文斯理工学院)
RTLMarker: Protecting LLM-Generated RTL Copyright via a Hardware Watermarking Framework
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Hangzhou Institute for Advanced Study, University of Chinese Academy of Sciences(中国科学院大学杭州高等研究院);University of Chinese Academy of Sciences(中国科学院大学)