Machine Ethics and Artificial Intelligence Safety (11118BLG001), week 1 of 14

Foundations of Machine Ethics and AI Safety

Prof. Dr. Utku Kose, Süleyman Demirel University

Overview

The course opens with a question that has accompanied computing since its early decades: What happens when machines act on objectives that their designers only partly understand? This week traces the question from Wiener's warning about automation to present research programmes in machine ethics and AI safety, and it introduces the vocabulary used throughout the course [1, 2, 3].

Estimated study time: 6 to 8 hours.

Learning outcomes

By the end of the week, students are expected to distinguish machine ethics from AI safety, AI security and AI alignment. They should be able to classify artificial agents with Moor's four-level typology. They should also explain why rule lists such as Asimov's laws fail as a design method, and describe the research agendas that structure the rest of the course.

Study path

Step Activity Suggested time
1 Read the lecture below or the PDF version 90 minutes
2 Explore the interactive lab 45 minutes
3 Work through the Colab notebook and its exercises 2 to 3 hours
4 Take the self-assessment in the interactive lab (tab: Check yourself) 20 minutes
5 Answer the reflection prompts in the interactive lab, export the learning log and complete the weekly task 60 minutes

Week at a glance

flowchart LR
  Q["Will intelligent systems act as intended?"] --> ME["Machine ethics: which values, and how to reason with them"]
  Q --> AS["AI safety: failure modes of learning systems"]
  ME --> T["Moor's four types of ethical agents"]
  ME --> R["Rules versus learning: top-down, bottom-up, hybrid"]
  AS --> P["Side effects, reward hacking, oversight, robustness"]
  T --> G["Accountability and governance"]
  R --> G
  P --> G

Lecture

Two fields with a shared origin

In 1960, Norbert Wiener argued that machines able to learn could pursue their programmed purposes in ways their users would not have chosen. He added that the speed of such machines could leave too little time for human correction [1]. The same concern now appears under two research labels. Machine ethics asks how artificial agents can represent and apply moral considerations when they act [2, 4]. AI safety asks how learning systems can be kept from unintended and harmful behaviour, especially when their objectives, training data or operating conditions are imperfect [3, 5].

The two labels overlap but emphasise different questions. Machine ethics is closer to moral philosophy: It studies which values a system should respect and how moral reasoning can be implemented. AI safety is closer to engineering and statistics: It studies failure modes such as reward hacking, distribution shift and adversarial manipulation. Kose argued that the two agendas belong together. Dystopic scenarios, moral dilemmas and technical failure modes all bear on one practical question, namely whether future intelligent systems will be safe enough [6]. Two further terms complete the vocabulary. AI security concerns deliberate attacks on AI systems by adversaries. AI alignment concerns the match between what a system pursues and what its principals intend [7, 8].

Selected milestones discussed this week, from Asimov and Wiener to the EU AI Act and the International AI Safety Report.

Figure 1.1. Selected milestones discussed this week, from Asimov and Wiener to the EU AI Act and the International AI Safety Report [1, 2, 3, 6, 9, 10, 11].

Check your understandingWhich description best captures the usual division between machine ethics and AI safety?

Explore while reading. The interactive lab of this week can be opened inside this page or next to the text, so that ideas can be tried out as they are introduced.

Moor's typology of ethical agents

Moor proposed four levels that remain useful for classifying systems [2]. An ethical impact agent affects people morally without representing ethics at all, as in his example of robot jockeys that replaced children in camel races. An implicit ethical agent has safety or fairness built into its design, for example an autopilot whose protections prevent dangerous manoeuvres. An explicit ethical agent represents ethical categories and reasons with them to select actions. A full ethical agent would exercise moral judgment with the understanding and responsibility attributed to adult humans. Most deployed systems are ethical impact agents or implicit ethical agents, whereas much of machine ethics research aims at explicit agents [4, 12].

The typology also clarifies responsibility. The moral behaviour of an implicit ethical agent is fixed by its designers, so accountability for failures stays with the people who specify its constraints. Explicit ethical agents raise harder questions, because their decisions follow from internal reasoning that designers do not fully script. Floridi and Sanders argued that artificial agents can be sources of moral action even when they are not morally responsible in the human sense, which separates accountability from blame [13].

Pause and reflect. Pick two systems used every day, such as a navigation application and a language model assistant. Where does each belong in Moor's typology, and which feature of the system decides the answer?

Check your understandingIn Moor's typology, an agent that represents ethical principles explicitly and reasons with them is

Why rule lists are not enough

