IndoBERT-Relevancy: 一种基于上下文的印尼语相关性分类器
IndoBERT-Relevancy: A Context-Conditioned Relevancy Classifier for Indonesian Text
AI总结:
本文提出IndoBERT-Relevancy,通过迭代失败驱动的数据构建过程,展示单一数据源不足以实现鲁棒的相关性分类,目标合成数据可有效解决模型弱点,最终模型在印尼语正式和非正式文本上达到F1 0.948和准确率96.5%。
摘要:
确定文本是否与给定主题相关是自然语言处理中的基础任务,但对印尼语而言仍鲜有研究。不同于情感分析或命名实体识别,相关性分类要求模型同时推理两个输入之间的关系:主题上下文和候选文本。我们引入IndoBERT-Relevancy,基于IndoBERT Large(335M参数)和一个包含31,360个标注对(涵盖188个主题)的新数据集训练。通过迭代、失败驱动的数据构建过程,我们证明单一数据源不足以实现鲁棒的相关性分类,目标合成数据能有效解决特定模型弱点。最终模型在印尼语正式和非正式文本上达到F1分数0.948和准确率96.5%。模型已在HuggingFace公开。
英文摘要:
Determining whether a piece of text is relevant to a given topic is a fundamental task in natural language processing, yet it remains largely unexplored for Bahasa Indonesia. Unlike sentiment analysis or named entity recognition, relevancy classification requires the model to reason about the relationship between two inputs simultaneously: a topical context and a candidate text. We introduce IndoBERT-Relevancy, a context-conditioned relevancy classifier built on IndoBERT Large (335M parameters) and trained on a novel dataset of 31,360 labeled pairs spanning 188 topics. Through an iterative, failure-driven data construction process, we demonstrate that no single data source is sufficient for robust relevancy classification, and that targeted synthetic data can effectively address specific model weaknesses. Our final model achieves an F1 score of 0.948 and an accuracy of 96.5%, handling both formal and informal Indonesian text. The model is publicly available at HuggingFace.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。