arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.20654cs.CLcs.AI
收藏

提示编码器模型进行零样本分类:意大利语的跨领域研究

Prompting Encoder Models for Zero-Shot Classification: A Cross-Domain Study in Italian

University of Pisa(比萨大学)

Serena Auriemma, Martina Miliani, Mauro Madeddu, Alessandro Bondielli, Lucia Passaro, Alessandro Lenci

AI总结:

本文探讨了在意大利官僚和法律语言中使用小型领域专用编码器模型结合提示技术进行零样本分类的可行性,发现进一步预训练的模型在领域特定任务中适应性更强,且校准和领域内动词化器显著提升了性能。

摘要:

解决专业领域和低资源语言中标注数据有限的挑战,对于有效使用语言模型(LMs)至关重要。尽管大多数大型语言模型(LLMs)是在通用英语语料库上训练的,但在专门针对意大利语定制的模型方面仍存在明显差距,尤其是在技术和官僚术语方面。本文探讨了采用更小的、特定领域的编码器语言模型并结合提示技术来提升这些专业场景下性能的可行性。我们的研究集中于意大利官僚和法律语言,对通用模型和进一步预训练的纯编码器模型进行了实验。我们在文档分类和实体类型标注等下游任务上评估了这些模型,并使用伪对数似然进行了内在评估。结果表明,尽管进一步预训练的模型在通用知识方面可能表现出鲁棒性下降,但它们在领域特定任务中展现出卓越的适应性,即使在零样本设置下也是如此。此外,校准技术和领域内动词化器的应用显著提升了编码器模型的有效性。这些领域专用模型被证明在领域内资源或专业知识稀缺的场景中特别有利。总之,我们的研究结果为意大利模型在专业场景中的使用提供了新见解,这可能对数字化转型时代的研究和工业应用产生重大影响。

英文摘要:

Addressing the challenge of limited annotated data in specialized fields and low-resource languages is crucial for the effective use of Language Models (LMs). While most Large Language Models (LLMs) are trained on general-purpose English corpora, there is a notable gap in models specifically tailored for Italian, particularly for technical and bureaucratic jargon. This paper explores the feasibility of employing smaller, domain-specific encoder LMs alongside prompting techniques to enhance performance in these specialized contexts. Our study concentrates on the Italian bureaucratic and legal language, experimenting with both general-purpose and further pre-trained encoder-only models. We evaluated the models on downstream tasks such as document classification and entity typing and conducted intrinsic evaluations using Pseudo-Log-Likelihood. The results indicate that while further pre-trained models may show diminished robustness in general knowledge, they exhibit superior adaptability for domain-specific tasks, even in a zero-shot setting. Furthermore, the application of calibration techniques and in-domain verbalizers significantly enhances the efficacy of encoder models. These domain-specialized models prove to be particularly advantageous in scenarios where in-domain resources or expertise are scarce. In conclusion, our findings offer new insights into the use of Italian models in specialized contexts, which may have a significant impact on both research and industrial applications in the digital transformation era.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