K-文化的一切——从回归到 K-美妆,发送到您的邮箱订阅邮件

METAL MEDIA

NE-BERT: A Multilingual Language Model for Nine Northeast Indian Languages

arXiv:2608.180942026-08-20

为印度东北部9种少数民族语言从零训练的语言模型,理解能力反而超过大型多语言模型

隶属于MWire Labs的研究者用约830万个句子训练出名为NE-BERT的语言模型,涵盖印度东北部9种本土语言以及印地语、英语。针对句子数量极少的语言,例如只有1002句的Pnar语,团队采用了加权采样和定制分词器(把文本切成模型可处理片段的工具)来解决词汇被切碎的问题。结果显示,NE-BERT在衡量语言模型预测能力的困惑度指标上,平均分别比IndicBERT-V2和MuRIL好15.97倍和7.64倍。

METAL MEDIA 解读图

为印度东北部9种少数民族语言从零训练的语言模型,理解能力反而超过大型多语言模型

  1. 01印度东北部拥有超过200种语言,但现有多语言模型几乎没有覆盖这一地区
  2. 02团队收集了Assamese、Garo、Khasi、Meitei、Mizo、Naga、Nyishi、Pnar、Kokborok九种语言加上印地语和英语共约830万句,并在训练分词器时对Pnar(1002句)、Kokborok(2463句)这类极度稀缺语言进行100倍上采样,防止词汇被拆成无意义的字符碎片
  3. 03没有采用常见的字节对编码(BPE)方法,而是选用SentencePiece Unigram方式,构建了一个含5万368个词元的定制分词器,其切词效率比mBERT高1.50倍
  4. 04在困惑度指标(数值越低表示预测越好)上,NE-BERT在9种东北部语言上平均达到2.21,远优于IndicBERT-V2的35.29和MuRIL的16.88,在Pnar、Nyishi等极低资源语言上差距尤其明显,基线模型几乎失效
  5. 05在词性标注这一实际下游任务上,NE-BERT在Khasi、Mizo、Nagamese三种语言上平均准确率达82.4%,比mBERT高9.1个百分点,比IndicBERT-V2高23.2个百分点,而整个模型训练仅用单张A40 GPU耗时约17小时,成本7.31美元
这是 METAL MEDIA 制作的解读图,并非论文作者提供的原图。

他们做了什么

  1. 印度东北部拥有超过200种语言,但现有多语言模型几乎没有覆盖这一地区
  2. 团队收集了Assamese、Garo、Khasi、Meitei、Mizo、Naga、Nyishi、Pnar、Kokborok九种语言加上印地语和英语共约830万句,并在训练分词器时对Pnar(1002句)、Kokborok(2463句)这类极度稀缺语言进行100倍上采样,防止词汇被拆成无意义的字符碎片
  3. 没有采用常见的字节对编码(BPE)方法,而是选用SentencePiece Unigram方式,构建了一个含5万368个词元的定制分词器,其切词效率比mBERT高1.50倍
  4. 在困惑度指标(数值越低表示预测越好)上,NE-BERT在9种东北部语言上平均达到2.21,远优于IndicBERT-V2的35.29和MuRIL的16.88,在Pnar、Nyishi等极低资源语言上差距尤其明显,基线模型几乎失效
  5. 在词性标注这一实际下游任务上,NE-BERT在Khasi、Mizo、Nagamese三种语言上平均准确率达82.4%,比mBERT高9.1个百分点,比IndicBERT-V2高23.2个百分点,而整个模型训练仅用单张A40 GPU耗时约17小时,成本7.31美元
