Most algorithms that learn a causal graph from data, meaning a directed acyclic graph (DAG) of who-causes-whom, decide which edges to keep with an $\ell_1$ sparsity penalty. That penalty only works if its strength $\lambda$ is matched to the noise level. When noise is unknown, and especially when it grows or shrinks with the values of the causes, as it does in gene expression, finance and sensor data, a single $\lambda$ keeps too many edges in noisy regions and too few in quiet ones. The square-root Lasso and its equivalent "concomitant" form make $\lambda$ pivotal: it can be set without knowing the noise scale, because the estimator learns the scale alongside the regression and divides it out. So far that trick has only been applied with one noise scale per regression or per graph node.
We propose to replace the scalar scale with a learned scale function of the parent variables. We fit it inside a loss that stays jointly convex in the regression weights and the scale parameters, and that keeps $\lambda$ pivotal even when the noise is heteroscedastic within each node (its variance changes from observation to observation). In plain terms, each residual is divided by a learned, input-dependent noise level before the sparsity decision is made, and this is done so that the right penalty is still $\lambda \approx \sqrt{2\log p/n}$ whatever the noise looks like. Embedding this loss in continuous DAG learning gives a structure learner for location-scale noise models (variables of the form $X_j = f_j(\text{parents}) + g_j(\text{parents})N_j$) whose sparsity knob does not need retuning across datasets or noise regimes.
Core Claim
The closest existing work is CoLiDE, which brought Huber's concomitant estimation to linear DAG learning. Its non-equal-variance variant gives each node $j$ one scale $\sigma_j$, updated in closed form. That handles nodes with different noise levels, but it treats each node's noise as constant across observations, so it is misspecified for location-scale data. Two other papers sit on either side of the gap. Pivotal estimation via square-root lasso in nonparametric regression shows the square-root Lasso tolerates observation-level heteroscedasticity, but only by iteratively re-estimating penalty loadings with repeated conic solves, and it never models the variance surface itself. LOCI does model the variance surface, using natural parameters that make the Gaussian likelihood concave, but only for bivariate pairs and without sparsity.
Our claim is that a single objective gives all three properties at once: convexity, pivotal $\lambda$, and an explicit scale function. For node $j$ with residual $r_{ij} = x_{ij} - f_j(x_i)$ and scale function $g_j(x_i) > 0$, we minimize
$$ L_j = \frac{1}{n}\sum_{i=1}^n \left[\frac{r_{ij}^2}{2\,g_j(x_i)} + \frac{g_j(x_i)}{2}\right] + \lambda \sum_{k \ne j} \big\|(W_{kj}, b_{jk})\big\|_2 . $$
Here $f_j(x) = \sum_k W_{kj}\,\psi(x_k)$ is a mean model, linear in coefficients over a basis $\psi$ (the identity in the linear case, B-splines for additive nonlinear models). The scale model is $g_j(x) = a_j + \sum_k b_{jk}^\top \phi(x_k)$, with nonnegative basis $\phi$ and constraints $a_j > 0$, $b_{jk} \ge 0$. The group penalty ties each mean coefficient to the scale coefficients for the same candidate parent $k$. An edge $k \to j$ is therefore kept if variable $k$ moves either the mean or the spread of $X_j$, so purely multiplicative effects become detectable.
Three properties follow, and each can be checked. First, convexity. The term $r^2/g$ is the perspective of a square, so it is jointly convex in $(r, g)$, and both $r$ and $g$ are affine in the coefficients; $L_j$ is therefore jointly convex for a fixed candidate parent set. Second, consistency of the scale. Pointwise minimization of the expected bracket over $g$ gives $g = \sqrt{E[r^2 \mid x]}$, the true conditional standard deviation. Third, pivotality. The gradient with respect to $W$ is $-\frac1n\sum_i \psi(x_i)\, r_{ij}/g_j(x_i)$ and the gradient with respect to $b$ is $\frac{1}{2n}\sum_i \phi(x_i)\,(1 - r_{ij}^2/g_j(x_i)^2)$. Both depend only on the standardized residual $r/g$, which is unaffected by any rescaling of the noise. The threshold $\lambda$ must exceed is then the maximum of $p$ roughly standardized averages, which gives the usual $\lambda = c\sqrt{2\log p / n}$.
The scale model must be restricted for this to work. If every observation has its own free scale $g_i$, the profile objective collapses to $\frac1n\sum_i |r_i|$, which is least absolute deviation and carries no variance information. We will report this collapse as an ablation, because it explains why the scale has to be a function of the parents.
Across nodes, the combined adjacency $A_{kj} = W_{kj}^2 + \|b_{jk}\|^2$ enters the log-determinant acyclicity function used by CoLiDE. Optimization alternates between two steps: convex updates of the mean and scale coefficients given the current constraint penalty, which are warm-started weighted least squares plus a projected step on $b$; and the usual augmented penalty step on acyclicity. The acyclicity constraint is still nonconvex, as it is in CoLiDE, so we claim convexity only for the parent-selection subproblem.
Research Program
The theoretical work has two parts. The first extends the self-normalized moderate-deviation argument of Belloni et al. to the parent-selection subproblem with a correctly specified scale model. The target is a support-recovery and prediction bound in which $\lambda$ involves no noise level. This would show that the iterative loading scheme in that paper can be replaced by a single convex program whose scale variable does the loading's job.
The second part is the open question of which direction the score prefers. At its optimum, the concomitant profile for node $j$ is about $E[g_j]$, the average conditional standard deviation. The Gaussian likelihood profile is instead $E[\log g_j]$. With equal variances, the first reduces to CoLiDE's equal-variance score. For general location-scale models, it is not known whether summing $E[g_j]$ over nodes picks the true orientation. We will study this analytically on bivariate location-scale models and empirically on the bivariate suites. We will not claim orientation identifiability unless that analysis supports it.
The fallback is spelled out in advance. If the score orients edges poorly, the method is used as the sparse, tuning-free parent-selection stage on top of an ordering produced by HOST or SkewScore. In that configuration it replaces the external conditional-independence pruning both methods need. It also removes the requirement in ParCorr-WLS that the user name the variable driving the heteroscedasticity, because the grouped scale coefficients select that driver.
Baselines
The naive reference point is DAGMA-style least squares with an $\ell_1$ penalty. Its $\lambda$ is chosen once on a calibration setting at unit noise and then frozen, which mimics how practitioners actually use these tools. CoLiDE reports DAGMA at SHD 470.2 on its 200-node heteroscedastic Gaussian graphs, where SHD is structural Hamming distance, the number of edge additions, deletions and reversals needed to reach the true graph.
The strongest existing continuous method is CoLiDE-NV from CoLiDE. It reports SHD 390.7 on those same 200-node node-level heteroscedastic graphs and SHD 12 on Sachs. It is the right competitor because it is already pivotal and already heteroscedastic across nodes. Any gain we show must therefore come from modeling the scale within each node.
We will rerun CoLiDE-NV from its released formulation on our generators, using the same data, the same acyclicity function and optimizer, and the same $\lambda$ grid. Its tuning budget will match ours: a single $\lambda$ chosen on one calibration configuration and then frozen. We count as beating it a lower mean SHD across seeds on location-scale data, with the gap growing as within-node heteroscedasticity grows. We must also roughly match its 390.7 on the node-level setting where it is correctly specified, otherwise our method is buying flexibility at the price of efficiency.
There is no reported result found on Lacuna for any continuous DAG method on multivariate location-scale data, so that comparison will be produced fresh.
For ordering-based methods we run HOST and SkewScore with their own conditional-independence pruning. For orientation sanity on pairs we use LOCI, SkewScore and SKEWD. The reported reference points are SkewScore at 62.6% accuracy on Tübingen and SKEWD-IT at 85.02% average accuracy over the 13 bivariate benchmarks, from SKEWD.
Two ablations isolate the key ingredient. In the first, $g_j$ is forced to a constant, which recovers CoLiDE-NV inside our code base. In the second, the concomitant loss is swapped for a natural-parameter Gaussian likelihood with the same scale features and the same group penalty. This second ablation tests whether pivotality, rather than just modeling the scale, is what matters.
Why not just…?
Why not just estimate the variance first and plug it into weighted DAGMA or a weighted Lasso? This is feasible generalized least squares, and it is a real threat when sample sizes are large and residuals from the first pass are clean. LOCI reports that iterative versions of this approach get stuck because the $(\mu, \sigma^2)$ likelihood is not concave. CoLiDE reports much larger seed-to-seed variance for decoupled pipelines than for joint estimation. Neither result directly tests one-step plug-in weighting under location-scale noise. We will therefore run one-step and iterated plug-in versions with the same features and measure SHD and seed variance as a function of $n$. If plug-in matches us at moderate $n$, the claimed advantage shrinks to small-sample robustness, and we will say so.
Why not just use a heteroscedastic Gaussian likelihood with natural parameters plus an $\ell_1$ penalty, extending LOCI to graphs? This is convex too. However, the gradient with respect to the mean weights is proportional to $r/\sigma^2$, which shrinks as $1/c$ when the noise is multiplied by $c$. The correct $\lambda$ therefore moves with the unknown noise scale, and this is exactly the failure pivotal estimation was built to fix. The likelihood ablation, run with $\lambda$ frozen while the global noise multiplier is swept from 0.1 to 10, is the decisive test of this point.
Why not just standardize the variables, or use HOST ordering with ParCorr-WLS pruning? HOST documents that standardizing the data breaks equal-variance methods. ParCorr-WLS needs the heteroscedasticity driver to be named in advance and runs many separate tests. The HOST-plus-pruning pipeline remains a strong practical competitor, so it is included as a baseline, and our fallback configuration is a direct head-to-head on the pruning step.
Proposed Experiments
The synthetic graphs are Erdős–Rényi and scale-free with average degree 1 to 4 and $d \in \{10, 50, 200\}$, in the ranges CoLiDE and SkewScore use. Mechanisms are linear and additive-spline. Scale functions range from constant, to node-level, to parent-dependent location-scale, to purely multiplicative. Noise families are Gaussian, Laplace, Student-$t$ and skew-normal.
The decisive check is a noise-multiplier sweep with $\lambda$ fixed at $c\sqrt{2\log p/n}$. If pivotality holds, our SHD curve should stay flat as the multiplier varies, while the DAGMA and likelihood-ablation curves should bend. If our curve also bends, the central claim fails.
On real and semi-real data we report SHD on Sachs against CoLiDE-NV's 12 and run SERGIO gene-regulatory simulations. Orientation behavior is reported on Tübingen and the 13 bivariate suites, where we expect to trail SKEWD under skewed noise; that is a stated limitation of a symmetric loss.
We also track three diagnostics. The first is the recovered scale drivers, measured as how accurately the selected $b_{jk}$ groups identify the true heteroscedastic parents. The second is the collapse ablation with free per-observation scales. The third is wall-clock time against iterated square-root Lasso loadings at $d = 200$.
References
- CoLiDE: Concomitant Linear DAG Estimation
- Pivotal estimation via square-root lasso in nonparametric regression
- On the Identifiability and Estimation of Causal Location-Scale Noise Models
- Heteroscedastic Causal Structure Learning
- A Skewness-Based Criterion for Addressing Heteroscedastic Noise in Causal Discovery
- Conditional Independence Testing with Heteroskedastic Data and Applications to Causal Discovery
- Skewness-Robust Causal Discovery in Location-Scale Noise Models