Strobl 2008 - Digitized Figure Data for Selection Rates and Importance

Summary

The markdown text of the paper has only image links and captions for its four figures. This note transcribes what the figures show, read from the published images. All three simulation panels use mtry ∈ {1, 3, 8}, which the text never states. Figure 1 shows that with mtry = 8, the correlated take about 41% of root splits each, while the equally strong uncorrelated take almost none. Over all splits, end up slightly ahead (≈0.95 vs ≈0.90). In Figure 3 the median marginal importance of at mtry = 8 is about 70, against about 16 for . The conditional median of is about 31. That is closer to , but at about twice its value it is not “almost equal”. In Figure 4 (peptide data, mtry = 104), 5 bars run off the top of the marginal panel and 2 off the conditional panel. The digitized bar heights reproduce the paper’s ranks for h2y8, flex8 and pol3 exactly.

Overview

How the values were obtained. The four figure images were downloaded from the open-access copy of the article and saved in raw/. Axis tick marks were located by pixel analysis. Bar tops (Figs 1 and 4) and median markers and inter-quartile bands (Fig. 3) were then converted to data units by linear interpolation between ticks. The images are 600 px wide, so expect a reading error of about ±0.01 for Fig. 1 rates, about ±1 importance unit for Fig. 3 (±2 in the mtry = 8 panel), and about ±0.0003 for Fig. 4. These are digitized readings, not numbers printed by the authors. Ranks and orderings are reliable. Second decimals are not.

Main Content

Figure 1: selection rates (§2.2)

Layout: 3 rows (mtry = 1, 3, 8) × 2 columns (“first split”, “all splits”). Dark bars are – (correlated block) and light bars are –. The y-axis runs 0-0.4 for first splits and 0-0.8 for all splits.

Figure 1 values, first split of each tree (digitized)

mtry– (each)
10.0860.0860.0860.0860.0860.0860.0810.0760.071
30.220.220.170.150.0860.0810.0350.0150.015
80.410.410.130.046≈0≈0≈0≈0≈0

In each row the rates add up to about 1.0 (0.96, 1.04, 1.00). The first-split panel is therefore each variable’s share of root splits. That is a check on the reading, not something the paper states.

Figure 1 values, all splits of all trees (digitized)

mtry– (each)
10.480.480.480.480.480.480.460.440.42
30.850.850.750.680.790.790.400.210.21
80.910.890.610.380.950.970.210.050.05

These rates do not add up to 1, so this panel is not a share of all splits. The paper calls both panels “relative selection rates” without defining them further.

What the numbers add to the text.

  • At mtry = 3, a correlated variable with (, 0.15) is picked for the root about twice as often as an uncorrelated one with (, 0.086). This is the “more often than even the highly influential uncorrelated ones” claim of §2.2, in numbers.
  • At mtry = 8, the uncorrelated drivers essentially never win the root split, because , which have both and correlated support, beat them. Over all splits, though, are used slightly more than . This is how “the correlated predictors loose [sic] most of their advantage” (§2.2) looks in the figure.
  • Over all splits, the preference for over is large: at mtry = 8 it is 0.61 vs 0.21 and 0.38 vs 0.05.

Figure 2: the two permutation schemes (§2.4)

Figure 2 transcribed

Left (marginal scheme). A data table with columns , , and rows . Only the shaded column is permuted: row holds next to the unchanged and .

Right (conditional scheme). The rows are grouped by the value of . In the block (rows 1, 3, 27, …), is permuted only among those rows, giving . Likewise in the block (rows 6, 14, 21, …) with . and stay fixed.

Figure 3: permutation importance, marginal vs conditional (§3)

Layout: 3 panels (mtry = 1, 3, 8). The caption describes the marginal scheme as dashed and the conditional scheme as solid. The published image does not match this: both median lines are dashed (the marginal line with short dashes, the conditional line with longer dashes). The schemes are told apart by colour and marker, not by solid vs dashed: the marginal scheme has dark-red lines with red square markers and a pink inter-quartile band, the conditional scheme has dark-blue lines with blue circle markers and a lavender band. Read the figure by colour, not by the caption’s line styles. Each panel has its own y-axis: 0-30, 0-60 and 0-100.

Figure 3 medians and IQRs (digitized; 500 replications; = variables with )

mtryScheme–
1marginal median29292726≈9≈9≈1.6≈0
1marginal IQR27–3226–3225–3023–29————
1conditional median16161413991.6≈0
1conditional IQR15–1815–1813–1612–157.5–107–10—≈ −1 to 1
3marginal median50513527≈13≈13≈1.2≈0
3marginal IQR45–5744–5830–4224–31————
3conditional median202012813131.2≈0
3conditional IQR17–2317–2310–147–1011–1411–150–3≈ −1 to 1
8marginal median7070177≈16≈16≈0.4≈0
8marginal IQR49–9649–10114–326–12————
8conditional median31338316160.4≈0
8conditional IQR23–4322–446–14≈3–513–1813–18−1.5 to 3≈ −2 to 2