Asimov's Three Laws of Robotics are often cited as a first attempt to specify machine ethics. Asimov, however, used them as a narrative device whose loopholes drove the plots of his stories [9]. The laws illustrate three recurring problems. First, natural-language terms such as harm are vague, so every application requires interpretation. Second, rules conflict, and a fixed priority order produces counterintuitive results in edge cases. Third, rules are silent about situations their authors did not anticipate. Yigit, Kose and Sengoz examined how such rules translate into robotics rights and ethics rules and found the same tension between clarity and coverage [14].

These problems are not confined to fiction. Allen, Smit and Wallach described top-down approaches, which derive behaviour from explicit principles, and bottom-up approaches, which learn behaviour from experience, and argued that neither is sufficient alone [15]. The same tension reappears in AI safety as the gap between a specified objective and the behaviour that designers actually wanted [3]. The interactive lab and the Colab notebook of this week make the conflict problem concrete. A small robot follows three prioritised rules. Changing the order of the rules changes its verdicts, in ways that are easy to predict for some cases and surprising for others.

Check your understandingWhy are fixed rule lists, such as Asimov's laws, not enough to guarantee ethical behaviour?

A research map for the course

Amodei and colleagues grouped concrete technical problems into avoiding negative side effects, avoiding reward hacking, scalable oversight, safe exploration and robustness to distributional shift [3]. Hendrycks and colleagues later organised open problems into robustness, monitoring, alignment and systemic safety [5]. Russell, Dewey and Tegmark had earlier set out research priorities that combined short-term questions about law, economics and verification with long-term questions about control [16]. Kose offered an introduction to AI safety for a broad audience [17]. Kose and Vasant proposed a fading intelligence theory, in which the operational lifetime of a system is limited so that newer and safer generations can replace it [18].

The course follows this map. Weeks 2 to 4 cover normative foundations, implementations of machine ethics and the aggregation of moral preferences. Weeks 5 and 6 address fairness. Weeks 7 to 10 cover specification, robustness, uncertainty and interpretability. Weeks 11 to 13 examine the alignment of large language models, their security and advanced risks such as deceptive behaviour. Week 14 closes with governance, standards and auditing.

Check your understandingWhich question belongs to the robustness theme of AI safety?

Interactive lab

Part A asks for Moor's level of eight systems and explains each case after checking. Part B gives a service robot three prioritised rules. Changing the priority order shows how strongly each verdict depends on it [2, 9].

Open the interactive lab

Screenshot of the Week 1 interactive lab

Colab notebook

The Colab notebook implements the three-rule robot of the interactive lab, enumerates all six priority orders and compares a lexicographic agent with a weighted-sum agent. The comparison shows that a ranking of rules and a weighting of rules are different design commitments [15].

Open in Colab

Screenshots of the executed Colab notebook:

Output 1 of the Week 1 Colab notebook

Self-assessment and reflection

The interactive lab contains a self-assessment of six questions (tab: Check yourself). Students answer each question, state how sure they are and receive instant feedback. A confident but wrong answer marks the first topic to revisit. The reflection prompts below also appear in the interactive lab (tab: Reflect and submit). Answers written there are saved in the browser and can be exported as a learning log.

  1. Describe one AI system that you use or develop. Which level of Moor's typology does it occupy, and who is accountable when it fails?
  2. Which problem of rule lists (vagueness, conflict or unanticipated situations) seems most dangerous in your research area, and why?
  3. Write down one question about machine ethics or AI safety that you expect this course to answer. Keep it and revisit it in Week 14.

Weekly task and submission

What to do. Write a short position statement on the vocabulary of the course. First, define machine ethics, AI safety, AI security and AI alignment in your own words, one short paragraph each. Second, choose one system from your own field and place it in Moor's typology, justifying the level with one feature of the system. Third, name one risk of the system and state which of the four fields would study it.

Where to look. Lecture: sections "Two fields with a shared origin" and "Moor's typology of ethical agents". Interactive lab: Part A, where eight systems are classified with Moor's levels. Colab notebook: Sections 1 and 2, which show why the order of rules matters.

Example. A hospital triage assistant that ranks patients by urgency is an implicit ethical agent: Its designers built safety rules into the ranking, but the system does not reason with ethical principles. Wrong rankings for rare conditions would be a question for AI safety.

What to submit. About 400 words that cite at least three works from this week's references in square brackets, and the Colab notebook with Exercises 1 and 2 completed.

The weekly task supports self-learning and builds a personal portfolio. In an active semester, students who follow the course with the instructor can send their work for evaluation to utkukose@sdu.edu.tr or utkukose@gmail.com. The e-mail contains the items that the task lists under What to submit. It also includes the learning log exported from the interactive lab (tab: Reflect and submit).

Research and report assignment (optional)

Definitions in practice. How do official documents define AI safety and the ethics of AI systems?

