Tutorials › High-Dimensional Genomic Data Analysis › Coordinate Updates in SuSiE

Statistical Fine-Mapping and Credible Sets · Tutorial 711 of 795

Coordinate Updates in SuSiE

Learn how SuSiE updates one single-effect component at a time and how residuals, Bayes factors, and component probabilities determine its expected effects.

Advanced 12 min read

What You'll Learn

  • Write the Gaussian sum of single effects model and its one-variant-or-null prior.
  • Derive the residual used when updating one component while holding the others’ expected effects fixed.
  • Calculate a candidate variant’s Bayes factor and posterior effect distribution.
  • Normalize variant-specific prior weights and Bayes factors into component probabilities.
  • Interpret the expected component effects and recognize the approximation in coordinate updating.
  • Diagnose poor convergence, weak identification, and inappropriate readings of component probabilities.

Why Update One Component at a Time?

A sum of single effects model represents a genetic association as the sum of several components, each of which can select at most one variant. The components make a complicated multi-signal model computationally manageable: updating one component reduces to a single-effect calculation, even when the other components are present. The central detail is that the update must account for the effects currently attributed to those other components.

The introductory material on sum of single effects models establishes this component representation. Here the focus is the coordinate update: how to construct its residualized response, calculate the evidence for each candidate variant, and turn that evidence into component probabilities. These are iterative updates, not a claim that the components have been identified without uncertainty.

Model and Assumptions

Let \(y\) be a centered \(n\)-vector of quantitative outcomes and let \(X\) be an \(n\times p\) matrix of centered variant predictors. Write \(x_j\) for column \(j\) of \(X\). With \(L\) effects, the Gaussian model is

$$ y = X\sum_{l=1}^{L} b_l + \varepsilon,\qquad \varepsilon\sim N(0,\sigma^2 I_n). $$

Here \(b_l\) is a \(p\)-vector for component \(l\). Its prior assigns probability \(\pi_{l0}\) to a null component and probability \(\pi_{lj}\) to selecting variant \(j\), with \(\pi_{l0}+\sum_{j=1}^{p}\pi_{lj}=1\). If variant \(j\) is selected, its component effect has prior \(b_{lj}\sim N(0,\tau_l)\), and all other entries of \(b_l\) are zero. The null component has every entry zero. The variance \(\sigma^2\), effect prior variance \(\tau_l\), and prior probabilities are treated as fixed during the coordinate update described here.

Definition: A coordinate update for component \(l\) holds the current distributions for all other components fixed and replaces the distribution for component \(l\) with its single-effect posterior under a residualized response. In SuSiE’s iterative Bayesian stepwise selection procedure, the current component distributions are summarized by their posterior means.

The Gaussian likelihood assumes the outcome is adequately modeled by the stated linear predictor and independent, equal-variance Gaussian errors. In an application, measured covariates can be included and accounted for before this calculation, provided that the resulting likelihood and predictors are handled consistently. The update also assumes the specified single-effect prior: a component cannot select two variants at once. It does not assume that the full model has only one causal variant; that is the purpose of having multiple components.

Residualizing the Other Components

For each component \(k\), let \(a_{kj}\) be its current posterior probability of selecting variant \(j\), and let \(\mu_{kj}\) be the posterior mean effect conditional on that selection. Its expected effect vector has entries \(a_{kj}\mu_{kj}\). To update component \(l\), subtract the expected fitted effects of all other components:

$$ r_l = y-\sum_{k\ne l}X\widehat b_k,\qquad \widehat b_k = \mathbb{E}(b_k),\qquad (\widehat b_k)_j=a_{kj}\mu_{kj}. $$

The vector \(r_l\) is the response remaining for component \(l\) after accounting for the current expected contributions of the other components. For a candidate variant \(j\), define \(S_j=x_j^\mathsf{T}x_j\) and \(z_{lj}=x_j^\mathsf{T}r_l\). The likelihood for a proposed effect \(b\) on that variant is proportional to \(\exp\{(2bz_{lj}-b^2S_j)/(2\sigma^2)\}\). This expression supplies the data-dependent part of the update.

The use of expected effects matters. The update does not subtract a definite, known causal effect for each other component; it subtracts the current posterior mean fitted value. Uncertainty and dependence among components are not fully retained by this mean-field coordinate step.

Bayes Factors and Component Probabilities

Compare the model in which component \(l\) selects variant \(j\), integrating over its \(N(0,\tau_l)\) effect prior, with the null-component model. Completing the square in the Gaussian integral gives the Bayes factor

$$ BF_{lj0} = \sqrt{\frac{\sigma^2}{\sigma^2+\tau_l S_j}}\, \exp\!\left\{ \frac{\tau_l z_{lj}^2} {2\sigma^2(\sigma^2+\tau_l S_j)} \right\}. $$

Conditional on selecting \(j\), the posterior distribution of its effect is normal, with variance \(V_{lj}\) and mean \(\mu_{lj}\):

