Tutorials › Multi-Omics Data Integration › Edge Uncertainty with Bootstrap and Subsampling

Graphical Models for Multi-Omics · Tutorial 315 of 597

Edge Uncertainty with Bootstrap and Subsampling

You will learn to resample subjects, summarize edge and coefficient variability, and interpret selection frequencies without mistaking them for probabilities of biological truth.

Advanced 12 min read

What You'll Learn

  • Define bootstrap and subsampling schemes for multi-omics network estimation.
  • Calculate an edge-selection frequency and its Monte Carlo error.
  • Summarize coefficient variation, including estimates set to zero.
  • Distinguish resampling stability from the probability an edge is true.
  • Identify assumptions, diagnostics, and limitations of resampling network estimates.

Why Resample a Network?

A fitted multi-omics network is an estimate from a particular sample, preprocessing pipeline, and modeling choice. If a small change in the sampled subjects changes which edges appear, the reported graph may be fragile even when the fitted network is mathematically well defined. Bootstrap and subsampling assess this fragility by repeatedly perturbing the observed data and refitting the same network procedure.

The target here is resampling variability: how often an edge is selected, how consistently its estimated coefficient has the same sign, and how much its coefficient varies under a specified resampling scheme. These are useful descriptions of sensitivity to the observed sample. They do not, by themselves, establish that an edge exists in the population or quantify the probability that it is biologically real.

Definition: Let \(D\) denote the observed data, organized as \(n\) independent observational units (usually subjects) measured on the omics features being modeled. Let \(\mathcal{A}(D)\) be a specified network-estimation procedure, including its preprocessing, model, tuning choices, and rule for declaring an edge selected. For resampled data \(D^{*(b)}\), define \(I_{ij}^{(b)}=1\) if edge \((i,j)\) is selected in fit \(b\), and \(I_{ij}^{(b)}=0\) otherwise. Its empirical selection frequency over \(B\) resamples is \(\hat{\pi}_{ij}=B^{-1}\sum_{b=1}^{B} I_{ij}^{(b)}\).

For an undirected graph, use one consistent rule for determining whether an edge is selected. For example, if fitting separate nodewise regressions, specify in advance whether an edge is retained when either endpoint selects the other or only when both do. In a multilayer model, also specify which layer or cross-layer relation the edge represents. Keep that rule fixed across resamples.

Bootstrap and Subsampling Procedures

In the ordinary nonparametric bootstrap, draw \(n\) observational units with replacement from the \(n\) observed units. Some subjects therefore appear more than once in a bootstrap sample, while others are absent. Refit the chosen network procedure to each of \(B\) bootstrap samples. The resampled rows must represent the independent sampling units: for repeated measurements or multiple omics layers collected from the same subject, resample the subject together with all of that subject’s measurements, not individual rows from each layer independently.

In subsampling, draw \(m\) distinct observational units without replacement, where \(m<n\), and refit the procedure. A common design uses a fraction of the original sample, but the choice of \(m\) is part of the analysis and should be reported. Subsamples perturb the data without duplicating subjects. Because their size differs from \(n\), their selection frequencies are not automatically comparable with bootstrap frequencies or with frequencies obtained using another \(m\).

The resampling scheme also depends on the data design. If independent units are clusters, families, or matched sets, resample the independent clusters or sets as appropriate. If observations are serially dependent, ordinary row resampling does not preserve that dependence; a design suited to the dependence structure is needed. These procedures assume that the resampled units reasonably represent the sampling variation relevant to the scientific target.

1
Specify the full fitting procedure.
State the features, preprocessing, network model, tuning rule, and edge-selection rule. Decide whether tuning is held fixed or repeated within each resample, and use that choice consistently.
2
Resample independent units.
Generate bootstrap samples with replacement or subsamples without replacement. Preserve the joint omics measurements belonging to each unit.
3
Refit and record.
For every resample, record edge selection and the estimated coefficient, including zero when the fitted procedure excludes that edge.
4
Summarize and diagnose.
Calculate selection frequencies and coefficient summaries, then examine whether results change with the resampling design or reasonable modeling choices.

Worked Example: Calculating a Bootstrap Edge Frequency

Suppose a hypothetical study has \(n=60\) subjects, each measured on two omics layers. A prespecified network-fitting procedure is applied to \(B=8\) bootstrap samples. For one candidate cross-layer edge, the selection indicators are \(1,1,0,1,1,1,0,1\). Assume the subjects and their paired layer measurements were resampled together, and the model and selection rule were unchanged across fits.

The edge is selected in six of the eight fits, so

$$ \hat{\pi}_{ij}=\frac{1}{B}\sum_{b=1}^{B} I_{ij}^{(b)} =\frac{6}{8}=0.750. $$

