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

CICLe:用于大规模多类食品风险分类的保形上下文学习

CICLe: Conformal In-Context Learning for Largescale Multi-Class Food Risk Classification

Stockholm University(斯德哥尔摩大学);Athens University of Economics and Business(雅典经济与商业大学);Archimedes/Athena RC(阿基米德/雅典娜研究中心)

Korbinian Randl, John Pavlopoulos, Aron Henriksson, Tony Lindgren

AI总结:

针对食品风险分类问题,发布了7,546条多粒度标注的召回文本数据集,并基于Conformal Prediction提出LLM-in-the-loop框架,在提升分类性能的同时降低能耗。

摘要:

受污染或掺假的食品对人类健康构成重大风险。给定用于训练的已标注网络文本集,可以应用机器学习和自然语言处理来自动检测此类风险。我们发布了一个包含7,546条描述公开食品召回公告的短文本数据集。每条文本均在两个粒度级别(粗粒度和细粒度)上被手动标注,以标明召回所对应的食品产品和危害。我们描述了该数据集,并对朴素模型、传统模型和Transformer模型进行了基准测试。基于我们的分析,基于tf-idf表示的Logistic Regression在低支持度的类别上优于RoBERTa和XLM-R。最后,我们讨论了不同的提示策略,并提出了一个基于Conformal Prediction的LLM-in-the-loop框架,该框架提升了基础分类器的性能,同时与常规提示相比降低了能耗。

英文摘要:

Contaminated or adulterated food poses a substantial risk to human health. Given sets of labeled web texts for training, Machine Learning and Natural Language Processing can be applied to automatically detect such risks. We publish a dataset of 7,546 short texts describing public food recall announcements. Each text is manually labeled, on two granularity levels (coarse and fine), for food products and hazards that the recall corresponds to. We describe the dataset and benchmark naive, traditional, and Transformer models. Based on our analysis, Logistic Regression based on a tf-idf representation outperforms RoBERTa and XLM-R on classes with low support. Finally, we discuss different prompting strategies and present an LLM-in-the-loop framework, based on Conformal Prediction, which boosts the performance of the base classifier while reducing energy consumption compared to normal prompting.

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

↑