arXiv:2610.08189cs.DBOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.08189

Strength Is Not Value: Rethinking Approximate Functional Dependency Measures for Error Detection

Xiaolong Wan, Xixian Han

Abstract

Approximate functional dependency (AFD) strength measures are commonly used to prioritize candidate dependencies, including when selected dependencies support downstream tasks such as error detection. This practice implicitly assumes that dependencies ranked higher by strength are also better candidates for the task they are intended to support. We test this assumption directly for error detection. We evaluate detection value through precision and recall without imposing a single weighting on different error types, and introduce an explicit false-positive/false-negative cost only when a single candidate-selection objective is required. Across three real-world relations from an established AFD benchmark, 1,155 corruption-and-detection runs, and 513,480 candidate-level evaluations, we find a clear asymmetry. Strength measures tend to track precision positively, but their associations with recall are substantially less stable, with both magnitude and direction varying across measures and experimental settings. Strength-based prioritization is also unreliable at the ranking level: top-k sets chosen by strength often have little overlap with those favored by actual detection performance, and strength-based selections can incur substantial regret. An important part of the recall mismatch is associated with structural detection opportunity under the candidate equivalence-class partition, which tracks recall more consistently overall than the strength measures we evaluate. Corruption mechanism and several static structural properties account

for selected effects but do not provide a common explanation across settings, leaving part of the mismatch unresolved. Overall, AFD strength and detection value are distinct and should be evaluated separately.

Keywords Approximate functional dependencies · Error detection · Dependency strength measures · Task-aligned evaluation

1 Introduction

If an attribute set X approximately determines another attribute Y in a relation, a tuple whose Y-value departs from what X typically implies is a natural candidate for an error. This observation underlies a substantial line of work on dependency-based data cleaning [6,16,31], where approximate functional dependencies (AFDs) provide detection rules without labeled examples or an external clean reference. The relation itself is the only resource such rules need. Putting this idea into practice, however, requires distinguishing which candidate dependencies are worth using. Not every dependency admitted by a finite relation reflects a genuine regularity, and some may hold only by coincidence [20]. Even a relation of modest width admits a combinatorially large candidate space [15]. Candidate dependencies therefore cannot all be treated equally. Some form of prioritization is needed before they can be put to use [27].

A well-established way to prioritize candidate dependencies is to assign each a strength score and rank candidates accordingly [12, 18, 26]. Measures such as μ+\mu^{+}, τ\tau, and g3′g_{3}^{\prime} quantify AFD strength from different perspectives, and comparative studies evaluate their behavior and recommend which measures are preferable for discovering or ranking dependencies in noisy data [24]. Un-

Xiaolong Wan

Harbin Institute of Technology, China.

E-mail: wxl@hit.edu.cn

Xixian Han

Harbin Institute of Technology, China.

E-mail: hanxx@hit.edu.cn

Xiaolong Wan, Xixian Han

derlying this practice is an implicit assumption: that a dependency ranked higher by strength is also a better candidate for the downstream task the ranking is meant to support.

This paper examines that assumption for error detection, a consequential use of AFDs [1,16]. We refer to the usefulness of a candidate when deployed as an error detector as its detection value. A strength measure characterizes how closely the observed data conform to a dependency, for example through the amount of violation that must be removed or through the concentration of RHS values within LHS equivalence classes [24]. Detection value concerns something different: how well the candidate avoids false alarms and recovers genuine errors, reflected respectively in precision and recall. This is a retrieval problem, not a satisfaction problem. Nothing in the definition of these strength measures guarantees that a dependency scoring highly on approximate satisfaction will also have high detection value.

Whether established AFD strength measures actually align with detection value has received limited systematic examination, in part because answering this question requires a notion of value defined by the task itself rather than by the strength measure being evaluated. Rather than proposing another strength measure, we construct a controlled error-detection setting in which the ground-truth errors are known and empirically test the assumption behind strength-based prioritization. Specifically, we ask:

– RQ1: Do strength-based rankings reliably track precision in error detection?

– RQ2: Do they reliably track recall?

– RQ3: If strength and detection value do not consistently align, can the mismatch be explained by a common underlying factor?

To answer these questions, we evaluate candidate AFDs directly by their observed error-detection outcomes. We treat detection value as multidimensional rather than defining it through a single scalar score. We report precision and recall together with the corresponding false-positive and false-negative counts, leaving the relative importance of different error types unspecified at the evaluation stage. Strength-based rankings can then be compared separately with rankings induced by these task outcomes, including through top-k overlap. Only when a single candidate-selection objective is required, as in regret analysis, do we introduce an explicit cost over false positives and false negatives. Equal costs serve as a reference setting, and we later test the sensitivity of the conclusions to alternative weightings.

Applying this methodology across three real-world datasets, two corruption mechanisms, and multiple error rates and random seeds, we observe a clear asymmetry under the detection semantics and injection strategies used in the batch experiments. Strength measures tend to track precision positively, although with different degrees of stability. For μ+\mu^{+}, the mean correlation with precision ranges from 0.81 to 0.88 across the three datasets. Recall is substantially less stable: both the magnitude and even the direction of the association vary across measures and experimental settings. The mismatch can be pronounced at the candidate level. For example, a dependency with μ+\mu^{+} above 0.98 can recover less than 1% of the injected errors. This instability also affects candidate prioritization: top-k sets induced by strength often have little overlap with those induced by actual detection performance, and strength-based selections can incur substantial regret.

An important part of the recall mismatch is associated with structural detection opportunity under the candidate equivalence-class partition: whether an injected error occurs in a region where the candidate has an opportunity to make it observable. This property is not encoded by the strength measures we study, yet it tracks recall more consistently overall across our experiments. At the same time, it does not account for all of the observed variation. We also test corruption mechanism and several structural properties, including RHS cardinality, how often the RHS attribute appears in the LHS of other dependencies, and LHS uniqueness. These factors account for selected effects but do not provide a common explanation across settings. High LHS uniqueness in particular emerges as a severe failure mode rather than a necessary condition for mismatch.

This study makes three main contributions:

– We develop a task-aligned framework that separates multidimensional error-detection evaluation from explicit cost-based selection.

– We systematically examine how established AFD strength measures relate to precision, recall, and ranking utility.

– We analyze the structural sources of recall mismatch, identifying detection opportunity as an important factor and examining alternative explanations for the remaining variation.

The remainder of this paper is organized as follows. Sections 2 and 3 present the preliminaries, evaluation methodology, and experimental design. Sections 4 and 5 report the main empirical results and investigate the sources of the observed mismatch. Sections 6–8 discuss implications, robustness, scope, and prior work, and Section 9 concludes.

References (31)