$$ V_{lj}=\frac{\tau_l\sigma^2}{\sigma^2+\tau_l S_j}, \qquad \mu_{lj}=\frac{\tau_l z_{lj}}{\sigma^2+\tau_l S_j}. $$

The posterior probability for each component choice follows by multiplying its prior probability by its Bayes factor and normalizing. For the null choice, the Bayes factor is 1:

$$ a_{l0} = \frac{\pi_{l0}} {\pi_{l0}+\sum_{j=1}^{p}\pi_{lj}BF_{lj0}}, \qquad a_{lj} = \frac{\pi_{lj}BF_{lj0}} {\pi_{l0}+\sum_{m=1}^{p}\pi_{lm}BF_{lm0}}. $$

Thus \(a_{l0}+\sum_j a_{lj}=1\). The posterior mean effect for variant \(j\) in this component is \(a_{lj}\mu_{lj}\), not just the conditional mean \(\mu_{lj}\). The probability that the component selects the variant accounts for the possibility that it selects another variant or is null.

Worked Updates

Worked Example: One Variant Versus the Null

Suppose one candidate variant has an estimated effect of \(0.75\) outcome units and sampling variance \(0.5\) outcome-units squared. Use a normal prior with mean zero and variance \(1\) outcome-units squared, and prior probabilities \(0.2\) for inclusion and \(0.8\) for the null component. Assume the Gaussian likelihood and prior above are appropriate.

For the scalar likelihood, the Bayes factor for inclusion versus null is

$$ BF_{10}= \sqrt{\frac{V}{V+W}} \exp\!\left\{\frac{\widehat b^{\,2}W}{2V(V+W)}\right\} = \sqrt{\frac{0.5}{1.5}}\exp\!\left\{\frac{0.75^2(1)}{2(0.5)(1.5)}\right\} \approx 0.8400, $$

where \(V=0.5\) is the sampling variance and \(W=1\) is the prior variance. The denominator in the exponent is \(1.5\), so the exponent is \(0.375\). The posterior inclusion probability is

$$ \frac{0.2(0.8400)}{0.8+0.2(0.8400)} = \frac{0.1680}{0.9680} \approx 0.1736. $$

The conditional posterior mean is \(W\widehat b/(V+W)=1(0.75)/1.5=0.5000\) outcome units. The component’s expected effect is therefore \(0.1736(0.5000)=0.08680\) outcome units. The evidence is not strong enough to make inclusion probable under these prior odds, even though the estimated effect conditional on inclusion is positive.

Worked Example: Normalizing Probabilities Across Two Variants

Consider one component with two candidate variants and a null option. Let \(\sigma^2=1\), \(\tau_l=1\), and \(x_j^\mathsf{T}x_j=1\) for both variants. Suppose the residual scores are \(z_{l1}=2\) and \(z_{l2}=1\). These assumptions give the same likelihood scale for both candidates. Set prior probabilities to \(\pi_{l0}=0.2\), \(\pi_{l1}=0.4\), and \(\pi_{l2}=0.4\).

For either variant the Bayes factor formula reduces to \(2^{-1/2}\exp(z_{lj}^2/4)\). Thus

$$ BF_{l10}=2^{-1/2}e^1\approx 1.9221, \qquad BF_{l20}=2^{-1/2}e^{0.25}\approx 0.9079. $$

The normalizing denominator is

$$ D=0.2+0.4(1.9221)+0.4(0.9079) =1.3320. $$

Consequently, \(a_{l0}=0.2/1.3320\approx0.1502\), \(a_{l1}=0.4(1.9221)/1.3320\approx0.5772\), and \(a_{l2}=0.4(0.9079)/1.3320\approx0.2726\). These probabilities sum to 1 up to rounding. The conditional means are \(2/(1+1)=1\) and \(1/(1+1)=0.5\) outcome units. The expected component effect entries are therefore approximately \(0.5772\) and \(0.2726(0.5)=0.1363\) outcome units.

Worked Example: Updating After Residualization

Suppose two centered predictors have \(x_1^\mathsf{T}x_1=x_2^\mathsf{T}x_2=1\) and \(x_1^\mathsf{T}x_2=0.5\). For the response, suppose \(x_1^\mathsf{T}y=1.2\). When updating component 1, the current expected coefficient of component 2 is \(0.4\) outcome units on variant 2. Assume \(\sigma^2=\tau_1=1\), and that component 1 has only variant 1 and the null as options, with prior probabilities \(0.8\) and \(0.2\), respectively.

The residual score for variant 1 is

$$ z_{11}=x_1^\mathsf{T}(y-0.4x_2) =x_1^\mathsf{T}y-0.4x_1^\mathsf{T}x_2 =1.2-0.4(0.5)=1.0. $$

Since \(S_1=1\), the Bayes factor is \(2^{-1/2}\exp(1^2/4)\approx0.9079\). The posterior probability of selecting variant 1 is

