cs.LGSep 5, 2026

Data Quality Rule Generation with LLMs

Authors: Anna-Christina Glock, Thomas Hütter, Johannes Fürnkranz, Wolfram Wöß, Christine Dominka-Kiss, Lisa Ehrlinger

Organizations: Software Competence Center Hagenberg, Austria · Johannes Kepler University Linz, Austria · Austrian Post Vienna, Austria · Hasso Plattner Institute, University of Potsdam Potsdam, Germany

Abstract

The validation of data, such as customer and employee data, is an important task in many organizations. Errors in data can have severe consequences. For example, a wrong drug unit in a patient record can lead to life-threatening medication errors, and a missing street number in an address to failed deliveries. Companies often employ rule-based enterprise data quality (DQ) tools, which allow domain experts to specify rules to validate the data over time. While rule-based DQ tools are computationally efficient and provide explainable reports, maintaining a comprehensive rule set manually is challenging, as domain experts often overlook essential rules, especially in complex domains and large data volumes. Hence, closing these gaps remains an open problem in practice. In this paper, we address the challenge of automated DQ rule generation. For this, we formalize a generalizable generate-filter framework and introduce LeDQeR, an LLM-based DQ rule generation approach. First, a large language model (LLM) generates candidates rules from an observed dirty data tuple for a given rule-based DQ tool syntax. Second, we apply four filter techniques that ensure the (i) executability, (ii) correctness, and (iii) generalizability, and avoid (iv) redundancy of the generated rules. An extensive experimental evaluation suggests that LeDQeR is able to produce effective and compact rule sets for various datasets and error types.

Figures & tables

Explore similar work

CardsList
  1. AuDQ: Auditable Data Quality through Agentic Rule Discovery

    Oct 19, 2026Jacopo Biggiogera, Nicolas Colombo, Krati Saxena +2

  2. Implementation Guidelines for Data Quality Metrics

    Oct 7, 2026Philipp Jung, Katinka Becker, Felix Biessmann +4

  3. When Do LLMs Actually Help? Evaluating LLMs as Data Quality Annotators

    Aug 13, 2026Praphulla Lal ShresthaLLM-Assisted AnnotationLLM Evaluation