Misplaced Pages

Structured sparsity regularization

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

Structured sparsity regularization is a class of methods, and an area of research in statistical learning theory, that extend and generalize sparsity regularization learning methods. Both sparsity and structured sparsity regularization methods seek to exploit the assumption that the output variable Y {\displaystyle Y} (i.e., response, or dependent variable) to be learned can be described by a reduced number of variables in the input space X {\displaystyle X} (i.e., the domain, space of features or explanatory variables). Sparsity regularization methods focus on selecting the input variables that best describe the output. Structured sparsity regularization methods generalize and extend sparsity regularization methods, by allowing for optimal selection over structures like groups or networks of input variables in X {\displaystyle X} .

Common motivation for the use of structured sparsity methods are model interpretability, high-dimensional learning (where dimensionality of X {\displaystyle X} may be higher than the number of observations n {\displaystyle n} ), and reduction of computational complexity. Moreover, structured sparsity methods allow to incorporate prior assumptions on the structure of the input variables, such as overlapping groups, non-overlapping groups, and acyclic graphs. Examples of uses of structured sparsity methods include face recognition, magnetic resonance image (MRI) processing, socio-linguistic analysis in natural language processing, and analysis of genetic expression in breast cancer.

Definition and related concepts

Sparsity regularization

Consider the linear kernel regularized empirical risk minimization problem with a loss function V ( y i , f ( x ) ) {\displaystyle V(y_{i},f(x))} and the 0 {\displaystyle \ell _{0}} "norm" as the regularization penalty:

min w R d 1 n i = 1 n V ( y i , w , x i ) + λ w 0 , {\displaystyle \min _{w\in \mathbb {R} ^{d}}{\frac {1}{n}}\sum _{i=1}^{n}V(y_{i},\langle w,x_{i}\rangle )+\lambda \|w\|_{0},}

where x , w R d {\displaystyle x,w\in \mathbb {R^{d}} } , and w 0 {\displaystyle \|w\|_{0}} denotes the 0 {\displaystyle \ell _{0}} "norm", defined as the number of nonzero entries of the vector w {\displaystyle w} . f ( x ) = w , x i {\displaystyle f(x)=\langle w,x_{i}\rangle } is said to be sparse if w 0 = s < d {\displaystyle \|w\|_{0}=s<d} . Which means that the output Y {\displaystyle Y} can be described by a small subset of input variables.

More generally, assume a dictionary ϕ j : X R {\displaystyle \phi _{j}:X\rightarrow \mathbb {R} } with j = 1 , . . . , p {\displaystyle j=1,...,p} is given, such that the target function f ( x ) {\displaystyle f(x)} of a learning problem can be written as:

f ( x ) = j = 1 p ϕ j ( x ) w j {\displaystyle f(x)=\sum _{j=1}^{p}\phi _{j}(x)w_{j}} , x X {\displaystyle \forall x\in X}

The 0 {\displaystyle \ell _{0}} norm f 0 = w 0 {\displaystyle \|f\|_{0}=\|w\|_{0}} as the number of non-zero components of w {\displaystyle w} is defined as

w 0 = | { j | w j 0 , j { 1 , . . . , p } } | {\displaystyle \|w\|_{0}=|\{j|w_{j}\neq 0,j\in \{1,...,p\}\}|} , where | A | {\displaystyle |A|} is the cardinality of set A {\displaystyle A} .

f {\displaystyle f} is said to be sparse if f 0 = w 0 = s < d {\displaystyle \|f\|_{0}=\|w\|_{0}=s<d} .

However, while using the 0 {\displaystyle \ell _{0}} norm for regularization favors sparser solutions, it is computationally difficult to use and additionally is not convex. A computationally more feasible norm that favors sparser solutions is the 1 {\displaystyle \ell _{1}} norm; this has been shown to still favor sparser solutions and is additionally convex.

Structured sparsity regularization

Structured sparsity regularization extends and generalizes the variable selection problem that characterizes sparsity regularization. Consider the above regularized empirical risk minimization problem with a general kernel and associated feature map ϕ j : X R {\displaystyle \phi _{j}:X\rightarrow \mathbb {R} } with j = 1 , . . . , p {\displaystyle j=1,...,p} .

