Optimization-centric Generalizations of Bayesian Inference