arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.06790cs.CLcs.AI
收藏

在零售银行交易标记的主题分类法自动创建与扩展中使用零样本提示

Using Zero-shot Prompting in the Automatic Creation and Expansion of Topic Taxonomies for Tagging Retail Banking Transactions

Pontifical Catholic University of Rio de Janeiro(里约热内卢天主教大学);BTG Pactual(BTG Pactual(巴西BTG银行))
Daniel de S. Moraes, Pedro T. C. Santos, Polyana B. da Costa, Matheus A. S. Pinto, Ivan de J. P. Pinto, Álvaro M. G. da Veiga, Sergio Colcher, Antonio J. G. Bus… 展开作者

Daniel de S. Moraes, Pedro T. C. Santos, Polyana B. da Costa, Matheus A. S. Pinto, Ivan de J. P. Pinto, Álvaro M. G. da Veiga, Sergio Colcher, Antonio J. G. Busson, Rafael H. Rocha, Rennan Gaio, Rafael Miceli, Gabriela Tourinho, Marcos Rabaioli, Leandro Santos, Fellipe Marques, David Favaro

AI总结:

本研究提出一种基于指令微调大语言模型的无监督方法,通过主题建模和零样本提示自动构建和扩展零售银行交易主题分类法,实验显示分类法一致性超90%,父节点预测F1超70%。

摘要:

本工作提出了一种无监督方法,利用基于指令微调的LLMs(大语言模型)自动构建和扩展主题分类法。我们应用主题建模和关键词提取技术创建初始主题分类法,并使用LLMs对生成的术语进行后处理以创建层次结构。为了用新术语扩展现有分类法,我们使用零样本提示来找出在哪里添加新节点,据我们所知,这是第一篇在分类法任务中提出此类方法的工作。我们使用生成的分类法分配标签,以表征来自零售银行数据集的商户。为了评估我们的工作,我们邀请12名志愿者回答一份分为两部分的问卷,首先评估所创建分类法的质量,然后评估基于该分类法分配给商户的标签。评估显示,所选分类法的一致性比率超过90%。使用LLMs扩展分类法在父节点预测方面也显示出令人鼓舞的结果,在我们的分类法中f1-score超过70%。

英文摘要:

This work presents an unsupervised method for automatically constructing and expanding topic taxonomies using instruction-based fine-tuned LLMs (Large Language Models). We apply topic modeling and keyword extraction techniques to create initial topic taxonomies and LLMs to post-process the resulting terms and create a hierarchy. To expand an existing taxonomy with new terms, we use zero-shot prompting to find out where to add new nodes, which, to our knowledge, is the first work to present such an approach to taxonomy tasks. We use the resulting taxonomies to assign tags that characterize merchants from a retail bank dataset. To evaluate our work, we asked 12 volunteers to answer a two-part form in which we first assessed the quality of the taxonomies created and then the tags assigned to merchants based on that taxonomy. The evaluation revealed a coherence rate exceeding 90% for the chosen taxonomies. The taxonomies' expansion with LLMs also showed exciting results for parent node prediction, with an f1-score above 70% in our taxonomies.

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

↑