University topic explanations and practice

University › Artificial Intelligence and Data Science › AI Ethics and Safety

Introduction to AI Ethics and Core Principles

Explain which dimensions beyond accuracy are considered in the ethical evaluation of an AI system: consequentialist, rule-based and virtue-based approaches.

Save your circuit

Learning Outcomes

Topic Explanation

Ethics goes beyond accuracy

Just because a classifier is ninety-five percent accurate does not mean it is a good decision tool. Accuracy describes how often predictions come true; It does not explain who made the mistake, which mistakes were more serious, and what consequences the mistake had. In a medical screening system, a false negative can be much more expensive than a false positive. Two models that make the same amount of errors have different ethical consequences when they distribute errors to different groups. Therefore, ethical evaluation is not a justification added to the performance report; It is a design decision that determines for what purpose, on whom and with what risk the model will be used.

Ethical analysis begins with three questions: who does the decision affect, what is the nature of the impact, and can the impact be measured? The first question gives rise to the stakeholder map, the second gives rise to the types of harm, and the third gives rise to the measurement design. When a recommendation system changes the ranking, it is often an invisible effect; However, the field of view of a person who is directed to the same content over and over again narrows. Invisibility does not mean that the ethical problem does not exist. An unmeasurable effect should be recorded as uncertainty at best; It should not be reported as no problem. This attitude is safer than optimism, which hides uncertainty.

Three moral frameworks

The consequentialist approach decides whether a decision is good or not by looking at the total outcome it produces. Increasing the total benefit and minimizing the harm is the measure of this framework. Although improving the overall accuracy of a model may benefit most people, the marginal cost to a small group may be overlooked. Therefore, total benefit alone is not enough; distribution should also be reported. An average improvement does not indicate that the worst case has improved.

The prescriptive approach looks at the action itself rather than the outcome: individuals should not be used merely as tools, consent and respect must be maintained. Collecting data without the person's knowledge is problematic in this context, even if the total benefit is high. In practice, this translates into concrete design requirements such as clear purpose statement, data minimization and objection mechanism. The strength of the normative framework is that it does not sacrifice the interests of the minority to the benefit of the majority.

The virtue-based approach asks the question, how does a good developer behave? Honesty, care and professional humility are key here. A team that doesn't hide ambiguity, clearly writes its boundaries, and is open to independent review doesn't just write good code; Establishes a reliable process. Virtues may seem like personal attitudes, but when they become team norms they become measurable: the review log, the decision log, and the feedback culture are examples of this.

Tensions and trade-offs

Most ethical decisions are not about right or wrong, but about which good is preferred over which good. Collecting more data may improve the model, but it weakens privacy. A simpler model increases explainability but may reduce accuracy. Ignoring these trade-offs results in the decision being silently made. The responsible approach is to write the trade-off clearly, record the justification, and have it reviewed by the relevant parties.

A trade-off record should contain three fields: option selected, option not selected, and justification. The sentence "explainability is sacrificed for accuracy" is not sufficient on its own; It should also be written in what context of use, at what threshold and with whose approval it is given. This record allows the same discussion to be repeated when the model is updated in the future. Relying on individual recall rather than team memory results in loss of decision rationale when the most experienced person leaves.

Stakeholder map

Stakeholder is not just the user. The person who encounters the output of the model, the person whose data enters the training, the operator who uses the system, the party who controls the decision, and the indirectly affected environment should be evaluated separately. In a selection tool, the applicant, the selecting team, and the rejected candidate's environment are all affected by the same decision in different ways. The stakeholder map makes the direction and magnitude of the impact visible.

Once the map is drawn, the type of possible harm is written for each stakeholder: financial loss, loss of reputation, invasion of privacy, loss of opportunity or psychological impact. As the type of damage becomes concrete, measurement becomes possible. Rather than user dissatisfaction, an expression such as the disproportionate rejection rate of applications in a particular group produces a trackable indicator. Improvement cannot be made unless abstract concerns are translated into concrete indicators.

Ethics across the lifecycle

Ethical evaluation cannot be compressed into a single checkpoint. The purpose is written in the problem definition, consent and scope are determined in data collection, trade-offs are recorded in model selection, monitoring is established in deployment, feedback is collected after use. The document produced at each stage is the input for the next stage. Breaking this chain will lead to a well-intentioned decision being defended years later with the wrong justification.

Post-deployment monitoring is often the missing link. Data distribution changes, user behavior transforms, and the measured success of the model quietly melts away. Monitoring should include not only accuracy but also ethical indicators such as group-based outcomes and complaint rates. When an indicator exceeds a threshold, an automatic stop or reexamination mechanism should be activated. Without monitoring, ethics becomes just a letter of intent written at the beginning.

From principle to measurable indicator

