Reproducibility as a Mechanism for Teaching Fairness, Accountability, Confidentiality, and Transparency in Artificial Intelligence


Abstract

In this work, we explain the setup for a technical, graduate-level course on Fairness, Accountability, Confidentiality, and Transparency in Artificial Intelligence (FACT-AI) at the University of Amsterdam, which teaches FACT-AI concepts through the lens of reproducibility. The focal point of the course is a group project based on reproducing existing FACT-AI algorithms from top AI conferences and writing a corresponding report. In the first iteration of the course, we created an open source repository with the code implementations from the group projects. In the second iteration, we encouraged students to submit their group projects to the Machine Learning Reproducibility Challenge, resulting in 9 reports from our course being accepted for publication in the ReScience journal. We reflect on our experience teaching the course over two years, where one year coincided with a global pandemic, and propose guidelines for teaching FACT-AI through reproducibility in graduate-level AI study programs. We hope this can be a useful resource for instructors who want to set up similar courses in the future.

1 Introduction↩︎

For several decades, the University of Amsterdam has offered a research-oriented Master of Science (MSc) program in AI. The main focus of the program is on the technical, machine learning (ML) aspects of the major sub-fields of AI, such as computer vision, information retrieval, natural language processing, and reinforcement learning. One of the most recent additions to the MSc AI curriculum is a mandatory course on FACT-AI. This course was first taught during the 2019–2020 academic year and focuses on teaching FACT-AI topics through the lens of reproducibility. The main project involves students working in groups to re-implement existing FACT-AI algorithms from papers in top AI venues. There are approximately 150 students enrolled in the course each year.

The motivation for the course came from the MSc AI students themselves, who often play an important role in shaping the curriculum in order to meet the evolving requirements of researchers in both academia and industry. As the influence of AI on decision making is becoming increasingly prevalent in day-to-day life, there is a growing consensus that stakeholders who take part in the design or implementation of AI algorithms should reflect on the ethical ramifications of their work, including developers and researchers [1]. This is especially true in situations where data-driven AI systems affect some demographic sub-groups differently than others [2], [3]. As a result, our students have shown an increased interest in the ethical issues surrounding AI systems and requested that the university put together a new course focusing on responsible AI.

Since our MSc AI program is characterized by a strong emphasis on understanding, developing, and building AI algorithms, we believe that a new course on responsible AI in this program should also have a hands-on approach. The course is designed to address technical aspects of key areas in responsible AI:

fairness,

accountability,

confidentiality, and

transparency,

which we operationalize through a reproducibility project. We believe a strong emphasis on reproducibility is important from both an educational point of view and from the point of view of the AI community, since the (lack of) reproducible results has become a major point of critique in AI [4]. Moreover, the starting point of almost any junior AI researcher (and most AI research projects in general) is re-implementing existing methods as baselines. The FACT-AI course is situated at a point in the program where students have learned the basics of ML and are ready to start experimenting with, and building on top of, state-of-the-art algorithms. Given that our MSc AI program is fairly research-oriented, it is important for students to experience the process of reproducing work done by others (and how difficult this is) at an early stage in their careers. We also believe reproducibility is a fundamental component of FACT-AI: the cornerstone of fair, accountable, confidential and transparent AI systems is having correct and reproducible results. Without reproducibility, it is unclear how to judge if a decision-making algorithm adheres to any of the FACT principles.

In the 2019–2020 academic year, we operationalized our learning ambitions regarding reproducibility by publishing a public repository with selected code implementations and corresponding reports from the group projects. In the 2020–2021 academic year, we took the projects one step further and encouraged students to submit to the MLRC,1 a competition that solicits reproducibility reports for papers published in conferences such as NeurIPS, ICML, ICLR, ACL, EMNLP, CVPR and ECCV. Although the MLRC broadly focuses on all papers submitted to these conferences, we focus exclusively on papers covering FACT-AI topics in our course. Submitting to the MLRC gives students a chance to experience the whole AI research pipeline, from running experiments, to writing rebuttals, to receiving the official notifications. Of the 23 papers that were accepted to the MLRC in 2021, 9 came from groups in the FACT-AI course at the University of Amsterdam.

In this work, we describe the Fairness, Accountability, Confidentiality, and Transparency in Artificial Intelligence course: a one month, full-time course based on examining ethical issues in AI using reproducibility as a pedagogical tool. Students work in groups to re-implement (and possibly extend) existing algorithms from top AI venues on FACT-AI topics. The course also includes lectures that cover the high-level principles of FACT-AI topics, as well as paper discussion sessions where students read and digest prominent FACT-AI papers. In this paper, we outline the setup for the FACT-AI course and the experiences we had while running the course during the 2019–2020 and 2020–2021 academic years at the University of Amsterdam.

The remainder of this paper is structured as follows. In Section 2 we discuss related work, specifically other courses about responsible AI. In Section 3, we detail ongoing reproducibility efforts in the AI community. In Section 4, we explain the learning objectives for our course, and explain how we realized those objectives in Section 5. We reflect on the feedback we received about the course in Section 6, as well as what worked (Section 7) and what did not (Section 8), before concluding in Section 9.

2 Related Work↩︎

There have been multiple calls for introducing ethics in computer science courses in general, and in AI programs in particular [2], [3], [5][11]. Several surveys have investigated how existing responsible computing courses are organized [12][15].

2.1 Characterizing Responsible AI Courses↩︎

There are two primary approaches to integrating such components into the curriculum:

stand-alone courses that focus on ethical issues such as FACT-AI topics, and

a holistic curriculum where ethical issues are introduced and tackled in each course [12][14].

In general, the latter is rare [10], [12], [13], and can be difficult to organize due to a lack of qualified faculty or relevant expertise [15], [16]. We opt for the first approach since our course is a new addition to an existing study program.

[13] analyze 202 courses on “tech ethics”. Their survey examines

the departments the courses are taught from, as well as the home departments of the course instructors,

the topics covered in the courses, organized into 15 categories, and

the learning outcomes in the courses.

In our case, both the FACT-AI course and its instructors are from the Informatics Institute of the Faculty of Science at the University of Amsterdam. Our learning objectives (see Section 4) correspond to the following learning objectives from [13]: “Critique”, “Spot Issues”, and “Create solutions”. According to their content topic categorization, our course includes “AI & Algorithms” and “Research Ethics”: the former since the course deals explicitly with AI algorithms under the FACT-AI umbrella, and the latter due to its focus on reproducibility. We note that “AI & Algorithms” is only the fifth-most popular topic according to the survey, after “Law & Policy”, “Privacy & Surveillance”, “Philosophy”, and “Inequality, Justice & Human Rights” [13]). Although we believe these topics are important, we also wanted to avoid the feeling that the course was a “distraction from the real material” [17], especially since

the majority of our students are coming from a technical background into a technical MSc program, and

the FACT-AI course is mandatory for all students in the MSc AI program.

2.2 Similar Responsible AI Courses↩︎

The two courses that are the most similar to ours are those of [17] and [18].

[17] describe a course for responsible data science. Similar to our course, they focus on the technical aspects of AI, involving lectures, readings, and a final project. However, their course differs from ours since the main project in their course is focused on examining the interpretability of an automated decision making system, while the main project in our course is focused on reproducibility.

[18] describe a course based on reproducing experiments from AI papers, focusing on “low-barrier” reproducibility. Similar to our course, this course involves replicating a paper from scratch or reproducing the experiments using existing code, performing hyperparameter sweeps, and testing with new data or with variant algorithms. Another similarity is that they released a public repository of re-implemented algorithms,2 which we also did for the first iteration of our course.3 However, their course differs from ours since theirs focuses on AI papers in general, while our course focuses exclusively on FACT-AI papers.

There are several courses that focus more on the philosophical or social science perspectives of AI ethics. [19] describes an undergraduate AI ethics course that teaches computer science majors to analyse issues using different ethical approaches and how to incorporate these into an explicit ethical agent. [20] introduce a toolkit in the form of “Value Cards” to inform students and practitioners about the social impacts of ML models through deliberation. [21] propose an approach to ethics education using “argument schemes” that summarize key ethical considerations for specialized domains such as healthcare or national defense. [22] introduce ethics concepts, primarily utilitarianism, into an existing AI course about autonomous vehicles by studying several variations of the Trolley Problem. [23] teach ethics through science fiction stories complemented with philosophy papers, allowing students to reflect and debate difficult content without emotional or personal investment since the stories are not tied to “real” issues. [8] describe an undergraduate course on human-centred computing which integrates ethical thinking throughout the design of computational systems. Unlike these courses, our course focuses more on the technical aspects of ethical AI. However, incorporating such non-technical perspectives is something we would like to do in future iterations of our course, perhaps through one of the mechanisms employed by some of these courses.

