NagaNLP:通过人类在循环中的合成数据对低资源纳加拉语克里奥尔语进行NLP的自举
NagaNLP: Bootstrapping NLP for Low-Resource Nagamese Creole with Human-in-the-Loop Synthetic Data
AI总结:
NagaNLP通过人类在循环中的合成数据生成,为低资源纳加拉语克里奥尔语提供了一个开源工具包,实现了词性标注和命名实体识别的高精度模型。
摘要:
世界上绝大多数语言,特别是像纳加拉语克里奥尔语这样的语言,在自然语言处理(NLP)中仍然严重缺乏资源,这在数字技术中对它们的表示构成了重大障碍。本文介绍了NagaNLP,这是一个针对纳加拉语的综合性开源工具包,通过一种新的方法学进行自举,该方法学依赖于由大语言模型驱动但由人类验证的合成数据生成。我们详细描述了一个多阶段流程,其中由专家指导的LLM(Gemini)生成候选语料库,然后由母语者进行精炼和标注。这种合成-混合方法产生了1万对对话数据集和一个高质量的标注语料库,用于基础任务。为了评估我们方法的有效性,我们训练了判别和生成模型。我们微调的XLM-RoBERTa-base模型在纳加拉语中建立了新的基准,实现了93.81%的准确性(0.90 F1-宏平均)在词性标注上,并在命名实体识别上实现了0.75 F1-宏平均,远超强大的零样本基线。此外,我们微调了一个Llama-3.2-3B Instruct模型,命名为NagaLLaMA,该模型在对话任务上表现出色,实现了3.85的困惑度,比其少样本版本(96.76)提高了一个数量级。我们发布了NagaNLP工具包,包括所有数据集、模型和代码,为之前未被服务的语言提供了基础资源,并为其他低资源情境中的数据稀缺性减少提供了可重复的框架。
英文摘要:
The vast majority of the world's languages, particularly creoles like Nagamese, remain severely under-resourced in Natural Language Processing (NLP), creating a significant barrier to their representation in digital technology. This paper introduces NagaNLP, a comprehensive open-source toolkit for Nagamese, bootstrapped through a novel methodology that relies on LLM-driven but human-validated synthetic data generation. We detail a multi-stage pipeline where an expert-guided LLM (Gemini) generates a candidate corpus, which is then refined and annotated by native speakers. This synthetic-hybrid approach yielded a 10K pair conversational dataset and a high-quality annotated corpus for foundational tasks. To assess the effectiveness of our methodology, we trained both discriminative and generative models. Our fine-tuned XLM-RoBERTa-base model establishes a new benchmark for Nagamese, achieving a 93.81\% accuracy (0.90 F1-Macro) on Part-of-Speech tagging and a 0.75 F1-Macro on Named Entity Recognition, massively outperforming strong zero-shot baselines. Furthermore, we fine-tuned a Llama-3.2-3B Instruct model, named NagaLLaMA, which demonstrates superior performance on conversational tasks, achieving a Perplexity of 3.85, an order of magnitude improvement over its few-shot counterpart (96.76). We release the NagaNLP toolkit, including all datasets, models, and code, providing a foundational resource for a previously underserved language and a reproducible framework for reducing data scarcity in other low-resource contexts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。