Thus, in this set of bootstrap fits, the edge was selected 75.0% of the time. This is a descriptive resampling frequency, not a statement that the edge has a 75.0% probability of being true. With only eight resamples, the frequency is also coarse: it can change by \(1/8=0.125\) when one fit changes. More resamples can reduce this Monte Carlo coarseness, but cannot remove uncertainty arising from the original data or make the frequency a probability of biological truth.

Under independent resampling runs conditional on the observed data, the Monte Carlo standard error for estimating the corresponding resampling selection probability is approximately

$$ SE_{\mathrm{MC}}= \sqrt{\frac{\hat{\pi}_{ij}(1-\hat{\pi}_{ij})}{B}} =\sqrt{\frac{0.750(0.250)}{8}} =0.153. $$

This measures simulation error from using a finite number of resamples. It is not a standard error for the population edge parameter.

Coefficient Variability and Selection

For each edge, retain the coefficient estimate from every resample, including zero if the fitted sparse procedure sets it to zero. Report its selection frequency alongside coefficient summaries such as the resampling mean, standard deviation, or quantiles. These summaries answer different questions: selection frequency describes how often the specified rule retains the edge, while coefficient summaries describe the values returned by the fitting procedure.

A summary using all estimates incorporates both selection and magnitude variation. A summary restricted to fits where the edge is selected describes coefficient behavior conditional on selection; it can look more stable because it omits zero estimates and failed selections. State clearly which summary is reported. If the coefficient is signed, the sign frequency among selected fits can reveal whether the estimated direction is consistent, but this too is conditional on the model and resampling design.

Worked Example: Summarizing Coefficient Variation

In a hypothetical analysis, two features are standardized before fitting, so the reported edge coefficient is dimensionless. Eight bootstrap fits return \(0.12,\ 0.10,\ 0,\ 0.08,\ -0.05,\ 0.11,\ 0,\ 0.09\). Zero means the edge was not selected. The edge is selected in six of eight fits, giving \(\hat{\pi}_{ij}=6/8=0.750\).

The mean across all eight estimates is

$$ \bar{\beta}_{ij}^{*} =\frac{0.12+0.10+0+0.08-0.05+0.11+0+0.09}{8} =\frac{0.45}{8} =0.05625. $$

Using the sample standard deviation of the eight resampled estimates,

$$ s_{\beta^{*}} =\sqrt{\frac{\sum_{b=1}^{8}(\beta_{ij}^{*(b)}-\bar{\beta}_{ij}^{*})^2}{8-1}} =\sqrt{\frac{0.02819}{7}} \approx 0.06346. $$

The all-fit mean is positive, but it is reduced by the two zeros and the one negative estimate. Among the six selected fits, five coefficients are positive, so the positive-sign fraction among selected fits is \(5/6\approx0.833\). That conditional sign fraction should not be reported as if it were the sign frequency across all resamples. Both summaries are useful if labeled; neither alone establishes a population effect.

What the Frequency Estimates

There is a precise, limited interpretation of \(\hat{\pi}_{ij}\). Imagine repeatedly generating resamples from a specified resampling mechanism conditional on the observed data, then applying the same fitting procedure to each one. Let \(\pi_{ij}(D)\) be the probability that this procedure selects edge \((i,j)\) on one such resample. Each indicator \(I_{ij}^{(b)}\) is then a zero-or-one outcome with conditional expectation \(\pi_{ij}(D)\). Averaging \(B\) independent resampling outcomes gives

$$ E\!\left[\hat{\pi}_{ij}\mid D\right] =\frac{1}{B}\sum_{b=1}^{B}E\!\left[I_{ij}^{(b)}\mid D\right] =\pi_{ij}(D). $$

If the resampling runs are independent conditional on \(D\), their indicators have conditional variance \(\pi_{ij}(D)\{1-\pi_{ij}(D)\}\), and the variance of their average is

$$ \operatorname{Var}\!\left(\hat{\pi}_{ij}\mid D\right) =\frac{\pi_{ij}(D)\{1-\pi_{ij}(D)\}}{B}. $$

This justifies the Monte Carlo standard error formula used above, with \(\hat{\pi}_{ij}\) substituted for the unknown \(\pi_{ij}(D)\). It concerns the accuracy of the Monte Carlo approximation to a conditional resampling probability. The latter depends on the observed data, the resampling design, the model, preprocessing, tuning choices, and edge rule. It is not \(P(\text{edge is true}\mid D)\), nor is it a confidence level or a population-level edge probability.

Worked Example: Comparing Bootstrap and Subsampling