min w R d 1 n i = 1 n V ( y i , w , Φ ( x i ) ) + λ w 0 , {\displaystyle \min _{w\in \mathbb {R} ^{d}}{\frac {1}{n}}\sum _{i=1}^{n}V(y_{i},\langle w,\Phi (x_{i})\rangle )+\lambda \|w\|_{0},}

The regularization term λ w 0 {\displaystyle \lambda \|w\|_{0}} penalizes each w j {\displaystyle w_{j}} component independently, which means that the algorithm will suppress input variables independently from each other.

In several situations we may want to impose more structure in the regularization process, so that, for example, input variables are suppressed according to predefined groups. Structured sparsity regularization methods allow to impose such structure by adding structure to the norms defining the regularization term.

Structures and norms

Non-overlapping groups: group Lasso

The non-overlapping group case is the most basic instance of structured sparsity. In it, an a priori partition of the coefficient vector w {\displaystyle w} in G {\displaystyle G} non-overlapping groups is assumed. Let w g {\displaystyle w_{g}} be the vector of coefficients in group g {\displaystyle g} , we can define a regularization term and its group norm as

λ R ( w ) = λ g = 1 G w g g {\displaystyle \lambda R(w)=\lambda \sum _{g=1}^{G}\|w_{g}\|_{g}} ,

where w g g {\displaystyle \|w_{g}\|_{g}} is the group 2 {\displaystyle \ell _{2}} norm w g g = j = 1 | G g | ( w g j ) 2 {\displaystyle \|w_{g}\|_{g}={\sqrt {\sum _{j=1}^{|G_{g}|}(w_{g}^{j})^{2}}}} , G g {\displaystyle G_{g}} is group g {\displaystyle g} , and w g j {\displaystyle w_{g}^{j}} is the j-th component of group G g {\displaystyle G_{g}} .

The above norm is also referred to as group Lasso. This regularizer will force entire coefficient groups towards zero, rather than individual coefficients. As the groups are non-overlapping, the set of non-zero coefficients can be obtained as the union of the groups that were not set to zero, and conversely for the set of zero coefficients.

Overlapping groups

Overlapping groups is the structure sparsity case where a variable can belong to more than one group g {\displaystyle g} . This case is often of interest as it can represent a more general class of relationships among variables than non-overlapping groups can, such as tree structures or other type of graphs.

There are two types of overlapping group sparsity regularization approaches, which are used to model different types of input variable relationships:

Intersection of complements: group Lasso

The intersection of complements approach is used in cases when we want to select only those input variables that have positive coefficients in all groups they belong to. Consider again the group Lasso for a regularized empirical risk minimization problem:

λ R ( w ) = λ g = 1 G w g g {\displaystyle \lambda R(w)=\lambda \sum _{g=1}^{G}\|w_{g}\|_{g}} ,

where w g g {\displaystyle \|w_{g}\|_{g}} is the group 2 {\displaystyle \ell _{2}} norm, G g {\displaystyle G_{g}} is group g {\displaystyle g} , and w g j {\displaystyle w_{g}^{j}} is the j-th component of group G g {\displaystyle G_{g}} .

As in the non-overlapping groups case, the group Lasso regularizer will potentially set entire groups of coefficients to zero. Selected variables are those with coefficients w j > 0 {\displaystyle w_{j}>0} . However, as in this case groups may overlap, we take the intersection of the complements of those groups that are not set to zero.

This intersection of complements selection criteria implies the modeling choice that we allow some coefficients within a particular group g {\displaystyle g} to be set to zero, while others within the same group g {\displaystyle g} may remain positive. In other words, coefficients within a group may differ depending on the several group memberships that each variable within the group may have.

Union of groups: latent group Lasso

A different approach is to consider union of groups for variable selection. This approach captures the modeling situation where variables can be selected as long as they belong at least to one group with positive coefficients. This modeling perspective implies that we want to preserve group structure.