3 Integrating Reproducibility of AI Research into the FACT-AI Course↩︎

There have been several criticisms about the lack of reproducibility in AI research. Some have postulated this is due to a combination of unpublished code and high sensitivity of training parameters [4], while others believe the rapid rate of progress in ML research results in a lack of empirical rigor [24]. Although typically well-intentioned, some papers may disguise speculation as explanation, obfuscate content behind math or language, and fail to attribute the correct sources of empirical gains [25].

Several efforts have been made to investigate and increase the reproducibility of AI research. In 2021, NeurIPS introduced a paper checklist including questions about reproducibility, along with a template for submitting source code as supplementary material [26]. The Association of Computing Machinery introduced a badging system that indicates how reproducible a paper is [27]. Papers with Code is an organization that provides links to official code repositories in arXiv papers [28]. It also hosts an annual Machine Learning Reproducibility Challenge (MLRC): a community-wide effort to investigate the reproducibility of papers accepted at top AI conferences, which we incorporated into the 2020–2021 iteration of the FACT-AI course.

In an ideal scenario, reproducibility issues would be handled prior to publication [24], but it can be difficult to catch such shortcomings in the review process due to the increasing number of papers submitted to AI conferences. Therefore, we believe it is of utmost importance that the next generation of AI researchers – including our own students – can

identify and

avoid these pitfalls while conducting their own work.

This, in combination with the fact that reproducibility is a fundamental component of responsible AI research, is why we opted to teach the FACT-AI course through the lens of reproducibility.

Our course is centered around a group project where students re-implement a recent FACT-AI algorithm from a top AI conference. This project has three components:

a reproducibility report,

an associated code base, and

a group presentation.

In Section 5.3, we provide more details on the project and the outputs it resulted in.

4 Learning Objectives↩︎

In the FACT-AI course, we aim to make students aware of two types of responsibility: (i) towards society in terms of potential implications of their research, and (ii) towards the research community in terms of producing reproducible research. In this section, we outline the learning objectives for the FACT-AI course and explain how it fits within the context of the MSc AI program at the University of Amsterdam.

Table 1 shows the setup of the first year of the 2-year MSc AI program. Each semester at the University of Amsterdam is divided into three periods: two 8-week periods followed by one 4-week period. During an 8-week period, students follow two courses in parallel. During the 4-week period, they only follow a single course. The FACT-AI course takes place during the 4-week period at the end of the first semester, after students have taken Computer Vision 1, Machine Learning 1, Natural Language Processing 1 and Deep Learning 1. It is the only course students follow during this period, so we believe it is beneficial to have them focus on one main project – reproducing an existing FACT-AI paper. The learning objectives for the course are as follows:

LO #1: Understanding FACT topics.

Students can explain the major notions of fairness, accountability, confidentiality, and transparency that have been proposed in the literature, along with their strengths and weaknesses.

LO #2: Understanding algorithmic harm.

Students can explain, motivate, and distinguish the main types of algorithmic harm, both in general and in terms of concrete examples where AI is being applied.

LO #3: Familiarity with FACT methods.

Students are familiar with recent peer-reviewed algorithmic approaches to fairness, accountability, confidentiality, and transparency in the literature.

LO #4: Reproducing FACT solutions.

Students can assess the degree to which recent algorithmic solutions are effective, especially with respect to the claims made in the original papers, while understanding their limitations and shortcomings.

5 Course Setup↩︎

The FACT-AI course is organized around

lectures,

paper discussions, and

a group project.

It has had two iterations so far: the 2019–2020 iteration was taught in person, while the 2020–2021 iteration was taught online due to the COVID-19 pandemic. In this section, we detail how we realized the learning objectives from Section 4 and describe the challenges in adapting the course to an online format.

5.1 Lectures↩︎

To further the understanding of FACT-AI topics (LO1), we provide one general lecture for each of the 4 topics, along with a lecture specifically about reproducibility. Lectures are an opportunity for students to familiarize themselves with algorithmic harm (LO2). Students are encouraged to ask questions that lead to discussions about potential harm done by applications of AI. This was more challenging in the second iteration of the course due to the online format, but we hope that facilitating such discussions will be more straightforward once we return to in-person classes.

In addition to the general lectures, we also include some guest lectures. These are used to either discuss specific types of algorithmic harm (LO2), examine specific FACT-AI algorithms in depth (LO3), or expand on the non-technical aspects of FACT-AI. Some examples of guest lectures include a lecture on AI accountability from a legal perspective by an instructor from the law department of the University of Amsterdam, and a lecture by two former FACT-AI students who explained how they turned their group project into an ICML 2021 workshop paper [29].

5.2 Paper Discussions↩︎

The goal of the paper discussion sessions is for students to learn about prominent FACT-AI methods (LO3), and learn to think critically about the claims made in the papers we discuss (LO4). Students first read a seminal FACT-AI paper on their own while trying to answer the following questions:

  • What are the main claims of the paper?

  • What are the research questions?

  • Does the experimental setup make sense, given the research questions?

  • What are the answers to the research questions? Are these supported by experimental evidence?

students have read the papers, they participate in smaller discussion sessions with their peers about their answers to the questions above. After each discussion session, all the groups are brought back together for a “dissection” session, where an instructor goes over the same seminal paper, giving an overview of the papers’ strengths and weaknesses.

Each session was presented by a different instructor to show that there is no single way of examining a research paper, and that different researchers will bring different perspectives to their assessment of papers. The following papers were covered during the discussion sessions: [30] on fairness; [31] on transparency; and [32] on confidentiality.

3pt

Table 1: The first year of the MSc AI program at the University of Amsterdam.
Course Sem. Sem. EC
Computer Vision 1 \(\blacksquare\) \(\square\) \(\square\) \(\square\) \(\square\) \(\square\) 6
Machine Learning 1 \(\blacksquare\) \(\square\) \(\square\) \(\square\) \(\square\) \(\square\) 6
Natural Language Processing 1 \(\square\) \(\blacksquare\) \(\square\) \(\square\) \(\square\) \(\square\) 6
Deep Learning 1 \(\square\) \(\blacksquare\) \(\square\) \(\square\) \(\square\) \(\square\) 6
Fairness, Accountability, Confidentiality \(\square\) \(\square\) \(\blacksquare\) \(\square\) \(\square\) \(\square\) 6
and Transparency in AI
Information Retrieval 1 \(\square\) \(\square\) \(\square\) \(\blacksquare\) \(\square\) \(\square\) 6
Knowledge Representation and Reasoning \(\square\) \(\square\) \(\square\) \(\blacksquare\) \(\square\) \(\square\) 6
Elective 1 \(\square\) \(\square\) \(\square\) \(\square\) \(\blacksquare\) \(\square\) 6
Elective 2 \(\square\) \(\square\) \(\square\) \(\square\) \(\blacksquare\) \(\square\) 6
Elective 3 \(\square\) \(\square\) \(\square\) \(\square\) \(\square\) \(\blacksquare\) 6

5.3 Group Project↩︎

5.3.1 Reproduction of a FACT-AI paper.↩︎

The purpose of the group project is to have students investigate the claims made by the authors of recent FACT-AI papers by diving into the details of the methods and their implementations. Using what they have learned from the paper discussion sessions, students work in groups to re-implement an existing FACT-AI algorithm from a top AI conference and re-run the experiments in the paper to determine the degree to which they are reproducible (LO4). If the code is already available, then they must extend the method in some way. The project consisted of three deliverables:

a reproducibility report,

an associated code base, and

a group presentation.

In order to ensure the project is feasible, we select 10–15 papers in advance for groups to choose from. Our criteria for including papers is as follows:

  • The paper is on a FACT-AI topic.

  • At least one dataset in the paper is publicly available.

  • Experiments can be run on a single GPU (which we provide access to).

  • It is reasonable for a group of 3–4 MSc AI students to re-implement the paper within the timeframe of the course. In our case, students work on this project for one-month full-time.

