A comparison of knot point screening algorithms for highly adaptive lasso
Abstract
Highly adaptive lasso (HAL) is a nonparametric regression estimator with a rate of convergence $n^{-1/3}(\log n)^{d/2}$, where the data dimension $d$ only appears in the power of the log of sample size. This fast rate is crucial for many causal inference tasks, where efficient estimation typically requires nuisance parameters to be estimated at a specific rate. HAL achieves this rate and, when paired with semiparametrically efficient estimators -- such as those constructed using targeted maximum likelihood estimation (TMLE) -- can be used to develop efficient estimators. Beyond causal inference, HAL is applicable to a wide range of supervised machine learning tasks. The procedure for HAL involves first performing a basis expansion on the original design matrix $X$ and then computing a lasso solution path. Cross-validation is used to select the optimal $L_1$-norm for the coefficients. For datasets with all continuous covariates and no ties, the HAL design matrix can reach a dimension as large as $n \times n(2^d-1)$, imposing a significant computational and memory burden. To address this, screening algorithms are applied at both the variable and knot-point levels to make HAL practical for datasets of moderate to large sizes. In this work, we propose outcome-blind knot point screening based on center-based clustering -- $k$-means and partitioning around medoids (PAM) -- and compare it with the quantile-based screening implemented in the hal9001 R package at matched design-matrix sizes. Across 153 simulation settings, $k$-means and PAM significantly improved test $R^2$ in 97 and 111 settings, respectively, with gains that grow with covariate skewness, while producing slightly smaller design matrices. On nine real-world datasets, they reduced the cross-validated mean squared error by 35-36% on the dataset with the most skewed predictors and performed comparably on the others.