The schematic diagram of the improved sparse model. In matrix A, columns are features from different classes. Different colours represent different classes. Instead of using the vector x, a row-wise sparse matrix × is used, where only a few rows of × are non-zeros (the colour regions of matrix X). Each column of matrix Y is a linear combination of matrix A and the corresponding column in matrix X.