## DECOUPLING SHRINKAGE AND SELECTION IN BAYESIAN LINEAR MODELS: A POSTERIOR SUMMARY PERSPECTIVE

By P. Richard Hahn and Carlos M. Carvalho

Booth School of Business and McCombs School of Business

Selecting a subset of variables for linear models remains an active area of research. This paper reviews many of the recent contributions to the Bayesian model selection and shrinkage prior literature. A posterior variable selection summary is proposed, which distills a full posterior distribution over regression coefficients into a sequence of sparse linear predictors.

- 1. Introduction. This paper revisits the venerable problem of variable selection in linear models. The vantage point throughout is Bayesian: a normal likelihood is assumed and inferences are based on the posterior distribution, which is arrived at by conditioning on observed data.

In applied regression analysis, a 'high-dimensional' linear model can be one which involves tens or hundreds of variables, especially when seeking to compute a full Bayesian posterior distribution. Our review will be from the perspective of a data analyst facing a problem in this 'moderate' regime. Likewise, we focus on the situation where the number of predictor variables, p , is fixed.

In contrast to other recent papers surveying the large body of literature on Bayesian variable selection [Liang et al., 2008, Bayarri et al., 2012] and shrinkage priors [O'Hara and Sillanp¨¨, 2009, aa Polson and Scott, 2012], our review focuses specifically on the relationship between variable selection priors and shrinkage priors. Selection priors and shrinkage priors are related both by the statistical ends they attempt to serve (e.g., strong regularization and efficient estimation) and also in the technical means they use to achieve these goals (hierarchical priors with local scale parameters). We also compare these approaches on computational considerations.

Finally, we turn to variable selection as a problem of posterior summarization. We argue that if variable selection is desired primarily for parsimonious communication of linear trends in the data, that this can be accomplished as a post-inference operation irrespective of the choice of prior distribution. To this end, we introduce a posterior variable selection summary, which distills a full

Keywords and phrases: decision theory, linear regression, loss function, model selection, parsimony, shrinkage prior, sparsity, variable selection.

posterior distribution over regression coefficients into a sequence of sparse linear predictors. In this sense 'shrinkage' is decoupled from 'selection'.

We begin by describing the two most common approaches to this scenario and show how the two approaches can be seen as special cases of an encompassing formalism.

1.1. Bayesian model selection formalism. A now-canonical way to formalize variable selection in Bayesian linear models is as follows. Let M φ denote a normal linear regression model indexed by a vector of binary indicators φ = ( φ , . . . , φ 1 p ) ∈ { 0 1 , } p signifying which predictors are included in the regression. Model M φ defines the data distribution as

$$( 1 ) & & ( Y _ { i } | \mathcal { M } _ { \phi }, \beta _ { \phi }, \sigma ^ { 2 } ) \sim N ( X _ { i } ^ { \phi } \beta _ { \phi }, \sigma ^ { 2 } )$$

where X φ i represents the p φ -vector of predictors in model M φ . Given a sample Y = ( Y , . . . , Y 1 n ) and prior π β , σ ( φ 2 ), the inferential target is the set of posterior model probabilities defined by

$$p ( \mathcal { M } _ { \phi } \, | \, \mathbf Y ) = \frac { p ( \mathbf Y \, | \, \mathcal { M } _ { \phi } ) p ( \mathcal { M } _ { \phi } ) } { \sum _ { \phi } p ( \mathbf Y \, | \, \mathcal { M } _ { \phi } ) p ( \mathcal { M } _ { \phi } ) },$$

where p ( Y | M φ ) = ∫ p ( Y | M φ , β φ , σ 2 ) π β , σ ( φ 2 ) dβ dσ φ 2 is the marginal likelihood of model M φ and p ( M φ ) is the prior over models.

Posterior inferences concerning a quantity of interest ∆ are obtained via Bayesian model averaging (or BMA), which entails integrating over the model space

$$p ( \Delta \, | \, \mathbf Y ) = \sum _ { \phi } p ( \Delta \, | \, \mathcal { M } _ { \phi }, \mathbf Y ) p ( \mathcal { M } _ { \phi } \, | \, \mathbf Y ).$$

As an example, optimal predictions of future values of ˜ Y under squared-error loss are defined through

$$E ( \tilde { Y } \, | \, \mathbf Y ) \equiv \sum _ { \phi } E ( \tilde { Y } \, | \, \mathcal { M } _ { \phi }, \mathbf Y ) p ( \mathcal { M } _ { \phi } \, | \, \mathbf Y ).$$

An early reference adopting this formulation is Raftery et al. [1997]; see also Clyde and George [2004].

Despite its straightforwardness, carrying out variable selection in this framework demands attention to detail: priors over model-specific parameters must be specified, priors over models must be chosen, marginal likelihood calculations must be performed and a 2 -dimensional discrete space p must be explored. These concerns have animated Bayesian research in linear model variable selection for the past two decades.

Regarding model parameters, the consensus default prior for model parameters is π β , σ ( φ 2 ) = π β ( | σ 2 ) π σ ( 2 ) = N (0 , g Ω) × σ -1 . The most widely-studied choice of prior covariance is Ω = σ 2 ( X X t φ φ ) -1 , referred to as 'Zellner's g -prior' [Zellner, 1986], a ' g -type' prior or simply g -prior. Notice that this choice of Ω dictates that the prior and likelihood are conjugate normal-inversegamma pairs (for a fixed value of g ).

For reasons detailed in Liang et al. [2008], it is advised to place a prior on g rather than use a fixed value. Several recent papers describe priors p g ( ) that still lead to efficient computations of marginal likelihoods; see Liang et al. [2008], Maruyama and George [2011], and Bayarri et al. [2012]. Each of these papers (as well as the earlier literature cited therein) study priors of the form

$$p ( g ) \in g ^ { d } ( g + b ) ^ { - ( a + c + d + 1 ) }$$

with a &gt; 0, b &gt; 0, c &gt; -1, and d &gt; -1. (The support of g will be lower bounded by a function of the hyper parameter b .) Specific configurations of these hyper parameters recommended in the literature include: { a = 1 , b = 1 , d = 0 } [Cui and George, 2008], { a = 1 2 / , b = 1 ( b = n , c ) = 0 , d = 0 } [Liang et al., 2008], and { c = -3 4 / , d = ( n -5) / 2 -p φ / 2 + 3 / 4 } [Maruyama and George, 2011].

Bayarri et al. [2012] motivates the use of such priors from a formal testing perspective, using a variety of intuitive desiderata. Regarding prior model probabilities see Scott and Berger [2010], who recommend a hierarchical prior of the form φ j iid ∼ Ber( ), q q ∼ Unif(0 1). ,

1.2. Shrinkage regularization priors. Although the formulation above provides a valuable theoretical framework, it does not necessarily represent an applied statistician's first choice. To assess which variables contribute dominantly to trends in the data, the goal may be simply to mitigaterather than categorize-spurious correlations. Thus, faced with many potentially irrelevant predictor variables, a common first choice would be a powerful regularization prior .

Regularization - understood here as the intentional biasing of an estimate to stabilize posterior inference - is inherent to most Bayesian estimators via the use of proper prior distributions and is one of the often-cited advantages of the Bayesian approach. More specifically, regularization priors refer to priors explicitly designed with a strong bias for the purpose of separating reliable from spurious patterns in the data. In linear models, this strategy takes the form of zero-centered priors with sharp modes and simultaneously fat tails.

A well-studied class of priors fitting this description will serve to connect continuous priors to the model selection priors described above. Local scale mixture of normal distributions are of the

form

$$\pi ( \beta _ { j } \, | \, \lambda ) = \int N ( \beta _ { j } \, | \, 0, \lambda ^ { 2 } \lambda _ { j } ^ { 2 } ) \pi ( \lambda _ { j } ^ { 2 } ) d \lambda _ { j },$$

where different priors are derived from different choices for π λ ( 2 j ).

The last several years have seen tremendous interest in this area, motivated by an analogy with penalized-likelihood methods [Tibshirani, 1996]. Penalized likelihood methods with an additive penalty term lead to estimating equations of the form

$$\sum _ { i } h ( Y _ { i }, { \mathbf x } _ { i }, \beta ) + \alpha Q ( \beta )$$

where h and Q are positive functions and their sum is to be minimized; α is a scalar tuning variable dictating the strength of the penalty. Typically, h is interpreted as a negative log-likelihood, given data Y , and Q is a penalty term introduced to stabilize maximum likelihood estimation. A common choice is Q β ( ) = || β || 1 , which yields sparse optimal solutions β ∗ and admits fast computation [Tibshirani, 1996]; this choice underpins the lasso estimator, a mnemonic for 'least absolute shrinkage and selection operator'.

Park and Casella [2008] and Hans [2009] 'Bayesified' these expressions by interpreting Q β ( ) as the negative log prior density and developing algorithms for sampling from the resulting Bayesian posterior, building upon work of earlier Bayesian authors [Spiegelhalter, 1977, West, 1987, Pericchi and Walley, 1991, Pericchi and Smith, 1992]. Specifically, an exponential prior π λ ( 2 j ) = Exp( α 2 ) leads to independent Laplace (double-exponential) priors on the β j , mirroring expression (7).

This approach has two implications unique to the Bayesian paradigm. First, it presented an opportunity to treat the global scale parameter λ (equivalently the regularization penalty parameter α ) as a hyper parameter to be estimated. Averaging over λ in the Bayesian paradigm has been empirically observed to give better prediction performance than cross-validated selection of α (e.g., Hans [2009]). Second, a Bayesian approach necessitates forming point estimators from posterior distributions; typically the posterior mean is adopted on the basis that it minimizes mean squared prediction error. Note that posterior mean regression coefficient vectors from these models are nonsparse with probability one. Ironically, the two main appeals of the penalized likelihood methodsefficient computation and sparse solution vectors β ∗ -were lost in the migration to a Bayesian approach.

Nonetheless, wide interest in 'Bayesian lasso' models paved the way for more general local shrinkage regularization priors of the form (6). In particular, Carvalho et al. [2010] develops a

prior over location parameters that attempts to shrink irrelevant signals strongly toward zero while avoiding excessive shrinkage of relevant signals. To contextualize this aim, recall that solutions to glyph[lscript] 1 penalized likelihood problems are often interpreted as (convex) approximations to more challenging formulations based on glyph[lscript] 0 penalties. As such, it was observed that the global glyph[lscript] 1 penalty 'overshrinks' what ought to be large magnitude coefficients. The Carvalho et al. [2010] prior may be written as

$$\pi ( \beta _ { j } \ | \ \lambda ) & = N ( 0, \lambda ^ { 2 } \lambda _ { j } ^ { 2 } ), \\ \lambda _ { j } \stackrel { \text{ifId} } { \sim } C ^ { + } ( 0, 1 ).$$

with λ ∼ C + (0 1) or , λ ∼ C + (0 , σ 2 ). The choice of half-Cauchy arises from the insight that for scalar observations y j ∼ N ( θ , j 1) and prior θ j ∼ N (0 , λ 2 j ), the posterior mean of θ j may be expressed:

$$\mathbf E ( \theta _ { j } \ | \ y _ { j } ) = \{ 1 - \mathbf E ( \kappa _ { j } \ | \ y _ { j } ) \} y _ { j },$$

where κ j = 1 (1 + / λ 2 j ). The authors observe that U-shaped Beta(1/2,1/2) distributions (like a horseshoe) on κ j imply a prior over θ j with high mass around the origin but with polynomial tails. That is, the 'horseshoe' prior encodes the assumption that some coefficients will be very large and many others will be very nearly zero. This U-shaped prior on κ j implies the half-cauchy prior density π λ ( j ). The implied prior on β has Cauchy-like tails and a pole at the origin which entails more aggressive shrinkage than a Laplace prior.

Other choices of π λ ( j ) lead to different 'shrinkage profiles' on the ' κ scale'. Polson and Scott [2012] provides an excellent taxonomy of the various priors over β that can be obtained as scalemixtures of normals. The horseshoe and similar priors (e.g., Griffin and Brown [2012]) have proven empirically to be fine default choices for regression coefficients: they lack hyper parameters, forcefully separate strong from weak predictors, and exhibit robust predictive performance.

1.3. Model selection priors as shrinkage priors. It is possible to express model selection priors as shrinkage priors. To motivate this re-framing, observe that the posterior mean regression coefficient vector is not well-defined in the model selection framework. Using the model-averaging notion, the posterior average β may be be defined as:

$$E ( \beta \, | \, \mathbf Y ) \equiv \sum _ { \phi } E ( \beta \, | \, \mathcal { M } _ { \phi }, \mathbf Y ) p ( \mathcal { M } _ { \phi } \, | \, \mathbf Y ),$$

where E( β j | M φ , Y ) ≡ 0 whenever φ j = 0. Without this definition, the posterior expectation of β j is undefined in models where the j th predictor does not appear. More specifically, as the likelihood is constant in variable j in such models, the posterior remains whatever the prior was chosen to be.

To fully resolve this indeterminacy, it is common to set β j identically equal to zero in models where the j th predictor does not appear, consistent with the interpretation that β j ≡ ∂ E( Y ) /∂X j . A hierarchical prior reflecting this choice may be expressed

$$\pi ( \beta \, | \, \sigma ^ { 2 }, \phi ) = N ( 0, g \Lambda \Omega \Lambda ^ { t } )$$

where Λ ≡ diag(( λ , λ 1 2 , . . . , λ p )) and Ω is a positive semi-definite matrix that may depend on φ and/or σ 2 . When Ω is the identity matrix, one recovers (6). To fix β j = 0 when φ j = 0, let λ j ≡ φ s j j for s j &gt; 0, so that when φ j = 0, the prior variance of β j is set to zero (with prior mean of zero). George and McCulloch [1997] develops this approach in detail, including the g -prior specification, Ω( φ ) = σ 2 ( X X t φ φ ) -1 .

Such priors imply that marginally (but not necessarily independently), for j = 1 , . . . , p ,

$$\pi ( \beta _ { j } \ | \ \phi _ { j }, \sigma ^ { 2 }, g, s _ { j } ) = ( 1 - \phi _ { j } ) \delta _ { 0 } + \phi _ { j } N ( 0, g s _ { j } ^ { 2 } \omega _ { j } ),$$

where δ 0 denotes a point mass distribution at zero. Hierarchical priors of this form are sometimes called 'spike-and-slab' priors ( δ 0 is the spike and the continuous full-support distribution is the slab) or the 'two-groups model' for variable selection. References for this specification include Mitchell and Beauchamp [1988] and Geweke et al. [1996], among others.

Note that the spike-and-slab approach can be expressed in terms of the prior over λ j , by integrating over φ :

$$\pi ( \lambda _ { j } \ | \ q ) & = ( 1 - q ) \delta _ { 0 } + q P _ { \lambda _ { j } },$$

where Pr( φ j = 1) = q , and P λ j is some continuous distribution on R + . Of course, q can be given a prior distribution as well; a uniform distribution is common. This representation transparently embeds model selection priors within the class of local scale mixture of normal distributions. An important paper exploring the connections between shrinkage priors and model selection priors is Ishwaran and Rao [2005], who consider a version of (11) via a specification of π λ ( j ) which is bimodal with one peak at zero and one peak away from zero. In many respects, this paper anticipated the work of Park and Casella [2008], Hans [2009], Carvalho et al. [2010], Griffin and Brown [2012], Polson and Scott [2012] and the like.

1.4. Computational issues in variable selection. Because posterior sampling is computationintensive and because variable selection is most desirable in contexts with many predictor variables,

computational considerations are important in motivating and evaluating the approaches above. The discrete model selection approach and the continuous shrinkage prior approach are both quite challenging in terms of posterior sampling.

In the model selection setting, for p &gt; 30, enumerating all possible models (to compute marginal likelihoods, for example) is beyond the reach of modern capability. As such, stochastic exploration of the model space is required, with the hope that the unvisited models comprise a vanishingly small fraction of the posterior probability. George and McCulloch [1997] is frank about this limitation; noting that a Markov Chain run of length less than 2 p cannot have visited each model even once, they write hopefully that 'it may thus be possible to identify at least some of the high probability values'.

Garcia-Donato and Martinez-Beneito [2013] carefully evaluates methods for dealing with this problem and come to compelling conclusions in favor of some methods over others. Their analysis is beyond the scope of this paper, but we count it as required reading for anyone interested in the variable selection problem in large p settings. In broad strokes, they find that MCMC approaches based on Gibbs samplers (i.e., George and McCulloch [1997]) appear better at estimating posterior quantities-such as the highest probability model, the median probability model, etc-compared to methods based on sampling without replacement (i.e., Hans et al. [2007] and Clyde et al. [2011]).

Regarding shrinkage priors, there is no systematic study in the literature suggesting that the above computational problems are alleviated for continuous parameters. In fact, the results of Garcia-Donato and Martinez-Beneito [2013] (see section 6) suggest that posterior sampling in finite sample spaces is easier than the corresponding problem for continuous parameters, in that convergence to stationarity occurs more rapidly.

Moreover, if one is willing to entertain an extreme prior with π φ ( ) = 0 for || φ || 0 &gt; M for a given constant M , model selection priors offer a tremendous practical benefit: one never has to invert a matrix larger than M × M , rather than the p × p dimensional inversions required of a shrinkage prior approach. Similarly, only vectors up to size M need to be saved in memory and operated upon. In extremely large problems, with thousands of variables, setting M = O √ ( p ) or M = O (log p ) saves considerable computational effort. For example, this approach is routinely applied to large scale internet data. Should M be chosen too small, little can be said; if M truly represents one's computational budget, the best model of size M will have to do.

1.5. Selection: from posteriors to sparsity. Identifying sparse models (subsets of non-zero coefficients) might be an end in itself, as in the case of trying to isolate scientifically important variables in the context of a controlled experiment. In this case, a prior with point-mass probabilities at the origin is unavoidable in terms of defining the implicit (multiple) testing problem. Furthermore, the use of Bayes factors is a well-established methodology for evaluating evidence in the data in favor of various hypotheses. Indeed, the highest posterior probability model (HPM) is optimal under 0-1 (classification) loss for the selection of each variable.

If the goal, rather than isolating all and only relevant variables (no matter their absolute size), is to accurately describe the 'important' relationships between predictors and response, then perhaps the model selection route is purely a means to an end. In this context, a natural question is how to fashion a sparse vector of regression coefficients which parsimoniously characterizes the available data. Leamer [1978] is a notable early effort advocating ad-hoc model selection for the purpose of human comprehensibility. Fouskakis and Draper [2008], Fouskakis et al. [2009] and Draper [2013] represent efforts to define variable importance in real-world terms using subject matter considerations. A more generic approach is to gauge predictive relevance [Gelfand et al., 1992].

A widely cited result relating variable selection to predictive accuracy is that of Barbieri and Berger [2004]. Consider mean squared prediction error (MSPE), n -1 E { ∑ i ( ˜ Y i -˜ ˆ ) X β i 2 } , and recall that the model-specific optimal regression vector is ˆ β φ ≡ E( β | M φ , Y ). Barbieri and Berger [2004] show that for X X t diagonal, the best predicting model according to MSPE is the model which includes all and only variables with marginal posterior inclusion probabilities greater than 1/2. This model is referred to as the median probability model (MPM). Their result holds both for a fixed design ˜ X of prediction points or for stochastic predictors with E { ˜ X X t ˜ } diagonal. However, the main condition of their theorem X X t diagonal - is almost never satisfied in practice. Nonetheless, they argue that the median probability model (MPM) tends to outperform the HPM on out-of-sample prediction tasks. Note that the HPM and MPM are often substantially different models, especially in the case of strong dependence among predictors.

George and McCulloch [1997] suggest an alternative approach, which is to specify a two-point shrinkage prior directly in terms of 'practical significance'. Specifically they propose

$$\Pr ( \lambda _ { j } = s _ { 1 } ) = q ; \ \Pr ( \lambda _ { j } = s _ { 2 } ) = ( 1 - q ),$$

where s 1 is a 'large' value reflecting vague prior information about the magnitude of β j , and s 2 is

a 'small' value which biases β j more strongly towards zero. They suggest setting s 1 and s 2 such that the prior (mean zero normal) densities are equal at a point d j = ∆ Y/ ∆ X j where '∆ Y is the size of an insignificant change in Y , and ∆ X i is the size of the maximum feasible change in X j .' This choice entails that the posterior probability Pr( λ j = s 2 | Y ) can be interpreted as the inferred probability that β j is practically significant. However, this approach does not provide a way to interpret the dependencies that arise in the posterior between the elements of λ , . . . , λ 1 p .

A similar approach, called hard thresholding , can be employed even if π λ ( j ) has a continuous density, by stating a classification rule based on posterior samples of β j and λ j . For example, Carvalho et al. [2010] suggest setting to zero those coefficients for which

$$\mathbf E ( \kappa _ { j } = 1 / ( 1 + \lambda _ { j } ^ { 2 } ) \, | \, \mathbf Y ) < 1 / 2.$$

Ishwaran and Rao [2005] discuss a variety of thresholding rules and relate them to conventional thresholding rules based on ordinary least squares estimates of β . As with the approach of George and McCulloch [1997], thresholding approaches do not account for dependencies between the various κ variables across predictors, as they are applied marginally. Indeed, as in Barbieri and Berger [2004], the theoretical results of Ishwaran and Rao [2005] treat only the orthogonal design case.

- 2. Posterior summary variable selection. None of the priors canvassed above, in themselves, provide sparse model summaries. To go from a posterior distribution to a sparse point estimate requires an additional step, regardless of what prior is used. Commonly studied approaches tend to neglect posterior dependencies between regression coefficients β , j j = 1 , . . . , p (equivalently, their associated scale factors λ j ).

In this section we describe a posterior summary based on an expected loss minimization problem. The loss function is designed to balance prediction ability (in the sense of mean square prediction error) and narrative parsimony (in the sense of sparsity). The new summary checks three important boxes:

- · it produces sparse vectors of regression coefficients for prediction,
- · it can be applied to a posterior distribution arising from any prior distribution,
- · it explicitly accounts for co-linearity in the matrix of prediction points and dependencies in the posterior distribution of β .
- 2.1. The cost of measuring irrelevant variables. Suppose that collecting information on individual covariates incurs some cost; thus the goal is to make an accurate enough prediction subject to

a penalty for acquiring predictively irrelevant facts.

Consider the problem of predicting an n -vector of future observables ˜ Y ∼ N ( ˜ X β, σ 2 I ) at a prespecified set of design points ˜ . Assume that a posterior distribution over the model parameters ( X β , σ 2 ) has been obtained via Bayesian conditioning, given past data Y and design matrix X ; denote the density of this posterior by π β, σ ( 2 | Y ).

It is crucial to note that ˜ X and X need not be the same. That is, the locations in predictor space where one wants to predict need not be the same points at which one has already observed past data. For notational simplicity, we will write X instead of ˜ X in what follows. Of course, taking ˜ X = X is a conventional choice, but distinguishing between the two becomes important in certain cases such as when p &gt; n .

Define an optimal action as one which minimizes expected loss E( L ( ˜ Y , γ )), where the expectation is taken over the predictive distribution of unobserved values:

$$f ( \tilde { Y } ) & = \, \int f ( \tilde { Y } \, | \, \beta, \sigma ^ { 2 } ) \pi ( \beta, \sigma ^ { 2 } \, | \, \mathbf Y ) d ( \beta, \sigma ^ { 2 } ).$$

As a widely applicable loss function, consider

$$\mathcal { L } ( \tilde { Y }, \gamma ) & = \lambda | | \gamma | | _ { 0 } + n ^ { - 1 } | | \mathbf X \gamma - \tilde { Y } | | _ { 2 } ^ { 2 },$$

glyph[negationslash]

where || · || 0 = ∑ j 1 ( γ j = 0). This loss sums two components, one of which is a 'parsimony penalty' on the action γ and the other of which is the squared prediction loss of the linear predictor defined by γ . The scalar utility parameter λ dictates how severely we penalize each of these two components, relatively. Integrating over ˜ Y conditional on ( β, σ 2 ) (and overloading the notation of L ) gives

$$\mathcal { L } ( \beta, \sigma, \gamma ) \equiv \mathbb { E } ( \mathcal { L } ( \tilde { Y }, \gamma ) ) = \lambda | | \gamma | | _ { 0 } + n ^ { - 1 } | | \mathbf X \gamma - \mathbf X \beta | | _ { 2 } ^ { 2 } + \sigma ^ { 2 }.$$

Because ( β, σ 2 ) are unknown, an additional integration over π β, σ ( 2 | Y ) yields

$$\mathcal { L } ( \gamma ) \equiv \mathrm E ( \mathcal { L } ( \beta, \sigma, \gamma ) ) = \lambda | | \gamma | | _ { 0 } + \bar { \sigma } ^ { 2 } + n ^ { - 1 } \text{tr} ( \mathbf X ^ { t } \mathbf X \Sigma _ { \beta } ) + n ^ { - 1 } | | \mathbf X \bar { \beta } - \mathbf X \gamma | | _ { 2 } ^ { 2 },$$

where ¯ σ 2 = E( σ 2 ), ¯ = E( β β ) and Σ β = Cov( β ).

Dropping constant terms, one arrives at the 'decoupled shrinkage and selection' (DSS) loss function:

$$\mathcal { L } ( \gamma ) & = \lambda | | \gamma | | _ { 0 } + n ^ { - 1 } | | \mathbf X \bar { \beta } - \mathbf X \gamma | | _ { 2 } ^ { 2 }.$$

Optimization of the DSS loss function is a combinatorial programming problem depending on the posterior distribution via the posterior mean of β . The optimal solution of (19) therefore represents a 'sparsification' of ¯ , β which is the theoretically optimal action under pure squared prediction loss. In this sense, the DSS loss function explicitly trades off the number of variables in the linear predictor with its resulting predictive performance. Denote this optimal solution by

$$\beta _ { \lambda } \equiv \arg \min _ { \gamma } \ \lambda | | \gamma | | _ { 0 } + n ^ { - 1 } | | \mathbf X \bar { \beta } - \mathbf X \gamma | | _ { 2 } ^ { 2 }.$$

Note that the above derivation applies straightforwardly to the selection prior setting via expression (10) or (equivalently) via the hierarchical formulation in (12), which guarantee that ¯ is well β defined marginally across different models.

2.2. Analogy with high posterior density regions. Although orthographically (19) resembles expressions used in penalized likelihood methods, the better analogy is a Bayesian high posterior density (HPD) region. Like HPD regions, a DSS summary satisfies a 'comprehensibility criterion'; an HPD interval gives the shortest contiguous interval encompassing some fixed fraction of the posterior mass, while the DSS summary produces the sparsest linear predictor which still has reasonable prediction performance. Like HPD regions, DSS summaries are well defined under any given prior.

To amplify, the DSS optimization problem is well-defined for any posterior as long as ¯ exists. β Different priors may lead to very different posteriors, potentially with very different means. However, regardless of the precise nature of the posterior (e.g., the presence of multimodality), ¯ β is the optimal summary under squared-error prediction loss, which entails that expression (20) represents the sparsified solution to the optimization problem given in (16).

An important implication of this analogy is the realization that a DSS summary can be produced for a prior distribution directly, in the same way that a prior distribution has a high posterior density region. The DSS summary requires the user to specify a matrix of prediction points ˜ , but X conditional on this choice one can extract sparse linear predictors directly from a prior distribution.

In Section 3, we discuss strategies for using additional features of the posterior π β, σ ( 2 | Y ) to guide the choice of picking λ .

2.3. Computing and approximating β λ . The counting penalty || γ || 0 yields an intractable optimization problem for even tens of variables ( p ≈ 30). This problem has been addressed in recent

years by approximating the counting norm with modifications of the glyph[lscript] 1 norm, || γ || 1 = ∑ h | γ h | , leading to a surrogate loss function which is convex and readily minimized by a variety of software packages. Crucially, such approximations still yield a sequence of sparse actions (the solution path as a function of λ ), simplifying the 2 p dimensional selection problem to a choice between at most p alternatives. The goodness of these approximations is a natural and relevant concern. Note, however, that the goodness of approximation is entirely non-statistical-the statistical side of the problem has been separately addressed in the formation of the posterior distribution. This is what is meant by 'decoupled' shrinkage and selection.

More specifically, recall that DSS requires the evaluation of the optimal solution

$$\beta _ { \lambda } \equiv \arg \min _ { \gamma } \ \lambda | | \gamma | | _ { 0 } + n ^ { - 1 } | | \mathbf X \bar { \beta } - \mathbf X \gamma | | _ { 2 } ^ { 2 }.$$

The most simplistic and yet widely-used approximation is to substitute the glyph[lscript] 0 by the glyph[lscript] 1 norm, which leads to a convex optimization problem for which many implementations are available, in particular the lars algorithm (Efron et al. [2004]). Using this approximation, β λ can be obtained simply by running the lars algorithm using ¯ Y = X ¯ as the 'data'. See also Bondell and Reich β [2012] who similarly use an glyph[lscript] 1 penalty to define a sparse posterior point estimator.

It is well-known that the glyph[lscript] 1 approximation may unduly 'shrink' all elements of β λ beyond the shrinkage arising naturally from the prior over β . To avoid this potential 'double-shrinkage' it is possible to explicitly adjust the glyph[lscript] 1 approach towards the desired glyph[lscript] 0 target. Specifically, the local linear approximation argument of Zou and Li [2008] and Lv and Fan [2009] advises to solve a surrogate optimization problem (for any w j near the corresponding glyph[lscript] 0 solution)

$$\beta _ { \lambda } \equiv \arg \min _ { \gamma } \ \sum _ { j } \frac { \lambda } { | w _ { j } | } | \gamma _ { j } | + n ^ { - 1 } | | \mathbf X \bar { \beta } - \mathbf X \gamma | | _ { 2 } ^ { 2 }.$$

This approach yields a procedure analogous to the adaptive lasso of Zhou [2006] with ¯ Y = X ¯ β in place of Y . In what follows, we use w j = ¯ β j (whereas the adaptive lasso uses the least-squares estimate ˆ ). The β j lars package in R can then be used to obtain solutions to this objective function by a straightforward rescaling of the design matrix.

In our experience, this approximation successfully avoids double-shrinkage. In fact, as illustrated in the U.S. crime example below, this approach is able to un-shrink coefficients depending on which variables are selected into the model.

For a fixed value of λ , expression (19) uniquely determines a sparse vector β λ as its corresponding Bayes estimator. However, choosing λ to define this estimator is a non-trivial decision in its own

right. Section 3 considers how to use the posterior distribution π β, σ ( 2 | Y ) to illuminate the trade-offs implicit in the selection of a given value of λ .

3. Selection summary plots. How should one think about the generalization error across possible values of λ ? Consider first two extreme cases. When λ = 0, the solution to the DSS optimization problem is simply the posterior mean: β λ =0 ≡ ¯ . β Conversely, for very large λ , the optimal solution will be the zero vector, β λ = ∞ = 0, which will have expected prediction loss equal to the marginal variance of the response Y (which will depend on the predictor points in question). Letting λ depend on sample size so that λ n → 0 faster than the posterior distribution concentrates about the true parameter value, will give a consistent estimator [Bondell and Reich, 2012]. But in applied scenarios with finite samples, the sparsity of β λ depends directly on the choice of λ , making its selection an important consideration.

A sensible way to judge the goodness of β λ in terms of prediction is relative to the predictive performance of β -were it known-which is the optimal linear predictor under squared-error loss. The relevant scale for this comparison is dictated by σ 2 , which quantifies the best one can hope to do even if β were known. With these benchmarks in mind, one wants to address the question: how much predictive deterioration is a result of sparsification?

The remainder of this section defines three plots that can be used by a data analyst to visualize the predictive deterioration across various values of λ . The first plot concerns a measure of 'variation explained', the second plot considers the excess prediction loss on the scale of the response variable, and the final plot looks at the magnitude of the elements of β λ . Throughout, we will preprocess the outcome variable and covariates to be centered at zero and scaled to unit variance.

3.1. Variation explained of a sparsified linear predictor. Define the 'variation-explained' at design points X (perhaps different than those seen in the data sample used to form the posterior distribution) as:

$$\rho ^ { 2 } = \frac { n ^ { - 1 } | | \mathbf X \beta | | ^ { 2 } } { n ^ { - 1 } | | \mathbf X \beta | | ^ { 2 } + \sigma ^ { 2 } }.$$

Denote by

(24)

$$\rho _ { \lambda } ^ { 2 } = \frac { n ^ { - 1 } | | \mathbf X \beta | | ^ { 2 } } { n ^ { - 1 } | | \mathbf X \beta | | ^ { 2 } + \sigma ^ { 2 } + n ^ { - 1 } | | \mathbf X \beta - \mathbf X \beta _ { \lambda } | | ^ { 2 } }$$

the analogous quantity for the sparsified linear predictor β λ . The gap between β λ and β due to sparsification is tallied as a contribution to the noise term, which decreases the variation explained.

This quantity has the benefit of being directly comparable to the ubiquitous R 2 metric of model fit familiar to users of statistical software and least-squares theory.

Posterior samples of ρ 2 λ can be obtained as follows. First, solve (22) by applying the lars algorithm with inputs w j = ¯ β j and Y = X ¯ . β A single run of this algorithm will produce a sequence of solutions β λ for a range of λ values. (Obtaining draws of ρ 2 λ using a model selection prior requires posterior samples from ( β, σ 2 ) marginally across models.) Second, for each element in the sequence of β λ 's, convert posterior samples of ( β, σ 2 ) into samples of ρ 2 λ via definition (24). Finally, plot the expected value and 90% credible intervals of ρ 2 λ against the model size, || β λ || λ . The posterior mean of ρ 2 0 may be overlaid as a horizontal line for benchmarking purposes; note that even for λ = 0 (so that β λ =0 = ¯ ), the corresponding variation explained, β ρ 2 0 , will have a (non-degenerate) posterior distribution induced by the posterior distribution over ( β, σ 2 ).

Variation explained sparsity summary plots depict the posterior uncertainty of ρ 2 λ , thus providing a measure of confidence concerning the predictive goodness of the sparsified vector. In these plots, one often observes that the sparsified variation explained does not deteriorate 'statistically significantly' in the sense that the credible interval for ρ 2 λ overlaps the posterior mean of the unsparsified variation explained.

- 3.2. Excess error of a sparsified linear predictor. Define the 'excess error' of a sparsified linear predictor β λ as

$$\psi _ { \lambda } = \sqrt { n ^ { - 1 } | | { \mathbf X } \beta _ { \lambda } - { \mathbf X } \beta | | ^ { 2 } + \sigma ^ { 2 } } - \sigma.$$

This metric of model fit, while less widely used than variation explained, has the virtue of being on the same scale as the response variable. Note that excess error attains a minimum of zero precisely when β λ = β . As with the variation explained, the excess error is a random variable and so has a posterior distribution. By plotting the mean and 90% credible intervals of the excess error against model size (corresponding to increasing values of λ ), one can see at a glance the degree of predictive deterioration incurred by sparsification. Samples of ψ λ can be obtained analogously to the procedure for producing samples of ρ 2 λ , but using (25) in place of (24).

- 3.3. Coefficient magnitude plot. In addition to the two previous plots, it is instructive to examine which variables remain in the model at different levels of sparsification, which can be achieved simply by plotting the magnitude of each element of β λ as λ (hence model size) varies. However,

using λ or || β λ || 0 for the horizontal axis can obscure the real impact of the sparsification because the predictive impact of sparsification is non-constant. That is, the jump from a model of size 7 to one of size 6, for example, may correspond to a negligible predictive impact, while the jump from model of size 3 to a model of size 2 could correspond to considerable predictive deterioration. Plotting the magnitude of the elements of β λ against the corresponding excess error ψ λ gives the horizontal axis a more interpretable scale.

3.4. A heuristic for reporting a single model. The three plots described above achieve a remarkable consolidation of information hidden within the posterior samples of π β, σ ( 2 | Y ). They relate sparsification of a linear predictor to the associated loss in predictive ability, while keeping the posterior uncertainty in these quantities in clear view. Nonetheless, in many situations one would like a procedure that yields a single linear predictor.

For producing a single-model linear summary, we propose the following heuristic: report the sparsified linear predictor corresponding to the smallest model whose 90% ρ 2 λ credible interval contains E( ρ 2 0 ). In words, we want the smallest linear predictor whose predictive ability (practical significance) is not statistically different than the full model's.

This choice leans on convention, for example, to determine the 90% level (rather than say the 75% or 95%). However, this is true of alternative methods such as hard thresholding or examination of marginal inclusion probabilities, which both require similar conventional choices to be determined.

The DSS model selection heuristic offer a crucial benefit over these approaches, though-it explicitly includes a design matrix of predictors into its very formulation. Standard thresholding rules and methods such as the median probability model approach are instead defined on a one-by-one basis, which does not explicitly account for colinearity in the predictor space. (Recall that both the thresholding rules studied in Ishwaran and Rao [2005] and the median probability theorems of Barbieri and Berger [2004] restrict their analysis to the orthogonal design situation.)

In the DSS approach to model selection, dependencies in the predictor space appear both in the formation of the posterior and also in the definition of the loss function. In this sense, while the response vector Y is only 'used once' in the formation of the posterior, the design information may be 'used twice', both in defining the posterior and also in defining the loss function. Note that this is completely kosher in the sense that the model is conditional on X in the first place. Note also that the DSS loss function may be based on a predictor matrix different than the one used in the formation of the posterior.

Example: U.S. crime dataset ( p = 15 , n = 47 ). The U.S. crime data of Vandaele [1978] appears in Raftery et al. [1997] and Clyde et al. [2011] among others. The dataset consists of n = 47 observations on p = 15 predictors. As in earlier analyses we log transform all continuous variables. We produce DSS selection summary plots for three different priors: (i) the horseshoe prior, (ii) the robust prior of Bayarri et al. [2012] with uniform model probabilities, and (iii) a g -prior with g = n and model probabilities as suggested in Scott and Berger [2006]. With p = 15 &lt; 30, we are able to evaluate marginal likelihoods for all models under the model selection priors (ii) and (iii).

We use these particular priors not to endorse them, but merely as representative examples of widely-used specifications.

Figures 1 and 2 show the resulting DSS plots under each prior. Notice that with this data set the prior choice has an impact; the resulting posteriors for ρ 2 are quite different. For example, under the horseshoe prior we observe a significantly larger amount of shrinkage, leading to a posterior for ρ 2 that concentrates around smaller values as compared to the results in Figure 2. Despite this difference, a conservative reading of the plots would lead to the same conclusion in either situation: the 7-variable model is essentially equivalent (in both suggested metrics, ρ 2 and ψ ) to the full model.

To use these plots to produce a single sparse linear predictor for the purpose of data summary, we employ the heuristic described in Section 3.4. Table 1 compares the resulting summary to the model chosen according to the median probability model criterion. Notably, the DSS heuristic yields the same 7-variable model under all three choices of prior. In contrast, the HPM is the full model, while the MPM gives either an 11-variable or a 7-variable model depending on which prior is used. Both the HPM and MPM under the robust prior choice would include variables with low statistical and practical significance.

Notice also that the MPM under the robust prior contains four variables with marginal inclusion probabilities near 1 2. / The precise numerics of these quantities is highly prior dependent and sensitive to search methods when enumeration is not possible. Accordingly, the MPM model in this case is highly unstable. By focusing on metrics more closely related to practical significance, the DSS heuristic provides more stable selection, returning the same 7-variable model under all prior specifications in this example. As such, this data set provides a clear example of statistical significance-as evaluated by standard posterior quantities-overwhelming practical relevance. The summary provided by a selection summary plot makes an explicit distinction between the two

notions of relevance, providing a clear sense of the predictive cost associated with dropping a predictor.

Finally, notice that there is no evidence of 'double-shrinkage'. That is, one might suppose that DSS penalizes coefficients twice, once in the prior and again in the sparsification process, leading to unwanted attenuation of large signals. However, double-shrinkage would not occur if the glyph[lscript] 0 penalty were being applied exactly, so any unwanted attenuation is attributable to the imprecision of the surrogate optimization in (22). In practice, we observe that the adaptive lasso-based approximation exhibits minimal evidence of double-shrinkage. Figure 3 displays the resulting values of β λ in the U.S. crime example plotted against the posterior mean (under the horseshoe prior). Notice that, moving from larger to smaller models, no double-shrinkage is apparent. In fact, we observe reinflation or 'unshrinkage' of some coefficients as one progresses to smaller models, as might be expected under the glyph[lscript] 0 norm.

|         | DSS-HS (7)   | DSS-Robust (7)   | DSS- g -prior (7)   | MPM (Robust)   | MPM ( g -prior)   |
|---------|--------------|------------------|---------------------|----------------|-------------------|
| M       | •            | •                | •                   | 0.89           | 0.85              |
| So      | -            | -                | -                   | 0.39           | 0.27              |
| Ed      | •            | •                | •                   | 0.97           | 0.96              |
| Po1     | •            | •                | •                   | 0.71           | 0.68              |
| Po2     | -            | -                | -                   | 0.52           | 0.45              |
| LF      | -            | -                | -                   | 0.36           | 0.22              |
| M.F     | -            | -                | -                   | 0.38           | 0.24              |
| Pop     | -            | -                | -                   | 0.51           | 0.40              |
| NW      | •            | •                | •                   | 0.77           | 0.70              |
| U1      | -            | -                | -                   | 0.39           | 0.27              |
| U2      | •            | •                | •                   | 0.71           | 0.63              |
| GDP     | -            | -                | -                   | 0.52           | 0.39              |
| Ineq    | •            | •                | •                   | 0.99           | 0.99              |
| Prob    | •            | •                | •                   | 0.91           | 0.88              |
| Time    | -            | -                | -                   | 0.52           | 0.40              |
| R 2 MLE | 82.6%        | 82.6%            | 82.6%               | 85.4%          | 82.6%             |

## Table 1

Selected models by different methods in the U.S. crime example. The MPM column displays marginal inclusion probabilities with the numbers in bold associated with the variables included in the median probability model. The R 2 mle row reports the traditional in-sample percentage of variation explained of the least-squares fit based on only the variables in a given column.

Example: Diabetes dataset ( p = 10 , n = 447 ). The diabetes data was used to demonstrate the lars algorithm in Efron et al. [2004]. The data consist of p = 10 baseline measurements on n = 442 diabetic patients; the response variable is a numerical measurement of disease progression. As in Efron et al. [2004], we work with centered and scaled predictor and response variables. In this example we only used the robust prior of Bayarri et al. [2012]. The goal is to focus on the sequence

Fig 1 . U.S. Crime Data: DSS plots under the horseshoe prior.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1408.0464v1-figure-aa709d3a-27ae-4746-b28e-2ae5d6de4adc.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1408.0464v1-figure-931f117c-d2a2-4175-98a9-690960ad014b.jpg)

