Mining Sparse Representations: Formulations, Algorithms, and Applications