Text error correction aims to correct the errors in text sequences such as those typed by humans or generated by speech recognition models. Previous error correction methods usually take the source (incorrect) sentence as encoder input and generate the target (correct) sentence through the decoder. Since the error rate of the incorrect sentence is usually low (e.g., 10\%), the correction model can only learn to correct on limited error tokens but trivially copy on most tokens (correct tokens), which harms the effective training of error correction. In this paper, we argue that the correct tokens should be better utilized to facilitate effective training and then propose a simple yet effective masking strategy to achieve this goal. Specifically, we randomly mask out a part of the correct tokens in the source sentence and let the model learn to not only correct the original error tokens but also predict the masked tokens based on their context information. Our method enjoys several advantages: 1) it alleviates trivial copy; 2) it leverages effective training signals from correct tokens; 3) it is a plug-and-play module and can be applied to different models and tasks. Experiments on spelling error correction and speech recognition error correction on Mandarin datasets and grammar error correction on English datasets with both autoregressive and non-autoregressive generation models show that our method improves the correction accuracy consistently.
SimSD: Simple Speculative Decoding in Diffusion Language Models
University of California San Diego(加州大学圣地亚哥分校);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Google(谷歌);University of California Santa Barbara(加州大学圣芭芭拉分校)
Mask-GCG: Are All Tokens in Adversarial Suffixes Necessary for Jailbreak Attacks?
Politecnico di Milano(米兰理工学院);Beihang University(北京航空航天大学);East China Normal University(华东师范大学);Fudan University(复旦大学);University of the Chinese Academy of Sciences(中国科学院大学);AI Security Lab(360人工智能安全实验室)
Protum: A New Method For Prompt Tuning Based on "[MASK]"
University of Electronic Science and Technology of China(电子科技大学);Shenzhen Institute for Advanced Study, UESTC(电子科技大学深圳高等研究院);University of Electronic Science and Technology of China, Chengdu, China(电子科技大学成都校区)
Mask Tokens as Prophet: Fine-Grained Cache Eviction for Efficient dLLM Inference
School of Artificial Intelligence, Shanghai Jiao Tong University(上海交通大学人工智能学院);Huazhong University of Science and Technology(华中科技大学);University of Electronic Science and Technology of China(电子科技大学);Carnegie Mellon University(卡内基梅隆大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);Institute for Artificial Intelligence, Tsinghua University(清华大学人工智能研究院);Beijing National Research Center for Information Science and Technology(北京国家信息科学与技术研究中心);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Institute for AI Industry Research, Tsinghua University(清华大学人工智能产业研究院)
PMI-Masking: Principled masking of correlated spans
AI21 Labs(AI21实验室)
随机均匀地掩蔽标记构成了诸如BERT之类的掩蔽语言模型(Masked Language Models,MLMs)的预训练中的常见缺陷。我们表明,这种均匀的掩蔽允许MLM通过锁定浅本地信号来最小化其训练目标,从而导致预训练效率低下和次优下游性能。为了解决这一缺陷,我们提出了PMI-Masking,一个原则性的掩蔽策略的基础上的概念逐点互信息(PMI),共同掩盖一个令牌n元语法,如果它表现出高搭配的语料库。PMI掩蔽激励、统一和改进了先前的更启发式的方法,这些方法试图解决随机均匀标记掩蔽的缺点,例如全词掩蔽、实体/短语掩蔽和随机跨度掩蔽。具体来说,我们通过实验表明,PMI掩蔽在一半的训练时间内达到了先前掩蔽方法的性能,并且在训练结束时始终提高了性能。
Mask and You Shall Receive: Optimizing Masked Language Modeling For Pretraining BabyLMs
School of Computation, Information and Technology, TU Munich(计算、信息与技术学院,慕尼黑工业大学);Munich Center for Machine Learning(慕尼黑机器学习中心);Munich Data Science Institute(慕尼黑数据科学研究所)
Retrieval Oriented Masking Pre-training Language Model for Dense Passage Retrieval
Alibaba Group(阿里巴巴集团)
预训练的语言模型(PTM)已被证明产生强大的文本表示密集段落检索任务。Masked Language Modeling(MLM)是预训练过程的一个主要子任务。然而,我们发现,传统的随机掩蔽策略倾向于选择大量的令牌,对段落检索任务的影响有限(例如,停止词和标点符号)。通过注意到术语重要性权重可以为段落检索提供有价值的信息,我们在此提出了替代的面向检索的掩蔽(称为ROM)策略,其中更重要的标记将具有更高的被掩蔽的概率,以捕获这种简单而重要的信息,以促进语言模型预训练过程。值得注意的是,所提出的新的令牌掩蔽方法不会改变原始PTM的架构和学习目标。我们的实验验证了所提出的ROM使术语重要性信息,以帮助语言模型预训练,从而实现更好的性能多通道检索基准。