小规模中文BERT预训练:MLM、WWM与MacBERT策略的对照研究
摘要
这篇论文在极小规模(8.7M 参数、4 层)的中文 BERT 上严格控制变量,对比了 MLM、WWM 和 MacBERT 三种预训练策略,发现小规模下的策略排名(MLM > WWM ≫ MacBERT)与大规模结论相反,并指出 MacBERT 在同义词词典覆盖不足时会出现困惑度严重退化、训练损失不可靠的问题。
查看缓存全文
缓存时间: 2026/10/08 12:38
# Tiny-Scale Chinese BERT Pretraining: A Controlled Comparison of MLM, WWM, and MacBERT Strategies
Source: [https://arxiv.org/html/2610.08879](https://arxiv.org/html/2610.08879)
October 2026
###### Abstract
Pretraining strategies significantly impact the quality of language models, yet existing comparisons of Masked Language Modeling \(MLM\), Whole Word Masking \(WWM\), and MacBERT\-style replacement have focused primarily on base\-scale models \(≥\\geq110M parameters\)\. This paper presents a controlled comparison of these three strategies on a tiny\-scale Chinese BERT model \(4 layers, 256 hidden dimensions, 8\.7M parameters\)\. Under identical architecture, corpus \(1\.29M sentences from Chinese Wikipedia\), and hyperparameters, we train three models from scratch and evaluate them across five intrinsic dimensions: perplexity, MLM hit rate, semantic discrimination, grammatical judgment, and contextual sensitivity\. At tiny scale, MLM achieves the best overall intrinsic performance \(winning 3 of 5 dimensions\), while WWM excels in both perplexity \(1\.27 vs\. 2\.10, a 39\.5% improvement\) and MLM hit rate \(22% vs\. 16%\)\. Notably, MacBERT under a severely limited synonym dictionary \(222 entries, 3\.3% coverage\) exhibits severe perplexity degradation \(47\.23, 22×\\timeshigher than MLM\), yielding a ranking \(MLM\>\>WWM≫\\ggMacBERT\) that differs markedly from the established base\-scale conclusion \(MacBERT\>\>WWM\>\>MLM\)\. We further identify a critical evaluation pitfall: MacBERT achieves the lowest training loss \(2\.17\) yet the highest perplexity \(47\.23\), revealing that training loss alone is unreliable under mixed replacement strategies\. All models and corpus are publicly available at[https://huggingface\.co/eebyp](https://huggingface.co/eebyp)\.
Keywords:BERT, pretraining strategies, masked language modeling, whole word masking, MacBERT, tiny\-scale models, Chinese NLP, synonym dictionary coverage
## 1Introduction
The evolution of BERT pretraining strategies—from MLM\[[1](https://arxiv.org/html/2610.08879#bib.bib1)\]to WWM\[[2](https://arxiv.org/html/2610.08879#bib.bib2)\]to MacBERT\[[2](https://arxiv.org/html/2610.08879#bib.bib2)\]—has been systematically validated at base scale \(12 layers, 768 hidden dimensions, 110M parameters\) for Chinese language understanding\. However, the growing demand for edge deployment \(embedded devices, mobile phones, real\-time inference\) has created an urgent need for tiny\-scale models \(<<15M parameters\)\. Currently, no controlled comparison of these three strategies exists at tiny scale, leaving practitioners without evidence\-based guidance for pretraining strategy selection\.
This paper addresses this gap by presenting a controlled comparison of MLM, WWM, and MacBERT on a tiny\-scale Chinese BERT model\. Our key design principle is*strict variable control*: all three models share identical architecture \(4 layers / 256 hidden / 4 attention heads / 8\.7M parameters\), training corpus \(1\.29M sentences from Chinese Wikipedia\), and hyperparameters \(batch size 64, learning rate10−410^\{\-4\}, 5 epochs, AdamW optimizer\)\. The only variable is the masking strategy\.
Our contributions are:
1. 1\.Systematic comparison at tiny scale: We provide empirical evidence that the base\-scale ranking \(MacBERT\>\>WWM\>\>MLM\) may not hold under the resource constraints typical of tiny\-scale experiments\. Our findings suggest that pretraining strategy rankings are not scale\-invariant, and that the benefits of synonym\-based correction critically depend on both model capacity and dictionary coverage\.
2. 2\.Five\-dimensional evaluation framework: Beyond perplexity, we evaluate semantic discrimination, grammatical judgment, and contextual sensitivity, revealing strategy\-dependent trade\-offs invisible to single\-metric evaluation\.
3. 3\.MacBERT degradation under limited resources: We identify a perplexity anomaly \(47\.23 vs\. 2\.10 for MLM\) caused by the interaction between MacBERT’s mixed fallback strategy and a small synonym dictionary \(222 entries, 3\.3% coverage\), with implications for reproducibility in resource\-constrained settings\.
4. 4\.Full reproducibility: All models and corpus are publicly available \(see Appendix[A](https://arxiv.org/html/2610.08879#A1)\); the complete experiment requires only a single consumer\-grade GPU \(NVIDIA T4\) and approximately 15 hours\.
## 2Related Work
### 2\.1BERT Pretraining Strategies
Masked Language Modeling \(MLM\)\[[1](https://arxiv.org/html/2610.08879#bib.bib1)\]randomly masks 15% of tokens and replaces them with a special \[MASK\] token using an 80\-10\-10 strategy \(80% \[MASK\], 10% random replacement, 10% unchanged\)\. This creates a pretraining\-finetuning mismatch since \[MASK\] tokens do not appear during downstream tasks\.
Whole Word Masking \(WWM\)\[[2](https://arxiv.org/html/2610.08879#bib.bib2)\]addresses the subword fragmentation problem in Chinese: since WordPiece tokenizes Chinese characters individually, MLM may mask only one character of a multi\-character word, allowing the model to cheat from context\. WWM masks all subword tokens of a word simultaneously, requiring an external Chinese word segmenter \(e\.g\., LTP or jieba\)\.
MacBERT\(MLM as Correction\)\[[2](https://arxiv.org/html/2610.08879#bib.bib2)\]replaces masked tokens with synonyms rather than \[MASK\], eliminating the pretraining\-finetuning mismatch\. The original implementation uses large synonym resources \(HowNet\[[3](https://arxiv.org/html/2610.08879#bib.bib3)\]or Cilin\) with coverage exceeding 80%\.
### 2\.2Small\-Scale BERT Research
Several lines of work have explored smaller BERT variants: knowledge distillation \(TinyBERT\[[4](https://arxiv.org/html/2610.08879#bib.bib4)\], DistilBERT\[[5](https://arxiv.org/html/2610.08879#bib.bib5)\]\), architecture compression \(MobileBERT\[[6](https://arxiv.org/html/2610.08879#bib.bib6)\]\), and community conventions for model sizing\. Importantly, nearly all existing small\-model work relies on distillation or compression from a pretrained teacher, rather than comparing pretraining strategies from scratch\. Our work differs fundamentally: we pretrain three models from scratch under different masking strategies, making the comparison purely about masking strategy effects without confounding distillation artifacts\.
### 2\.3The Scale Invariance Gap
A critical implicit assumption in the pretraining strategy literature is that strategy rankings established at one scale transfer to other scales\. The influential comparison by Cui et al\.\[[2](https://arxiv.org/html/2610.08879#bib.bib2)\]demonstrates MacBERT\>\>WWM\>\>MLM at base scale \(110M parameters\); distillation\-based work \(TinyBERT, MobileBERT, DistilBERT\) inherits the teacher’s strategy by design, effectively hiding the strategy\-selection question inside the distillation pipeline\. However, whether the relative merits of masking strategies remain stable as model capacity drops by an order of magnitude—and whether synonym\-based correction degrades gracefully or catastrophically under limited dictionary resources—remains an open empirical question\. This gap is not merely academic: as edge deployment drives demand for sub\-15M\-parameter models, practitioners need evidence\-based guidance on strategy selection rather than defaulting to base\-scale conclusions\. Our study directly addresses this gap\.
## 3Methodology
### 3\.1Model Architecture
All three models use identical BERT configuration \(see Appendix[B](https://arxiv.org/html/2610.08879#A2)for per\-epoch training logs\):
### 3\.2Pretraining Strategies
v1 \(MLM\):Uses HuggingFaceDataCollatorForLanguageModelingwith standard 80\-10\-10 replacement at 15% masking probability\.
v2 \(WWM\):Custom DataCollator that uses jieba segmentation to identify word boundaries, then masks all subword tokens of selected words simultaneously\. This introduces a CPU bottleneck \(jieba segmentation reduces training speed by 18%: 5\.4 vs\. 6\.6 it/s for MLM\)\.
v3 \(MacBERT\):Custom DataCollator with a*mixed fallback strategy*: selected tokens are replaced with synonyms when available \(from a built\-in dictionary of 222 entries, 3\.3% coverage of the top\-1000 vocabulary tokens\), and fall back to \[MASK\] when no synonym is found\. This ensures 15% effective replacement rate, comparable to v1/v2\.
### 3\.3Controlled Variable Design
The core methodological contribution is strict variable control:
## 4Experimental Setup
### 4\.1Corpus
We use Chinese Wikipedia \(snapshot: 20260501,fjcanyue/wikipedia\-zh\-cn\), selecting 50,000 articles\. After preprocessing \(HTML removal, sentence segmentation at 10–128 characters, deduplication\), the corpus contains 1,287,957 sentences \(137 MB\), covering 11 domains including agriculture, politics, linguistics, music, gaming, history, and sports\. The corpus is publicly available aseebyp/BypCorpus\-hf\-wiki\-zh\-v1on Hugging Face\.
### 4\.2Training Environment
All experiments were conducted on Google Colab Pro with a single NVIDIA Tesla T4 GPU \(15 GB VRAM\)\. Total training time for all three models was approximately 15 hours\. Training hyperparameters: batch size 64, 20,125 steps per epoch, 100,625 total steps, warmup ratio 0\.1, checkpoints saved every 1,000 steps\.
### 4\.3Five\-Dimensional Evaluation
We design a five\-dimensional evaluation framework to capture different aspects of language understanding:
1. 1\.Perplexity\(lower is better\): Standard information\-theoretic metric computed over 12 held\-out text passages\.
2. 2\.MLM Hit Rate\(higher is better\): 50 fill\-in\-the\-blank questions from the corpus covering 5 domains \(agriculture, history, linguistics, technology, geography\); measures factual recall\.
3. 3\.Semantic Discrimination\(larger difference is better\): Cosine similarity of \[CLS\] embeddings for same\-topic vs\. different\-topic sentence pairs \(10\+10 pairs\); measures representation quality\.
4. 4\.Grammatical Judgment\(higher is better\): 25 pairs of grammatical vs\. ungrammatical sentences \(word\-order scrambling, complete reversal, function\-word omission, semantic anomaly\); the model should assign lower perplexity to grammatical sentences\.
5. 5\.Contextual Sensitivity\(lower similarity is better\): Average cosine similarity of three polysemous characters \(dǎ‘to hit’,kāi‘to open’,shàng‘up/on’\) each across three different contexts \(9 sentences total\); lower values indicate better context\-dependent representations\.
## 5Results
### 5\.1Training Loss Comparison
Table 1:Training loss at key checkpointsWWM consistently achieves lower loss than MLM from step 1, with the gap widening throughout training \(from 0\.01 to 0\.6\)\. MacBERT exhibits an unusual trajectory: its loss initially*increases*from 8\.26 to 8\.66 \(step 1,000 to 5,000\) before declining rapidly to 2\.17 by training end\. Despite achieving the lowest final loss, this is misleading—as we show below, it reflects the lowest perplexity*among training examples*rather than genuine language understanding\.
### 5\.2Five\-Dimensional Evaluation \(Core Results\)
Table 2:Five\-dimensional evaluation results\.↓\\downarrow: lower is better;↑\\uparrow: higher is better\. Best result per dimension inbold\.
### 5\.3Analysis by Dimension
Perplexity—WWM significantly outperforms MLM \(−\-39\.5%\)\.WWM’s whole\-word masking enables the model to learn language statistics at the word level, avoiding the “fragmented” learning objective of token\-level MLM\.
MLM Hit Rate—WWM leads, but absolute values remain low\.WWM achieves 11/50 \(22%\), while MLM and MacBERT both score 8/50 \(16%\)\. With 50 questions across 5 domains, the ranking is more reliable than the previous 10\-question evaluation, yet absolute values remain low, suggesting that precise fact memory depends more on model capacity and data scale than masking strategy\.
Semantic Discrimination—MLM outperforms WWM\.MLM’s gap between same\-topic and different\-topic similarity \(0\.0972\) exceeds WWM \(0\.0573\) and MacBERT \(0\.0190\)\. Analysis reveals that WWM’s representations are globally “compressed” \(both same\-topic: 0\.9341 and different\-topic: 0\.8768 similarities are higher than MLM’s 0\.8910/0\.7938\)\. This*representation compression effect*remains robust with 20 pairs \(10\+10\), a novel finding of this study\.
Grammatical Judgment—MLM and MacBERT tie, WWM slightly lower\.MLM and MacBERT both achieve 19/25 \(76%\), while WWM scores 17/25 \(68%\)\. Despite lower perplexity, WWM is worse at detecting ungrammatical sentences\. The representation compression effect may reduce sensitivity to word\-order anomalies\.
Contextual Sensitivity—MLM is best\.MLM’s polyseme similarity across three characters \(0\.7708\) is lower than MacBERT \(0\.8120\) and WWM \(0\.8783\)\. With three characters instead of one, MacBERT’s contextual sensitivity \(0\.8120\) is no longer anomalous, suggesting the previous 0\.9610 was an artifact of single\-character small\-sample bias\.
MacBERT Perplexity Anomaly\.v3’s perplexity of 47\.23 \(22×\\timeshigher than MLM\) is the most notable observation in this study\. Despite achieving the lowest training loss \(2\.17\), the model exhibits severe degradation in language modeling quality\. We attribute this to the interaction between the mixed fallback strategy and the small synonym dictionary \(222 entries, 3\.3% coverage\): the 0\.1% synonym replacements may teach the model a shortcut of “copying semantically similar words from context,” degrading its \[MASK\] prediction ability\. Importantly, training loss is computed only over the replaced positions during pretraining, whereas perplexity is evaluated over the full sequence—this measurement mismatch explains the apparent paradox\.
### 5\.4Overall Ranking
Table 3:Overall ranking at tiny scale vs\. base scaleThe ranking observed under our resource constraints is notably different from the base\-scale conclusion\. It should be emphasized that our MacBERT implementation uses a severely limited synonym dictionary \(3\.3% coverage vs\.\>\>80% in the original work\); thus, the poor MacBERT performance may reflect implementation limitations under resource constraints rather than a fundamental flaw in the strategy itself\.
## 6Discussion
Important caveat:Our MacBERT results should be interpreted as the performance of the strategy under severely limited synonym resources \(222 entries, 3\.3% coverage\), not as a refutation of MacBERT under ideal conditions with large dictionaries such as HowNet or Cilin\. The findings in this section are most applicable to resource\-constrained reproduction scenarios\.
### 6\.1Engaging with Cui et al\. \(2021\): Boundary Conditions, Not Refutation
Cui et al\.\[[2](https://arxiv.org/html/2610.08879#bib.bib2)\]establish MacBERT\>\>WWM\>\>MLM at base scale, attributing MacBERT’s advantage to eliminating the pretraining\-finetuning mismatch introduced by \[MASK\] tokens\. Our results invite a more nuanced reading of this conclusion\. We propose that the MacBERT advantage implicitly presupposes*sufficient model capacity to absorb synonym signals*and*sufficient dictionary coverage to provide reliable synonym substitutions*\. When both conditions are violated simultaneously—8\.7M parameters with a 222\-entry dictionary \(3\.3% coverage\)—synonym replacement ceases to function as a corrective signal and instead introduces a new form of training\-evaluation mismatch: the model learns to “copy nearby words from context” on the rare occasions when synonyms are available \(0\.1% of masked positions\), while the remaining 99\.4% of positions still require standard \[MASK\] prediction\. This hybrid signal is neither clean MLM nor genuine synonym correction, but a degraded intermediate that satisfies neither objective well\.
This interpretation reframes MacBERT’s design choice of retaining∼\\sim10% \[MASK\]/random replacement \(Cui et al\., 2021, Table 2\): rather than an engineering compromise, this mixed strategy may serve as a*regularizer*that prevents the model from over\-relying on synonym\-based shortcuts—a regularization effect that becomes critical when dictionary coverage is incomplete\. Our finding thus provides a boundary\-condition complement to Cui et al\.’s conclusion: MacBERT’s superiority holds when dictionary coverage is high and model capacity is sufficient, but the ranking may reverse under resource constraints\. We emphasize that MacBERT’s synonym replacement remains a valuable contribution to MLM pretraining; our results identify its operating conditions rather than question its validity\.
### 6\.2Why Does the Ranking Differ at Tiny Scale?
We hypothesize two complementary explanations:
\(1\) Limited model capacity\.At 8\.7M parameters, the model has limited capacity to benefit from the additional semantic signal provided by synonym replacement\. The “shortcut learning” effect of even rare synonym replacements \(0\.1%\) may disproportionately influence a small model’s representations\.
\(2\) Dictionary coverage insufficiency\.Our built\-in dictionary \(222 entries, 3\.3% coverage\) is far smaller than the HowNet/Cilin resources used in the original MacBERT \(\>\>80% coverage\)\. The degraded performance may reflect an implementation limitation rather than a fundamental flaw in the MacBERT strategy\.
Regardless of the explanation, our result suggests that*base\-scale strategy rankings may not directly apply to tiny\-scale experiments under comparable resource constraints*\.
### 6\.3MacBERT Dictionary Coverage Dependency
During MacBERT implementation, we discovered that the strategy’s effectiveness is highly dependent on synonym dictionary coverage\. Our initial implementation \(pure synonym replacement without fallback\) with a 222\-entry dictionary caused the effective replacement rate to drop from 15% to∼\\sim0\.5%, resulting in anomalously fast loss decrease \(0\.42 at step 7,227 vs\.∼\\sim6 for MLM/WWM\)—not because the model learned well, but because effective training signals were reduced to∼\\sim1/30 of MLM/WWM\.
We implemented a*mixed fallback strategy*\(synonym replacement when available, \[MASK\] fallback otherwise\) to restore the 15% effective rate\. However, even with this fix, the final model exhibits severe perplexity degradation \(47\.23\), suggesting that the mere presence of rare synonym replacements can disrupt model learning in small\-dictionary scenarios\.
Practical guidance:
### 6\.4Evaluation Pitfall: Low Loss≠\\neqGood Model
MacBERT achieves the lowest training loss \(2\.17\) yet the highest perplexity \(47\.23\)\. This paradox arises because training loss and perplexity measure different things under mixed replacement strategies:
- •Training loss: Computed over the specific positions and token types seen during training \(dominated by “easy” synonym positions\)
- •Perplexity: Computed over all positions in held\-out text \(requiring general language modeling ability\)
Recommendation:Pretraining strategy comparisons must report both training loss and perplexity \(plus multi\-dimensional metrics\)\. Low loss with high perplexity is a signature signal of training\-evaluation objective mismatch\.
### 6\.5Limitations
1. 1\.No downstream task validation \(primary limitation\): We have not verified whether intrinsic metric differences transfer to downstream tasks \(text classification, NER, semantic matching\)\. Without downstream fine\-tuning experiments, the practical significance of the observed ranking differences remains uncertain\.
2. 2\.Evaluation sample size: Although expanded from the initial evaluation \(MLM: 10→\\to50 questions, grammar: 5→\\to25 pairs, semantic: 6→\\to20 pairs, context: 1→\\to3 characters\), larger test sets would further strengthen statistical confidence\.
3. 3\.MacBERT dictionary limitation: Our 222\-entry dictionary \(3\.3% coverage\) is far smaller than HowNet/Cilin \(\>\>80%\); v3 results represent MacBERT performance under severely limited synonym resources, not under ideal conditions\. The ranking reversal should therefore be interpreted as specific to resource\-constrained settings\. Future work with a complete synonym dictionary \(\>\>50k entries\) would clarify whether MacBERT recovers its base\-scale advantage under full resource conditions at tiny scale\.
4. 4\.Corpus scale: 137 MB is small compared to industrial\-scale corpora \(GB\-level\); models may not have fully learned language statistics\.
5. 5\.Chinese only: Results may not generalize to other languages\.
6. 6\.Absolute performance: MLM hit rate of 10% indicates the tiny model is not suitable for direct production use\.
## 7Conclusion
We presented a controlled comparison of MLM, WWM, and MacBERT pretraining strategies on a tiny\-scale Chinese BERT model \(8\.7M parameters\)\. Under identical architecture, corpus, and hyperparameters, our five\-dimensional intrinsic evaluation reveals that: \(1\) MLM achieves the best overall intrinsic performance at tiny scale, winning 3 of 5 evaluation dimensions; \(2\) WWM excels in both perplexity \(1\.27 vs\. 2\.10, a 39\.5% improvement\) and MLM hit rate \(22% vs\. 16%\), but exhibits representation compression that reduces discrimination ability; \(3\) MacBERT under a severely limited synonym dictionary \(222 entries, 3\.3% coverage\) exhibits severe perplexity degradation \(47\.23, 22×\\timeshigher than MLM\), revealing a critical dependency on dictionary coverage\.
The strategy ranking observed under our resource constraints \(MLM\>\>WWM≫\\ggMacBERT\) differs markedly from the established base\-scale ranking \(MacBERT\>\>WWM\>\>MLM\)\. This difference should be interpreted with caution, as our MacBERT implementation operates under severely limited synonym resources that do not reflect ideal conditions\. Nevertheless, this finding is practically valuable: many practitioners reproducing MacBERT in resource\-constrained settings face similar dictionary limitations\.
These findings provide practical guidance: \(1\) standard MLM is the safest choice at tiny scale; \(2\) MacBERT’s effectiveness depends critically on synonym dictionary coverage and should be used with caution when large dictionaries are unavailable; \(3\) pretraining evaluation must go beyond training loss to include perplexity and multi\-dimensional metrics, as the loss\-perplexity mismatch observed here is a signature signal of training\-evaluation objective misalignment\. More broadly, our results caution against the common but potentially erroneous assumption that pretraining strategy rankings established at base scale transfer unchanged to the tiny\-scale, resource\-constrained regime—a scale invariance hypothesis that our evidence suggests does not hold\.
## References
- \[1\]J\. Devlin, M\.\-W\. Chang, K\. Lee, and K\. Toutanova, “BERT: Pre\-training of deep bidirectional transformers for language understanding,” in*Proc\. NAACL*, 2019\.[https://arxiv\.org/abs/1810\.04805](https://arxiv.org/abs/1810.04805)
- \[2\]Y\. Cui, W\. Che, T\. Liu, B\. Qin, Z\. Wang, and T\. Liu, “Pre\-training with whole word masking for Chinese BERT,”*IEEE/ACM Trans\. Audio, Speech, Language Process\.*, 2021\.[https://arxiv\.org/abs/1906\.08101](https://arxiv.org/abs/1906.08101)
- \[3\]Z\. Dong and Q\. Dong, “HowNet—A Hybrid Language and Knowledge Ontology,”[http://www\.keenage\.com](http://www.keenage.com/), 2006\.
- \[4\]X\. Jiao*et al\.*, “TinyBERT: Distilling BERT for natural language understanding,” in*Proc\. EMNLP Findings*, 2020\.[https://arxiv\.org/abs/1909\.10351](https://arxiv.org/abs/1909.10351)
- \[5\]V\. Sanh, L\. Debut, J\. Chaumond, and T\. Wolf, “DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter,”*arXiv preprint*, 2019\.[https://arxiv\.org/abs/1910\.01108](https://arxiv.org/abs/1910.01108)
- \[6\]Z\. Sun*et al\.*, “MobileBERT: a compact task\-aware BERT for mobile devices,”*arXiv preprint*, 2020\.[https://arxiv\.org/abs/2004\.02984](https://arxiv.org/abs/2004.02984)
## Appendix AModel and Resource Links
## Appendix BDetailed Training Logs
Training was conducted on Google Colab Pro with NVIDIA Tesla T4 \(15 GB\)\. Per\-epoch average loss:
Note: MacBERT’s low loss does not indicate better performance \(see §[6](https://arxiv.org/html/2610.08879#S6)\)\.相似文章
通用多模态嵌入究竟何种方法真正有效?一项关于对比训练策略的受控研究
该论文在统一可控的基准框架下系统评估了多模态嵌入学习中的各类对比训练策略,发现大多数策略相比标准对齐基线仅有边际收益甚至带来负面影响,并提出结合难负样本挖掘、假负样本缓解与难批次构建的协同训练方案,在MMEB上以Qwen2-VL-2B平均提升6.0%。
大规模语法概念标注:部署的微调小语言模型超越提示式前沿模型
论文提出用经过筛选和再平衡的教师监督信号微调 Qwen3.5 小模型(0.8B/4B),在语法概念标注任务上超越提示式 GPT-5.4/GPT-5.6 Sol,同时将服务成本降低约 16 倍,并在线上实验中显著提升学习者参与度与业务指标。
UltraBERT:突破 BERT 预训练的极限
UltraBERT 重新审视了双向编码器的预训练设计选择,揭示了在超过数万亿 token 后性能趋于饱和、分类与检索任务之间掩码比例的权衡,并提出了一种双 LM 头蒸馏方法,在 GLUE(91.0)和 BEIR(47.7)上均达到了最先进的性能。
词与道:面向德国医学自然语言处理的领域特定BERT预训练策略
本文介绍了ChristBERT,一个基于RoBERTa的面向德国临床NLP的领域特定语言模型家族,并在医学命名实体识别和文本分类任务上评估了三种领域适应策略(继续预训练、从头预训练和词汇适应),取得了最先进的结果。
# 微调长存:针对特定任务的Transformer在Reddit虚假信息回复分类中优于零样本LLM
# 悉尼科技大学研究人员对比微调 Transformer 与零样本 LLM 在 Reddit 虚假信息回应分类任务中的表现 悉尼科技大学的研究人员对微调 Transformer 模型(DistilBERT、RoBERTa)与零样本 LLM(Llama 系列、Claude、Gemini)在 Reddit 虚假信息回应分类任务中的性能进行了比较,发现微调后的 RoBERTa 达到了 0.62 的宏观 F1 分数,而最佳零样本模型仅为 0.50。研究表明,针对特定任务的微调优于更大规模的通用模型,在检测信念传播方面尤为突出,同时前沿模型中的安全对齐机制可能会对模型性能产生负面影响。