Finding and Leveraging Structure in Learning Problems