$$ a_{11} =\frac{0.8(0.9079)}{0.2+0.8(0.9079)} =\frac{0.7263}{0.9263} \approx0.7841. $$

Conditional on selection, the posterior mean is \(1/(1+1)=0.5\) outcome units, so the expected component effect is \(0.7841(0.5)\approx0.3921\) outcome units. If the other component’s contribution were ignored, the score would incorrectly be taken as \(1.2\), changing both the Bayes factor and the updated component probability. The residual calculation is essential when predictors are correlated.

Why the Coordinate Formula Holds

The update can be justified directly from the Gaussian likelihood. For component \(l\), write the fitted contribution of all other components as \(X\sum_{k\ne l}\widehat b_k\). Subtracting it from \(y\) leaves \(r_l\). If component \(l\) selects \(j\) with effect \(b\), its residual likelihood is proportional to

$$ \exp\!\left\{-\frac{(r_l-x_jb)^\mathsf{T}(r_l-x_jb)}{2\sigma^2}\right\}. $$

Expanding the quadratic and dropping terms that do not involve \(b\) gives \(\exp\{(2bz_{lj}-b^2S_j)/(2\sigma^2)\}\). Multiplication by the prior density proportional to \(\exp\{-b^2/(2\tau_l)\}\) yields a quadratic in \(b\). Completing the square gives posterior precision \(S_j/\sigma^2+1/\tau_l\), hence posterior variance \(V_{lj}\) and mean \(\mu_{lj}\) as stated above. Integrating this normal likelihood times the prior over \(b\), then dividing by the null likelihood, gives \(BF_{lj0}\). Prior weighting and normalization then give the component probabilities.

In the variational interpretation, this is a coordinate optimization: the distribution for one component is updated while the other component distributions are held fixed. Taking their expected fitted contributions produces the residual above. Repeating this operation across components produces an iterative procedure; one update alone is not the final model fit.

Diagnostics, Alternatives, and Limitations

Useful checks include verifying that each component’s probabilities are nonnegative and sum to 1, that the expected effect vector uses \(a_{lj}\mu_{lj}\), and that the residual score reflects the current expected contributions of every other component. With fixed hyperparameters, monitor whether the variational objective improves and whether component probabilities and expected effects stabilize across iterations. Large changes between iterations, persistent cycling, or components repeatedly exchanging similar signals warrant investigation. Different starting values can help reveal sensitivity to initialization.

Highly correlated predictors can make their individual evidence difficult to distinguish: several variants may receive similar component probabilities, and small changes in residuals can shift probability among them. A large component probability is conditional on the model, priors, and current coordinate approximation; it is not proof that a variant is causal. Check that the predictors, outcome scale, variance assumptions, and prior effect scale are sensible. Numerical implementation should also evaluate very large or small Bayes factors on a log scale to avoid overflow or underflow.

Coordinate updates are computationally attractive compared with enumerating all joint assignments of variants to components, whose number can grow rapidly with \(p\) and \(L\). The trade-off is that the factorized approximation does not represent all posterior dependence among components. Joint configuration calculations can retain that dependence in small problems but may be infeasible at genomic scale. Coordinate updating is therefore an efficient approximation, not an exact substitute for the full joint posterior.

A common mistake is to treat the residualized response as \(y\) minus the other components’ most likely selected variants, or to update from the unadjusted \(y\) each time. The correction is to use the current expected effect vector of each other component and compute \(r_l=y-\sum_{k\ne l}X\widehat b_k\). Another mistake is to interpret \(\mu_{lj}\) as the component’s overall expected effect. It is conditional on selecting \(j\); the overall expected entry is \(a_{lj}\mu_{lj}\).

Key takeaway: A SuSiE coordinate update first removes the other components’ current expected fitted values, then combines each candidate’s residual-based Bayes factor with its prior probability. The resulting component probabilities weight the conditional effect means to produce expected effects.

Check Your Understanding

Answer each question, then compare with the solutions below.

  1. In one sentence, explain why the update uses \(r_l\) rather than \(y\) directly.
  2. If a component’s posterior probability of selecting a variant is \(0.3\) and its conditional posterior mean effect is \(2\) outcome units, what is its expected effect entry?
  3. For two variants with prior probabilities \(0.4\) each and a null prior of \(0.2\), suppose their Bayes factors are \(2\) and \(0.5\). Find the component probabilities.
  4. State one reason that a large component probability should not be described as proof that a variant is causal.

Solutions. (1) \(r_l\) removes the current expected fitted contributions of all other components, so the update evaluates what component \(l\) adds beyond them. (2) \(0.3(2)=0.6\) outcome units. (3) The denominator is \(0.2+0.4(2)+0.4(0.5)=1.2\), so the null probability is \(0.2/1.2=0.1667\), and the variant probabilities are \(0.8/1.2=0.6667\) and \(0.2/1.2=0.1667\). (4) The probability depends on the assumed model, priors, and coordinate approximation, and correlated variants may be difficult to distinguish.

Clinical Biostats