ease the load for our teaching assistants (TAs), we have several groups working on the same paper. We assign papers to TAs based on their interests by asking them to rank the set of candidate papers in advance. We also encourage them to suggest alternative papers provided they fit the criteria. The TAs read the papers before the course starts in order to ensure they have a sufficient, in-depth understanding of the work such that they can guide students through the project. This also serves as an extra feasibility check, to ensure that the papers are indeed a good fit for our course.

Each group writes a report about their efforts following the structure of a standard research paper (i.e., introduction, methodology, experiments, results, conclusion). They also include aspects specific to reproducibility such as explaining the difficulties of implementing certain components, as well as describing any communication they had with the original authors. In addition to the source code, students provide all results in a Jupyter notebook along with a file to install the required environment.

5.3.2 First Iteration: Contributing to an Open Source Repository.↩︎

In the 2019–2020 iteration of the course, we created a public repository on GitHub, which contains a selection of the implementations done by our students: https://github.com/uva-fact-ai-course/uva-fact-ai-course. The TAs who assisted with the course decided which implementations to include and cleaned up the code so it all fit into one cohesive repository. This had multiple motivations. First, it taught students how to improve the reproducibility of their own work by releasing the code, while also giving them a sense of contributing to the open-source community. Second, a public repository can serve as a starting point for personal development in their future careers; companies often ask to see existing code or projects that prospective employees have worked on. Some students added the project to their CVs, while others wrote blog posts about their experiences,4 linking back to the repository.

5.3.3 Second Iteration: The Machine Learning Reproducibility Challenge.↩︎

In the 2020–2021 iteration of the course, we formally participated in the annual MLRC run by Papers with Code [28] in order to expose our students to the peer-review process. This gave students something to strive towards and offered perspectives beyond simply getting a grade for the project. Most importantly, it gave them the opportunity to experience the full research pipeline:

reading a technical paper,

understanding a paper’s strength and weaknesses,

implementing (and perhaps also extending) the paper,

writing up the findings,

submitting to a venue with a deadline,

obtaining feedback,

writing a rebuttal, and

receiving the official notification.

To encourage students to formally submit to the MLRC, we offered a 5% boost to their final grades if they submitted. Of the 32 groups in the FACT-AI course, 30 (94%) groups submitted their reproducibility reports to the MLRC, of which 9 groups had their papers accepted.

5.4 Taking the Course Online↩︎

The second iteration of the course was taught in January 2021, when the COVID-19 pandemic forced us to move classes and interactions online. Students made use of various channels to communicate: WhatsApp, Discord, and Slack. Canvas was the primary mode of communication between the instructors and the students, allowing students to ask questions and instructors to communicate various announcements.

Lectures were live, with frequent Q&A breaks to stimulate interactivity. Paper discussion sections were organized in different online meeting subrooms where students discussed the papers together. This proved to be a challenge: while some subrooms had productive discussions, others struggled to get the conversation going.

The reproducibility project was more difficult to launch remotely. Since students had done online classes for their entire first semester, some struggled to find a group of fellow students to team up with, especially those coming from outside the MSc AI program. Overall, while we had various communication means, the lack of physical interaction due to COVID-19 slowed down our course organization.

6 Feedback↩︎

In this section, we discuss the feedback we received about the course from the perspective of participating students (Section 6.1) and from the MLRC reviews (Section 6.2).

6.1 Feedback from Students↩︎

Both iterations of the course were evaluated using the standard evaluation procedure provided by the University of Amsterdam. However, only 16% of students filled out the evaluation form (23 out of 144) in the 2020–2021 iteration, potentially because the evaluation forms were administered online instead of in-person. According to the evaluation procedure at our university, this is not enough for a reliable quantitative estimate of student satisfaction. Therefore, we focus on the 2019–2020 iteration when reporting student satisfaction statistics, since 53% of students filled out the form (79 out of 149) that year.

The vast majority of students were (very) satisfied with the course overall (67.8%). More specifically, students were (very) satisfied with the following dimensions:

  • Academic challenge (75.2%)

  • Supervision (76.9%)

  • Feedback (81.3%)

  • Workload (91.3%)

  • Level of the course (79.7%)

  • Level of the report (94.8%)

  • Level of the presentation (96.6%)

Table 2(a) shows some of the qualitative feedback we received from students. Based on this, we believe these high scores are mostly the result of the reproducibility project. Students enjoyed doing the project, especially due to the intensive supervision from our experienced TAs. The dimensions where we received the lowest scores were on the lectures and the final presentation, where only 30.6% and 30.2% were (very) satisfied with these aspects, respectively. This may be because we only provided four (high-level) lectures on each of the four topics, in order to give students as much time as possible to focus on the reproducibility project. However, it should be noted that the overall scores for these components were not poor, but average: 3.1/5 for lectures and 3.0/5 for the presentation.

6.2 Feedback from the MLRC↩︎

Of the 30 reproducibility reports submitted to the MLRC in the 2020–2021 iteration, 9 were accepted for publication in the ReScience Journal. In total, the MLRC accepted 23 reports, meaning that almost 40% of the reports accepted to the MLRC were from the University of Amsterdam.5

The reviews were mostly positive, with the general consensus being that most teams had gone beyond the general expectation of simply re-implementing the algorithm and re-running the experiments. Our TAs encouraged students to examine the generalizability of the work that was reproduced, either by trying new datasets or hyperparameters, or by performing ablation studies. Multiple reproducibility reports managed to question the results of the original papers with experimentally-supported claims. Importantly, some reviewers emphasized that these reproducibility studies were solid starting points for future research projects. For the reports that were rejected, the main critiques were that

only a fraction of the original work was reproduced, or

no new insights were given.

Some projects also had flaws in the experimental setup. See Table 2(b) and  2(c) for quotes from the MLRC reviews.

Table 2: Feedback from students (a) and the MLRC (b, c).
(a) Feedback from students
image
(b) Positive feedback from the MLRC
image
(c) Negative feedback from the MLRC
image

7 What Worked↩︎

Understanding and re-implementing the work of other researchers is not a trivial task, especially for first-year MSc students. There were several aspects of the setup that we believe were beneficial for the students, which we organize along three dimensions:

general,

concerning FACT-AI, and

concerning reproducibility.

We believe each of these factors are important for a successful implementation of this course, or other similar courses.

7.1 General↩︎

7.1.1 Timing of the course.↩︎

It is important that students have prior knowledge of ML theory as well as some programming experience before completing a project-based course in groups. At the University of Amsterdam, the FACT-AI course takes place after students have completed 4 ML-focused courses (see Table 1). We believe it is extremely important that students have access to adequate preparation, especially in terms of programming experience, before setting off to reproduce experiments from prominent AI papers. Without this prior knowledge, we believe such a project would not be feasible in the allotted time frame.

7.1.2 Regular contact with experienced TAs.↩︎

The TAs are there to help with two main components:

understanding the paper, and

debugging the implementation process.

In practice, we found that it is extremely important for the TAs to have excellent programming experience since this is the main aspect students need help with. We also had a dedicated Slack workspace for the TAs and course instructors to keep in touch regularly.

Since our course is only four weeks long, we found it was important for students to have regular contact with their TAs to ensure no one got stuck in the process. For the first (in-person) iteration of the course, groups had one-hour tutorials with their TAs twice per week, where all groups that were working on the same paper (and therefore had the same TA) were in the same tutorial. Since they were all working on the same paper, there were many overlapping questions, and students found it beneficial to be able to share their experiences with one another. For the second (online) iteration of the course, we thought it would be challenging to ensure each group got the attention they needed if everyone was in one large online tutorial, so the TAs met with each group separately for 30 minutes, twice per week.

7.1.3 Early feedback on the reports.↩︎

Approximately halfway through the course, we asked students to submit a draft report to their TAs in order to get feedback. We found this significantly increased the quality of the final reports.

7.2 Concerning FACT-AI↩︎

7.2.1 Emphasizing the technical perspective of FACT-AI.↩︎

Given that the FACT-AI course is situated in the context of a technical, research-oriented MSc, having students re-implement research papers from top AI conferences was an effective way to teach FACT-AI topics for our students. Teaching FACT-AI from a primarily technical perspective aligns well with what students expect from the MSc AI program at the University of Amsterdam. Although we believe a technical focus makes sense for our MSc program, we also believe it is important to incorporate non-technical perspectives into the course – see Section 8.2.

