How to Train Your Algorithm
In this lesson, students will learn about algorithms and how they function, particularly recommendation algorithms utilized by popular apps like YouTube, TikTok, Instagram, and Netflix. Students explore the role of optimization goals such as watch time, engagement, and daily active use in shaping the content algorithms prioritize. Through activities like “red teaming,” students will critically analyze the potential downsides and biases of these optimization goals. Students will also discover how to train algorithms by providing both explicit inputs through actions like liking and sharing, and understand the implications of implicit inputs gathered from their online activity. Finally, students design their own algorithm for an app of their choice, identifying which goals it should be optimized for and how they should be weighted as well as what inputs it should use.