The formulation of the union of groups approach is also referred to as latent group Lasso, and requires to modify the group 2 {\displaystyle \ell _{2}} norm considered above and introduce the following regularizer

R ( w ) = i n f { g w g g : w = g = 1 G w ¯ g } {\displaystyle R(w)=inf\left\{\sum _{g}\|w_{g}\|_{g}:w=\sum _{g=1}^{G}{\bar {w}}_{g}\right\}}

where w R d {\displaystyle w\in {\mathbb {R^{d}} }} , w g G g {\displaystyle w_{g}\in G_{g}} is the vector of coefficients of group g, and w ¯ g R d {\displaystyle {\bar {w}}_{g}\in {\mathbb {R^{d}} }} is a vector with coefficients w g j {\displaystyle w_{g}^{j}} for all variables j {\displaystyle j} in group g {\displaystyle g} , and 0 {\displaystyle 0} in all others, i.e., w ¯ g j = w g j {\displaystyle {\bar {w}}_{g}^{j}=w_{g}^{j}} if j {\displaystyle j} in group g {\displaystyle g} and w ¯ g j = 0 {\displaystyle {\bar {w}}_{g}^{j}=0} otherwise.

This regularizer can be interpreted as effectively replicating variables that belong to more than one group, therefore conserving group structure. As intended by the union of groups approach, requiring w = g = 1 G w ¯ g {\displaystyle w=\sum _{g=1}^{G}{\bar {w}}_{g}} produces a vector of weights w that effectively sums up the weights of all variables across all groups they belong to.

Issues with Group Lasso regularization and alternative approaches

The objective function using group lasso consists of an error function, which is generally required to be convex but not necessarily strongly convex, and a group 1 {\displaystyle \ell _{1}} regularization term. An issue with this objective function is that it is convex but not necessarily strongly convex, and thus generally does not lead to unique solutions.

An example of a way to fix this is to introduce the squared 2 {\displaystyle \ell _{2}} norm of the weight vector as an additional regularization term while keeping the 1 {\displaystyle \ell _{1}} regularization term from the group lasso approach. If the coefficient of the squared 2 {\displaystyle \ell _{2}} norm term is greater than 0 {\displaystyle 0} , then because the squared 2 {\displaystyle \ell _{2}} norm term is strongly convex, the resulting objective function will also be strongly convex. Provided that the 2 {\displaystyle \ell _{2}} coefficient is suitably small but still positive, the weight vector minimizing the resulting objective function is generally very close to a weight vector that minimizes the objective function that would result from removing the group 2 {\displaystyle \ell _{2}} regularization term altogether from the original objective function; the latter scenario corresponds to the group Lasso approach. Thus this approach allows for simpler optimization while maintaining sparsity.

Norms based on the structure over Input variables

See: Submodular set function

Besides the norms discussed above, other norms used in structured sparsity methods include hierarchical norms and norms defined on grids. These norms arise from submodular functions and allow the incorporation of prior assumptions on the structure of the input variables. In the context of hierarchical norms, this structure can be represented as a directed acyclic graph over the variables while in the context of grid-based norms, the structure can be represented using a grid.

Hierarchical Norms

See: Unsupervised learning

Unsupervised learning methods are often used to learn the parameters of latent variable models. Latent variable models are statistical models where in addition to the observed variables, a set of latent variables also exists which is not observed. Often in such models, "hierarchies" are assumed between the variables of the system; this system of hierarchies can be represented using directed acyclic graphs.

Hierarchies of latent variables have emerged as a natural structure in several applications, notably to model text documents. Hierarchical models using Bayesian non-parametric methods have been used to learn topic models, which are statistical models for discovering the abstract "topics" that occur in a collection of documents. Hierarchies have also been considered in the context of kernel methods. Hierarchical norms have been applied to bioinformatics, computer vision and topic models.

Norms defined on grids

If the structure assumed over variables is in the form of a 1D, 2D or 3D grid, then submodular functions based on overlapping groups can be considered as norms, leading to stable sets equal to rectangular or convex shapes. Such methods have applications in computer vision

