The choice of which tokens to mask is an under-examined design decision in masked language modeling (MLM). Standard pretraining masks tokens uniformly at random, whereas content-aware masking schemes can improve downstream transfer. We study masking as a task-adaptive component of the fine-tuning pipeline and introduce Typhoon, a masking strategy that uses the gradient of the MLM loss with respect to one-hot token inputs to estimate online how much each token type contributes to the objective. Typhoon maintains an exponential moving average of per-token-type saliency and calibrates these scores into a masking distribution whose expected masking rate matches a target budget under a token-independence approximation. We formalize the method and evaluate it against random masking and whole-word masking on two GLUE tasks, MRPC and CoLA, across three BERT-family backbones (TinyBERT, DistilBERT, and BERT-base) and five random seeds per configuration ($90$ training runs in total). Once seed variance is accounted for, no masking strategy is reliably better than the others on these tasks: on MRPC the gap between Typhoon and the best baseline stays within $0.004$ $F_1$, across all twelve Typhoon comparisons no paired test reaches significance, and every $95\%$ confidence interval contains zero. Inspecting Typhoon's learned distribution explains why: budget-preserving min-max calibration compresses the gradient ranking into a narrow band whose Kullback-Leibler divergence from uniform random masking is $7\times 10^{-4}$ nats per token, and widening the calibration spread by an order of magnitude in KL still leaves downstream accuracy unchanged within seed noise. Typhoon's apparent advantage in single-run experiments does not survive multi-seed evaluation, showing that gradient-based task-adaptive masking is competitive with, but does not outperform, uniform random masking at this scale.
On the Inductive Bias of Masked Language Modeling: From Statistical to Syntactic Dependencies
Stanford University(斯坦福大学)
我们研究了如何以无监督的方式掩蔽和预测令牌可以产生语言结构和下游性能增益。最近的理论表明,预训练的语言模型通过隐含地充当下游任务的完形填空缩减的掩码来获得有用的归纳偏差。虽然有吸引力,我们表明,在实践中使用的随机掩蔽策略的成功,不能解释这样的完形填空式的面具。我们使用三个不同分类数据集的特定任务词典构建了类似完形填空的掩码,并表明大多数预训练的性能增益来自与词典无关的通用掩码。为了解释这些通用面具的经验成功,我们证明了掩蔽语言模型(MLM)的目标和现有的方法之间的对应关系,学习统计依赖的图形模型。使用此,我们推导出一种方法,用于提取这些学习的统计依赖MLMs,并表明这些依赖编码有用的归纳偏见的形式的句法结构。在无监督解析评估中,简单地在隐含的统计依赖结构上形成最小生成树优于无监督解析的经典方法(58.74 vs. 55.91 UUAS)。
Masked Thought: Simply Masking Partial Reasoning Steps Can Improve Mathematical Reasoning Learning of Language Models
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Alibaba Group(阿里巴巴集团);Computational Bioscience Research Center, KAUST(阿卜杜拉国王科技大学计算生物科学研究中心)
Retrieval Oriented Masking Pre-training Language Model for Dense Passage Retrieval
Alibaba Group(阿里巴巴集团)
预训练的语言模型(PTM)已被证明产生强大的文本表示密集段落检索任务。Masked Language Modeling(MLM)是预训练过程的一个主要子任务。然而,我们发现,传统的随机掩蔽策略倾向于选择大量的令牌,对段落检索任务的影响有限(例如,停止词和标点符号)。通过注意到术语重要性权重可以为段落检索提供有价值的信息,我们在此提出了替代的面向检索的掩蔽(称为ROM)策略,其中更重要的标记将具有更高的被掩蔽的概率,以捕获这种简单而重要的信息,以促进语言模型预训练过程。值得注意的是,所提出的新的令牌掩蔽方法不会改变原始PTM的架构和学习目标。我们的实验验证了所提出的ROM使术语重要性信息,以帮助语言模型预训练,从而实现更好的性能多通道检索基准。
uChecker: Masked Pretrained Language Models as Unsupervised Chinese Spelling Checkers
College of Computer Science and Technology(计算机科学与技术学院);Nanjing University of Aeronautics and Astronautics(南京航空航天大学);MIIT Key Laboratory of Pattern Analysis and Machine Intelligence(工业和信息化部模式分析与机器智能重点实验室)
PMI-Masking: Principled masking of correlated spans
AI21 Labs(AI21实验室)
随机均匀地掩蔽标记构成了诸如BERT之类的掩蔽语言模型(Masked Language Models,MLMs)的预训练中的常见缺陷。我们表明,这种均匀的掩蔽允许MLM通过锁定浅本地信号来最小化其训练目标,从而导致预训练效率低下和次优下游性能。为了解决这一缺陷,我们提出了PMI-Masking,一个原则性的掩蔽策略的基础上的概念逐点互信息(PMI),共同掩盖一个令牌n元语法,如果它表现出高搭配的语料库。PMI掩蔽激励、统一和改进了先前的更启发式的方法,这些方法试图解决随机均匀标记掩蔽的缺点,例如全词掩蔽、实体/短语掩蔽和随机跨度掩蔽。具体来说,我们通过实验表明,PMI掩蔽在一半的训练时间内达到了先前掩蔽方法的性能,并且在训练结束时始终提高了性能。
MedFLIP: Medical Vision-and-Language Self-supervised Fast Pre-Training with Masked Autoencoder
University of Copenhagen(哥本哈根大学);Tsinghua University(清华大学);Shanghai Medical Image Insights(上海医学影像洞察);Harvard University(哈佛大学);University of Waterloo(滑铁卢大学)