7.2.2 Creating resources for the FACT-AI community.↩︎

We believe a significant motivating factor for students was creating concrete output that extended beyond simply completing a project for a course: creating resources for the FACT community. In the 2019–2020 iteration, this was done by creating a public repository with the best FACT-AI algorithm implementations, as selected by the TAs. In the 2020–2021 iteration, this was done by publicly submitting their reproducibility reports about FACT-AI algorithms to the MLRC, where the accepted reports were published in the ReScience Journal. In the future, we plan to continue aligning our course with the MLRC since we found the process extremely beneficial for our students.

7.3 Concerning Reproducibility↩︎

7.3.1 Including extension as part of reproducibility.↩︎

If source code was already available for the paper – which is fortunately becoming increasingly common for AI research papers – we asked students to think about how to extend the paper since the implementation was already available. This resulted in some creative and interesting ideas in the reports, and we believe this is why our students performed well at the MLRC (see Section 6.2)

7.3.2 Simple grading setup.↩︎

For a 4-week, project-based course, we found it was beneficial for students to focus one main deliverable consisting of three components:

the reproducibility report,

the associated code base, and

the group presentation.

The report that students submitted for the course was the same one they submitted to the MLRC. This way, participating in the MLRC was not an extra task but rather an integral part of the course.

8 What Could Be Improved↩︎

Although we believe both iterations of the course went well, there are several aspects of the setup that we believe could use some improvement and other instructors should consider if they plan to implement a similar course.

8.1 General↩︎

Given that this is the first time most students are formally submitting a paper, it is not surprising that there were some logistical issues. Some groups made minor mistakes such as forgetting to submit their work double-blind or slightly missing the submission deadline. We also had some groups who wrote the introduction sections of their papers as an introduction to the FACT-AI course, rather than an introduction to the topic they were working on. In future iterations, we will explicitly state the standard procedures of writing and submitting a paper and provide some examples.

8.2 Concerning FACT-AI↩︎

Although focusing primarily on the technical aspects of FACT-AI is an effective way to engage our technical students in socially-relevant AI problems, we also believe that they would benefit from additional non-technical perspectives on FACT-AI topics. In the future, we plan to include perspective from outside of computer science through

additional guest lectures,

workshop sessions [8], [20], and

broader impact statements [1] in the reproducibility reports.

8.3 Concerning Reproducibility↩︎

In future iterations, we believe it would be useful to show students more examples of what a high-quality reproducibility paper looks like and explain in-depth why it is high-quality. These could be papers that were previously accepted to the MLRC, or papers from other reproducibility efforts outlined in Section 3. We want the students to understand what makes a paper a good (reproducibility) paper, that is, it has a set of (reproducibility) claims, it argues for these claims, and shows evidence to support these claims.

9 Conclusion↩︎

In this paper, we share our setup for the FACT-AI course at the University of Amsterdam, which teaches FACT-AI topics through reproducibility. The course set out to give students

an understanding of FACT-AI topics,

an understanding of algorithmic harm,

familiarity with recent FACT-AI methods, and

an opportunity to reproduce FACT-AI solutions,

through a combination of lectures, paper discussion sessions and a reproducibility project.

Through their projects, our students engaged with the open-source community by creating a public code repository (in the 2019–2020 iteration), as well as with the research community via successful submissions to the MLRC challenge (in the 2020–2021 iteration). We also detail how the 2020–2021 iteration brought about its own unique set of challenges due to the COVID-19 pandemic.

In this course, we illustrate that reproducibility is not only paramount to good science in general, but is also a fundamental component of FACT-AI. We received very positive feedback on teaching FACT-AI topics through reproducibility. We believe this was an excellent fit for our students, which not only helped motivate them for the duration of the course, but also helped them develop skills that will be essential in their future research careers, whether in the private or public sector. To generalize this course setup to other scientific domains, we suggest identifying where the lack of reproducibility in this domain area is coming from and centre the project around evaluating this component.

10 Introduction↩︎

For several decades, the University of Amsterdam has offered a research-oriented Master of Science (MSc) program in AI. The main focus of the program is on the technical, machine learning (ML) aspects of the major sub-fields of AI, such as computer vision, information retrieval, natural language processing, and reinforcement learning. One of the most recent additions to the MSc AI curriculum is a mandatory course on FACT-AI. This course was first taught during the 2019–2020 academic year and focuses on teaching FACT-AI topics through the lens of reproducibility. The main project involves students working in groups to re-implement existing FACT-AI algorithms from papers in top AI venues. There are approximately 150 students enrolled in the course each year.

The motivation for the course came from the MSc AI students themselves, who often play an important role in shaping the curriculum in order to meet the evolving requirements of researchers in both academia and industry. As the influence of AI on decision making is becoming increasingly prevalent in day-to-day life, there is a growing consensus that stakeholders who take part in the design or implementation of AI algorithms should reflect on the ethical ramifications of their work, including developers and researchers [1]. This is especially true in situations where data-driven AI systems affect some demographic sub-groups differently than others [2], [3]. As a result, our students have shown an increased interest in the ethical issues surrounding AI systems and requested that the university put together a new course focusing on responsible AI.

Since our MSc AI program is characterized by a strong emphasis on understanding, developing, and building AI algorithms, we believe that a new course on responsible AI in this program should also have a hands-on approach. The course is designed to address technical aspects of key areas in responsible AI:

fairness,

accountability,

confidentiality, and

transparency,

which we operationalize through a reproducibility project. We believe a strong emphasis on reproducibility is important from both an educational point of view and from the point of view of the AI community, since the (lack of) reproducible results has become a major point of critique in AI [4]. Moreover, the starting point of almost any junior AI researcher (and most AI research projects in general) is re-implementing existing methods as baselines. The FACT-AI course is situated at a point in the program where students have learned the basics of ML and are ready to start experimenting with, and building on top of, state-of-the-art algorithms. Given that our MSc AI program is fairly research-oriented, it is important for students to experience the process of reproducing work done by others (and how difficult this is) at an early stage in their careers. We also believe reproducibility is a fundamental component of FACT-AI: the cornerstone of fair, accountable, confidential and transparent AI systems is having correct and reproducible results. Without reproducibility, it is unclear how to judge if a decision-making algorithm adheres to any of the FACT principles.

In the 2019–2020 academic year, we operationalized our learning ambitions regarding reproducibility by publishing a public repository with selected code implementations and corresponding reports from the group projects. In the 2020–2021 academic year, we took the projects one step further and encouraged students to submit to the MLRC,6 a competition that solicits reproducibility reports for papers published in conferences such as NeurIPS, ICML, ICLR, ACL, EMNLP, CVPR and ECCV. Although the MLRC broadly focuses on all papers submitted to these conferences, we focus exclusively on papers covering FACT-AI topics in our course. Submitting to the MLRC gives students a chance to experience the whole AI research pipeline, from running experiments, to writing rebuttals, to receiving the official notifications. Of the 23 papers that were accepted to the MLRC in 2021, 9 came from groups in the FACT-AI course at the University of Amsterdam.

In this work, we describe the Fairness, Accountability, Confidentiality, and Transparency in Artificial Intelligence course: a one month, full-time course based on examining ethical issues in AI using reproducibility as a pedagogical tool. Students work in groups to re-implement (and possibly extend) existing algorithms from top AI venues on FACT-AI topics. The course also includes lectures that cover the high-level principles of FACT-AI topics, as well as paper discussion sessions where students read and digest prominent FACT-AI papers. In this paper, we outline the setup for the FACT-AI course and the experiences we had while running the course during the 2019–2020 and 2020–2021 academic years at the University of Amsterdam.

The remainder of this paper is structured as follows. In Section 2 we discuss related work, specifically other courses about responsible AI. In Section 3, we detail ongoing reproducibility efforts in the AI community. In Section 4, we explain the learning objectives for our course, and explain how we realized those objectives in Section 5. We reflect on the feedback we received about the course in Section 6, as well as what worked (Section 7) and what did not (Section 8), before concluding in Section 9.

11 Related Work↩︎

There have been multiple calls for introducing ethics in computer science courses in general, and in AI programs in particular [2], [3], [5][11]. Several surveys have investigated how existing responsible computing courses are organized [12][15].

11.1 Characterizing Responsible AI Courses↩︎

There are two primary approaches to integrating such components into the curriculum:

stand-alone courses that focus on ethical issues such as FACT-AI topics, and

