为性能而剪枝:使用 mBERT 在低资源孔卡尼语中进行高效的习语与隐喻分类
Pruning for Performance: Efficient Idiom and Metaphor Classification in Low-Resource Konkani Using mBERT
AI总结:
针对低资源孔卡尼语比喻语言识别难题,提出融合 mBERT、BiLSTM 与线性分类器的混合模型,并采用基于梯度的注意力头剪枝提升效率,在隐喻与习语分类上分别达到 78% 和 83% 准确率。
摘要:
本文解决比喻性语言表达给自然语言处理(NLP)系统带来的持续挑战,尤其是在孔卡尼语等低资源语言中。我们提出一种混合模型,将预训练的 Multilingual BERT(mBERT)与双向 LSTM 及线性分类器相结合。该架构在本研究中新引入并构建的带注释隐喻分类数据集上进行微调。为提升模型效率,我们实施了一种基于梯度的注意力头剪枝策略。在隐喻分类任务中,剪枝后的模型达到 78% 的准确率。我们还将该剪枝方法应用于扩展一个现有的习语分类任务,取得了 83% 的准确率。这些结果证明了注意力头剪枝在为代表性不足的语言构建高效 NLP 工具方面的有效性。
英文摘要:
In this paper, we address the persistent challenges that figurative language expressions pose for natural language processing (NLP) systems, particularly in low-resource languages such as Konkani. We present a hybrid model that integrates a pre-trained Multilingual BERT (mBERT) with a bidirectional LSTM and a linear classifier. This architecture is fine-tuned on a newly introduced annotated dataset for metaphor classification, developed as part of this work. To improve the model's efficiency, we implement a gradient-based attention head pruning strategy. For metaphor classification, the pruned model achieves an accuracy of 78%. We also applied our pruning approach to expand on an existing idiom classification task, achieving 83% accuracy. These results demonstrate the effectiveness of attention head pruning for building efficient NLP tools in underrepresented languages.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。