Topics in Statistical Machine Learning: Multitask Learning, Uncertainty Quantification, and Language Model Alignment