a holistic curriculum where ethical issues are introduced and tackled in each course [12][14].

In general, the latter is rare [10], [12], [13], and can be difficult to organize due to a lack of qualified faculty or relevant expertise [15], [16]. We opt for the first approach since our course is a new addition to an existing study program.

[13] analyze 202 courses on “tech ethics”. Their survey examines

the departments the courses are taught from, as well as the home departments of the course instructors,

the topics covered in the courses, organized into 15 categories, and

the learning outcomes in the courses.

In our case, both the FACT-AI course and its instructors are from the Informatics Institute of the Faculty of Science at the University of Amsterdam. Our learning objectives (see Section 4) correspond to the following learning objectives from [13]: “Critique”, “Spot Issues”, and “Create solutions”. According to their content topic categorization, our course includes “AI & Algorithms” and “Research Ethics”: the former since the course deals explicitly with AI algorithms under the FACT-AI umbrella, and the latter due to its focus on reproducibility. We note that “AI & Algorithms” is only the fifth-most popular topic according to the survey, after “Law & Policy”, “Privacy & Surveillance”, “Philosophy”, and “Inequality, Justice & Human Rights” [13]). Although we believe these topics are important, we also wanted to avoid the feeling that the course was a “distraction from the real material” [17], especially since

the majority of our students are coming from a technical background into a technical MSc program, and

the FACT-AI course is mandatory for all students in the MSc AI program.

11.2 Similar Responsible AI Courses↩︎

The two courses that are the most similar to ours are those of [17] and [18].

[17] describe a course for responsible data science. Similar to our course, they focus on the technical aspects of AI, involving lectures, readings, and a final project. However, their course differs from ours since the main project in their course is focused on examining the interpretability of an automated decision making system, while the main project in our course is focused on reproducibility.

[18] describe a course based on reproducing experiments from AI papers, focusing on “low-barrier” reproducibility. Similar to our course, this course involves replicating a paper from scratch or reproducing the experiments using existing code, performing hyperparameter sweeps, and testing with new data or with variant algorithms. Another similarity is that they released a public repository of re-implemented algorithms,7 which we also did for the first iteration of our course.8 However, their course differs from ours since theirs focuses on AI papers in general, while our course focuses exclusively on FACT-AI papers.

There are several courses that focus more on the philosophical or social science perspectives of AI ethics. [19] describes an undergraduate AI ethics course that teaches computer science majors to analyse issues using different ethical approaches and how to incorporate these into an explicit ethical agent. [20] introduce a toolkit in the form of “Value Cards” to inform students and practitioners about the social impacts of ML models through deliberation. [21] propose an approach to ethics education using “argument schemes” that summarize key ethical considerations for specialized domains such as healthcare or national defense. [22] introduce ethics concepts, primarily utilitarianism, into an existing AI course about autonomous vehicles by studying several variations of the Trolley Problem. [23] teach ethics through science fiction stories complemented with philosophy papers, allowing students to reflect and debate difficult content without emotional or personal investment since the stories are not tied to “real” issues. [8] describe an undergraduate course on human-centred computing which integrates ethical thinking throughout the design of computational systems. Unlike these courses, our course focuses more on the technical aspects of ethical AI. However, incorporating such non-technical perspectives is something we would like to do in future iterations of our course, perhaps through one of the mechanisms employed by some of these courses.

12 Integrating Reproducibility of AI Research into the FACT-AI Course↩︎

There have been several criticisms about the lack of reproducibility in AI research. Some have postulated this is due to a combination of unpublished code and high sensitivity of training parameters [4], while others believe the rapid rate of progress in ML research results in a lack of empirical rigor [24]. Although typically well-intentioned, some papers may disguise speculation as explanation, obfuscate content behind math or language, and fail to attribute the correct sources of empirical gains [25].

Several efforts have been made to investigate and increase the reproducibility of AI research. In 2021, NeurIPS introduced a paper checklist including questions about reproducibility, along with a template for submitting source code as supplementary material [26]. The Association of Computing Machinery introduced a badging system that indicates how reproducible a paper is [27]. Papers with Code is an organization that provides links to official code repositories in arXiv papers [28]. It also hosts an annual Machine Learning Reproducibility Challenge (MLRC): a community-wide effort to investigate the reproducibility of papers accepted at top AI conferences, which we incorporated into the 2020–2021 iteration of the FACT-AI course.

In an ideal scenario, reproducibility issues would be handled prior to publication [24], but it can be difficult to catch such shortcomings in the review process due to the increasing number of papers submitted to AI conferences. Therefore, we believe it is of utmost importance that the next generation of AI researchers – including our own students – can

identify and

avoid these pitfalls while conducting their own work.

This, in combination with the fact that reproducibility is a fundamental component of responsible AI research, is why we opted to teach the FACT-AI course through the lens of reproducibility.

Our course is centered around a group project where students re-implement a recent FACT-AI algorithm from a top AI conference. This project has three components:

a reproducibility report,

an associated code base, and

a group presentation.

In Section 5.3, we provide more details on the project and the outputs it resulted in.

13 Learning Objectives↩︎

In the FACT-AI course, we aim to make students aware of two types of responsibility: (i) towards society in terms of potential implications of their research, and (ii) towards the research community in terms of producing reproducible research. In this section, we outline the learning objectives for the FACT-AI course and explain how it fits within the context of the MSc AI program at the University of Amsterdam.

Table 1 shows the setup of the first year of the 2-year MSc AI program. Each semester at the University of Amsterdam is divided into three periods: two 8-week periods followed by one 4-week period. During an 8-week period, students follow two courses in parallel. During the 4-week period, they only follow a single course. The FACT-AI course takes place during the 4-week period at the end of the first semester, after students have taken Computer Vision 1, Machine Learning 1, Natural Language Processing 1 and Deep Learning 1. It is the only course students follow during this period, so we believe it is beneficial to have them focus on one main project – reproducing an existing FACT-AI paper. The learning objectives for the course are as follows:

LO #1: Understanding FACT topics.

Students can explain the major notions of fairness, accountability, confidentiality, and transparency that have been proposed in the literature, along with their strengths and weaknesses.

LO #2: Understanding algorithmic harm.

Students can explain, motivate, and distinguish the main types of algorithmic harm, both in general and in terms of concrete examples where AI is being applied.

LO #3: Familiarity with FACT methods.

Students are familiar with recent peer-reviewed algorithmic approaches to fairness, accountability, confidentiality, and transparency in the literature.

LO #4: Reproducing FACT solutions.

Students can assess the degree to which recent algorithmic solutions are effective, especially with respect to the claims made in the original papers, while understanding their limitations and shortcomings.

  • LO #1: Understanding FACT topics. Students can explain the major notions of fairness, accountability, confidentiality, and transparency that have been proposed in the literature, along with their strengths and weaknesses.

  • LO #2: Understanding algorithmic harm. Students can explain, motivate, and distinguish the main types of algorithmic harm, both in general and in terms of concrete examples where AI is being applied.

  • LO #3: Familiarity with FACT methods. Students are familiar with recent peer-reviewed algorithmic approaches to fairness, accountability, confidentiality, and transparency in the literature.

  • LO #4: Reproducing FACT solutions. Students can assess the degree to which recent algorithmic solutions are effective, especially with respect to the claims made in the original papers, while understanding their limitations and shortcomings.

14 Course Setup↩︎

The FACT-AI course is organized around

lectures,

paper discussions, and

a group project.

It has had two iterations so far: the 2019–2020 iteration was taught in person, while the 2020–2021 iteration was taught online due to the COVID-19 pandemic. In this section, we detail how we realized the learning objectives from Section 4 and describe the challenges in adapting the course to an online format.

14.1 Lectures↩︎

To further the understanding of FACT-AI topics (LO1), we provide one general lecture for each of the 4 topics, along with a lecture specifically about reproducibility. Lectures are an opportunity for students to familiarize themselves with algorithmic harm (LO2). Students are encouraged to ask questions that lead to discussions about potential harm done by applications of AI. This was more challenging in the second iteration of the course due to the online format, but we hope that facilitating such discussions will be more straightforward once we return to in-person classes.

In addition to the general lectures, we also include some guest lectures. These are used to either discuss specific types of algorithmic harm (LO2), examine specific FACT-AI algorithms in depth (LO3), or expand on the non-technical aspects of FACT-AI. Some examples of guest lectures include a lecture on AI accountability from a legal perspective by an instructor from the law department of the University of Amsterdam, and a lecture by two former FACT-AI students who explained how they turned their group project into an ICML 2021 workshop paper [29].