Figure 2: Representative sentences from each Northeast Indian language in our corpus. For Bengali-Assamese script languages (Assamese, Meitei), both the original script and Latin transliterations (in italics) are shown.
Figure 2: Representative sentences from each Northeast Indian language in our corpus. For Bengali-Assamese script languages (Assamese, Meitei), both the original script and Latin transliterations (in italics) are shown.
Table 1: Corpus statistics showing sentence counts, token counts for NE languages, virtual counts after weighted sampling for tokenizer training, language families, and data sources.
LanguageISOSentencesTokensVirtual CountWeightFamilySource
Anchor Languages
Hindihin3,404,007170,2000.05×Indo-AryanHF Datasets
Englisheng500,000100,0000.2×GermanicHF Datasets
Northeast Indian Languages
Meiteimni1,354,32342,504,1811,354,3231.0×Sino-TibetanCurated
Assameseasm1,000,00038,652,3911,000,0001.0×Indo-AryanCurated
Khasikha1,000,00017,472,6061,000,0001.0×AustroasiaticCurated
Mizolus1,000,00026,774,1641,000,0001.0×Sino-TibetanCurated
Nyishinjz55,870560,3741,117,40020.0×Sino-TibetanWMT 2025
Naganag13,918508,980278,36020.0×Sino-TibetanCurated
Garogrt10,817243,251216,34020.0×Sino-TibetanCurated
Kokboroktrp2,46389,851246,300100.0×Sino-TibetanWMT 2025
Pnarpbv1,00252,144100,200100.0×AustroasiaticCurated
NE Total4,438,393126,857,942
Overall Total8,342,4006,583,123
Table 2: Model architecture comparison showing parameter counts, layer depth, hidden dimension, and attention heads.
ModelParamsLayersHiddenHeads
NE-BERT149M2276812
mBERT110M1276812
IndicBERT-V2237M12102416
MuRIL236M24102416
Table 3: Perplexity on 500-sentence test sets. NE-BERT achieves lowest average across all 9 NE languages.
LanguageNE-BERTIB-V2MuRILmBERT
Assamese1.769.015.621.65
Meitei1.893.773.221.44
Khasi1.272.401.931.36
Mizo1.908.957.002.44
Garo2.6426.3715.883.64
Kokborok1.729.155.412.23
Pnar2.9266.9239.655.30
Naga1.493.833.391.81
Nyishi4.33187.2075.806.05
English1.5514.815.572.64
Hindi1.4310.085.751.79
NE Avg.2.2135.2916.882.77
Overall2.1731.1415.382.76
Table 4: Tokenization fertility (tokens per word) across all 9 NE languages. Lower values indicate more efficient tokenization. NE-BERT achieves lowest average fertility across NE languages.
LanguageNE-BIB-V2MuRILmB
Assamese1.631.611.723.80
Meitei1.522.773.014.17
Khasi1.311.771.781.78
Mizo1.361.731.791.78
Garo2.372.842.802.89
Kokborok2.072.072.222.19
Pnar1.611.691.691.67
Naga1.561.931.771.97
Nyishi1.672.342.442.36
NE Avg.1.682.082.142.51
Table 5: Bits per character (BPC) across all 9 NE languages. Lower is better. NE-BERT achieves lowest average BPC.
LanguageNE-BIB-V2MuRmB
Assamese0.2300.8800.7310.442
Meitei0.2200.8150.7780.331
Khasi0.0920.4450.3360.158
Mizo0.2721.1631.0630.486
Garo0.5031.9971.6630.800
Kokborok0.2771.1360.9260.433
Pnar0.6802.7952.4461.092
Naga0.1710.7090.5940.321
Nyishi0.7893.7633.2311.306
English0.1900.8620.5580.328
Hindi0.1920.8630.6590.345
NE Avg.0.3591.5451.3070.597
Overall0.3471.4971.2710.590
Table 6: POS tagging accuracy (%) on test sets. NE-BERT outperforms all baselines across all languages.
LanguageNE-BERTmBERTIB-V2MuRIL
Khasi87.782.380.161.2
Mizo73.266.355.743.1
Nagamese86.471.341.744.8
Average82.473.359.249.7

为什么重要

这项工作说明,对于几乎没有数字化资料的语言,精心设计数据配比和分词方式比单纯扩大模型规模更关键,从而能以极低成本训练出有效的语言模型。团队以CC-BY-4.0协议开源了模型、训练代码和数据集,为资源匮乏的语言社区提供了可直接使用的起点。

本文术语

  • 困惑度(Perplexity) · 衡量语言模型预测文本能力的指标,数值越低说明预测越准确
  • 分词效率(fertility) · 分词器把一个单词平均拆成几个片段的数值,越低说明分词越高效
  • SentencePiece Unigram · 一种基于概率的子词切分方法,相比贪婪式方法更能保留结构复杂的单词
  • 加权采样 · 人为提高稀缺语言在训练数据中的比重,以缓解数据不平衡问题
  • 掩码语言建模(MLM) · 一种训练方式,遮住句子的部分内容,让模型学习预测被遮住的词

论文原文摘要(英文)

Large pretrained language models have demonstrated remarkable capabilities across diverse languages, yet critically underrepresented low-resource languages remain marginalized. We present NE-BERT, a domain-specific multilingual encoder model trained on approximately 8.3 million sentences spanning 9 Northeast Indian languages and 2 anchor languages (Hindi, English), a linguistically diverse region with minimal representation in existing multilingual models. By employing weighted data sampling and a custom SentencePiece Unigram tokenizer, NE-BERT outperforms IndicBERT-V2 and MuRIL across all 9 Northeast Indian languages, achieving 15.97X and 7.64X lower average perplexity respectively, with 1.50X better tokenization fertility than mBERT. We address critical vocabulary fragmentation issues in extremely low-resource languages such as Pnar (1,002 sentences) and Kokborok (2,463 sentences) through aggressive upsampling strategies. Downstream evaluation on part-of-speech tagging validates practical utility on three Northeast Indian languages. We release NE-BERT, test sets, and training corpus under CC-BY-4.0 to support NLP research and digital inclusion for Northeast Indian communities.

作者 · Badal Nyalang

在 arXiv 阅读

最新论文

全部论文 →

METAL MEDIA 最新报道

图片来源: Badal Nyalang et al., arXiv:2608.18094, CC BY 4.0