in which the variables are included and to illustrate how DSS provides an attractive alternative to the median probability model.

Table 2 shows the variables included in each model in the DSS path up to the 5-variable model. The DSS plots in this example (omitted here) suggest that this should be the largest model under consideration. The table also reports the median probability model.

Notice that marginal inclusion probabilities do not necessarily offer a good alternative to rank

variable importance, particularly in cases where the predictors are highly colinear. This is evident in the current example in the 'dilution' of inclusion probabilities of the variables with the strongest dependencies in this dataset: TC, LDL, HDL, TCH and LTG. It is possible to see the same effect in the rank of high probability models, as most models on the top of the list represent distinct combinations of correlated predictors. In the sequence of models from DSS, variables HDL and LTG are chosen as the representatives for this group.

Meanwhile, a variable such as Sex (highly correlated with BMI) appears with marginal inclusion

Fig 2 . U.S. Crime Data: DSS plot under the 'robust' prior of Bayarri et al. [2012] (top row) and under a g -prior with g = n (bottom row). All 2 15 models were evaluated in this example.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1408.0464v1-figure-1fae6183-8a00-4218-93af-a15d2944b0db.jpg)

## dss model size: 15

![image](https://ac.marcodsn.me/arxiv-markdown-images/1408.0464v1-figure-9af0cdcc-5f00-48fd-aabc-573df7c34cdf.jpg)

dss model size: 7

## dss model size: 9

![image](https://ac.marcodsn.me/arxiv-markdown-images/1408.0464v1-figure-c415a852-7ed3-4fbf-9b6e-fcd0d660aa15.jpg)

## dss model size: 2

Fig 3 . U.S. Crime data under the horseshoe prior: ¯ β refers to the posterior mean while β DSS is the value of β λ under different values of λ such that different number of variables are selected.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1408.0464v1-figure-9298affa-cd33-4b53-b7fd-d7346c1c34f5.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1408.0464v1-figure-484f7f25-e4c2-4ce7-aef0-6c2d6b9f1495.jpg)

probability of 0.98, and yet its removal from DSS (five-variable) leads to only a minor increase in the model's predictive ability. Thus the diabetes data offer a clear example where statistical significance can overwhelm practical relevance if one looks only at standard Bayesian outputs. The summary provided by DSS makes a distinction between the two notions of relevance, providing a clear sense of the predictive cost associated with dropping a predictor.

Example: protein activation dataset ( p = 88 , n = 96 ). The protein activity dataset is from Clyde et al. [2011]. This example differs from the previous example in that with p = 88 predictors, the model space can no longer be exhaustively enumerated. In addition, correlation between the potential predictors is as high as 0.99, with 17 pairs of variables having correlations above 0.95. For

Table 2

|         | DSS-Robust (5)   | DSS-Robust (4)   | DSS-Robust (3)   | DSS-Robust (2)   | DSS-Robust (1)   | MPM ( Robust )   |
|---------|------------------|------------------|------------------|------------------|------------------|------------------|
| Age     | -                | -                | -                | -                | -                | 0.08             |
| Sex     | •                | -                | -                | -                | -                | 0.98             |
| BMI     | •                | •                | •                | •                | •                | 0.99             |
| MAP     | •                | •                | •                | -                | -                | 0.99             |
| TC      | -                | -                | -                | -                | -                | 0.66             |
| LDL     | -                | -                | -                | -                | -                | 0.46             |
| HDL     | •                | •                | -                | -                | -                | 0.51             |
| TCH     | -                | -                | -                | -                | -                | 0.26             |
| LTG     | •                | •                | •                | •                | -                | 0.99             |
| GLU     | -                | -                | -                | -                | -                | 0.13             |
| R 2 MLE | 50.8%            | 49.2%            | 48.0%            | 45.9%            | 34.4%            | 51.3%            |

Selected models by DSS and model selection prior in the Diabetes example. The MPM column displays marginal inclusion probabilities, and the numbers in bold are associated with the variables included in the median probability model.

this example, the horseshoe prior and the robust prior are considered. To search the model space, we use a conventional Gibbs sampling strategy as in Garcia-Donato and Martinez-Beneito [2013] (Appendix A), based on George and McCulloch [1997].

Figure 4 shows the DSS plots under the two priors considered. Once again, the horseshoe prior leads to smaller estimates of ρ 2 . And once again, despite this difference, the DSS heuristic returns the same (7) predictors under both priors. On this data set, the MPM under the Gibbs search (as well as the HPM and MPM given by BAS ) coincide with the DSS summary model.

Example: protein activation dataset ( p = 88 , n = 80 ). To explore the behavior of DSS in the p &gt; n regime, we modify the previous example by randomly selecting a subset of n = 80 observations from the original dataset. These 80 observations are used to form our posterior distribution. To define the DSS summary, we take ˜ to be the entire set of 96 predictor values. For simplicity we only X use the robust model selection prior. Figure 5 shows the results; with fewer observations, smaller models don't give up as much in the ρ 2 and ψ scales as the original example. A conservative read of the DSS plots leads to the same 6-variable model, however, in this limited information situation, the models with 5 or 4 variables are competitive. One important aspect of Figure 5 is that even working in the p &gt; n regime, DSS is able to evaluate the performance and provide a summary of models of any dimension up to the full model. This is accomplished even in this situations where by using the robust prior, the posterior was limited to models up to dimension n -1. In order for this to be achieved all DSS needs is the number of points in X to be larger than p . In situations where not enough points are available in the dataset, all the user needs to do is to add (arbitrary

Fig 4 . Protein Activation Data: DSS plots under model selection priors (top row) and under shrinkage priors (bottom row).

![image](https://ac.marcodsn.me/arxiv-markdown-images/1408.0464v1-figure-051e4e2c-e87b-467b-b4f2-567831cfac4e.jpg)

and without loss of generality) representative points in which to make predictions about potential Y .

- 4. Discussion. A detailed examination of the previous literature reveals that sparsity can play many roles in a statistical analysis-model selection, strong regularization, and improved

Fig 5 . Protein Activation Data ( p &gt; n case): DSS plots under model selection priors

![image](https://ac.marcodsn.me/arxiv-markdown-images/1408.0464v1-figure-26177f93-5304-44cb-827a-576c76b884bf.jpg)

computation, for example. A central, but often implicit, virtue of sparsity is that human beings find fewer variables easier to think about.

When one desires sparse model summaries for improved comprehensibility, prior distributions are an unnatural vehicle for furnishing this bias. Instead, we describe how to use a decision theoretic approach to induce sparse posterior model summaries. Our new loss function resembles the popular penalized likelihood objective function of the lasso estimator, but its interpretation is very different. Instead of a regularizing tool for estimation, our loss function is a posterior summarizer with an explicit parsimony penalty. To our knowledge this is the first such loss function to be proposed in this capacity. Conceptually, its nearest forerunner would be high posterior density regions, which summarize a posterior density while satisfying a compactness constraint.

Unlike hard thresholding rules, our selection summary plots convey posterior uncertainty associated with the provided sparse summaries. In particular, posterior correlation between the elements of β impacts the posterior distribution of the sparsity degradation metrics ρ 2 and ψ . While the DSS approach does not 'automate' the problem of determining λ (and hence β λ ), they do manage to distill the posterior distribution into a graphical summary that reflects the posterior uncertainty in the predictive degradation due to sparsification. Furthermore, they explicitly integrate information about the possibly non-orthogonal design space in ways that standard thresholding rules and

marginal probabilities do not.

As a summary device, these plots can be used in conjunction with whichever prior distribution is most appropriate to the applied problem under consideration. As such, they complement recent advances in Bayesian variable selection and shrinkage estimation and will benefit from future advances in these areas.

We demonstrate how to apply the summary selection concept to logistic regression and Gaussian graphical models in a brief appendix.

## References.

- M. Barbieri and J. Berger. Optimal predictive model selection. Annals of Statistics , 32:870-897, 2004.
- M. Bayarri, J. Berger, A. Forte, and G. Garcia-Donato. Criteria for Bayesian model choice with application to variable selection. The Annals of Statistics , 40(3):1550-1577, 2012.
- H. Bondell and B. Reich. Consistent high-dimensional Bayesian variable selection via penalized credible regions. Journal of the American Statistical Association , 107:1610-1624, 2012.
- C. Carvalho, N. Polson, and J. Scott. The horseshoe estimator for sparse signals. Biometrika , 97:465-480, 2010.
- M. Clyde and E. George. Model uncertainty. Statistical Science , 19:81-94, 2004.
- M. Clyde, J. Ghosh, and M. Littman. Bayesian adaptive sampling for variable selection and model averaging. Journal of Computational and Graphical Statistics , 20:80-101, 2011.
- W. Cui and E. I. George. Empirical Bayes vs. fully Bayes variable selection. Journal of Statistical Planning and Inference , 138(4):888-900, 2008.
- D. Draper. Bayesian model specification: Heuristics and examples. In P. Damien, P. Dellaportas, N. Polson, and D. Stephens, editors, Bayesian Theory and Applications , pages 409-431. Oxford University Press, 2013.
- B. Efron, T. Hastie, I. Johnstone, and R. Tibshirani. Least angle regression. Annals of Statistics , 32:407-499, 2004.
- D. Fouskakis and D. Draper. Comparing stochastic optimization methods for variable selection in binary outcome prediction, with application to health policy. Journal of the American Statistical Association , 103(484):1367-1381, 2008.
- D. Fouskakis, I. Ntzoufras, and D. Draper. Bayesian variable selection using cost-adjusted BIC, with application to cost-effective measurement of quality of health care. Annals of Applied Statistics , 3:663-690, 2009.
- J. Friedman, T. Hastie, and R. Tibshirani. Sparse inverse covariance estimation with the graphical lasso. Biostatistics , 9(3):432-441, 2008.
- J. Friedman, T. Hastie, and R. Tibshirani. Regularization paths for generalized linear models via coordinate descent. Journal of Statistical Software , 33(1):1-22, 2010.
- G. Garcia-Donato and M. Martinez-Beneito. On sampling strategies in Bayesian variable selection problems with large model spaces. Journal of the American Statistical Association , 108:340-352, 2013.
- A. E. Gelfand, D. K. Dey, and H. Chang. Model determination using predictive distributions with implementation via sampling-based methods. Technical report, DTIC Document, 1992.
- E. George and R. McCulloch. Approaches for Bayesian variable selection. Statistica Sinica , 7:339-373, 1997.
- J. Geweke et al. Variable selection and model comparison in regression. In A. D. J.M. Bernardo, J.O. Berger and A. Smith, editors, Bayesian Statistics 5 , pages 609-620, New York, 1996. Oxford University Press.
- J. Griffin and P. Brown. Structuring shrinkage: some correlated priors for regression. Biometrika , 99:481-487, 2012.
- C. Hans. Bayesian lasso regression. Biometrika , 96:835-845, 2009.
- C. Hans, A. Dobra, and M. West. Shotgun stochastic search in regression with many predictors. Journal of the American Statistical Association , 102:507-516, 2007.
- H. Ishwaran and J. S. Rao. Spike and slab variable selection: frequentist and Bayesian strategies. The Annals of Statistics , 33(2):730-773, 2005.
- B. Jones, C. Carvalho, A. Dobra, C. Hans, C. Carter, and M. West. Experiments in stochastic computation for

high-dimensional graphical models. Statistical Science , 20:388-400, 2005.

- E. Leamer. Specification searches: ad hoc inference with nonexperimental data . Wiley series in probability and mathematical statistics. Wiley, 1978. ISBN 9780471015208. URL http://books.google.com/books?id=sYVYAAAAMAAJ .
- F. Liang, R. Paulo, G. Molina, M. Clyde, and J. Berger. Mixtures of g priors for Bayesian variable selection. Journal of the American Statistical Association , 103:410-423, 2008.
- J. Lv and Y. Fan. A unified approach to model selection and sparse recovery using regularized least squares. Annals of Statistics , 37:3498-3528, 2009.
- Y. Maruyama and E. I. George. Fully Bayes factors with a generalized g-prior. The Annals of Statistics , 39(5): 2740-2765, 2011.
- T. J. Mitchell and J. J. Beauchamp. Bayesian variable selection in linear regression. Journal of the American Statistical Association , 83(404):1023-1032, 1988.
- R. B. O'Hara and M. J. Sillanp¨¨. A review of Bayesian variable selection methods: what, how and which. aa Bayesian Analysis , 4(1):85-117, 2009.
- T. Park and G. Casella. The Bayesian lasso. Journal of the American Statistical Association , 103:681-686, 2008.
- L. Pericchi and A. Smith. Exact and approximate posterior moments for a normal location parameter. Journal of the Royal Statistical Society. Series B (Methodological) , pages 793-804, 1992.
- L. R. Pericchi and P. Walley. Robust Bayesian credible intervals and prior ignorance. International Statistical Review , pages 1-23, 1991.
- N. G. Polson and J. G. Scott. Local shrinkage rules, L´vy processes and regularized regression. e Journal of the Royal Statistical Society: Series B (Statistical Methodology) , 74(2):287-311, 2012.
- N. G. Polson, J. G. Scott, and J. Windle. Bayesian inference for logistic models using Polya-Gamma latent variables. Journal of the American Statistical Association , 108:1339-1349, 2013.
- A. Raftery, D. Madigan, and J. Hoeting. Bayesian model averaging for linear regression models. Journal of the American Statistical Association , 92:1197-1208, 1997.
- J. Scott and J. Berger. An exploration of aspects of Bayesian multiple testing. Journal of Statistical Planning and Inference , 136:2144-2162, 2006.
- J. G. Scott and J. O. Berger. Bayes and empirical-Bayes multiplicity adjustment in the variable-selection problem. The Annals of Statistics , 38(5):2587-2619, 2010.
- D. Spiegelhalter. A test for normality against symmetric alternatives. Biometrika , 64(2):415-418, 1977.
- R. Tibshirani. Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society, B , 58:267-288, 1996.
- W. Vandaele. In A. Blumstein, J. Cohen, and D. Nagin, editors, Deterrence and Incapacitation , pages 270-335. National Academy of Sciences Press, 1978.
- M. West. On scale mixtures of normal distributions. Biometrika , 74(3):646-648, 1987.
- A. Zellner. On assessing prior distributions and Bayesian regression analysis with g-prior distributions. In Bayesian Inference and Decision Techniques: Essays in Honor of Bruno de Finetti , pages 233-243. Amsterdam: NorthHolland, 1986.
- H. Zhou. The adaptive lasso and its oracle properties. Journal of the American Statistical Association , 101:1418-1429,

2006.

H. Zou and R. Li. One-step sparse estimates in nonconcave penalized likelihood models. Annals of Statistics , 36: 1509-1533, 2008.

## APPENDIX A: EXTENSIONS

A.1. Selection summary in logistic regression. Selection summary can be applied outside the realm of normal linear models as well. This section explicitly shows how to extend the approach to logistic regression and provides an illustration on real data.

Although one has many choices for judging predictive accuracy, it is convenient to note that squared prediction loss is precisely the negative log likelihood in the normal linear model setting, which suggests the following generalization of (16):

$$\mathcal { L } ( \tilde { Y }, \gamma ) = \lambda | | \gamma | | _ { 0 } - n ^ { - 1 } \log \left [ f ( \tilde { Y }, \mathbf X, \gamma ) \right ]$$

where f ( ˜ Y , γ ) denotes the likelihood of ˜ Y with 'parameters' γ .

In the case of a binary outcome vector using a logistic link function, the generalized DSS loss becomes

$$\mathcal { L } ( \tilde { Y }, \gamma ) & = \lambda | | \gamma | | _ { 0 } + n ^ { - 1 } \sum _ { i = 1 } ^ { n } \left ( \tilde { Y } _ { i } \mathbf X _ { i } \gamma - \log \left ( 1 + \exp \left ( \mathbf X _ { i } \gamma \right ) \right ) \right ).$$

Taking expectations yields

$$\mathcal { L } ( \tilde { Y }, \bar { \pi } ) = \lambda | | \gamma | | _ { 0 } + n ^ { - 1 } \sum _ { i = 1 } ^ { n } \left ( \bar { \pi } _ { i } \mathbf X _ { i } \gamma - \log \left ( 1 + \exp \left ( \mathbf X _ { i } \gamma \right ) \right ) \right ),$$

where ¯ π i is the posterior mean probability that ˜ Y i = 1. To help interpret this formula, note that it can be rewritten as a weighted logistic regression as follows. For each observed X i , associate a pair of pseudo-responses Z i = 1 and Z i + n = 0 with weights w i = ¯ π i and w i + n = 1 -¯ π i respectively. Then ¯ X π i i γ -log (1 + exp (X i γ )) may be written as

$$( 2 9 ) \quad \left \lceil w _ { i } Z _ { i } X _ { i } \gamma - w _ { i } \log \left ( 1 + \exp \left ( X _ { i } \gamma \right ) \right ) \right \rceil + \left \lceil w _ { i + n } Z _ { i + n } X _ { i } \gamma - w _ { i + n } \log \left ( 1 + \exp \left ( X _ { i } \gamma \right ) \right ) \right \rceil.$$

Thus, optimizing the DSS logistic regression loss is equivalent to finding the penalized maximum likelihood of a weighted logistic regression where each point in predictor space has a response Z i = 1, given weight ¯ , and a counterpart response π i Z i = 0, given weight 1 -¯ . The observed data π i determines ¯ π i via the posterior distribution. As before, if we replace (28) by the surrogate glyph[lscript] 1 norm

$$\mathcal { L } ( \tilde { Y }, \bar { \pi } ) = \lambda | | \gamma | | _ { 1 } + n ^ { - 1 } \sum _ { i = 1 } ^ { n } \left ( \bar { \pi } _ { i } \mathbf X _ { i } \gamma - \log \left ( 1 + \exp \left ( \mathbf X _ { i } \gamma \right ) \right ) \right ),$$

then an optimal solution can be computed via the R package GLMNet (Friedman et al. [2010]).

The DSS summary selection plot may be adapted to logistic regression by defining the excess error as

$$\psi _ { \lambda } = \sqrt { n ^ { - 1 } \sum _ { i } \pi _ { i } - 2 \pi _ { \lambda, i } \pi _ { i } + \pi _ { \lambda, i } ^ { 2 } } - \sqrt { n ^ { - 1 } \sum _ { i } \pi _ { i } ( 1 - \pi _ { i } ) }$$

where π i is the probability that ˜ y i = 1 given the true model parameters, and π λ,i is the corresponding quantity under the λ -sparsified model. This expression for the logistic excess error relates to the linear model case in that each expression can be derived from

$$\psi _ { \lambda } = \sqrt { n ^ { - 1 } \mathrm E \left ( | | \tilde { Y } - \hat { Y } _ { \lambda } | | ^ { 2 } \right ) } - \sqrt { n ^ { - 1 } \mathrm E \left ( | | \tilde { Y } - \mathrm E ( \tilde { Y } ) | | ^ { 2 } \right ) }$$

where the expectation is with respect to the predictive distribution of ˜ Y conditional on the model parameters, and ˆ Y λ denotes the optimal λ -sparse prediction. In particular, ˆ Y λ ≡ X β λ for the linear model and ˆ y λ,i ≡ π λ,i = (1+exp -X β i λ ) -1 for the logistic regression model. One notable difference between the expressions for excess error under the linear model and the logistic model is that the linear model has constant variance whereas the variance term depends on the predictor point in the logistic model as a result of the Bernoulli likelihood.

Example: German credit data ( n = 1000, p = 48). To illustrate selection summary in the logistic regression context, we use the German Credit data from the UCI repository, where n = 1000 and p = 48. In each record we have available covariates associated with a loan applicant, such as credit history, checking account status, car ownership and employment status. The outcome variable is a judgment of whether or not the applicant has 'good credit'. A natural objective when analyzing this data would be to develop a good model for assessing creditworthiness of future applicants. A default shrinkage prior over the regression coefficients is used, based on the ideas described in Polson et al. [2013] and the associated R package BayesLogit . The DSS selection summary plots (adapted to a logistic regression) are displayed in Figure 6. The plot suggests a high degree of 'pre-variable selection', in that all of the predictor variables appear to add an incremental amount of prediction accuracy, with no single predictor appearing to dominate. Nonetheless, several of the larger models (smaller than the full forty-eight variable model) do not give up much in excess error, suggesting that a moderately reduced model ( ≈ 35), may suffice in practice. Depending on the true costs associated with measuring those ten least valuable covariates, relative to the cost associated with an increase of 0.01 in excess error, this reduced model may be preferable.

λ

ψ

0.08

0.04

0.00

48

41

36

31

26

20

15

9

3

Model Size

Fig 6 . DSS plots for the German credit data. For this data, each included variable seems to add an incremental amount, as the excess error plot builds steadily until reaching the null model with no predictors.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1408.0464v1-figure-7e31b97d-2203-4cdb-81c3-404111a6ce14.jpg)

A.2. Selection summary for Gaussian graphical models. Covariance estimation is yet another area where a sparsifying loss function can be used to induce a parsimonious posterior summary.

Consider a ( p × 1) vector ( x , x 1 2 , . . . , x p ) = X ∼ N(0 , Σ ). Zeros in the precision matrix Ω = Σ -1 imply conditional independence among certain dimensions of X . As sparse precision matrices can be represented through a labelled graph, this modeling approach is often referred to as Gaussian graphical modeling. Specifically, for a graph G = ( V, E ), where V is the set of vertices and E is the set of edges, let each edge represent a non-zero element of Ω . See Jones et al. [2005] for a thorough overview. This problem is equivalent to finding a sparse representation in p separate linear models for X X j | -j , making the selection summary approach developed above directly applicable.

As with linear models, one has the option of modeling the entries in the precision matrix via shrinkage priors or via selection priors with point masses at zero. Regardless of the specific choice of prior, summarizing patterns of conditional independence favored in the posterior distribution remains a major challenge.

A DSS parsimonious summary can be achieved via a multivariate extension of (16) by once again leveraging the notion of 'predictive accuracy' as defined by the negative log likelihood:

$$\mathcal { L } ( \tilde { X }, \Gamma ) = \lambda | | \Gamma | | _ { 0 } - \log \det ( \Gamma ) - \text{tr} ( n ^ { - 1 } \tilde { X } \tilde { X } ^ { \prime } \Gamma )$$

where Γ represents the decision variable for Ω and || Γ || 0 represents the sum of non-zero entries in off-diagonal elements of Γ . Taking expectations with respect to the posterior predictive of ˜ X yields

$$\mathcal { L } ( \mathbf \Gamma ) = \mathbb { E } \left ( \mathcal { L } ( \tilde { \mathbf x }, \mathbf \Gamma ) \right ) = \lambda | | \mathbf \Gamma | | _ { 0 } - \log \det ( \mathbf \Gamma ) - \text{tr} ( \tilde { \mathbf S } \mathbf \Gamma )$$

where ¯ Σ represents the posterior mean of Σ .

As before, an approximate solution to the DSS graphical model posterior summary optimization problem can be obtained by employing the surrogate glyph[lscript] 1 penalty

$$\mathcal { L } ( \mathbf \Gamma ) = \mathbf E \left ( \mathcal { L } ( \tilde { \mathbf X }, \mathbf \Gamma ) \right ) = \lambda | | \mathbf \Gamma | | _ { 1 } - \log \det ( \mathbf \Gamma ) - \text{tr} ( \mathbf \Sigma \mathbf \Gamma ).$$

as developed by penalized likelihood methods such as the graphical lasso [Friedman et al., 2008].
P. Richard Hahn Carlos M. Carvalho
Decoupling shrinkage and selection in Bayesian linear models: a posterior summary perspective
Selecting a subset of variables for linear models remains an active area of
research. This paper reviews many of the recent contributions to the Bayesian
model selection and shrinkage prior literature. A posterior variable selection
summary is proposed, which distills a full posterior distribution over
regression coefficients into a sequence of sparse linear predictors.