AntLM: Bridging Causal and Masked Language Models
Xinru Yu, Bin Guo, Shiwei Luo, Jie Wang, Tao Ji, Yuanbin Wu

TL;DR
AntLM introduces a new language modeling paradigm that combines causal and masked training objectives, improving training efficiency and performance of foundation models by leveraging the strengths of both approaches.
Contribution
The paper proposes AntLM, a novel paradigm integrating CLM and MLM, demonstrating improved training performance on foundation models.
Findings
AntLM improves macro-average performance by 1% on BabyLlama.
AntLM achieves a 2.2% increase over baselines on LTG-BERT.
Combining CLM and MLM leverages their respective advantages.
Abstract
Causal Language Modeling (CLM) and Masked Language Modeling (MLM) are two mainstream learning paradigms based on Transformer networks, specifically the Decoder-only and Encoder-only architectures. The strengths of each paradigm in downstream tasks have shown a mix of advantages and disadvantages. In the past BabyLM Challenge 2023, although the MLM paradigm achieved the best average performance, the CLM paradigm demonstrated significantly faster convergence rates. For the BabyLM Challenge 2024, we propose a novel language modeling paradigm named , which integrates both CLM and MLM to leverage the advantages of these two classic paradigms. We chose the strict-small track and conducted experiments on two foundation models: BabyLlama, representing CLM, and LTG-BERT, representing MLM. During the training process for specific foundation models, we alternate between applying…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Speech and dialogue systems · Topic Modeling
MethodsAbsolute Position Encodings · Residual Connection · Adam · Attention Is All You Need · Softmax · Label Smoothing · Dropout · Dense Connections · Layer Normalization · Linear Layer
