arXiv:2610.08287cs.LGOct 2026

Manuscript Offprint

arXiv:2610.08287

Scalable extraction and visualization of multi-attribute logical and functional dependencies in tabular data

Chaithra Umesh, Arvind Lomrore, Neethu D, Kristian Seegel-Schultz, Saptarshi Bej, Olaf Wolkenhauer

Abstract

Understanding the structural relationships among attributes in tabular data is fundamental to machine learning and pattern recognition. While functional dependency (FD) discovery has been extensively studied, scalable discovery of logical dependencies (LDs), particularly as the number of attributes and dependency order increase, remains underexplored. These dependencies capture non-deterministic, condition-specific relationships among pairwise or multiple attributes. Furthermore, existing approaches do not provide a unified framework for extracting multi-attribute LDs and FDs. To address these limitations, we propose LDTool and HLDTool to extract and visualize multi-attribute LDs and FDs from tabular data. LDTool extends dependency discovery beyond pairwise relationships, while HLDTool enables scalable extraction through hypergraph-guided search-space reduction. Experiments on three simulated and eleven real-world datasets demonstrate that the proposed framework extracts meaningful LDs and FDs while improving scalability. LDTool recovers the same FDs as existing FD discovery methods with lower runtime in high-dimensional feature spaces, whereas HLDTool enables dependency discovery in datasets with hundreds of features. The proposed framework provides interpretable visualizations of dependency structures and supports applications in exploratory data analysis and the quantitative evaluation of synthetic tabular data.

Keywords: Tabular data, Logical dependencies, Functional dependencies, Multi-attribute dependencies

1. Introduction

Inter-attribute dependencies in tabular data describe how attributes constrain or determine one another within each individual record, capturing structural relationships between attributes that extend beyond pairwise correlations. Among these, Functional Dependencies (FDs) constitute a foundational concept. They formalize deterministic relationships in which one set of attributes uniquely determines another [1]. An FD between attributes X and Y, denoted X→YX \to Y, represents a globally deterministic relationship in which each value of X uniquely determines one value of Y [2]. Formally, for all records rir_i and rjr_j, ri[X]=rj[X]  ⟹  ri[Y]=rj[Y]r_i[X] = r_j[X] \implies r_i[Y] = r_j[Y]. FDs provide insight into one-to-one and many-to-one mappings and are fundamental in database normalization and schema design [3].

Recent studies [4, 5] have shown that real-world datasets also exhibit Logical Dependencies (LDs), rule-like constraints that hold consistently within a domain without being strictly deterministic [4]. In contrast to FDs, an LD captures rule-based constraints that emerge only under specific subsets of the attribute domain. Formally, there exists a subset S⊆XS \subseteq X for which the conditional relationship P(Y=y∣X=x)∈{0,1}P(Y = y \mid X = x) \in \{0, 1\}, x∈Sx \in S, holds for one or more values of Y. Consequently, LDs represent localized rule-based constraints rather than globally deterministic mappings. For example, in clinical datasets, there is a logical dependency between sex and pregnancy status, as biologically male individuals cannot be pregnant [4]. Together, FDs and LDs reflect a wide spectrum of deterministic and rule-based relationships that shape the internal structure of tabular datasets.

A variety of algorithms have been developed for discovering FDs from tabular data, including TANE [6], FUN [7], FD_Mine [8], and FDTool [9]. TANE introduced an

Code is available at https://github.com/Chaithra-U/LDTool-and-HDTool efficient level-wise lattice traversal strategy for FD discovery, while subsequent approaches, such as FUN and FD_Mine, introduced additional strategies for pruning the dependency search space [10]. FDTool provides a publicly available Python implementation based on the FD_Mine methodology and has been experimentally evaluated against established FD discovery algorithms [9]. For these reasons, we use FDTool as the reference method for validating the FDs extracted by our framework. Recent work has extended dependency analysis beyond FDs by introducing the Q-function, which quantifies inter-attribute FDs and LDs within a unified framework [4]. Yet, despite these advances, FD- and LD-based structures remain uncommon in exploratory data analysis, where practitioners continue to rely largely on correlation matrices and other pairwise summaries [11]. Extending dependency discovery to multi-attribute relationships introduces computational challenges. In this work, scalability specifically refers to dependency extraction as the number of attributes increases and higher dependency orders, i.e., dependencies involving an increasing number of LHS attributes, are considered.

Figure

Figure 1: Overview of the proposed dependency extraction framework. LDTool performs direct extraction of multi-attribute logical and functional dependencies in low-dimensional datasets. For high-dimensional feature spaces, HLDTool employs hypergraph-guided dependency discovery, while a feature-tree-based approximation accelerates the construction of the dependency matrix for very high-dimensional datasets.

