Objective

Responsible data science (RDS) is the study of how to use data and algorithms in ways that are ethical, fair, transparent and legal. The authors say it is still a young field. Most university campuses have not made it a course of study, there is a lack of ready-made teaching materials, and few instructors have the expertise to teach it.

The authors also point out a gap in existing ethics courses. Many courses on technology ethics rely on reading texts, not on writing software or analyzing data, and technical students often see them as a distraction from the "real" material. The authors want teaching that balances texts and coding, critique and solutions, and current research and practical use.

The paper has three aims:

  • to describe a new RDS course taught to technical students at New York University, including its content and teaching style;
  • to look closely at transparency and interpretability of machine-assisted decision-making, which the authors consider especially important for RDS;
  • to propose an idea they call an "object-to-interpret-with" and to link it to "nutritional labels," a family of tools that summarize how a dataset or model works.

Interpretability means that people can understand, trust and, if necessary, challenge a computer system's process and results.

Methods

This is a course description and design paper, not an experiment. The authors recount their own experience developing and teaching the course, review other people's research on teaching and on transparency, and propose teaching ideas. A paper like this can offer useful examples and ideas, but it cannot show that the approach improves learning.

The course

  • It was offered to graduate and advanced undergraduate data science students at New York University for the first time in Spring 2019. The paper does not give the number of students.
  • It is a semester-long course made up of lectures, readings, labs and homework. The only prerequisite is an introductory data science or computer science course, and students need basic Python skills. Machine learning is not required, on purpose, so that ethics comes early and the group is diverse.
  • It has six modules: introduction (1 week), the data science lifecycle (2 weeks), algorithmic fairness and diversity (3 weeks), transparency and interpretability (2 weeks), privacy and data protection (2 weeks), and legal frameworks and professional responsibility (2 weeks).
  • Students did four individual homework assignments, each about 2 weeks of effort, written as Jupyter notebooks (documents that mix code and writing), and a team project of two students, about 4 weeks of effort.
  • In the project, students built an interpretability tool, a nutritional label, for an automated decision system of their choice, often an entry from a Kaggle data competition. They delivered a written report, Python code and a presentation.

How evidence was gathered

The evidence is the authors' own observations, the project reports they saw, and student feedback comments. The paper does not describe a formal evaluation, a comparison group or ethics approval.

Key Findings

The paper reports an experience and makes proposals. It does not report test scores or statistics. Here is what it describes.

What the course covered and how

  • The course teaches ethics from the technical side. The authors say other universities, including some well-known ones, have ethical data science courses, but those come from humanities, legal or social science viewpoints.
  • Lessons start from well-known cases, such as a 2012 news report on online price discrimination, a 2015 study of gender and job ads, and a 2016 investigation called "Machine Bias." Labs reproduce part of that investigation and introduce open-source tools for fairness and for explaining model results.
  • The authors were surprised to find that virtually no problem sets existed on differential privacy (a way of sharing data statistics while protecting individuals). They could find no materials suited to beginning data science students.

Student response

  • The authors report that the course was well received. Students commented favorably on both the content and the pace, felt the course was relevant to their goals and careers, and found the programming assignments consistent with lectures.
  • Open comments included praise and critical feedback. Several students asked for more coverage of transparency and explainable models.
  • The authors say all student teams delivered insightful project analyses showing good command of fairness, diversity, transparency and interpretability. This is the authors' own judgment, with no scoring method given.
  • The first cohort was diverse in background, including computer science, mathematics, statistics, natural science, social science and law, but varied in technical preparation. The authors plan to try differentiated instruction (matching teaching to different student needs) next time.

The proposed ideas

  • An "object-to-interpret-with" is a representation that helps students make sense of how data and models work. The idea builds on the older constructivist idea of objects-to-think-with.
  • Nutritional labels summarize a dataset or model in a compact, visual form, like food labels. The authors describe two examples, Ranking Facts and the Dataset Nutrition Label. They note labels hide complexity and cannot make a model definitively interpretable.
  • The authors also list classroom activities such as replicating a study, reverse-outlining a platform, peer review, before-and-after tasks and designing a nutritional label.

Implications

The authors present their work as a starting point for a field, with suggestions rather than proven methods.

For instructors of data science and computer science

  • The authors recommend teaching ethics inside technical work, for example in coding labs and projects, so that students do not see it as separate.
  • They suggest using real cases and real datasets, and asking students to critique an existing system, not only to build one.
  • They recommend different presentation modes, such as text, visuals, local explanations of single predictions, and collections of examples, plus activities that make students think about their own thinking.
  • They recommend layering assessment, both numbers-based and written, and both during and at the end of the course.

For universities and program leaders

  • The authors say interpretability should be taught early, and that courses could be offered to practitioners and the wider public too. They say they are building an undergraduate RDS course as part of a data science major and adding RDS modules to existing courses.

For researchers

  • The authors invite the community to build a deeper theory of RDS teaching and to share materials. All course materials are available on a public website.

Our reading (not the authors' recommendation): Instructors who want to try this could start with one lab, such as reproducing a news investigation, before adopting a whole course.

Our reading (not the authors' recommendation): Because no learning outcomes were measured, programs should collect their own evidence on whether students' understanding improves.

Limitations

The paper is based on one course, taught once, at one university, and it reports no measured learning results. Readers should keep several limits in mind.

  • The authors do not give the number of students, and the main evidence of success is comments and the authors' own view of the project reports.
  • The paper does not mention, but student feedback was collected from a course the authors themselves taught, so it may lean positive.
  • The paper does not mention, but there was no comparison with students taught in a different way, so we cannot tell whether the course or the nutritional label approach adds anything over other methods.
  • The paper does not mention, but only one student's quoted response is given in full, so it is hard to judge how typical it is.
  • The authors say the paper focuses on higher education and on data science students. They note that other groups, such as working practitioners and the general public, still need to be considered.
  • The authors note that nutritional labels hide complex parts of a model for the sake of visual simplicity, so a label alone does not make a model interpretable.
  • The paper does not mention, but its link to learning theory, such as the idea of objects-to-interpret-with, is a proposal and has not been tested.
  • The paper is an arXiv preprint version, so it may not have been peer reviewed in this form.

Future Directions

The authors say they are at the beginning of the road and list several next steps.

  • What teaching methods and materials, assignments and assessment tools work best for RDS, and how can they be kept up to date as thinking about ethics changes?
  • How can curriculum development and instructor training be scaled up?
  • How can RDS be taught to data science practitioners and to the general public, not only to students?
  • How can the different views on interpretability and explainability in machine learning, from legal, philosophical and technical traditions, be reconciled and used in teaching?
  • Can existing RDS courses, which mostly take a humanities approach, be brought together to form a taxonomy of RDS teaching, and how effective are ethical approaches in technical courses compared with humanistic ones?

For their own course, the authors plan targeted assessments of students' prior knowledge and fitness for group work, better links to related courses, and purposeful differentiated instruction.

The bottom line: This paper describes one university course that teaches responsible data science through coding labs, case studies and a project to build a nutritional label for an automated decision system. Students commented favorably, but the paper does not measure learning and has no comparison group, so it works best as a worked example and a set of ideas, not as proof. Instructors can borrow the open course materials and the activity list, and should plan to gather their own evidence on whether students come away able to interpret and question the systems they build.