Convex Path-Regularized Networks for Whole-Genome Prediction

Genomic prediction means guessing a trait, such as body weight in a fish or flowering time in maize, from an individual's DNA. It faces an extreme imbalance: a few hundred genotyped individuals, each described by millions of single-nucleotide polymorphisms (SNPs, single-letter DNA differences between individuals). Linear mixed models handle this reliably but cannot represent interactions between loci. Deep autoencoders can compress the SNPs and feed nonlinear predictors, but they are nonconvex, have no capacity control, and on 350 samples their results depend on the random seed. We propose a third route. We fit a two-layer ReLU network (a network whose hidden units output $\max(0, z)$) under a path-norm penalty. A path-norm measures size by multiplying weights along each input-to-output path, so it depends only on the function the network computes, not on how its weights happen to be scaled. For this penalty the training problem has an exact convex reformulation. The key observation is that, in the $n \ll p$ regime, an optimal network can always be found whose first-layer weights lie in the span of the training genotypes. The millions of SNPs therefore collapse losslessly to $n$ coordinates, and the convex problem becomes small enough to solve to global optimality.

In two sentences: a path-norm-regularized ReLU network on genotype data needs only the $n$-dimensional row space of the genotype matrix, and there the problem can be solved as a convex program with a certificate of global optimality. This gives nonlinear genomic prediction that is deterministic, automatically prunes useless hidden units, and replaces the ad hoc "autoencoder, then regressor" pipeline with one model whose capacity is measured in a way that ignores weight rescaling.

Core Claim

Consider a two-layer ReLU predictor $f(x)=\sum_j a_j \max(0, w_j^\top x)$ trained with the penalty $\beta\sum_j |a_j|\,\|w_j\|_2$. This is the two-layer path-norm, and it is unchanged when unit $j$'s weights are rescaled by $\alpha$ and $1/\alpha$.

Write the $n\times p$ genotype matrix as $X = U\Sigma V^\top$, where $V$ is $p\times r$ and $r\le n$. Replacing each $w_j$ by its projection $VV^\top w_j$ leaves every training output $Xw_j$ unchanged and can only shrink $\|w_j\|_2$. Some optimum therefore lies in the row space, and training reduces exactly to the $n\times r$ matrix $\tilde X = U\Sigma$.

On $\tilde X$, the convex reformulation of Path Regularization: A Convexity and Sparsity Inducing Regularization for Parallel ReLU Networks applies. That paper proves that path-regularized ReLU networks equal a convex program over "activation patterns," meaning the ways a hyperplane can split the samples into active and inactive sets. For squared loss the program is

$$\min_{v_i,u_i}\ \Big\|\sum_{i} D_i\tilde X(v_i-u_i) - y\Big\|_2^2+\beta\sum_i\big(\|v_i\|_2+\|u_i\|_2\big)\quad \text{s.t. } (2D_i-I)\tilde X v_i\ge 0,\ (2D_i-I)\tilde X u_i\ge 0,$$

where $y$ is the phenotype vector, $D_i$ is a diagonal 0/1 matrix recording which samples activate pattern $i$, and $v_i, u_i$ are the positive and negative output neurons for that pattern. The group penalty zeroes out whole neurons.

The number of patterns grows roughly like $(n/k)^k$ in the effective rank $k$. This is where genomic structure enters. Linkage disequilibrium (correlation between nearby SNPs) and population history concentrate genotype variance in a few directions, the same property that lets Matrix sketching framework for linear mixed models in association studies keep population structure with a 5–10% sketch.

We therefore propose a hybrid model. A standard GBLUP term (genomic best linear unbiased prediction, the additive linear mixed model) is fit on all of $\tilde X$. A convex path-regularized ReLU term is fit on the top-$k$ principal directions, with activation patterns sampled as in Ergen et al.'s polynomial-time low-rank approximation. The hypothesis is that whatever nonadditive signal the data support lives mostly in that low-rank subspace, and that solving for it globally beats nonconvex pipelines at these sample sizes.

Relation to Prior Work

Three papers motivate the proposal. A Deep Autoencoder Compression-Based Genomic Prediction Method for Whole-Genome Sequencing Data (DAGP) compresses 10.4M sturgeon SNPs and 2.66M maize SNPs by more than 99% with a ReLU/sigmoid autoencoder trained only on reconstruction loss. It then reports average accuracy gains of 6.05% for Bayesian models and 5.35% for machine-learning regressors over whole-genome GBLUP. This is evidence that nonlinear use of compressed genotypes helps. The compression, however, is unsupervised, unregularized, and non-unique under rescaling, and the paper leaves unclear whether the gain comes from the autoencoder or the downstream regressor. We remove the separate compression stage, because the row-space reduction is lossless and needs no training.

Exploring Generalization in Deep Learning shows that per-layer norms change under $\alpha, 1/\alpha$ rescaling while path-norms track generalization across width. Capacity Control of ReLU Neural Networks by Basis-Path Norm sharpens this with basis paths and reports a CIFAR-10 PlainNet34 test error that drops from 6.34% to 5.73% relative to weight decay. Both papers motivate using a rescaling-invariant penalty. Neither addresses the $n\ll p$ tabular regime.

Two papers supply the method. The convex duality and the low-rank arrangement-sampling algorithm come from Path Regularization: A Convexity and Sparsity Inducing Regularization for Parallel ReLU Networks (see also; Path Regularization: A Convexity and Sparsity Inducing Regularization for Parallel ReLU Networks; Path Regularization: A Convexity and Sparsity Inducing Regularization for Parallel ReLU Networks). That paper reports equal or higher accuracy than SGD on 20 of 21 UCI datasets but was never tested on data with more than a few hundred features. The row-space argument is what makes it applicable to millions of features. The low-rank justification borrows the empirical premise of MaSk-LMM, which does only linear sketching.

