A Unified Probabilistic Framework for Dictionary Learning with Parsimonious Activation