14.2 Paper Discussions↩︎

The goal of the paper discussion sessions is for students to learn about prominent FACT-AI methods (LO3), and learn to think critically about the claims made in the papers we discuss (LO4). Students first read a seminal FACT-AI paper on their own while trying to answer the following questions:

  • What are the main claims of the paper?

  • What are the research questions?

  • Does the experimental setup make sense, given the research questions?

  • What are the answers to the research questions? Are these supported by experimental evidence?

students have read the papers, they participate in smaller discussion sessions with their peers about their answers to the questions above. After each discussion session, all the groups are brought back together for a “dissection” session, where an instructor goes over the same seminal paper, giving an overview of the papers’ strengths and weaknesses.

Each session was presented by a different instructor to show that there is no single way of examining a research paper, and that different researchers will bring different perspectives to their assessment of papers. The following papers were covered during the discussion sessions: [30] on fairness; [31] on transparency; and [32] on confidentiality.

3pt

Table 3: The first year of the MSc AI program at the University of Amsterdam.
Course Sem. Sem. EC
Computer Vision 1 \(\blacksquare\) \(\square\) \(\square\) \(\square\) \(\square\) \(\square\) 6
Machine Learning 1 \(\blacksquare\) \(\square\) \(\square\) \(\square\) \(\square\) \(\square\) 6
Natural Language Processing 1 \(\square\) \(\blacksquare\) \(\square\) \(\square\) \(\square\) \(\square\) 6
Deep Learning 1 \(\square\) \(\blacksquare\) \(\square\) \(\square\) \(\square\) \(\square\) 6
Fairness, Accountability, Confidentiality \(\square\) \(\square\) \(\blacksquare\) \(\square\) \(\square\) \(\square\) 6
and Transparency in AI
Information Retrieval 1 \(\square\) \(\square\) \(\square\) \(\blacksquare\) \(\square\) \(\square\) 6
Knowledge Representation and Reasoning \(\square\) \(\square\) \(\square\) \(\blacksquare\) \(\square\) \(\square\) 6
Elective 1 \(\square\) \(\square\) \(\square\) \(\square\) \(\blacksquare\) \(\square\) 6
Elective 2 \(\square\) \(\square\) \(\square\) \(\square\) \(\blacksquare\) \(\square\) 6
Elective 3 \(\square\) \(\square\) \(\square\) \(\square\) \(\square\) \(\blacksquare\) 6

14.3 Group Project↩︎

14.3.1 Reproduction of a FACT-AI paper.↩︎

The purpose of the group project is to have students investigate the claims made by the authors of recent FACT-AI papers by diving into the details of the methods and their implementations. Using what they have learned from the paper discussion sessions, students work in groups to re-implement an existing FACT-AI algorithm from a top AI conference and re-run the experiments in the paper to determine the degree to which they are reproducible (LO4). If the code is already available, then they must extend the method in some way. The project consisted of three deliverables:

a reproducibility report,

an associated code base, and

a group presentation.

In order to ensure the project is feasible, we select 10–15 papers in advance for groups to choose from. Our criteria for including papers is as follows:

  • The paper is on a FACT-AI topic.

  • At least one dataset in the paper is publicly available.

  • Experiments can be run on a single GPU (which we provide access to).

  • It is reasonable for a group of 3–4 MSc AI students to re-implement the paper within the timeframe of the course. In our case, students work on this project for one-month full-time.

ease the load for our teaching assistants (TAs), we have several groups working on the same paper. We assign papers to TAs based on their interests by asking them to rank the set of candidate papers in advance. We also encourage them to suggest alternative papers provided they fit the criteria. The TAs read the papers before the course starts in order to ensure they have a sufficient, in-depth understanding of the work such that they can guide students through the project. This also serves as an extra feasibility check, to ensure that the papers are indeed a good fit for our course.

Each group writes a report about their efforts following the structure of a standard research paper (i.e., introduction, methodology, experiments, results, conclusion). They also include aspects specific to reproducibility such as explaining the difficulties of implementing certain components, as well as describing any communication they had with the original authors. In addition to the source code, students provide all results in a Jupyter notebook along with a file to install the required environment.

14.3.2 First Iteration: Contributing to an Open Source Repository.↩︎

In the 2019–2020 iteration of the course, we created a public repository on GitHub, which contains a selection of the implementations done by our students: https://github.com/uva-fact-ai-course/uva-fact-ai-course. The TAs who assisted with the course decided which implementations to include and cleaned up the code so it all fit into one cohesive repository. This had multiple motivations. First, it taught students how to improve the reproducibility of their own work by releasing the code, while also giving them a sense of contributing to the open-source community. Second, a public repository can serve as a starting point for personal development in their future careers; companies often ask to see existing code or projects that prospective employees have worked on. Some students added the project to their CVs, while others wrote blog posts about their experiences,9 linking back to the repository.

14.3.3 Second Iteration: The Machine Learning Reproducibility Challenge.↩︎

In the 2020–2021 iteration of the course, we formally participated in the annual MLRC run by Papers with Code [28] in order to expose our students to the peer-review process. This gave students something to strive towards and offered perspectives beyond simply getting a grade for the project. Most importantly, it gave them the opportunity to experience the full research pipeline:

reading a technical paper,

understanding a paper’s strength and weaknesses,

implementing (and perhaps also extending) the paper,

writing up the findings,

submitting to a venue with a deadline,

obtaining feedback,

writing a rebuttal, and

receiving the official notification.

To encourage students to formally submit to the MLRC, we offered a 5% boost to their final grades if they submitted. Of the 32 groups in the FACT-AI course, 30 (94%) groups submitted their reproducibility reports to the MLRC, of which 9 groups had their papers accepted.

14.4 Taking the Course Online↩︎

The second iteration of the course was taught in January 2021, when the COVID-19 pandemic forced us to move classes and interactions online. Students made use of various channels to communicate: WhatsApp, Discord, and Slack. Canvas was the primary mode of communication between the instructors and the students, allowing students to ask questions and instructors to communicate various announcements.

Lectures were live, with frequent Q&A breaks to stimulate interactivity. Paper discussion sections were organized in different online meeting subrooms where students discussed the papers together. This proved to be a challenge: while some subrooms had productive discussions, others struggled to get the conversation going.

The reproducibility project was more difficult to launch remotely. Since students had done online classes for their entire first semester, some struggled to find a group of fellow students to team up with, especially those coming from outside the MSc AI program. Overall, while we had various communication means, the lack of physical interaction due to COVID-19 slowed down our course organization.

15 Feedback↩︎

In this section, we discuss the feedback we received about the course from the perspective of participating students (Section 6.1) and from the MLRC reviews (Section 6.2).

15.1 Feedback from Students↩︎

Both iterations of the course were evaluated using the standard evaluation procedure provided by the University of Amsterdam. However, only 16% of students filled out the evaluation form (23 out of 144) in the 2020–2021 iteration, potentially because the evaluation forms were administered online instead of in-person. According to the evaluation procedure at our university, this is not enough for a reliable quantitative estimate of student satisfaction. Therefore, we focus on the 2019–2020 iteration when reporting student satisfaction statistics, since 53% of students filled out the form (79 out of 149) that year.

The vast majority of students were (very) satisfied with the course overall (67.8%). More specifically, students were (very) satisfied with the following dimensions:

  • Academic challenge (75.2%)

  • Supervision (76.9%)

  • Feedback (81.3%)

  • Workload (91.3%)

  • Level of the course (79.7%)

  • Level of the report (94.8%)

  • Level of the presentation (96.6%)

Table 2(a) shows some of the qualitative feedback we received from students. Based on this, we believe these high scores are mostly the result of the reproducibility project. Students enjoyed doing the project, especially due to the intensive supervision from our experienced TAs. The dimensions where we received the lowest scores were on the lectures and the final presentation, where only 30.6% and 30.2% were (very) satisfied with these aspects, respectively. This may be because we only provided four (high-level) lectures on each of the four topics, in order to give students as much time as possible to focus on the reproducibility project. However, it should be noted that the overall scores for these components were not poor, but average: 3.1/5 for lectures and 3.0/5 for the presentation.

15.2 Feedback from the MLRC↩︎