One paper constrains the proposal. A path-norm toolkit for modern networks: consequences, promises and challenges finds that path-norm bounds are vacuous at scale, about $1.3\times10^{30}$ for a dense ResNet18. We do not claim non-vacuous bounds. We use the path-norm as a regularizer and as a function-level capacity readout, and we compare its magnitude across methods only on the same data.

Research Program

The first component is a solver. It performs an exact SVD reduction of the SNP matrix, streamed in marker blocks so the full $n\times p$ matrix is never held in memory. It then computes top-$k$ principal directions and runs the convex program with sampled activation patterns. The primal–dual gap from the Fenchel dual gives an optimality certificate. Test individuals are projected onto $V$ before prediction.

The second component is analysis. We will characterize accuracy as a function of $k$ and of the number of sampled patterns. We will also check whether the path-norm of the fitted function, together with the number of surviving neurons, predicts cross-validated accuracy across $\beta$ and $k$ well enough to select them with one fewer level of nested cross-validation. This matters when $n=350$.

The third component is an extension to three-layer parallel ReLU networks, which Ergen et al. also cover. It is attempted only if the two-layer model shows a gain.

Baselines

The naive reference is GBLUP on the full post-quality-control SNP set with standard REML variance estimation (restricted maximum likelihood). Any nonlinear method must beat it to be worth running. DAGP reports its gains relative to exactly this model, but the file gives no absolute GBLUP correlation, so we recompute it on our folds.

The strongest existing method is DAGP: the autoencoder compression followed by its best-performing Bayesian model (BayesA/B/Cπ/Lasso) or machine-learning regressor (SVR, random forest, kernel ridge regression, XGBoost). Its reported average gains of 6.05% (Bayesian) and 5.35% (ML) over GBLUP are the bar. We will reimplement it at the published compression levels (5,000–50,000 features for sturgeon, 5,000–20,000 for maize) and give it the same repeated 5-fold splits, the same nested tuning budget, and several autoencoder seeds so its variance is visible. Beating it means a higher mean Pearson correlation between predicted and observed phenotype on paired folds (Wilcoxon test across folds and traits), with lower MSE and lower across-seed variance.

The key ablation replaces our convex nonlinear term with generic nonlinear regressors on the same top-$k$ principal components plus the GBLUP term: kernel ridge regression with a Gaussian kernel, and XGBoost. If these match us, the gain comes from the subspace and not from path regularization.

A second ablation trains the identical two-layer ReLU architecture with Adam and weight decay on the same reduced data, across many seeds. This isolates global optimization from the choice of penalty.

For scale, we include MaSk-LMM-style Gaussian sketching of markers followed by GBLUP, and a Gaussian sketch substituted for the top-$k$ projection in our method.

Why not just…?

Why not just use PCA followed by kernel ridge regression or XGBoost? This is the most serious threat. A Gaussian kernel on principal components already models interactions and is cheap. Our claimed advantages are that the solution is sparse (neurons are pruned) and interpretable as SNP-space directions via $V$, and that it comes with an optimality certificate. If the key ablation matches our accuracy, we will report that DAGP's gains are reproducible without neural networks at all. That is a useful negative finding, and it would redirect the contribution toward the row-space reduction as a cheap preprocessing step.

Why not just train an ordinary ReLU network with weight decay? For two-layer networks, weight decay at its optimum over rescalings equals the same path-norm penalty. The two methods share global minima and differ only in whether optimization finds one. The case for our method is therefore stability, not a different inductive bias: with 350 maize lines, seed-to-seed variance can exceed the between-method differences. The weight-decay ablation measures exactly this, and if multi-seed ensembling closes the gap, we will say so.

Why not just use linear sketching as in MaSk-LMM? Sketching gives provable error bounds and 10–30x speedups, for example 88 minutes against 15 hours for Regenie on 500k synthetic samples (Matrix sketching framework for linear mixed models in association studies). It remains linear, however, and our hybrid keeps a linear term anyway. The question is only whether the nonlinear term adds anything, and the GBLUP and sketch baselines answer it directly.

Proposed Experiments

The primary benchmarks are the sturgeon WGS cohort (673 individuals, about 10.4M SNPs; caviar yield, caviar color, body weight) and the maize WGS cohort (350 inbreds, about 2.66M SNPs; days to anthesis, relative ear height, and tassel branch number in four environments), both from DAGP. Access depends on data release. Maize traits are evaluated per environment.

The decisive planted-signal check runs on the real genotypes. We simulate phenotypes with a known mix of additive and pairwise-epistatic effects, varying epistatic variance from zero upward. Our method should match GBLUP when epistasis is zero and pull ahead as it grows. When the planted interaction involves SNPs whose variance lies outside the top-$k$ subspace, the method should fail. That failure directly tests the low-rank hypothesis.

On real traits, the decisive readout is whether the nonlinear neurons survive at the cross-validated $\beta$. If every neuron is pruned, the data show no detectable nonadditive signal, and DAGP's gains must come from somewhere else.

For scale, we apply the pipeline to a UK Biobank CAD subsample (about 46,500 individuals, 5M SNPs). Here $r$ is no longer small, so marker sketching is required. We found no reported prediction result on Lacuna for UK Biobank CAD with any of these methods, so this experiment reports runtime and accuracy against our own GBLUP, and against a sketched GBLUP as a stand-in for MaSk-LMM, rather than against a published number.