Consider a hypothetical dataset of \(n=40\) subjects with paired omics measurements. The same feature set, preprocessing, tuning value, and undirected-edge rule are used in every fit. In 20 bootstrap fits of size 40, a candidate edge is selected 17 times. In 20 subsamples of size \(m=20\), it is selected 12 times.

The two empirical frequencies are

$$ \hat{\pi}_{ij}^{\mathrm{boot}}=\frac{17}{20}=0.850, \qquad \hat{\pi}_{ij}^{\mathrm{sub}}=\frac{12}{20}=0.600. $$

For these particular resampling runs, the edge is more often selected by the bootstrap procedure than by the half-sample subsampling procedure. The difference does not show that the edge’s probability of being true is 85.0% or 60.0%. The procedures generate different perturbed datasets, and each frequency is conditional on its own resampling design. A smaller subsample can make an edge harder to select, especially for a sparse estimator, but the direction and size of the difference are not guaranteed. To compare designs meaningfully, report their sample sizes and fitting rules and examine the pattern over many resamples.

Diagnostics, Alternatives, and Limitations

Resampling results are most informative when the fitting procedure is clearly defined and computational failures are tracked. Check that each fit converged, that the same features and edge convention were used, and that resampled subjects retained their cross-layer alignment. Record how often edges are selected, their sign patterns, and the distribution of nonzero coefficients. A very small number of resamples gives a coarse frequency; large changes when \(B\) is increased indicate that Monte Carlo error remains material. Also inspect whether conclusions are sensitive to the subsample size, preprocessing, or tuning rule.

Penalized network procedures can be nonsmooth: a small data change may move an estimated coefficient from zero to nonzero. In high-dimensional settings, where the number of features is large relative to the number of subjects, ordinary bootstrap behavior for model selection may not provide reliable inferential intervals. Sparse estimates can also produce coefficient distributions with a point mass at zero and a broad or asymmetric nonzero part. A mean and standard deviation alone may conceal this structure. If interval estimates are reported, their construction and assumptions need justification; resampling quantiles do not automatically provide valid confidence intervals for selected edges.

The main alternatives answer different questions. Analytic standard errors or model-based intervals can be more direct when their distributional assumptions and inferential targets are appropriate, but may be difficult to justify for selected edges in high-dimensional sparse networks. Sample splitting separates fitting from assessment but uses fewer observations for each task and does not provide the same repeated-perturbation summaries. Bootstrap and subsampling are flexible diagnostics of sensitivity, not substitutes for model checking or an inferential procedure with a stated target.

In particular, do not turn a frequency cutoff into a claim about truth without a separate argument. A high frequency may reflect a stable feature of the chosen algorithm and observed data while still arising from confounding, misspecification, measurement artifacts, or a tuning choice. A low frequency may reflect weak signal or instability, but does not prove that the population edge is absent. Stability selection and formal calibration of edge selection are distinct topics.

Common pitfall: “The edge appeared in 80% of bootstrap networks, so there is an 80% probability that it is a real biological connection.” This confuses a conditional frequency under a specified resampling-and-fitting procedure with a probability about an unknown biological or population truth. Report instead: “The edge was selected in 80% of the specified bootstrap fits,” and state the resampling unit, fitting procedure, and edge rule.

Practical Reporting

A reproducible report should name the resampling unit and scheme, give \(n\), \(m\) when subsampling, and \(B\), and describe the estimator, preprocessing, tuning strategy, and edge-selection convention. State whether tuning was fixed or repeated in each resample. For each reported edge, distinguish its selection frequency from its coefficient summaries, indicate whether zeros were included, and label any sign frequency as conditional or unconditional. These details make clear what the numbers measure and prevent a descriptive stability summary from being mistaken for an inferential conclusion.

Check Your Understanding

Answer each question, then compare with the brief solutions below.

  1. An edge is selected in 36 of 50 bootstrap fits. What is its empirical selection frequency, and what does it describe?
  2. Why should the two omics measurements from one subject be resampled together?
  3. A coefficient is zero in 40% of resamples. Should a reported mean over nonzero estimates be described as the mean across all resamples? Explain.
  4. What does increasing \(B\) reduce, and what uncertainty does it not remove?

Solutions. (1) The frequency is \(36/50=0.720\); it describes how often the specified procedure selected the edge under that bootstrap design, conditional on the observed data. (2) The subject is the independent sampling unit, and separate resampling could break the observed cross-layer pairing and create invalid combinations. (3) No. It is a conditional-on-selection mean; the all-resample mean must include the 40% zero estimates. (4) Increasing \(B\) reduces Monte Carlo error in estimating the resampling frequency. It does not remove uncertainty from the original sample, model misspecification, or uncertainty about whether an edge is truly present.

Clinical Biostats