对比三种Transformer方法,提升非洲小语种巴马拉语翻译效果
A comparison of pipelines for the translation of a low resource language based on transformers
- 用简单Transformer、LLaMA3微调和师生蒸馏三类流程训练翻译模型
- 最简Transformer在巴马拉语数据集上达10% BLEU、21% chrF最佳表现
- 适合低资源语言研究者参考,尤其关注医疗与多领域翻译场景
本文比较了三种基于Transformer的神经网络训练流程,用于为非洲曼德语系的巴马拉语(约1418万使用者)构建机器翻译系统。第一种流程训练简单Transformer模型,实现法语到巴马拉语翻译;第二种使用解码器架构的LLaMA3(3B-8B)指令模型进行微调;第三种采用师生蒸馏,将巴马拉语融入预训练的LaBSE模型并扩展为BERT结构生成翻译。所有流程在Dokotoro(医学)和Bayelemagaba(混合领域)数据集上测试。结果表明,最简Transformer虽简单但性能最优,在Bayelemagaba上达到10% BLEU、21% chrF;在自建Yiri数据集上达33.81% BLEU、41% chrF。指令模型在单一数据集上优于整合数据集,说明其更擅长捕捉特定数据模式。
原文摘要 · Abstract (English)
This work compares three pipelines for training transformer-based neural networks to produce machine translators for Bambara, a Mandè language spoken in Africa by about 14,188,850 people. The first pipeline trains a simple transformer to translate sentences from French into Bambara. The second fine-tunes LLaMA3 (3B-8B) instructor models using decoder-only architectures for French-to-Bambara translation. Models from the first two pipelines were trained with different hyperparameter combinations to improve BLEU and chrF scores, evaluated on both test sentences and official Bambara benchmarks. The third pipeline uses language distillation with a student-teacher dual neural network to integrate Bambara into a pre-trained LaBSE model, which provides language-agnostic embeddings. A BERT extension is then applied to LaBSE to generate translations. All pipelines were tested on Dokotoro (medical) and Bayelemagaba (mixed domains). Results show that the first pipeline, although simpler, achieves the best translation accuracy (10% BLEU, 21% chrF on Bayelemagaba), consistent with low-resource translation results. On the Yiri dataset, created for this work, it achieves 33.81% BLEU and 41% chrF. Instructor-based models perform better on single datasets than on aggregated collections, suggesting they capture dataset-specific patterns more effectively.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。