# LUCID: Local Understanding of Covariate Importance with Conditional Density Estimation

arXiv: https://arxiv.org/abs/2610.35740 · HTML: https://mlsanity.com/paper/2610.35740/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 4 of its 34 references that are in the map.
- Submitted 26 Oct 2026.

## Builds on (most cited first, 4 of 4)

- [Understanding the bias-variance tradeoff of Bregman divergences](https://mlsanity.com/paper/2202.04167/) (2022)
- [Density Regression with Bayesian Additive Regression Trees](https://mlsanity.com/paper/2112.12259/) (2021)
- [shapr: Explaining Machine Learning Models with Conditional Shapley Values in R and Python](https://mlsanity.com/paper/2504.01842/) (2025)
- [Trustworthy Feature Importance Avoids Unrestricted Permutations](https://mlsanity.com/paper/2604.11253/) (2026)

## Abstract (arXiv)

Computing local-level variable importance (VI) is critical for understanding machine learning models. Local permutation-based VI metrics offer a simple yet powerful approach, measuring how much a model's output changes when perturbing its inputs. However, existing perturbation strategies often ignore feature dependence or account for it only through restricted approximations. Perturbing a feature without fully respecting this dependence can generate unrealistic counterfactuals, thereby evaluating the model in regions unsupported by the observed data distribution. We address this gap by introducing a new model-agnostic local VI metric and estimator, Local Understanding of Covariate Importance with conditional Density estimation (LUCID). LUCID perturbs features of interest using plausible values drawn from the full conditional distribution given the remaining observed features. We establish theoretical connections between LUCID and existing VI measures, and provide an estimator with convergence guarantees and uncertainty quantification. Finally, we demonstrate LUCID's stable performance and practical utility across simulated and real-world examples.