”≈” marks values for – where the two schemes’ markers sit on top of each other and cannot be read separately. ”—” means the band is hidden under the other scheme’s band or is too narrow to measure. The paper does not print the units of the importance scale. The response is continuous, so the scale is presumably the increase in OOB mean squared error, but this is an inference.

What the numbers add to the text.

  1. Size of the marginal inflation. For against its uncorrelated twin , the marginal median is about 3.2× larger at mtry = 1, about 3.9× at mtry = 3 and about 4.4× at mtry = 8. Measured by this ratio, the inflation grows with mtry. The text says the effect “is most pronounced for small values of mtry”. That holds for the null and small-coefficient correlated variables: the marginal , with , is about 26 at mtry = 1 against about 7 at mtry = 8, so at small mtry it outranks the uncorrelated by about 3×.
  2. “Almost equal” for vs is generous. The conditional medians are 16 vs 9, 20 vs 13 and 31 vs 16. Conditioning closes most of the gap: the ratio falls from 3.2–4.4× to about 1.5–2×. It does not close all of it. The text’s wording, “an almost equal level of importance”, overstates how well they agree. The remaining gap fits the coarse-grid explanation in ^ex-oracle.
  3. (true zero). Conditionally it falls to 13, 8 and 3, still clearly above the uncorrelated null (≈0) at every mtry. This matches “still overestimated – however to a much lesser extent” (§3).
  4. Variance. The IQR widths for are 5, 12 and 47 (marginal) against 3, 6 and 20 (conditional). The spread grows with mtry, and conditional is narrower at every mtry, as §3 states.
  5. Uncorrelated variables. For – the two schemes overlap almost exactly, as §2.4 predicts when (their is empty in expectation under ).

Figure 4: peptide-binding importances (§4)

Layout: 2 panels (“unconditional” on top, “conditional” below), one bar per predictor. The bars of the three focus variables are dark. Only the x-axis labels h2y8, flex8 and pol3 are printed, and an asterisk marks pol8. The y-axis is labelled at 0 and 0.005, with an unlabelled tick at 0.010.

Figure 4 bar heights (digitized; 1000 trees, mtry = 104)

Bar (left-to-right position)Marginal VIMarginal rankConditional VIConditional rank
unlabelled, ≈11% acrossoff-scale (> 0.0143)1–50.00815
h2y8 (≈14%)0.011780.00189
unlabelled, ≈17%off-scale1–5off-scale1–2
unlabelled, ≈29%off-scale1–5off-scale1–2
unlabelled, ≈54%0.012960.00596
unlabelled, ≈64%off-scale1–50.01004
flex8 (≈67%)0.006390.00248
pol3 (≈83%)0.0038110.00367
pol8* (≈88%)off-scale1–50.01033
unlabelled, ≈93%0.005210≈0.0013—
unlabelled, ≈96%0.01207≈0.0015—

The ranks are derived from the digitized heights. For the three focus variables they match the paper’s stated ranks exactly (8/9/11 → 9/8/7), which supports the reading. The remaining bars are at or below about 0.0025 in the marginal panel and at or below about 0.0016 (just under h2y8) in the conditional panel, so they do not disturb the stated ranks.

What the figure adds, and what it cannot.

  • The top tier. Five predictors run off the marginal panel and two off the conditional one. pol8 (marked *) is one of the five marginal off-scale bars and drops to about 0.010, rank 3, after conditioning. That is the “high importance (that is however also moderated by conditioning)” of §4, para. 2.
  • h2y8 loses about 85% of its score (0.0117 → 0.0018), flex8 about 60% (0.0063 → 0.0024), while pol3 is almost unchanged (0.0038 → 0.0036). The rank reversal is not caused by pol3 rising. It happens because the other two collapse.
  • Identities of the unlabelled top variables. The figure does not name them, and the text names only pol8. The names of the other top-ranked predictors cannot be recovered from the source. The paper also does not say how the 104 predictors are ordered along the x-axis.
  • Other mtry values. The text says the rank change “is most pronounced for large mtry as expected, but similar effects can be observed for smaller values”. Figure 4 shows only mtry = 104. The smaller mtry values that were run are not reported anywhere in the paper.

Examples

Using digitized benchmarks to validate a re-implementation (generic)

To test your own conditional-importance code (e.g. permimp or a custom grouped-permutation routine), reproduce the §2.1 design at mtry = 1, 3 and 8 and compare against the table above. The ordering to check is: marginal ; conditional by roughly 1.5–2×; conditional ; conditional IQR narrower than marginal at each mtry. The same matched-twin check carries over to correlated marketing inputs, for example weekly media data with 52-156 rows.

Connections

See Also