Of the 30 reproducibility reports submitted to the MLRC in the 2020–2021 iteration, 9 were accepted for publication in the ReScience Journal. In total, the MLRC accepted 23 reports, meaning that almost 40% of the reports accepted to the MLRC were from the University of Amsterdam.10

The reviews were mostly positive, with the general consensus being that most teams had gone beyond the general expectation of simply re-implementing the algorithm and re-running the experiments. Our TAs encouraged students to examine the generalizability of the work that was reproduced, either by trying new datasets or hyperparameters, or by performing ablation studies. Multiple reproducibility reports managed to question the results of the original papers with experimentally-supported claims. Importantly, some reviewers emphasized that these reproducibility studies were solid starting points for future research projects. For the reports that were rejected, the main critiques were that

only a fraction of the original work was reproduced, or

no new insights were given.

Some projects also had flaws in the experimental setup. See Table 2(b) and  2(c) for quotes from the MLRC reviews.

16 What Worked↩︎

Understanding and re-implementing the work of other researchers is not a trivial task, especially for first-year MSc students. There were several aspects of the setup that we believe were beneficial for the students, which we organize along three dimensions:

general,

concerning FACT-AI, and

concerning reproducibility.

We believe each of these factors are important for a successful implementation of this course, or other similar courses.

16.1 General↩︎

16.1.1 Timing of the course.↩︎

It is important that students have prior knowledge of ML theory as well as some programming experience before completing a project-based course in groups. At the University of Amsterdam, the FACT-AI course takes place after students have completed 4 ML-focused courses (see Table 1). We believe it is extremely important that students have access to adequate preparation, especially in terms of programming experience, before setting off to reproduce experiments from prominent AI papers. Without this prior knowledge, we believe such a project would not be feasible in the allotted time frame.

16.1.2 Regular contact with experienced TAs.↩︎

The TAs are there to help with two main components:

understanding the paper, and

debugging the implementation process.

In practice, we found that it is extremely important for the TAs to have excellent programming experience since this is the main aspect students need help with. We also had a dedicated Slack workspace for the TAs and course instructors to keep in touch regularly.

Since our course is only four weeks long, we found it was important for students to have regular contact with their TAs to ensure no one got stuck in the process. For the first (in-person) iteration of the course, groups had one-hour tutorials with their TAs twice per week, where all groups that were working on the same paper (and therefore had the same TA) were in the same tutorial. Since they were all working on the same paper, there were many overlapping questions, and students found it beneficial to be able to share their experiences with one another. For the second (online) iteration of the course, we thought it would be challenging to ensure each group got the attention they needed if everyone was in one large online tutorial, so the TAs met with each group separately for 30 minutes, twice per week.

16.1.3 Early feedback on the reports.↩︎

Approximately halfway through the course, we asked students to submit a draft report to their TAs in order to get feedback. We found this significantly increased the quality of the final reports.

16.2 Concerning FACT-AI↩︎

16.2.1 Emphasizing the technical perspective of FACT-AI.↩︎

Given that the FACT-AI course is situated in the context of a technical, research-oriented MSc, having students re-implement research papers from top AI conferences was an effective way to teach FACT-AI topics for our students. Teaching FACT-AI from a primarily technical perspective aligns well with what students expect from the MSc AI program at the University of Amsterdam. Although we believe a technical focus makes sense for our MSc program, we also believe it is important to incorporate non-technical perspectives into the course – see Section 8.2.

16.2.2 Creating resources for the FACT-AI community.↩︎

We believe a significant motivating factor for students was creating concrete output that extended beyond simply completing a project for a course: creating resources for the FACT community. In the 2019–2020 iteration, this was done by creating a public repository with the best FACT-AI algorithm implementations, as selected by the TAs. In the 2020–2021 iteration, this was done by publicly submitting their reproducibility reports about FACT-AI algorithms to the MLRC, where the accepted reports were published in the ReScience Journal. In the future, we plan to continue aligning our course with the MLRC since we found the process extremely beneficial for our students.

16.3 Concerning Reproducibility↩︎

16.3.1 Including extension as part of reproducibility.↩︎

If source code was already available for the paper – which is fortunately becoming increasingly common for AI research papers – we asked students to think about how to extend the paper since the implementation was already available. This resulted in some creative and interesting ideas in the reports, and we believe this is why our students performed well at the MLRC (see Section 6.2)

16.3.2 Simple grading setup.↩︎

For a 4-week, project-based course, we found it was beneficial for students to focus one main deliverable consisting of three components:

the reproducibility report,

the associated code base, and

the group presentation.

The report that students submitted for the course was the same one they submitted to the MLRC. This way, participating in the MLRC was not an extra task but rather an integral part of the course.

17 What Could Be Improved↩︎

Although we believe both iterations of the course went well, there are several aspects of the setup that we believe could use some improvement and other instructors should consider if they plan to implement a similar course.

17.1 General↩︎

Given that this is the first time most students are formally submitting a paper, it is not surprising that there were some logistical issues. Some groups made minor mistakes such as forgetting to submit their work double-blind or slightly missing the submission deadline. We also had some groups who wrote the introduction sections of their papers as an introduction to the FACT-AI course, rather than an introduction to the topic they were working on. In future iterations, we will explicitly state the standard procedures of writing and submitting a paper and provide some examples.

17.2 Concerning FACT-AI↩︎

Although focusing primarily on the technical aspects of FACT-AI is an effective way to engage our technical students in socially-relevant AI problems, we also believe that they would benefit from additional non-technical perspectives on FACT-AI topics. In the future, we plan to include perspective from outside of computer science through

additional guest lectures,

workshop sessions [8], [20], and

broader impact statements [1] in the reproducibility reports.

17.3 Concerning Reproducibility↩︎

In future iterations, we believe it would be useful to show students more examples of what a high-quality reproducibility paper looks like and explain in-depth why it is high-quality. These could be papers that were previously accepted to the MLRC, or papers from other reproducibility efforts outlined in Section 3. We want the students to understand what makes a paper a good (reproducibility) paper, that is, it has a set of (reproducibility) claims, it argues for these claims, and shows evidence to support these claims.

18 Conclusion↩︎

In this paper, we share our setup for the FACT-AI course at the University of Amsterdam, which teaches FACT-AI topics through reproducibility. The course set out to give students

an understanding of FACT-AI topics,

an understanding of algorithmic harm,

familiarity with recent FACT-AI methods, and

an opportunity to reproduce FACT-AI solutions,

through a combination of lectures, paper discussion sessions and a reproducibility project.

Through their projects, our students engaged with the open-source community by creating a public code repository (in the 2019–2020 iteration), as well as with the research community via successful submissions to the MLRC challenge (in the 2020–2021 iteration). We also detail how the 2020–2021 iteration brought about its own unique set of challenges due to the COVID-19 pandemic.

In this course, we illustrate that reproducibility is not only paramount to good science in general, but is also a fundamental component of FACT-AI. We received very positive feedback on teaching FACT-AI topics through reproducibility. We believe this was an excellent fit for our students, which not only helped motivate them for the duration of the course, but also helped them develop skills that will be essential in their future research careers, whether in the private or public sector. To generalize this course setup to other scientific domains, we suggest identifying where the lack of reproducibility in this domain area is coming from and centre the project around evaluating this component.

!]

Table 4: Feedback from students (a) and the MLRC (b, c).
(a) Feedback from students
image
(b) Positive feedback from the MLRC
image
(c) Negative feedback from the MLRC
image
Table 5: Feedback from students (a) and the MLRC (b, c).
(a) Feedback from students
image
(b) Positive feedback from the MLRC
image
(c) Negative feedback from the MLRC
image

Acknowledgements↩︎

We want to thank Andreas Panteli, Angelo de Groot, Christina Winkler, Christos Athanasiadis, Leon Lang, Maartje ter Hoeve, Marco Heuvelman, Micha de Groot, Michael Neely, Morris Frank, Phillip Lippe, Simon Passenheim, and Stefan Schouten for their help with the course.

This research was supported by Ahold Delhaize and the Netherlands Organisation for Scientific Research under project nr..., the Nationale Politie, NWO Innovational Research Incentives Scheme Vidi (016.Vidi.189.039), the NWO Smart Culture - Big Data / Digital Humanities (314-99-301), the H2020-EU.3.4. - SOCIETAL CHALLENGES - Smart, Green And Integrated Transport (814961), and the Hybrid Intelligence Center, a 10-year program funded by the Dutch Ministry of Education, Culture and Science through the Netherlands Organisation for Scientific Research, https://hybrid-intelligence-centre.nl.

