Masked Language Modeling (MLM) has been one of the most prominent approaches for pretraining bidirectional text encoders due to its simplicity and effectiveness. One notable concern about MLM is that the special $\texttt{[MASK]}$ symbol causes a discrepancy between pretraining data and downstream data as it is present only in pretraining but not in fine-tuning. In this work, we offer a new perspective on the consequence of such a discrepancy: We demonstrate empirically and theoretically that MLM pretraining allocates some model dimensions exclusively for representing $\texttt{[MASK]}$ tokens, resulting in a representation deficiency for real tokens and limiting the pretrained model's expressiveness when it is adapted to downstream data without $\texttt{[MASK]}$ tokens. Motivated by the identified issue, we propose MAE-LM, which pretrains the Masked Autoencoder architecture with MLM where $\texttt{[MASK]}$ tokens are excluded from the encoder. Empirically, we show that MAE-LM improves the utilization of model dimensions for real token representations, and MAE-LM consistently outperforms MLM-pretrained models across different pretraining settings and model sizes when fine-tuned on the GLUE and SQuAD benchmarks.
Variable Name Recovery in Decompiled Binary Code using Constrained Masked Language Modeling
Arizona State University(亚利桑那州立大学)
反编译是将二进制程序转换为高级表示(如源代码)以供人类分析人员检查的过程。虽然现代反编译器可以重建和恢复在编译过程中丢弃的许多信息,但推断变量名仍然非常困难。受自然语言处理最新进展的启发,我们提出了一种新的解决方案来推断反编译代码中的变量名称,基于掩码语言建模,字节对编码和神经架构,如Transformers和BERT。我们的解决方案需要\textit{raw}反编译器的输出,语义意义不大的代码,作为输入,并丰富它使用我们提出的\textit{finetuning}技术,约束屏蔽语言建模。使用受约束的掩码语言建模引入了预测原始变量名的掩码标记数量的挑战。我们解决这个\textit{count of token prediction}的挑战与我们的后处理算法。与最先进的方法相比,我们训练的VarBERT模型更简单,性能更好。我们在一个包含164,632个二进制文件的现有大规模数据集上评估了我们的模型,并表明它可以预测与原始源代码中相同的变量名称,高达84.15%。
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(慕尼黑数据科学研究所)
Contextual Representation Learning beyond Masked Language Modeling
Peking University(北京大学);ByteDance AI Lab(字节跳动人工智能实验室);University of California, Santa Barbara(加州大学圣巴巴拉分校)
掩蔽语言模型(Masked Language Models,MLMs)如BERT如何学习上下文表示?在这项工作中,我们分析了学习动态的MLMs。我们发现,多语言模型采用抽样嵌入作为锚来估计和注入上下文语义的表示,这限制了多语言模型的效率和有效性。为了解决这些问题,我们提出了TACO,一个简单而有效的表示学习方法,直接建模全局语义。TACO提取并对齐隐藏在上下文表示中的上下文语义,以鼓励模型在生成上下文表示时关注全局语义。在GLUE基准测试上的实验表明,TACO实现了高达5倍的加速比和高达1.2点的平均改善现有的MLMs。该代码可在https://github.com/FUZHIYI/TACO上获得。
On the Inductive Bias of Masked Language Modeling: From Statistical to Syntactic Dependencies
Stanford University(斯坦福大学)
我们研究了如何以无监督的方式掩蔽和预测令牌可以产生语言结构和下游性能增益。最近的理论表明,预训练的语言模型通过隐含地充当下游任务的完形填空缩减的掩码来获得有用的归纳偏差。虽然有吸引力,我们表明,在实践中使用的随机掩蔽策略的成功,不能解释这样的完形填空式的面具。我们使用三个不同分类数据集的特定任务词典构建了类似完形填空的掩码,并表明大多数预训练的性能增益来自与词典无关的通用掩码。为了解释这些通用面具的经验成功,我们证明了掩蔽语言模型(MLM)的目标和现有的方法之间的对应关系,学习统计依赖的图形模型。使用此,我们推导出一种方法,用于提取这些学习的统计依赖MLMs,并表明这些依赖编码有用的归纳偏见的形式的句法结构。在无监督解析评估中,简单地在隐含的统计依赖结构上形成最小生成树优于无监督解析的经典方法(58.74 vs. 55.91 UUAS)。
CoT-MAE v2: Contextual Masked Auto-Encoder with Multi-view Modeling for Passage Retrieval
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Kuaishou Technology(快手科技)
From Masked Language Modeling to Translation: Non-English Auxiliary Tasks Improve Zero-shot Spoken Language Understanding
IT University of Copenhagen(哥本哈根信息技术大学);Factmata(Factmata公司);Tokyo Metropolitan University(东京都立大学);University of Groningen(格罗宁根大学);University of Trento(特伦托大学);Fondazione The Microsoft Research – University of Trento Centre for Computational and Systems Biology (COSBI)(微软研究院-特伦托大学计算与系统生物学中心基金会(COSBI))
Cross-Modal Masked Compositional Concept Modeling for Enhancing Visio-Linguistic Compositionality
MoE Key Laboratory of Brain-inspired Intelligent Perception and Cognition, University of Science and Technology of China(中国科学技术大学,教育部脑启发智能感知与认知重点实验室);Independent Researcher(独立研究员)