Research gaps: Despite substantial progress in dependency discovery, several challenges remain in the analysis of multi-attribute dependencies in tabular data.

Limited focus on multi-attribute LD extraction: Existing dependency discovery research has extensively addressed FDs and their extensions, including dependencies involving multiple attributes [10]. While our previous work introduced the Q-function for quantifying pairwise LDs and FDs [4], the extraction of LDs involving multiple attributes remains largely unexplored. To our knowledge, existing methods do not provide a unified approach for jointly extracting multi-attribute LDs and FDs from tabular data.

Combinatorial growth of the dependency search space: Extracting multi-attribute dependencies requires exploring combinations of attributes, causing the search space to grow rapidly as the number of attributes and the order of dependencies increase. For n attributes, lattice-based dependency discovery may involve a search space containing up to 2n2^{n} attribute subsets, making higher-order dependency extraction increasingly computationally expensive as feature dimensionality increases [10]. Although existing algorithms employ pruning strategies to reduce the number of candidates evaluated, the combinatorial growth of the search space remains a challenge for high-dimensional datasets and higher-order dependency discovery.

Difficulty in interpreting multi-attribute dependencies: Existing dependency discovery tools typically report extracted dependencies as individual rules, for example, through textual output files [9]. As the number and order of dependencies increase, interpreting the relationships among attributes from such outputs becomes increasingly difficult, particularly when dependencies involve multiple attributes. This challenge is also relevant to exploratory analysis, where effective visualization of complex relationships among multiple attributes remains important for interpreting them [11]. This motivates the need for visualization of multi-attribute dependencies to facilitate the interpretation of complex dependency structures in tabular data.

Our contributions: To address these challenges, this work makes three main contributions.

Unified LD and FD extraction framework (LDTool): We develop a dependency extraction tool that jointly identifies LDs and FDs across user-specified levels of the attribute lattice. By capturing both deterministic and rule-based relationships, the frame-work provides a more comprehensive representation of multi-attribute dependencies than traditional FD-focused approaches.

Scalable multi-attribute dependency discovery (HLDTool): To address the exponential complexity of lattice traversal, we introduce HLDTool that groups strongly related attributes and performs dependency discovery locally within these subsets. This substantially reduces the search space while preserving meaningful multi-attribute relationships. Additionally, we propose a VP-tree-based (Vantage Point Tree) approximation algorithm that further accelerates dependency extraction in high-dimensional feature spaces.

Multi-view visualization of dependency structure: We represent inter-attribute dependencies using force-directed layouts, hierarchical dendrograms, and hypergraphs. These representations reveal multi-attribute relationships within tabular data and enable interpretable exploration beyond conventional pairwise correlation analysis.

DatasetRowsAttrs.FDsLDs
Simulated_data_3 [12]1008617
Simulated_data_4 [12]1001533214
Shopping behavior [13]39001511527
Adult [14]47592152700
Online shopping [15]12330181518
Migraine [16]37720331308
Mushroom [17]5644221022526
Global house purchase [18]10000243171856
Consumer shopping trends 2026 [19]11789253829420
Simulated_data_7 [12]5000333316799
Student digital behavior [20]500473963519
US Census [21]100006820224767
Tic Insurance [22]52208613251026
METABRIC [23]109264271512

Table 1: Summary of the experimental datasets together with the number of extracted FDs and LDs. Dependencies are reported up to the third layer, except for METABRIC and Tic insurance, where only first and second layer dependencies are extracted because of the high feature dimensionality.

Experiments on three simulated and eleven real-world datasets demonstrate that the proposed framework extracts meaningful multi-attribute LDs and FDs while substantially improving scalability for high-dimensional tabular data. When restricted to FD extraction, LDTool recovers the same multi-attribute FDs as FDTool up to three dependency layers while reducing runtime, especially for high-dimensional datasets (Refer to the Table 5). Additionally, multi-view visualizations consistently reveal interpretable dependency structures. Together, these results demonstrate scalable extraction and visualization of multi-attribute dependencies in tabular data.

Many real-world datasets contain higher-order dependencies that cannot be captured by pairwise analysis alone. Examples include purchasing patterns in e-commerce data and gene-expression interactions in biomedical datasets. The proposed approach enables structured discovery and visualization of such relationships through a unified extraction framework. Beyond exploratory analysis, the resulting dependency structures provide a basis for evaluating preservation of multi-attribute relationships in synthetic tabular data by comparing structural consistency between real and synthetic datasets.

References (39)