Algorithms for computation

Best subset selection problem

The problem of choosing the best subset of input variables can be naturally formulated under a penalization framework as:

min w R d 1 n i = 1 n V ( y i , w , x i ) + λ w 0 , {\displaystyle \min _{w\in \mathbb {R} ^{d}}{\frac {1}{n}}\sum _{i=1}^{n}V(y_{i},w,x_{i})+\lambda \|w\|_{0},}

Where w 0 {\displaystyle \|w\|_{0}} denotes the 0 {\displaystyle \ell _{0}} "norm", defined as the number of nonzero entries of the vector w {\displaystyle w} .

Although this formulation makes sense from a modeling perspective, it is computationally unfeasible, as it is equivalent to an exhaustive search evaluating all possible subsets of variables.

Two main approaches for solving the optimization problem are: 1) greedy methods, such as step-wise regression in statistics, or matching pursuit in signal processing; and 2) convex relaxation formulation approaches and proximal gradient optimization methods.

Convex relaxation

A natural approximation for the best subset selection problem is the 1 {\displaystyle \ell _{1}} norm regularization:

min w R d 1 n i = 1 n V ( y i , w , x i ) + λ w 1 {\displaystyle \min _{w\in \mathbb {R} ^{d}}{\frac {1}{n}}\sum _{i=1}^{n}V(y_{i},w,x_{i})+\lambda \|w\|_{1}}

Such a scheme is called basis pursuit or the Lasso, which substitutes the 0 {\displaystyle \ell _{0}} "norm" for the convex, non-differentiable 1 {\displaystyle \ell _{1}} norm.

Proximal gradient methods

Main article: Proximal gradient methods

Proximal gradient methods, also called forward-backward splitting, are optimization methods useful for minimizing functions with a convex and differentiable component, and a convex potentially non-differentiable component.

As such, proximal gradient methods are useful for solving sparsity and structured sparsity regularization problems of the following form:

min w R d 1 n i = 1 n V ( y i , w , x i ) + R ( w ) {\displaystyle \min _{w\in \mathbb {R} ^{d}}{\frac {1}{n}}\sum _{i=1}^{n}V(y_{i},w,x_{i})+R(w)}

Where V ( y i , w , x i ) {\displaystyle V(y_{i},w,x_{i})} is a convex and differentiable loss function like the quadratic loss, and R ( w ) {\displaystyle R(w)} is a convex potentially non-differentiable regularizer such as the 1 {\displaystyle \ell _{1}} norm.

Connections to Other Areas of Machine Learning

Connection to Multiple Kernel Learning

Main article: Multiple kernel learning

Structured Sparsity regularization can be applied in the context of multiple kernel learning. Multiple kernel learning refers to a set of machine learning methods that use a predefined set of kernels and learn an optimal linear or non-linear combination of kernels as part of the algorithm.

In the algorithms mentioned above, a whole space was taken into consideration at once and was partitioned into groups, i.e. subspaces. A complementary point of view is to consider the case in which distinct spaces are combined to obtain a new one. It is useful to discuss this idea considering finite dictionaries. Finite dictionaries with linearly independent elements - these elements are also known as atoms - refer to finite sets of linearly independent basis functions, the linear combinations of which define hypothesis spaces. Finite dictionaries can be used to define specific kernels, as will be shown. Assume for this example that rather than only one dictionary, several finite dictionaries are considered.

For simplicity, the case in which there are only two dictionaries A = { a j : X R , j = 1 , . . . , p } {\displaystyle A=\{a_{j}:X\rightarrow \mathbb {R} ,j=1,...,p\}} and B = { b t : X R , t = 1 , . . . , q } {\displaystyle B=\{b_{t}:X\rightarrow \mathbb {R} ,t=1,...,q\}} where q {\displaystyle q} and p {\displaystyle p} are integers, will be considered. The atoms in A {\displaystyle A} as well as the atoms in B {\displaystyle B} are assumed to be linearly independent. Let D = { d k : X R , k = 1 , . . . , p + q } = A B {\displaystyle D=\{d_{k}:X\rightarrow \mathbb {R} ,k=1,...,p+q\}=A\cup B} be the union of the two dictionaries. Consider the linear space of functions H {\displaystyle H} given by linear combinations of the form