All content represents the opinion of the authors, which is not necessarily shared or endorsed by their respective employers and/or sponsors.

References↩︎

[1]
Campbell, R.; Srikumar, M.; and Hongo, H. 2021. Managing the Risks of AI Research: Six Recommendations for Responsible Publication. Partnership on AI, https://www.partnershiponai.org/wp-content/uploads/2021/05/PAI-Managing-the-Risks-of-AI-Resesarch-Responsible-Publication.pdf.
[2]
Angwin, J.; Larson, J.; Mattu, S.; and Kirchner, L. 2016. Machine Bias. ProPublica, https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing.
[3]
O’Neil, C. 2017. The Ivory Tower Can’t Keep Ignoring Tech. The New York Times, 14.
[4]
Hutson, M. 2018. Artificial Intelligence Faces Reproducibility Crisis. Science, 359: 725–726.
[5]
Leonelli, S. 2016. Locating Ethics in Data Science: Responsibility and Accountability in Global and Distributed Knowledge Production Systems. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 374(2083): 20160122.
[6]
National Academies of Sciences, M., Engineering; et al. 2018. Data Science for Undergraduates: Opportunities and Options. National Academies Press.
[7]
Singer, N. 2018. Tech’s Ethical’Dark Side’: Harvard, Stanford and Others Want to Address It. The New York Times, Feb.
[8]
Skirpan, M.; Beard, N.; Bhaduri, S.; Fiesler, C.; and Yeh, T. 2018. Ethics Education in Context: A Case Study of Novel Ethics Activities for the CS Classroom. In Proceedings of the 49th ACM Technical Symposium on Computer Science Education, 940–945.
[9]
Grosz, B. J.; Grant, D. G.; Vredenburgh, K.; Behrends, J.; Hu, L.; Simmons, A.; and Waldo, J. 2019. Embedded EthiCS: Integrating Ethics across CS Education. Commun. ACM, 62(8): 54–61.
[10]
Saltz, J.; Skirpan, M.; Fiesler, C.; Gorelick, M.; Yeh, T.; Heckman, R.; Dewar, N.; and Beard, N. 2019. Integrating Ethics within Machine Learning Courses. ACM Trans. Comput. Educ., 19(4).
[11]
Danyluk, A.; Leidig, P.; McGettrick, A.; Cassel, L.; Doyle, M.; Servin, C.; Schmitt, K.; and Stefik, A. 2021. Computing Competencies for Undergraduate Data Science Programs: an ACM Task Force Final Report. In Proceedings of the 52nd ACM Technical Symposium on Computer Science Education, 1119–1120.
[12]
Peck, E. M. 2017. The Ethical Engine: Integrating Ethical Design into Intro Computer Science. Medium, https://medium.com/bucknell-hci/the-ethical-engine-integrating-ethical-design-into-intro-to-computer-science-4f9874e756af.
[13]
Fiesler, C.; Garrett, N.; and Beard, N. 2020. What Do We Teach When We Teach Tech Ethics? A Syllabi Analysis. In Proceedings of the 51st ACM Technical Symposium on Computer Science Education, 289–295.
[14]
Garrett, N.; Beard, N.; and Fiesler, C. 2020. More Than “If Time Allows”: The Role of Ethics in AI Education. In Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society, AIES ’20, 272–278. ACM.
[15]
Raji, I. D.; Scheuerman, M. K.; and Amironesei, R. 2021. You Can’t SitWithUs: ExclusionaryPedagogy in AIEthicsEducation. In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, 515–525. Virtual Event Canada: ACM.
[16]
Bates, J.; Cameron, D.; Checco, A.; Clough, P.; Hopfgartner, F.; Mazumdar, S.; Sbaffi, L.; Stordy, P.; and de la Vega de León, A. 2020. Integrating FATE/Critical Data Studies into Data Science Curricula: Where Are We Going and How Do We Get There? In Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency, FAT* ’20, 425–435. ACM.
[17]
Lewis, A.; and Stoyanovich, J. 2021. Teaching Responsible Data Science: Charting New Pedagogical Territory. International Journal of Artificial Intelligence in Education, 1–25.
[18]
Yildiz, B.; Hung, H.; Krijthe, J. H.; Liem, C. C.; Loog, M.; Migut, G.; Oliehoek, F. A.; Panichella, A.; Pawełczak, P.; Picek, S.; et al. 2021. ReproducedPapers.org: Openly Teaching and Structuring Machine Learning Reproducibility. In International Workshop on Reproducible Research in Pattern Recognition, 3–11. Springer.
[19]
Green, N. 2021. An AI Ethics Course Highlighting Explicit Ethical Agents. In Proceedings of the 2021 AAAI/ACM Conference on AI Ethics and Society (AIES’21).
[20]
Shen, H.; Deng, W. H.; Chattopadhyay, A.; Wu, Z. S.; Wang, X.; and Zhu, H. 2021. Value Cards: AnEducationalToolkit for TeachingSocialImpacts of MachineLearning through Deliberation. In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, 850–861. ACM.
[21]
Green, N. L.; and Crotts, L. J. 2020. Argument Schemes for AI Ethics Education. In CMNA@COMMA, 41–50.
[22]
Furey, H.; and Martin, F. 2018. Introducing Ethical Thinking About Autonomous Vehicles Into an AI Course. In The Eighth AAAI Symposium on Educational Advances in Artificial Intelligence 2018, 7900–7905. AAAI.
[23]
Burton, E.; Goldsmith, J.; and Mattei, N. 2018. How to Teach Computer Ethics through Science Fiction. Commun. ACM, 61(8): 54–64.
[24]
Sculley, D.; Snoek, J.; Wiltschko, A. B.; and Rahimi, A. 2018. Winner’s Curse? On Pace, Progress, and Empirical Rigor. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Workshop Track Proceedings. OpenReview.net.
[25]
Lipton, Z. C.; and Steinhardt, J. 2019. Research for Practice: Troubling Trends in Machine-Learning Scholarship. Communications of the ACM, 62(6): 45–53.
[26]
Beygelzimer, A.; Dauphin, Y.; Liang, P.; and Wortman-Vaughan, J. 2021. Introducing the NeurIPS 2021 Paper Checklist. https://neuripsconf.medium.com/introducing-the-neurips-2021-paper-checklist.
[27]
ACM. 2019. Artifact Review and Badging. https://www.acm.org/publications/policies/artifact-review-badging.
[28]
Stojnic, R. 2020. Papers with Code partners with arXiv. Medium, https://medium.com/paperswithcode/papers-with-code-partners-with-arxiv-ecc362883167.
[29]
Neely, M.; Schouten, S. F.; Bleeker, M. J. R.; and Lucic, A. 2021. Order in the Court: Explainable AI Methods Prone to Disagreement. In ICML Workshop on Theoretic Foundation, Criticism, and Application Trend of Explainable AI.
[30]
Hardt, M.; Price, E.; and Srebro, N. 2016. Equality of Opportunity in SupervisedLearning. In Thirtieth Conference on Neural Information Processing Systems.
[31]
Ribeiro, M. T.; Singh, S.; and Guestrin, C. 2016. WhyShouldITrustYou?” Explaining the Predictions of AnyClassifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 1135–1144. ACM.
[32]
Abadi, M.; Chu, A.; Goodfellow, I.; McMahan, H. B.; Mironov, I.; Talwar, K.; and Zhang, L. 2016. Deep Learning with Differential Privacy. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, 308–318. ACM.

  1. https://paperswithcode.com/rc2020↩︎

  2. https://reproducedpapers.org/↩︎

  3. https://github.com/uva-fact-ai-course/uva-fact-ai-course↩︎

  4. https://omarelb.github.io/self-explaining-neural-networks/↩︎

  5. https://openreview.net/group?id=ML_Reproducibility_Challenge/2020↩︎

  6. https://paperswithcode.com/rc2020↩︎

  7. https://reproducedpapers.org/↩︎

  8. https://github.com/uva-fact-ai-course/uva-fact-ai-course↩︎

  9. https://omarelb.github.io/self-explaining-neural-networks/↩︎

  10. https://openreview.net/group?id=ML_Reproducibility_Challenge/2020↩︎