@mastersthesis {4189, title = {Structured learning and inference with neural networks and generative models}, year = {2018}, author = {Owen Lewis} }