paper-with-me

Papers

A Causal Language Modeling Detour Improves Encoder Continued Pretraining

2026-05-12 · Rian Touchent, Eric de la Clergerie arxiv

When adapting an encoder to a new domain, the standard approach is to continue training with Masked Language Modeling (MLM). We show that temporarily switching to Causal Language Modeling (CLM) followed by a short MLM decay improves downstream performance. On biomedical texts with ModernBERT, this CLM detour outperforms MLM baselines trained on identical data and compute across 8 French and 11 English biomedical tasks, by +1.2-2.8pp and +0.3-0.8pp respectively, depending on model size. We investigate the reasons for these gains. We find that CLM's dense supervision impacts low transformer layers (0-7) far more than MLM does. Freezing low layers during CLM eliminates the downstream benefit; freezing mid layers preserves it. The representational changes persist through the MLM decay phase, even when it matches the CLM phase in length, and they scale with model capacity. We release ModernCamemBERT-bio and ModernBERT-bio as state-of-the-art biomedical encoders in Base and Large sizes.

📄 PDF Abstract BibTeX arXiv:2605.12438

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Active Causal Structure Learning with Latent Variables: Towards Learning to Detour in Autonomous Robots

2024-10-28 · Pablo de los Riscos, Fernando Corbacho

Artificial General Intelligence (AGI) Agents and Robots must be able to cope with everchanging environments and tasks. They must be able to actively construct new internal causal models of their interactions with the env…

Looking Right is Sometimes Right: Investigating the Capabilities of Decoder-only LLMs for Sequence Labeling

2024-01-25 · David Dukić, Jan Šnajder

Pre-trained language models based on masked language modeling (MLM) excel in natural language understanding (NLU) tasks. While fine-tuned MLM-based encoders consistently outperform causal language modeling decoders of co…

Causal Language ModelingDecoderLanguage ModelingLanguage Modelling+2

Optical Context Compression Is Just (Bad) Autoencoding

2025-12-03 · Ivan Yee Lee, Cheng Yang, Taylor Berg-Kirkpatrick arxiv

DeepSeek-OCR shows that rendered text can be reconstructed from a small number of vision tokens, sparking excitement about using vision as a compression medium for long textual contexts. But this pipeline requires render…

AntLM: Bridging Causal and Masked Language Models

2024-12-04 · Xinru Yu, Bin Guo, Shiwei Luo, Jie Wang 외

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 p…

Causal Language ModelingDecoderLanguage ModelingLanguage Modelling+1

Detours for Navigating Instructional Videos

2024-01-03 · CVPR 2024 1 · Kumar Ashutosh, Zihui Xue, Tushar Nagarajan, Kristen Grauman

We introduce the video detours problem for navigating instructional videos. Given a source video and a natural language query asking to alter the how-to video's current path of execution in a certain way, the goal is to …

16kQuestion AnsweringRetrievalVideo Retrieval