AI This Machine Learning Research from Stanford and Microsoft Advances the Understanding of Generalization in Diffusion Models