What to do. Compare three definitions: one from an international organisation [19], one from a national AI strategy [20] and one from an AI developer. Identify what each definition includes and what it leaves out. Then relate the differences to the distinctions between machine ethics, AI safety, AI security and AI alignment.

Where to start. Lecture section "Two fields with a shared origin", the OECD Recommendation on AI and the National Artificial Intelligence Strategy of Türkiye [19, 20]. The developer's definition can come from its published safety or responsible AI policy.

Example focus. The OECD principles name robustness, security and safety together, while a developer may define safety mainly as the prevention of misuse of its models.

This research assignment is optional and supports self-learning. In an active semester, students who follow these weeks with the instructor can send the report for evaluation to utkukose@sdu.edu.tr or utkukose@gmail.com. The report has 1500 to 2500 words and follows the structure of an academic paper. It cites at least six scholarly or official sources in square brackets and ends with a reference list. The report template shows a suitable structure.

References

[1] Wiener, N. (1960). Some moral and technical consequences of automation. Science, 131(3410), 1355-1358. https://doi.org/10.1126/science.131.3410.1355

[2] Moor, J. H. (2006). The nature, importance, and difficulty of machine ethics. IEEE Intelligent Systems, 21(4), 18-21. https://doi.org/10.1109/MIS.2006.80

[3] Amodei, D., Olah, C., Steinhardt, J., Christiano, P., Schulman, J., & Mané, D. (2016). Concrete problems in AI safety. arXiv preprint arXiv:1606.06565. https://arxiv.org/abs/1606.06565

[4] Anderson, M., & Anderson, S. L. (Eds.) (2011). Machine Ethics. Cambridge University Press.

[5] Hendrycks, D., Carlini, N., Schulman, J., & Steinhardt, J. (2021). Unsolved problems in ML safety. arXiv preprint arXiv:2109.13916. https://arxiv.org/abs/2109.13916

[6] Kose, U. (2018). Are we safe enough in the future of artificial intelligence? A discussion on machine ethics and artificial intelligence safety. BRAIN. Broad Research in Artificial Intelligence and Neuroscience, 9(2), 184-197.

[7] Gabriel, I. (2020). Artificial intelligence, values, and alignment. Minds and Machines, 30(3), 411-437. https://doi.org/10.1007/s11023-020-09539-2

[8] Russell, S. (2019). Human Compatible: Artificial Intelligence and the Problem of Control. Viking.

[9] Asimov, I. (1950). I, Robot. Gnome Press.

[10] European Parliament and Council of the European Union (2024). Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act). Official Journal of the European Union, L series, 12 July 2024. https://eur-lex.europa.eu/eli/reg/2024/1689/oj

[11] Bengio, Y., Mindermann, S., Privitera, D., et al. (2025). International AI safety report. arXiv preprint arXiv:2501.17805. https://arxiv.org/abs/2501.17805

[12] Wallach, W., & Allen, C. (2009). Moral Machines: Teaching Robots Right from Wrong. Oxford University Press.

[13] Floridi, L., & Sanders, J. W. (2004). On the morality of artificial agents. Minds and Machines, 14(3), 349-379. https://doi.org/10.1023/B:MIND.0000035461.63578.9d

[14] Yigit, T., Kose, U., & Sengoz, N. (2018). Robotics rights and ethics rules. Journal of Multidisciplinary Developments, 3(1), 30-37.

[15] Allen, C., Smit, I., & Wallach, W. (2005). Artificial morality: Top-down, bottom-up, and hybrid approaches. Ethics and Information Technology, 7(3), 149-155. https://doi.org/10.1007/s10676-006-0004-4

[16] Russell, S., Dewey, D., & Tegmark, M. (2015). Research priorities for robust and beneficial artificial intelligence. AI Magazine, 36(4), 105-114. https://doi.org/10.1609/aimag.v36i4.2577

[17] Kose, U. (2017). An introduction to artificial intelligence safety. Journal of Multidisciplinary Developments, 2(1), 28-32.

[18] Kose, U., & Vasant, P. (2017). Fading intelligence theory: A theory on keeping artificial intelligence safety for the future. In 2017 International Artificial Intelligence and Data Processing Symposium (IDAP). IEEE. https://doi.org/10.1109/IDAP.2017.8090235

[19] OECD (2019). Recommendation of the Council on Artificial Intelligence (OECD/LEGAL/0449). Organisation for Economic Co-operation and Development. Amended in 2024.

[20] Presidency of the Republic of Türkiye Digital Transformation Office, & Ministry of Industry and Technology (2021). National Artificial Intelligence Strategy 2021-2025 (Ulusal Yapay Zekâ Stratejisi 2021-2025). Ankara. Action plan updated for 2024-2025. https://www.cbddo.gov.tr/UYZS