f ( x ) = i = 1 p + q w j d j ( x ) = j = 1 p w A j a j ( x ) + t = 1 q w B t b t ( x ) , x X {\displaystyle f(x)=\sum _{i=1}^{p+q}{w^{j}d_{j}(x)}=\sum _{j=1}^{p}{w_{A}^{j}a_{j}(x)}+\sum _{t=1}^{q}{w_{B}^{t}b_{t}(x)},x\in X}

for some coefficient vectors w A R p , w B R q {\displaystyle w_{A}\in \mathbb {R} ^{p},w_{B}\in \mathbb {R} ^{q}} , where w = ( w A , w B ) {\displaystyle w=(w_{A},w_{B})} . Assume the atoms in D {\displaystyle D} to still be linearly independent, or equivalently, that the map w = ( w A , w B ) f {\displaystyle w=(w_{A},w_{B})\mapsto f} is one to one. The functions in the space H {\displaystyle H} can be seen as the sums of two components, one in the space H A {\displaystyle H_{A}} , the linear combinations of atoms in A {\displaystyle A} and one in H B {\displaystyle H_{B}} , the linear combinations of the atoms in B {\displaystyle B} .

One choice of norm on this space is | | f | | = | | w A | | + | | w B | | {\displaystyle ||f||=||w_{A}||+||w_{B}||} . Note that we can now view H {\displaystyle H} as a function space in which H A {\displaystyle H_{A}} , H B {\displaystyle H_{B}} are subspaces. In view of the linear independence assumption, H {\displaystyle H} can be identified with R p + q {\displaystyle \mathbb {R} ^{p+q}} and H A , H B {\displaystyle H_{A},H_{B}} with R p , R q {\displaystyle \mathbb {R} ^{p},\mathbb {R} ^{q}} respectively. The norm mentioned above can be seen as the group norm in H {\displaystyle H} associated to the subspaces H A {\displaystyle H_{A}} , H B {\displaystyle H_{B}} , providing a connection to structured sparsity regularization.

Here, H A {\displaystyle H_{A}} , H B {\displaystyle H_{B}} and H {\displaystyle H} can be seen to be the reproducing kernel Hilbert spaces with corresponding feature maps Φ A : X R p {\displaystyle \Phi _{A}:X\rightarrow \mathbb {R} ^{p}} , given by Φ A ( x ) = ( a 1 ( x ) , . . . , a p ( x ) ) {\displaystyle \Phi _{A}(x)=(a_{1}(x),...,a_{p}(x))} , Φ B : X R q {\displaystyle \Phi _{B}:X\rightarrow \mathbb {R} ^{q}} , given by Φ B ( x ) = ( b 1 ( x ) , . . . , b q ( x ) ) {\displaystyle \Phi _{B}(x)=(b_{1}(x),...,b_{q}(x))} , and Φ : X R p + q {\displaystyle \Phi :X\rightarrow \mathbb {R} ^{p+q}} , given by the concatenation of Φ A , Φ B {\displaystyle \Phi _{A},\Phi _{B}} , respectively.

In the structured sparsity regularization approach to this scenario, the relevant groups of variables which the group norms consider correspond to the subspaces H A {\displaystyle H_{A}} and H B {\displaystyle H_{B}} . This approach promotes setting the groups of coefficients corresponding to these subspaces to zero as opposed to only individual coefficients, promoting sparse multiple kernel learning.

The above reasoning directly generalizes to any finite number of dictionaries, or feature maps. It can be extended to feature maps inducing infinite dimensional hypothesis

spaces.

When Sparse Multiple Kernel Learning is useful

Considering sparse multiple kernel learning is useful in several situations including the following:

  • Data fusion: When each kernel corresponds to a different kind of modality/feature.
  • Nonlinear variable selection: Consider kernels K g {\displaystyle K_{g}} depending only one dimension of the input.

