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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Ni, Wei, Zhang, Kaihang, Miao, Xiaoye, Zhao, Xiangyu, Wu, Yangyang, Wang, Yaoshu, Yin, Jianwei
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910905614204928
author Ni, Wei
Zhang, Kaihang
Miao, Xiaoye
Zhao, Xiangyu
Wu, Yangyang
Wang, Yaoshu
Yin, Jianwei
author_facet Ni, Wei
Zhang, Kaihang
Miao, Xiaoye
Zhao, Xiangyu
Wu, Yangyang
Wang, Yaoshu
Yin, Jianwei
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2504_05345
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ZeroED: Hybrid Zero-shot Error Detection through Large Language Model Reasoning
Ni, Wei
Zhang, Kaihang
Miao, Xiaoye
Zhao, Xiangyu
Wu, Yangyang
Wang, Yaoshu
Yin, Jianwei
Machine Learning
Databases
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.
title ZeroED: Hybrid Zero-shot Error Detection through Large Language Model Reasoning
topic Machine Learning
Databases
url https://arxiv.org/abs/2504.05345