arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.17447cs.CLcs.AIcs.IR
收藏

基于深度学习的食谱命名实体识别模型

Deep Learning Based Named Entity Recognition Models for Recipes

Infosys Centre of Artificial Intelligence, IIIT-Delhi(IIIT-德里 Infosys 人工智能中心);Department of Computational Biology, IIIT-Delhi(IIIT-德里 计算生物学系);Department of Computer Science, IIIT-Delhi(IIIT-德里 计算机科学系)

Mansi Goel, Ayush Agarwal, Shubham Agrawal, Janak Kapuriya, Akhil Vamshi Konam, Rishabh Gupta, Shrey Rastogi, Niharika, Ganesh Bagler

AI总结:

本文构建了手动标注、增强和机器标注三个食谱食材短语数据集,系统比较统计方法、深度学习微调和LLM少样本提示,发现微调spaCy-transformer效果最佳,宏F1超过95%。

摘要:

食物通过风味、营养、健康和可持续性等多种途径影响着我们的生活。食谱是跨越世代通过非结构化文本传播的文化载体。用于识别命名实体(食谱文本的基本构成单元)的自动化协议对于从信息提取到新食谱生成等各种应用具有巨大价值。命名实体识别是一种从具有已知标签的非结构化或半结构化数据中提取信息的技术。我们从手动标注的6,611个食材短语开始,累计创建了一个包含26,445个短语的增强数据集。同时,我们系统地清理并分析了来自黄金标准食谱数据存储库RecipeDB的食材短语,并使用Stanford NER对其进行标注。基于分析结果,我们采用基于聚类的方法抽取了88,526个短语的子集,在保持多样性的同时创建了机器标注数据集。对这三个数据集上的NER方法进行了深入调查,涉及统计方法、基于深度学习语言模型的微调以及大语言模型(LLMs)上的少样本提示,获得了深刻的见解。我们得出结论:LLMs上的少样本提示性能极差,而微调后的spaCy-transformer成为最佳模型,在手动标注、增强和机器标注数据集上的宏F1分数分别达到95.9%、96.04%和95.71%。

英文摘要:

Food touches our lives through various endeavors, including flavor, nourishment, health, and sustainability. Recipes are cultural capsules transmitted across generations via unstructured text. Automated protocols for recognizing named entities, the building blocks of recipe text, are of immense value for various applications ranging from information extraction to novel recipe generation. Named entity recognition is a technique for extracting information from unstructured or semi-structured data with known labels. Starting with manually-annotated data of 6,611 ingredient phrases, we created an augmented dataset of 26,445 phrases cumulatively. Simultaneously, we systematically cleaned and analyzed ingredient phrases from RecipeDB, the gold-standard recipe data repository, and annotated them using the Stanford NER. Based on the analysis, we sampled a subset of 88,526 phrases using a clustering-based approach while preserving the diversity to create the machine-annotated dataset. A thorough investigation of NER approaches on these three datasets involving statistical, fine-tuning of deep learning-based language models and few-shot prompting on large language models (LLMs) provides deep insights. We conclude that few-shot prompting on LLMs has abysmal performance, whereas the fine-tuned spaCy-transformer emerges as the best model with macro-F1 scores of 95.9%, 96.04%, and 95.71% for the manually-annotated, augmented, and machine-annotated datasets, respectively.

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

↑