Machine learning can help understand how students learn by discovering latent variables that represent skills and knowledge components. The document discusses using machine learning techniques like principal components analysis on student step-by-step data to learn a "step map" representing similarities between skills. It also discusses using cognitive models with probabilistic rules to better represent student problem-solving and incorporate representation learning. The goal is to use machine learning to gain insights about educational content and student learning that can help improve educational materials and tutoring systems.