Goto

Collaborating Authors

 Statistical Learning


Selective Inference for Shapley-Based Feature Selection in Nonlinear Regression Models: A Loss-Reduction Approach

arXiv.org Artificial Intelligence

Shapley-value-based approaches evaluate feature importance by aggregating contributions across different subsets of features, providing a flexible framework for capturing nonlinear relationships and feature interactions. However, features selected based on high importance scores are not necessarily statistically significant, and valid inference must account for the data-dependent selection process. In this paper, we propose a selective inference (SI) method for Shapley-based feature selection, focusing on the contributions of individual features to reducing regression loss. Our approach uses nonparametric basis-function regression to quantify nonlinear feature effects and aggregates their contributions across feature subsets using Shapley weights. By expressing the resulting importance scores as quadratic forms in the response, we characterize the feature-selection event through quadratic inequalities and derive exact conditional tests based on a truncated chi distribution. Specifically, we consider an $L_2$-regularized radial basis function (RBF) network with fixed basis functions. Under the standard SI setting of a fixed design and independent Gaussian noise with known variance, our method guarantees exact finite-sample control of the conditional type I error rate. We evaluate its empirical performance through synthetic simulations and applications to benchmark datasets.


EnzDecomp: Disentangling background reactivity from active-site selectivity in enzyme screens

arXiv.org Artificial Intelligence

Ethyl hexanoate and hexyl acetate differ in which side of the ester carries the longer chain. Of 146 esterases, 28 cleaved ethyl hexanoate and 29 cleaved hexyl acetate. Both look similar if any catalyst suffices. Selective linkers instead rely on the ten enzymes specific to ethyl hexanoate and the eleven specific to hexyl acetate. We asked if both sorts of entries could be predicted for enzymes and substrates held out of training. The same issue arises with epimers and enantiomers, where a reversal of enzymatic preference may accompany a change in configuration without any change in connectivity. For each of six enzyme families we had a matrix of compounds against related enzymes, with every entry from the same assay, including inactive pairs. An additive fit to these matrices already ranked substrates nearly as well as the best external model (within-enzyme average precision (AP) 0.468 versus 0.477 over 176 splits). Yet four SMILES-based predictors tied on 70.5-100% of unseen epimer or enantiomer cases. EnzDecomp fits substrate reactivity and then enzyme breadth, freezing each in turn. No docking is needed. We fit the residual using a fixed 3D pocket per enzyme, local 2D chiral bond patterns and quantum-chemical descriptors at candidate reaction sites, then center it on the training matrix. On 4,355 reversals this yielded the best native balanced accuracy (61.6%, rising to 80.1% on esterases). Accuracy on 780 unseen isomer cases was 66.3% (epimers 58.3%, enantiomers 61.6%, no ties). The full score led within-enzyme ranking on 152 non-random and 74 double-holdout splits (0.475 and 0.436 AP) and whole-library ranking on the HAD panel with <40%-identity enzyme clusters (0.302 pooled AP). Downstream training took 10.4 minutes per esterase split, 25-44 times faster than the docking and multimodal Transformer baselines.


Econometrics with Pre-Trained Embeddings for Unstructured Data

arXiv.org Machine Learning

Unstructured data, such as images and text, are increasingly used in empirical economics. Since training machine learning models on unstructured data is costly, economists often use off-the-shelf pre-trained deep learning models developed by computer scientists to extract potentially high-dimensional embeddings, which are then used as covariates in target economic analyses. Despite the popularity of this practice, its theoretical foundations remain limited. There are two main difficulties. First, pre-trained models are typically trained on different datasets and for different tasks, making it unclear when they can be used validly for the target task. Second, the embedding function is not uniquely identified, complicating the analysis of its estimation error and the effect of that error on the target task. We provide sufficient conditions to overcome these difficulties. A key condition, which we call transferability, governs the convergence rate we derive. To assess transferability, we develop a computationally feasible bootstrap test that does not require re-estimating the embeddings or nuisance functions. The transferability condition also provides practical guidance for applied researchers on selecting the source embedding function and target model classes. Our theory applies to a broad class of econometric analyses using double machine learning, including partially linear regression with unstructured controls, price elasticity estimation with product quality measured from images and text, missing-data imputation under selection on unstructured observables, and average treatment effect estimation with unstructured confounders. In an empirical application, we estimate the labor supply elasticity on Amazon Mechanical Turk, an online labor market platform, using embeddings of job descriptions as controls.


