Machine Learning for AIGC