Welcome to the homepage for MS&E234, Data Privacy and Ethics (Winter 2022). This course engages with difficult ethical challenges in the modern practice of data science. The three main focuses are data privacy, personalization and targeting algorithms, and online experimentation. The focus on privacy will raise both practical and theoretical considerations. As part of the module on experimentation, students will be required to complete the Stanford IRB training for social and behavioral research. The course will assume a strong familiarity with the practice of machine learning and data science. Strongly recommended: MS&E 226, MS&E 231, CS 229, or equivalents.

The course meets for Mondays lectures and Wednesday discussions, both at 12:15-1:15pm PT. In Holidays weeks (W3 MLK, W8 President’s Day) lectures will be Wednesday and discussions will be Friday, again both at 12:15-1:15pm PT.The first three weeks will be zoom (see Canvas). After that, we will meet in 380-380W on Mondays and Lathrop 299 on Wednesdays. Holiday week Fridays will be in 380-380W.

Instructor: Prof. Johan Ugander (MS&E), jugander@
Office hours (zoom): Wednesdays 4:30p-5:30p PT, with added office hours for project support later in the course.

TA: Jenny Hony, jyunhong@
Office hours (zoom): See canvas, but also posted here for convenience:

  • PS 1, due week 3, Fri 1/21, 12:15pm PT
    • Fri Jan 14, 14:00-15:00 PT
    • Weds Jan 19, 14:30-15:30 PT
  • PS 2, due week 5, Weds 2/2, 12:00pm PT
    • Fri Jan 28, 14:00-15:00 PT
    • Mon Jan 31, 14:30-15:30 PT
  • PS 3, due week 7, Weds 2/16, 12:00pm PT
    • Fri Feb 11, 14:00-15:00 PT
    • Mon Feb 14, 14:30-15:30 PT
  •  Project OH
    • Wed Feb 23, 14:30-15:30 PT
    • Wed Mar 2, 14:30-15:30 PT

The course evaluation consists of three parts: problem sets (40%), in-class discussion leading and participation (20%), and group project reports and presentations (40%). Students will rotate to lead Wednesday discussions. There will be 3 problem sets that include significant data manipulation and coding. These will be due before the second class meetings of Week 3 (Friday), Week 5 (Wednesday), and Week 7 (Wednesday). Group projects will be developed over the course of the quarter and presented during Week 10.

Lectures will be recorded, but synchronous attendance is expected. Please email Prof. Ugander if you will be missing lecture. Discussion section attendance is mandatory and are not recorded. Because of the key role of discussions, is not possible to complete this course asynchronously.

The detailed course readings are given below. The course covers very recent topics and the course content may change slightly as the course evolves. The evaluation criteria will not.

Week 1: Introduction (1/3, 1/5)

Week 2: Digital exhaust and privacy (1/10, 1/12)
Discussion paper: Sweeney (2000)

Week 3: Differential privacy (W 1/19, F 1/21)
Discussion paper: Chaudhuri & Monteleoni (2009)
Week 4: Data transparency, public records, right to be forgotten (1/24, 1/26)
Discussion paper: Bertram et al. (2019)
Week 5: A/B testing, experimentation (1/31, 2/2)
Discussion paper: Kramer et al. (2014)
Week 6: Search engines and recommendation systems (2/7, 2/9)
Discussion paper: White & Horvitz (2015)
Week 7: Personalization and Fingerprinting (2/14, 2/16)
Discussion paper: Englehardt & Narayanan (2016).
Week 8: Social networks, social data (W 2/23, F 2/25)

Discussion paper: Kosinski et al. (2013)

Week 9: Privacy Regulation (2/28, 3/2)
Discussion paper: Goodman & Flaxman (2016)
Week 10: Presentations (3/7, 3/9)
  • Presentations by students.
Honor code violations
In the event that a student is found to have violated the honor code (including through Early Resolution), the penality may include a full denial of credit for the course. See the Student Conduct Penalty Code, Section J.

Students with Documented Disabilities
Students who may need an academic accommodation based on the impact of a disability must initiate the request with the Office of Accessible Education (OAE). Professional staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty dated in the current quarter in which the request is made. Students should contact the OAE as soon as possible since timely notice is needed to coordinate accommodations. For more information: http://studentaffairs.stanford.edu/oae