Generally sparse multiple kernel learning is particularly useful when there are many kernels and model selection and interpretability are important.

Additional uses and applications

Structured sparsity regularization methods have been used in a number of settings where it is desired to impose an a priori input variable structure to the regularization process. Some such applications are:

  • Compressive sensing in magnetic resonance imaging (MRI), reconstructing MR images from a small number of measurements, potentially yielding significant reductions in MR scanning time
  • Robust face recognition in the presence of misalignment, occlusion and illumination variation
  • Uncovering socio-linguistic associations between lexical frequencies used by Twitter authors, and the socio-demographic variables of their geographic communities
  • Gene selection analysis of breast cancer data using priors of overlapping groups, e.g., biologically meaningful gene sets

See also

References

  1. Rosasco, Lorenzo; Poggio, Tomasso (December 2014). A Regularization Tour of Machine Learning, MIT-9.520 Lectures Notes.
  2. ^ Yuan, M.; Lin, Y. (2006). "Model selection and estimation in regression with grouped variables". J. R. Stat. Soc. B. 68 (1): 49–67. CiteSeerX 10.1.1.79.2062. doi:10.1111/j.1467-9868.2005.00532.x. S2CID 6162124.
  3. ^ Obozinski, G.; Laurent, J.; Vert, J.-P. (2011). "Group lasso with overlaps: the latent group lasso approach". arXiv:1110.0413 .
  4. ^ L. Rosasco. Lecture 10 of the Lecture Notes for 9.520: Statistical Learning Theory and Applications. Massachusetts Institute of Technology, Fall 2014. Available at https://www.mit.edu/~9.520/fall14/slides/class18/class18_sparsity.pdf
  5. ^ Jia, Kui; et al. (2012). "Robust and Practical Face Recognition via Structured Sparsity". In Andrew Fitzgibbon; Svetlana Lazebnik; Pietro Perona; Yoichi Sato; Cordelia Schmid (eds.). Computer Vision – ECCV 2012: 12th European Conference on Computer Vision, Florence, Italy, October 7-13, 2012 Proceedings, Part IV.
  6. ^ Chen, Chen; et al. (2012). "Compressive Sensing MRI with Wavelet Tree Sparsity". Proceedings of the 26th Annual Conference on Neural Information Processing Systems. Vol. 25. Curran Associates. pp. 1115–1123.
  7. ^ Eisenstein, Jacob; et al. (2011). "Discovering Sociolinguistic Associations with Structured Sparsity". Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics.
  8. ^ Jacob, Laurent; et al. (2009). "Group Lasso with Overlap and Graph Lasso". Proceedings of the 26th International Conference on Machine Learning.
  9. ^ Villa, S.; Rosasco, L.; Mosci, S.; Verri, A. (2012). "Proximal methods for the latent group lasso penalty". arXiv:1209.0368 .
  10. ^ Blei, D., Ng, A., and Jordan, M. Latent dirichlet allocation. J. Mach. Learn. Res., 3:993–1022, 2003.
  11. ^ Bengio, Y. "Learning deep architectures for AI". Foundations and Trends in Machine Learning, 2(1), 2009.
  12. ^ S. Kim and E. Xing. Tree-guided group Lasso for multi-task regression with structured sparsity. In Proc. ICML, 2010.
  13. ^ Jenatton, Rodolphe; Audibert, Jean-Yves; Bach, Francis (2011). "Structured Variable Selection with Sparsity-Inducing Norms". Journal of Machine Learning Research. 12 (2011): 2777–2824. arXiv:0904.3523. Bibcode:2009arXiv0904.3523J.
  14. ^ R. Jenatton, J. Mairal, G. Obozinski, and F. Bach. Proximal methods for sparse hierarchical dictionary learning. In Proc. ICML, 2010.
  15. ^ R. Jenatton, G. Obozinski, and F. Bach. Structured sparse principal component analysis. In Proc. AISTATS, 2009.
  16. ^ Rosasco, Lorenzo; Poggio, Tomaso (Fall 2015). "Chapter 6". MIT 9.520 course notes Fall 2015.
Categories: