[Paper Review] Detecting Dependencies in Sparse, Multivariate Databases Using Probabilistic Programming and Non-parametric Bayes
This paper proposes a scalable, probabilistic approach to detecting dependencies in sparse, high-dimensional databases using probabilistic programming and non-parametric Bayesian inference. By leveraging CrossCat for joint density estimation and Bayesian Query Language (BQL) for querying conditional mutual information (CMI), the method efficiently identifies context-specific dependencies while suppressing false positives, outperforming baselines on a real-world macroeconomic and public health dataset with ~35% missing data.
Datasets with hundreds of variables and many missing values are commonplace. In this setting, it is both statistically and computationally challenging to detect true predictive relationships between variables and also to suppress false positives. This paper proposes an approach that combines probabilistic programming, information theory, and non-parametric Bayes. It shows how to use Bayesian non-parametric modeling to (i) build an ensemble of joint probability models for all the variables; (ii) efficiently detect marginal independencies; and (iii) estimate the conditional mutual information between arbitrary subsets of variables, subject to a broad class of constraints. Users can access these capabilities using BayesDB, a probabilistic programming platform for probabilistic data analysis, by writing queries in a simple, SQL-like language. This paper demonstrates empirically that the method can (i) detect context-specific (in)dependencies on challenging synthetic problems and (ii) yield improved sensitivity and specificity over baselines from statistics and machine learning, on a real-world database of over 300 sparsely observed indicators of macroeconomic development and public health.
Motivation & Objective
- To address the challenge of detecting true predictive relationships in high-dimensional, sparse, multivariate databases with missing data.
- To overcome limitations of traditional methods that rely on parametric assumptions, linear correlations, or frequentist hypothesis testing.
- To provide a probabilistically coherent framework for estimating uncertainty in conditional mutual information (CMI) across diverse data types and missingness patterns.
- To enable scalable, interactive exploration of complex dependencies using a SQL-like query language (BQL) without exhaustive pairwise testing.
- To improve detection of context-specific dependencies that are missed by standard methods like linear correlation or parametric tests.
Proposed method
- Uses CrossCat, a non-parametric Bayesian model, to generate an ensemble of joint probability models that capture complex, non-linear dependencies across heterogeneous variables.
- Applies Bayesian non-parametric modeling to estimate conditional mutual information (CMI) between variable subsets, even under missing data, via Monte Carlo integration over posterior predictive distributions.
- Employs the Bayesian Query Language (BQL) to express queries about CMI, enabling optimization by leveraging structural independence in model graphs to avoid unnecessary computation.
- Uses Dirichlet process mixture models within CrossCat blocks to flexibly model complex, heteroskedastic, and non-linear relationships without overfitting.
- Integrates model structures from CrossCat to compute posterior distributions over CMI, providing full uncertainty quantification rather than p-values.
- Optimizes inference by dropping redundant conditioning variables when structural independence is detected, improving scalability for exploratory analysis.
Experimental results
Research questions
- RQ1Can a non-parametric Bayesian approach detect context-specific dependencies in high-dimensional, sparse databases where linear correlation fails?
- RQ2How does the proposed method compare to traditional statistical and machine learning baselines in terms of sensitivity and specificity for dependency detection?
- RQ3To what extent can structural independence in model graphs be exploited to accelerate CMI estimation and reduce computational cost?
- RQ4Can the method reliably estimate CMI in the presence of 35% missing data, without requiring extensive data imputation or pre-processing?
- RQ5How well does the approach recover known causal relationships in real-world datasets, such as those involving trade and economic indicators?
Key findings
- The method successfully detected context-specific dependencies in synthetic problems where linear correlation and standard tests failed, demonstrating robustness to non-linear and heteroskedastic relationships.
- On a real-world macroeconomic and public health database with 300+ variables and ~35% missing data, the approach achieved higher sensitivity and specificity than baseline methods in identifying predictive relationships.
- The method identified a group of four trade-related variables (e.g., net trade balance, exports, imports) as conditionally dependent, which linear correlation failed to detect due to weak linear correlations and noise.
- CrossCat recovered the underlying causal structure in the trade dataset, showing that conditioning on 'exports' and 'balance' decoupled 'imports' from 'total goods', formalized by posterior CMI curves.
- The use of structural independence in model graphs allowed the system to bypass Monte Carlo estimation when possible, significantly improving query efficiency.
- The posterior distribution over CMI provided full uncertainty quantification, enabling principled inference beyond binary hypothesis testing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.