Sparse learning for model optimization