To make a principle applicable, it is necessary to translate it into a measurable indicator. The principle of fairness allows comparison of group-based error rates; The principle of openness is based on the ratio of the reason for the decision to the recording; The protect privacy policy may translate into unnecessary space aggregation. The choice of indicator also determines which aspect of the principle it highlights. Therefore, the definition of an indicator is not a decision alone, but a matter of discussion.

Setting a threshold is the second step. The threshold is the numerical limit that gives the right to call the indicator adequate or inadequate. The threshold should be written before the measurement, not after; otherwise the threshold is shifted so that the result appears appropriate. The justification for the threshold and who approved it should be recorded. Additionally, the action to be taken in case the threshold is exceeded should be defined in advance; Otherwise, even if a violation is detected, intervention will be delayed.

Roots of bias

Bias is not a single flaw, but systematic bias that can be embedded in many parts of the data and decision chain. If past decisions are training data, the bias of the past is passed on to the model. The comments of the people who tag are reflected in the tag. If the sample selection underrepresents a particular group, the model will have difficulty recognizing that group. These resources feed each other; The decision made by the model produces new data and the loop is closed.

In order to break the cycle, it must be determined in which link of the chain the deviation occurs. Is it from historical data, labeling, sampling, or a feedback loop? Each source requires different intervention: resampling, reviewing label instructions, collecting data for the missing group, or human reexamination of the decision. Random correction applied without identifying the source only masks the symptom.

Limits and responsible conduct

One of the most important products of ethical study is the list of unknowns. It should be clearly stated under what conditions the model was not tested, which group did not have data, and which type of damage could not be measured. This list is not to reassure the user; It is for decision makers to see the uncertainty. A report that hides the unknowns misleads the decision process, even if it is technically correct.

This narrative is a general conceptual framework; It does not constitute a legal opinion. Expert judgment is required for a particular application. Ethical principles, technical measurements and decision records make sense when used together; None of them alone guarantees a safe result. The responsible attitude is to minimize the claim and enlarge the evidence.

Key Points

Worked Examples

Worked Example

Worked Example

Worked Example

Worked Example

Worked Example

Worked Example

Common Mistakes

Tips

Practice Questions

  1. 1. Why isn't AI ethics just a matter of technical correctness?
  2. 2. What deficiency does it indicate when a decision support system causes disproportionate harm to a small group?
  3. 3. What is the core measure of the consequentialist framework?
  4. 4. Why is it problematic to collect data other than information within the normative framework?
  5. 5. What is the reflection of the virtue-based approach on team norms?
  6. 6. How should the tension between explainability and accuracy be addressed?
  7. 7. Which fields should be included in a trade-off record?
  8. 8. Why is it missing that only the end user is included in the stakeholder map?
  9. 9. What does one do to make an abstract concern measurable?
  10. 10. At what stage should ethical evaluation begin?
  11. 11. Why is post-deployment monitoring necessary?
  12. 12. What should be done when an ethical indicator exceeds the threshold?
  13. 13. Why should the threshold be written before measurement?
  14. 14. What indicator can the principle of fair dealing be translated into?
  15. 15. What indicator can the protect privacy principle be translated into?
  16. 16. What is the main function of the unknown list?
  17. VOLUME 17 What does it mean when bias is reinforced by a feedback loop?
  18. 18. What happens when past decisions are used as a source of bias?
  19. 19. What risk does the comment of the taggers pose?
  20. 20. What intervention is most appropriate for an underrepresented group?
  21. 21. Why is random correction inadequate?
  22. 22. What is required for the explanation given in this course that does not constitute a legal opinion?
  23. 23. What deficiency is the result of a well-intentioned decision being defended with the wrong justification years later?
  24. 24. Which position is correct for assuming an invisible effect?
  25. 25. The impact score is the product of which two quantities?
  26. 26 What is the weakness of the total benefit indicator?
  27. 27 What is the main topic of discussion when choosing an indicator?
  28. 28 In what context is openness to independent scrutiny considered a virtue?
  29. 29 What design requirement does the concept of consent translate into?
  30. 30 What is the risk if a team does not write the unknowns in the report?
  31. 31 What is the relationship between ethical evaluation and performance report?
  32. 32 What type of damage is loss of opportunity?
  33. 33 What happens if the reason for the threshold is not recorded?
  34. 34 How is it possible for two models with the same error rate to be ethically different?
  35. 35 What purpose does a feedback culture serve?
  36. 36 What is the effect of writing the goal in the problem definition?
  37. 37 If the impact of a system cannot be measured, what is the safest reporting?
  38. 38 Why are ethical principles alone not sufficient?
  39. 39 Which orientation does responsible attitude describe?
  40. 40 What information should be included in an ethical evaluation report?

Source: Inspired by open curricula of Turkish universities; the explanation is written originally.

Kaynak: Türkiye üniversitelerinin açık ders planlarından esinlenilmiştir; anlatım özgün olarak yazılmıştır.