svylearn: Design-consistent statistical learning, calibration, and inference for complex surveys

arXiv.org Machine Learning

Standard machine-learning workflows assume independent, identically distributed observations, leading to optimistic risk estimates, miscalibrated probabilities, and invalid uncertainty quantification when applied to complex probability samples. We introduce svylearn, an R package for design-consistent statistical learning, recalibration, and inference across cross-sectional and longitudinal surveys. Built on a strict separation between model development and evaluation, svylearn partitions data by whole primary sampling units (preserving all waves of longitudinal subjects), learns weighted preprocessing and hyperparameter tuning strictly inside training folds, and applies nested out-of-fold recalibration with auditable stabilization rules for rare outcomes. A unified evaluation interface (svy_eval()) reports design-based proper scores, rank metrics, calibration diagnostics, clinical utility, covariate-shift transport checks, weighted split-conformal intervals, and bounded-weight sensitivity analyses, explicitly distinguishing conditional fixed-score inference from complete-workflow replication. The package uses a lightweight S3 architecture with zero required third-party modeling dependencies at attachment, delegating estimation to optional learners (glmnet, ranger, xgboost, nnet) and survey variance calculations to survey. We verify numerical parity against survey and independent Python reference kernels, evaluate finite-sample behavior across extensive Monte Carlo simulations and stress tests, and demonstrate applied workflows using NHANES and longitudinal ECLS-K:2011 data. The baseline binary evaluation kernel processes one million records in 0.39 seconds, providing survey analysts with an auditable, reproducible end-to-end prediction pipeline.


The $t$-spacing test for a spiked tensor

arXiv.org Machine Learning

We observe one symmetric tensor $Y=λ\,e^{\otimes k}+σW$ of odd order $k$ on $\mathbb R^{d}$, with Gaussian noise $W$, and test $λ=0$. The observation does not determine the noise level $σ$, so a test that uses it needs external information. The $t$-spacing test of Azaïs, Dalmao, and De Castro needs none and is exact at every $σ$, $k$ and $d$, in closed form. We study its power. At every $λ$ we bound the probability that the test misses a signal of amplitude $λ$ by a noncentral Student distribution function. At fixed $(k,d)$ this probability decays exponentially in~$λ^{2}$ as $λ$ grows, and we identify the rate. The rate is below the lower bound we prove for the rate of the known-variance spacing test. It tends to this bound as~$d$ grows. As $d$ grows at fixed $k$, the power tends to one when $λ/σ$ is a large enough multiple of $\sqrt d$. The test also returns an estimator of the direction~$e$, the maximiser of the profile likelihood. It is asymptotically minimax as $λ$ grows, with the sharp constant $(d-1)/(kλ^{2})$ for the risk $\mathbb{E}\sin^{2}\angle(\hat e,e)$: a Bayesian Cramér--Rao lower bound valid at every $λ$, and an upper bound with the same leading term.


A fairness threshold is not a portable standard: a statistical protocol for auditing algorithmic decisions about people in places

arXiv.org Machine Learning

Regulators increasingly require fairness audits of automated decisions, and the Royal Statistical Society asks for statistically grounded evidence tested under distribution shift. To our knowledge, no audit framework specifies how to proceed when decisions are made about people in places where outcomes cluster geographically, whether for legitimate or illegitimate reasons, and where location itself carries information about protected status. We propose a six-step protocol for such audits, built on BFair, a Bayesian measure of disparity among merit-comparable individuals aligned with protected context. Two steps are declarations made before outcomes are examined: who counts as comparable and which spatial variation a fair system may show. Three are computations: nuisance spatial models fitted without outcomes, a posterior distribution of disparity, and calibration of the decision against the audited population itself. The last is a report a regulator can read as evidence rather than a score. A simulation study shows why each step is needed. Ignoring legitimate spatial clustering flags 15.9% of fair systems. A threshold carried over from another population flags up to 21.0%, because what a fair system looks like depends on audited geography; calibrating each audit on its own population brings this to 3.4%-6.2%, close to the nominal 5%, while lowering detection only from 27.4% to 22.4%. Borrowed thresholds fail across effect sizes, spatial clustering ranges, and sample sizes, and, in larger samples, they perform relatively worse, not better. How much spatial variation is legitimate cannot be learned from data, so it should be declared in advance. A worked audit report shows that the same transported threshold condemns a fair city and clears an unfair one, whereas the protocol correctly decides both. A fairness threshold is not a portable standard; an audit procedure can be.


