arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.05345cs.LGcs.DB
收藏

ZeroED:通过大语言模型推理的混合零样本错误检测

ZeroED: Hybrid Zero-shot Error Detection through Large Language Model Reasoning

Center for Data Science, Zhejiang University(浙江大学数据科学中心);The State Key Lab of Brain-Machine Intelligence, Zhejiang University(浙江大学脑机智能国家重点实验室);Department of Data Science, City University of Hong Kong(香港城市大学数据科学系);Software College, Zhejiang University(浙江大学软件学院);Shenzhen Institute of Computing Sciences(深圳计算科学研究院);College of Computer Science, Zhejiang University(浙江大学计算机科学学院)

Wei Ni, Kaihang Zhang, Xiaoye Miao, Xiangyu Zhao, Yangyang Wu, Yaoshu Wang, Jianwei Yin

AI总结:

本文提出 ZeroED 混合零样本错误检测框架,结合 LLM 推理与人工标签流程,通过特征表示、聚类采样和标签传播降低 token 成本,在七个数据集上实现 F1 最大提升 30%、token 成本最多降低 90%。

摘要:

表格数据中的错误检测(ED)至关重要,但由于错误类型多样且需要上下文理解,因此具有挑战性。传统的错误检测方法通常严重依赖人工制定的标准和标签,导致劳动密集。大语言模型(LLM)可以最大限度地减少人工工作,但难以处理需要对数据上下文有全面理解的错误。在本文中,我们提出了 ZeroED,一种新颖的混合零样本错误检测框架,它将 LLM 的推理能力与基于人工标签的错误检测流程相结合。ZeroED 分四个步骤运行,即特征表示、错误标注、训练数据构建和检测器训练。首先,为了增强错误区分能力,ZeroED 使用错误原因感知的二元特征、预训练嵌入和统计特征生成丰富的数据表示。然后,ZeroED 通过上下文学习,在两步推理过程的指导下,采用 LLM 对错误进行整体标注,以获得详细的错误检测指南。为了降低 token 成本,LLM 仅应用于通过基于聚类的采样选出的代表性数据。通过簇内标签传播和带验证的 LLM 增强,构建高质量的训练数据。最后,训练一个分类器来检测所有错误。在七个公共数据集上的大量实验表明,ZeroED 显著优于最先进的方法,F1 分数最大提高了 30%,token 成本最多降低了 90%。

英文摘要:

Error detection (ED) in tabular data is crucial yet challenging due to diverse error types and the need for contextual understanding. Traditional ED methods often rely heavily on manual criteria and labels, making them labor-intensive. Large language models (LLM) can minimize human effort but struggle with errors requiring a comprehensive understanding of data context. In this paper, we propose ZeroED, a novel hybrid zero-shot error detection framework, which combines LLM reasoning ability with the manual label-based ED pipeline. ZeroED operates in four steps, i.e., feature representation, error labeling, training data construction, and detector training. Initially, to enhance error distinction, ZeroED generates rich data representations using error reason-aware binary features, pre-trained embeddings, and statistical features. Then, ZeroED employs LLM to label errors holistically through in-context learning, guided by a two-step reasoning process for detailed error detection guidelines. To reduce token costs, LLMs are applied only to representative data selected via clustering-based sampling. High-quality training data is constructed through in-cluster label propagation and LLM augmentation with verification. Finally, a classifier is trained to detect all errors. Extensive experiments on seven public datasets demonstrate that, ZeroED substantially outperforms state-of-the-art methods by a maximum 30% improvement in F1 score and up to 90% token cost reduction.

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

↑