The particular design of any technology may have profound social implications. Computing technologies are deeply intermeshed with the activities of daily life, playing an ever more central role in how we work, learn, communicate, socialize, and participate in government. Despite the many ways they have improved life, they cannot be regarded as unambiguously beneficial or even value-neutral. Recent experience shows they can lead to unintended but harmful consequences. Some technologies are thought to threaten democracy through the spread of propaganda on online social networks, or to threaten privacy through the aggregation of datasets that include increasingly personal information, or to threaten justice when machine learning is used in such high-stakes, decision-making contexts as loan application reviews, employment procedures, or parole hearings.1,3,8,12,17,23 It is insufficient to ethically assess technology after it has produced negative social impacts, as has happened, for example, with facial recognition software that discriminates against people of color and with self-driving cars that are unable to cope with pedestrians who jay-walk.13,15 Developers of new technologies should aim to identify potential harmful consequences early in the design process and take steps to eliminate or mitigate them. This task is not easy. Designers will often have to negotiate among competing valuesfor instance, between efficiency and accessibility for a diverse user population, or between maximizing benefits and avoiding harm. There is no simple recipe for identifying and solving ethical problems.
Computer science education can help meet these challenges by making ethical reasoning about computing technologies a central element in the curriculum. Students can learn to think not only about what technology they could create, but also whether they should create that technology. Learning to reason this way requires courses unlike those currently standard in computer science curricula. A range of university courses on topics in areas of computing, ethics, society and public policy are emerging to meet this need. Some cover computer science broadly, while others focus on specific problems like privacy and security; typically, these classes exist as stand-alone courses in the computer science curriculum. Others have integrated ethics into the teaching of introductory courses on programming, artificial intelligence, and human-computer interaction.4,5,22
This article presents an alternative and more integrative approach to incorporating ethical reasoning into computer science education, which we have dubbed "Embedded EthiCS." In contrast to stand-alone computer ethics or computer-and-society courses, Embedded EthiCS employs a distributed pedagogy that makes ethical reasoning an integral component of courses throughout the standard computer science curriculum. It modifies existing courses rather than requiring wholly new courses. Students learn ways to identify ethical implications of technology and to reason clearly about them while they are learning ways to develop and implement algorithms, design interactive systems, and code. Embedded EthiCS thus addresses shortcomings of stand-alone courses.6,10 Furthermore, it compensates for the reluctance of STEM faculty to teach ethics on their own18 by embedding philosophy graduate students and postdoctoral fellows into the teaching of computer science courses.
Here, we present the rationale behind Embedded EthiCS; describe its development at Harvard, giving examples from participating courses; discuss lessons we have learned; and consider challengesintellectual, administrative, and institutionalto implementing such a program in academic institutions of different kinds. We conclude by calling for the computer science community to join together to build open repositories of resources to facilitate wider adoption of the approach.
Embedded EthiCS was created in response to student demand for two elective courses in computer science at Harvard that considered ethical concerns in concert with computer science methods: "Privacy and Technology" and "Intelligent Systems: Design and Ethical Challenges." (For a brief description of these courses, see the online appendix "Special Topic Courses in Computer Science and Ethics;" https://dl.acm.org/citation.cfm?doid=3330794&picked=formats)
Students can learn to think not only about what technology they could create, but also whether they should create that technology.
In teaching these courses, we repeatedly noticed how easy it was for students to forget about ethical concerns when focused on technical systems issues. Even those earnestly committed to learning and using ethical reasoning in their work quickly lost sight of these considerations when engaged in a technical design task. At the same time, we recognized that most computer science courses contain material for which an ethical challenge might arise. We thus designed Embedded EthiCS to habituate students to thinking ethically.
The Embedded EthiCS approach adds short ethics modules to computer science courses in the core computer science curriculum. By embedding ethics broadly across the curriculum, this approach meets three goals for computer science students: it shows them the extent to which ethical issues permeate almost all areas of computer science; it familiarizes them with a variety of concrete ethical issues and problems that arise across the field; and it provides them repeated experiences of reasoning through those issues and communicating their positions effectively.
While no single course with an Embedded EthiCS module will by itself produce ethically minded technology designers, we expect that incorporating modules throughout the curriculum will have a compounding effectone that continually reinforces the importance of ethical reasoning to all aspects of computer science and technology design. In addition to exposing students to ethical content in a great breadth of computational contexts, this distributed pedagogy approach conveys the message that ethical reasoning is an expected part of a computer scientist's work.
Embedded EthiCS is inherently interdisciplinary. Knowing what can be done with technology falls within the purview of computer science. Understanding, evaluating, and successfully defending arguments about what should be done falls within the purview of the normative disciplines, most notably ethics, a subfield of philosophy. For students to succeed at learning not only how to build innovative computing systems, but also how to determine whether they should build those systems or how ethical considerations should constrain their design, it is imperative that these two disciplines work together. To this end, Harvard Computer Science and Philosophy Department faculty have been partnering to develop the Embedded EthiCS curriculum. Computer science faculty and teaching assistants collaborate with advanced Ph.D. students and postdoctoral fellows in Philosophy to develop Embedded EthiCS modules for each course. This approach also opens up exciting new areas of research for the philosophers who teach the modules and broadens their teaching repertoire.
Each Embedded EthiCS course has an Embedded EthiCS teaching assistant who is an advanced Ph.D. student or postdoctoral fellow in philosophy with a strong background in ethics and considerable teaching experience. In consultation with faculty course heads, the teaching assistants design ethics modules through which students develop practical competence in addressing particular ethical challenges. They identify an ethical issue related to the course content, prepare for and lead one or two class meetings focused on that issue, and design an assignment and plan for assessing it. Depending on class size, the grading itself may be done by the Embedded EthiCS teaching assistant, by regular course teaching assistants, or through peer grading.
The modules are designed to give students three core ethical reasoning skills: the ability to identify and anticipate ethical problems in the development and use of computing technologies; the ability to reason, both alone and in collaboration with others, about those problems and potential solutions to them, using concepts and principles from moral philosophy; and the ability to communicate effectively their understanding of how to address those problems. The modules emphasize "active learning" activities and assignments that teach students to apply the philosophical ideas they have learned to concrete, real-world ethical problems as recommended by recent studies of ethics education.6,10 They are designed to help students exercise their newly acquired ethical reasoning skills in context.
We piloted the Embedded EthiCS program over three semesters (Spring 2017, Fall 2017, and Spring 2018), with 14 separate courses. Figure 1 lists the courses, grouping them by computer science area, indicating the ethical problems addressed and enrollments. To illustrate the content and design of modules, we describe modules for several courses here.
For the basic undergraduate course on data systems, we developed an alternative privacy module that examined why privacy is valuable and whether it is a right. It also examined trade-offs between privacy and other social goods, such as healthcare, in the design of data systems.
For the basic undergraduate programming languages course, the Embedded EthiCS module investigated ways to integrate ethics into the software engineering process. Before the module, the class studied techniques for verifying that a program will behave in accordance with its design specifications. The module focused on the idea of ethical design specifications as opposed to legal or technical ones, that is, design specifications to help ensure a program behaves in ways that are morally acceptable.
Our experience with the pilot program has shown it is not only possible to integrate the teaching of ethical reasoning with core computer science methods but also rewarding for students and faculty alike. Following each Embedded EthiCS class session, faculty informally provided feedback, and we asked students to complete a short survey. Faculty reported the modules contributed to classes with only a modest burden on them, and that they learned from them.
Student surveys aimed to assess the effectiveness of each module and of the module approach in general. Figure 2 presents key survey results. Responses were overwhelmingly positive, supporting continuation of the initiative. Over 80% of students in all coursesand over 90% of students in five of the classesagreed these class sessions were interesting. In all but two classes, more than 80% of students reported they would be interested in learning more about ethics in future computer science courses. Comments, which one-quarter of the students provided, were overwhelmingly positive, with many expressing eagerness for more exposure to ethics content and more opportunities to develop skills in ethical reasoning and communication. Negative comments were largely specific to individual class content or presentation. Some students wanted more breadth or depth, others more background. One comment about overlap between two classes suggests the need to coordinate across classes.
For the first pilot of Embedded EthiCS in the spring semester of 2017, one Ph.D. student developed modules for four different classes: the introductory "great ideas" class, a theory course on networks, a data science course, and a human-computer interaction class. Based on the success of that effort, we engaged two Ph.D. students in AY 2017-2018 to develop modules for an additional 10 courses and repeat the modules for three of the original four courses.
In AY 2018-2019, we are working toward developing a corps of graduate student and postdoctoral teaching assistants for the program. A postdoctoral fellow leads weekly meetings of past and present teaching assistants and coordinates the development of modules. In Fall 2018, nine courses include Embedded EthiCS modules, including four courses on new subjects, two in systems and two in theoretical computer science.
What have we learned? The key lessons concern student engagement, successful faculty roles, teaching assistant experience, and barriers to embedding ethics. A set of best practices is emerging.
For engaging students with ethical reasoning, we found that techniques that encourage an inclusive discussion with smaller classes tend to be effective with larger classes as well. In particular, Embedded EthiCS modules are most effective when the issues raised connect technical material to ethical issues already salient to students, the module employs short active learning exercises, and an assignment gives students practice with the ideas developed in the session.
We have found that Embedded EthiCS modules work best with close faculty engagement. Participating fully in the design of the modules, as described here, and being personally involved in the module class session(s) are crucial. Computer science faculty can also contribute to the success of Embedded EthiCS in two further ways: by including an assignment (either separate or part of a larger problem set) that contributes to the course grade in some way, however minor; and by mentioning ethical issues during other parts of the course to preview the upcoming module, refer back to the lesson, or otherwise signal the importance of the topic. These activities typically require only three hours of faculty time. When the assignment contributes to the final course grade and when faculty are physically present in the Embedded EthiCS class session, students understand that the faculty value the place of ethical reasoning in the course and that the module is a core element of the course content rather than an optional supplement.
We have found that Ph.D. students and postdoctoral fellows who are teaching assistants for Embedded EthiCS can embed modules in three to four different courses per term, depending on how many modules are new and how much material is already available. Although the philosophy teaching assistants' work differs from the usual leading of discussion sections and grading essays, the workload for preparing and teaching three or four Embedded EthiCS modules is the same, 14-20 hours a week. Further, teaching assistants who have participated to date report they benefited enormously from exposure to a breadth of computer science concepts and methods for which their philosophical expertise is relevant. We anticipate this experience will also prove valuable on the job market and, for many, to their research.
Several of the barriers we encountered are common within cross-disciplinary ventures. First, we saw typical insecurities: philosophers who were concerned about their lack of technical expertise and computer scientists who were concerned about their lack of familiarity with ethics and reluctant to discuss ethical issues with students. Although we found the technical barrier to productive ethical discussions of computer science methods and systems is much lower than many philosophers expect, philosophers without a background in computer science still need support, both financial and intellectual, to develop the requisite background knowledge. We also found many computer science faculty interested in attending a brief introductory computer ethics course focused on philosophical theories and methods relevant to computing technology challenges, a possibility we are currently exploring.
Our experience suggests the process of co-designing Embedded EthiCS modules helps mitigate insecurities, and the presence in the class of philosophers with the expertise to answer questions is essential for success. Strategies we have found helpful include selecting the topic for the ethics module before the semester begins, with input from both computer science faculty and philosophers. Doing so provides the philosopher time to develop the required technical knowledge in the relevant specific content area. Building a repository of past material for reuse or to serve as models for future modules has also proved useful.
Embedded EthiCS modules are most effective when the issues raised connect technical material to ethical issues already salient to students.
A second barrier arises from the disciplines' different methodologies and vocabularies. In the setting of a computer science course, students accustomed to problem sets with a single correct answer often have trouble when there are several acceptable answers to ethical problems. To address this challenge, within each module, we discuss the controversial nature of some ethical problems, model successful ethical reasoning and inclusive discussion during class, and design activities for students to practice this kind of reasoning and discussion. To bridge the ethics and computer science course vocabularies, and to foreground the philosophical material in need of more explanation, computer science faculty work together with the Embedded EthiCS team in the design and implementation of the modules.
A third cross-field challenge is recruiting philosophers to develop and teach the Embedded EthiCS modules. Hiring numerous Ph.D. candidates from a single philosophy graduate program to cover the full range of computer science courses is impractical. The Philosophy Department needs these graduate students to teach its own courses, and the students themselves need experience teaching those courses. To address this challenge, we are including philosophy postdoctoral fellows in the teaching assistant cadre. For these postdoctoral fellows too, we expect the training and experience they gain will benefit their research and employment profile.
We also uncovered assessment and institutional challenges. The approach of integrating ethics pedagogy into core computer science courses reflects a hypothesis that recurring exposure to this type of reasoning across the curriculum will habituate students to thinking ethically when pursuing technical work. Post-module surveys provide insight into the effectiveness of particular modules, but we want to measure the approach's impact over the course of years, for instance, as students complete their degrees and even later in their careers. By design, Embedded EthiCS makes small interventions in individual courses, precluding the usefulness of short-term evaluations of impact at the individual course level (for example, pre-course/post-course surveys22). We thus need to find ways to measure the long-term effectiveness of the Embedded EthiCS approach and compare it to other approaches. As measuring the impact of teaching ethics within the CS curriculum is a challenge regardless of approach, we aim to identify broadly applicable methods.
The institutional challenges to mounting Embedded EthiCS derive from its cross-disciplinary nature. In particular, university support, both financial and administrative, is crucial. Funding is needed for teaching assistants and postdoctoral fellows, including senior level postdoctoral fellows able to train and support the efforts of those developing modules for courses. Administrative support is needed for recruiting faculty and courses in computer science, for recruiting teaching assistants and postdoctoral fellows in philosophy, and for organizing and managing a repository of materials for the program, including modules and evaluation materials. Several of these challenges are made more complex because they cross university divisions.
Teaching computer scientists to identify and address ethical problems starting from the design phase is as important as enabling them to develop algorithms and programs that work efficiently. The strategy of integrating the teaching of ethical reasoning skills with the teaching of computational techniques into existing computer science coursework not only provides students valuable experience identifying, confronting, and working through ethical questions, but also communicates the need to identify, confront, and address ethical questions throughout their work in computer science. It provides them with ethical reasoning skills to take into their computing and information technology work after they graduate, preparing them to produce socially and ethically responsible computer technology, and to justify their ethically motivated design choices to their colleagues and employers. Computer scientists and technologists with these capabilities are important for the long-term well-being of our society.
We invite those at other institutions to join us by integrating ethics throughout their own computer science curriculum and to help us expand the open repositories of resources we are developing for ethics modules, including in-class activities, case studies, assignments, and recommended readings. We also think it is important to share lessons learned, approaches to meeting the challenges of university support for these efforts, and ways to engage and train philosophers to participate in them.
Figure. Watch the authors discuss this work in the exclusive Communications video. https://cacm.acm.org/videos/embedded-ethics
1. Angwin, J., Larson, J., Mattu, S. and Kirchner, L. Machine Bias. (May 2016). Retrieved Oct. 13, 2018; https://bit.ly/1XMKh5R.
5. Califf, M.E. and Goodwin, M. 2005. Effective incorporation of ethics into courses that focus on programming. In Proceedings of the 36th SIGCSE Technical Symposium on Computer Science Education. (St. Louis, MO, 2015) ACM Press, New York, NY 347351. DOI:10.1145/1047344.1047464
7. Dwork, C. Differential privacy. Automata, Languages and Programming, M. Bugliesi, B. Preneel, V. Sassone, and I. Wegener, (eds) Lecture Notes in Computer Science 4052 (2006). Springer, Berlin, Heidelberg.
8. Economist. Do social media threaten democracy? (Nov. 2017). Retrieved Oct. 13, 2018; https://econ.st/2xf31GL.
10. Hollander, R. and Arenberg, C.R. (eds.). Ethics Education and Scientific and Engineering Research: What's Been Learned? What Should Be Done? Summary of a Workshop, National Academy of Engineering. The National Academies Press, Washington, D.C, 2009.
12. Knight, W. Biased algorithms are everywhere, and no one seems to care. Technology Review, (July 2017). Retrieved Oct. 13, 2018 from https://bit.ly/2tIhlEX.
13. Levin, S. Uber crash shows 'catastrophic failure' of self-driving technology, experts say. The Guardian (Mar. 2018); https://bit.ly/2pych2k.
15. Lohr, S. Facial recognition is accurate if you're a white guy. New York Times (Feb. 2018); https://nyti.ms/2H3QeaT.
17. New York Times Editorial Board. Facebook and the digital virus called fake news. (Nov. 2016); https://nyti.ms/2vIMC9Y.
22. Skirpan, M., Beard, N., Bhaduri, S., Fiesler, C. and Yeh, T. 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 (Baltimore, MD, 2018). ACM Press, New York, NY, 940945; DOI:10.1145/3159450.3159573
25. Wasserman, D., Asch, A., Blustein, J. and Putnam, D. Disability: Definitions, models, experience. The Stanford Encyclopedia of Philosophy (Summer 2016 Edition). Retrieved July 19, 2018 from https://plato.stanford.edu/archives/sum2016/entries/disability/.
Copyright held by authors/owners. Publication rights licensed to ACM.
Request permission to publish from email@example.com
The Digital Library is published by the Association for Computing Machinery. Copyright © 2019 ACM, Inc.