B-Fair - A Bayesian spatial individual fairness framework

arXiv.org Machine Learning

Spatial dependence is often ignored in algorithmic fairness, even though location may be tied to both protected attributes and merit-relevant features. This creates a basic problem for standard fairness metrics, because peer comparisons can be distorted by spatial structure rather than by the substantive relationship we want to study. To address this, we introduce Bayesian Individual Spatial Fairness (B-Fair), a framework that defines fairness at the individual level while explicitly modeling protected context as a continuous stochastic spatial surface. In B-Fair, the protected demographic surface is treated as a latent spatial process, and the resulting uncertainty is carried through to the final fairness estimate. The B-Fair functional couples peer similarity, demographic disparity, and outcome differences into a single posterior quantity, so that fairness is not reduced to a point estimate but expressed as a distribution with uncertainty. Since neither the protected-context model nor the peer graph depends on administrative zones, the framework is less sensitive to areal aggregation and avoids the usual zone-based critique. We illustrate the method using the ProPublica dataset and show how our method reaches similar conclusions to those of ProPublica but with a continuous, uncertainty-aware, individually grounded fairness audit.


A Kernel Framework for Linear Operator Equations

arXiv.org Machine Learning

Solving linear operator equations with nonlocal terms or heterogeneous constraints often requires specific numerical schemes. We develop a unified approach based on embedding such equations into a reproducing kernel Hilbert space (RKHS). Differential, boundary, and integral operators are represented by their Riesz representers in the RKHS. The equa- tions are solved in the regularized least-squares sense at finitely many collocation points. The solution is a finite linear combination of operator-induced representers and is obtained from a single linear system. Its sensitivities, such as financial Greeks, follow by direct dif- ferentiation. To reduce the computational cost for large collocation sets, we introduce a Nyström approximation based on subsampling the operator-induced representers. It yields the best approximation of this solution within the reduced trial space, in a regularized em- pirical norm. Numerical examples cover ordinary, partial, and partial integro-differential equations, including multi-asset and jump-diffusion option pricing.


Bayesian Neural Factor Copula Model for Spatial Data

arXiv.org Machine Learning

Factor copulas extend Gaussian process models for replicated spatial data by adding a common latent factor to a Gaussian process. The resulting copulas can be asymmetric and tail dependent, with densities that require only one-dimensional integrals. Their tail behavior is, however, fixed by a parametric factor family that must be chosen in advance, and the factor affects every location in the same way. We propose the Bayesian neural factor copula (BNFC), in which the factor is a neural network of a single uniform random variable and of the location, so that its effect can change in strength, shape and sign over space; a stationary version without the location input is a special case. The construction keeps the one-dimensional integrals, can approximate any factor distribution and, in its location-dependent form, induces factor covariances that can be any positive semidefinite matrix, so that long-range dependence may change in strength and sign over space. We characterize the tail properties of the resulting copulas and develop an approximate Bayesian inference procedure using variational Bayes for the model parameters and stochastic gradient Markov chain Monte Carlo (SG-MCMC) for the network weights. In simulations, BNFC outperforms common factor copulas, the Student-$t$ copula, Gaussian and gamma copulas with the same spatially varying loading, and the nonparametric Bayesian transport map when the factor effect varies over space and is competitive otherwise, and in an application to daily ERA5 precipitation over central Europe the location-dependent BNFC gives the best held-out log scores and predictions of all copula models.


A Majorization-Minimization Algorithm for Robust Clustering under the L$_2$E Criterion

arXiv.org Machine Learning

The predominant approach to robust clustering relies on trimming data. Unfortunately, trimming performance is sensitive to how one specifies the proportion of discarded data and how one deems points as outliers. This article instead revisits the well-established $L_2 E$ criterion for robust estimation, which adaptively downweights observations in a principled way. The $L_2 E $ criterion has found success in many statistical problems, but has only found limited use in clustering due to its computational demands. We contribute a new optimization framework derived from the majorization-minimization (MM) principle. This leads to a computationally efficient algorithm suitable for multivariate data that builds on a line of work by \citet{scott2009l2e} that has since lacked an algorithm. Our approach requires fewer parametric assumptions than Gaussian mixture models and yields closed form updates that require no manual tuning of hyperparameters. The merits of the framework are demonstrated on several real and simulated datasets.