NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Self-Evolution Learning for Discriminative Language Model Pretraining

Qihuang Zhong, Liang Ding, Juhua Liu, Bo Du, Dacheng Tao

Introduction

Masked Language Modeling (MLM) has established itself as the standard objective for pretraining discriminative language models like BERT and RoBERTa. By masking a random 15% of tokens and requiring the model to predict them, MLM forces the model to learn contextual representations. However, this random approach is linguistically agnostic and often inefficient. Masking high-frequency, low-information tokens (e.g., "the", "a") provides little signal, whereas masking crucial entities or complex terms forces the model to capture deep factual and contextual relationships.

While strategies like entity-level or span-level masking have been proposed to address this, they often rely on external NLP pipelines for tagging, which introduces computational overhead and deterministic biases. Furthermore, these methods typically require training models from scratch. This paper introduces Self-Evolution (SE) Learning, a method that allows a pretrained language model (PLM) to identify its own weaknesses and evolve through targeted continual pretraining.

The Self-Evolution Framework

The SE learning approach consists of a two-stage recipe designed to upgrade existing models efficiently without the need for external annotations.

1. Self-questioning Stage

Instead of relying on external parsers, the SE framework leverages the model's internal state. A frozen PLM processes the training corpus to identify "informative yet under-explored" tokens. This is achieved by measuring:

  • Correctness: Tokens where the model exhibits high cross-entropy loss.
  • Confidence: Tokens where the model shows high prediction entropy. Tokens that the model struggles with the most are prioritized for masking in the subsequent stage.

2. Self-evolution Training Stage

The model undergoes continual pretraining where the masking strategy is guided by the findings of the self-questioning stage. By focusing on these "hard-to-learn" tokens, the model is forced to refine its understanding of complex linguistic patterns and factual associations.

Token-specific Label Smoothing (TLS)

Training exclusively on difficult tokens carries the risk of overfitting or overconfidence in hard "one-hot" labels. To mitigate this, the authors introduce Token-specific Label Smoothing (TLS). Unlike standard label smoothing, which uses a uniform distribution, TLS mixes the ground-truth label with the PLM’s own prediction distribution for the unmasked version of the sentence. This acts as a form of self-distillation, providing a "virtual teacher" signal that guides the model with soft targets, preventing memorization and improving regularization.

Experimental Results

The effectiveness of SE was evaluated across a broad spectrum of benchmarks, including NLU tasks (GLUE, SuperGLUE), knowledge-intense tasks (SQuAD 2.0, SWAG), and factual probing (LAMA).

Performance Gains

SE consistently improved performance across various architectures compared to vanilla baselines:

  • BERT-base: +1.35 average score on GLUE/SuperGLUE.
  • BERT-large: +2.24 average score.
  • RoBERTa-base: +2.36 average score.
  • RoBERTa-large: +2.03 average score.

Notably, SE outperformed other masking strategies like span-level (+0.53 over baseline) and entity-level masking when applied in the same continual pretraining setting.

Factual Knowledge and Robustness

On the LAMA benchmark, which probes factual knowledge via zero-shot cloze tests, SE improved RoBERTa-base by +3.8 points. This suggests that the model captures deeper factual relationships rather than just surface-level syntax. Additionally, the model showed improved resilience against adversarial attacks on the AdvGLUE benchmark.

Analysis and Efficiency

A key finding of the research is the impact of SE on the model's loss landscape. Visualizations indicate that SE-trained models possess significantly flatter and smoother loss surfaces compared to vanilla MLM models. This theoretical property is a strong indicator of superior out-of-domain generalization, which was confirmed by zero-shot transfer tests where SE-equipped models outperformed baselines by an average of +2.90 points.

From a "Green AI" perspective, SE is highly efficient. It operates as a continual pretraining step requiring only two additional epochs, allowing researchers to "upgrade" existing models without the massive carbon footprint associated with training from scratch.

Conclusion

Self-Evolution learning demonstrates that language models can effectively serve as their own teachers. By identifying and focusing on their own "weak spots" and utilizing token-specific label smoothing, models can achieve significant gains in NLU, factual knowledge, and generalization. While currently validated on Base and Large scales, SE presents a promising, compute-efficient path for the evolution of discriminative language models.

Summary updated

BibTeX
@inproceedings{zhong2023self,
  author = {Qihuang Zhong and Liang Ding and Juhua Liu and Bo Du and Dacheng Tao},
  title = {{Self-Evolution Learning for Discriminative Language Model Pretraining}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.254},
}
Figure