Ethics and Trustworthy AI
- Episode 13 (We 9/12, 2:15–4:00 PM): Alignment (Sergey)
- Episode 14 (Fr 11/12, 10:15 AM–12:00 PM): Ethics and trustworthy AI (Indrė)
Due at your exercise session this week: Week 6 exercises
- What Is an Agent? PEAS and Task Environments (pencil-and-paper) (1p)
- Train a Real Q-Learning Agent (programming) (1.5p)
- Your First Tool-Using Agent (programming) (1.5p)
- Calling Bullshit (0.5p)
- The Great AI Debate (1p)
- EU AI Act: Case Study (0.5p)
- Feedback (no points)
No new exercises this week.
Last chance for the Kaggle competition: Customer Churn: submissions close at the last lecture (Fr 11/12).
| Theme | Objectives (after the course, you ...) |
| Ethics and trustworthy AI |
|
Ethics of AI
Our last main topic on this course is the Ethics of AI. Just to get one thing off our chest, we must emphasize that this is indeed "last but not least"; in other words, the reason why ethics is discussed as the last topic, is by no means that it would be somehow a less fundamental, nice-to-know topic. This may have been what people — to be honest, even us — thought years ago, but as the impact of AI in the society is becoming more and more prominent, ethical concerns are also being brought to the surface.
On a related note, the fact that the very material you are now reading is work in progress, reflects the fact that the field is very much in motion as more and more people are talking about it.
One thing that seems to happen repeatedly is that AI people or other technologists arrive at the scene, encounter a problem, and think they must be the first to ever have thought about it. This tends to lead to awkward situations where the work by other people, who may have been studying the same issues, sometimes for decades, are ignored.
When you deal with ethical issues related to technology, you should make an effort to look for earlier work on the topic. It may be difficult, since people may have used different terminology, but it's definitely worth at least trying. You're unlikely to be the first to come across the issue. Keep an eye out in particular for work in Science and Technology Studies (STS).
Ethical AI or Ethics of AI?
There are actually several ways in which AI and ethics meet. For instance, there is a topic called machine ethics, which is focused on building computational systems that behave in ethical ways or that have, in a very literal sense, a moral code. You have perhaps heard about the Three Laws of Robotics from the sci-fi author Isaac Asimov's 1942 short story Runaround. Machine ethics focuses on this type of rules that could in principle encoded into AI systems.
Machine ethics is a legitimate scientific field. However, it is disconnected from existing AI systems and their societal impact, because as you've probably noticed by now, modern AI systems don't operate on a level where rules like "A robot may not injure a human being or, through inaction, allow a human being to come to harm", which is the First Law of Robotics according to Asimov.
What we will discuss in this part of the course is therefore not machine ethics, but the ethics of AI, by which we mean the broader viewpoint into the societal and ethical issues related to the use of AI systems. This entails that we shift focus from the technical aspects of the AI systems themselves to the entire socio-technical context that involves the AI system(s). It also involves the humans that are involved and affected by the use of such systems.
As we've discussed, there is no commonly agreed definition of AI. Therefore, any regulation that tries to govern the use of AI will be somewhat hard to define in an unambiguous way. In fact, it is our personal opinion that AI shouldn't be regulated as such, but that it should be regulated along with any other technology, or in many cases, not even as technology, but as human activity.
Why would it make a difference, from an ethical or legal point of view, whether something is done using AI or without AI? We can't think of a single case, where the use of AI should make something legal or illegal. Any law that that depends on whether something is AI or not is prone to finding loopholes in the assumed definition of AI.
However, since the deployment of AI systems amplifies some potential harms to people — mass surveillance, deanonymization, loss of accountability, complicated authorship questions, to name a few — various regulatory stakeholders, most notably the European Union, have decided to create AI regulation. So the milk is most likely already spilled. This will unavoidably lead to more work for lawyers figuring out when the AI regulation applies and when not, and how it will be consolidated with existing sector-specific regulation. But that's what lawyers do... 🤷
EU AI Act
It is very important to study the EU AI ACT for example with available guide to the act online EU AI ACT Explorer.
High-level summary. Here we provide you with a high-level summary of the AI Act, however is important to consult the act directly online for example using the EU AI ACT Explorer To explore the full text of the AI Act yourself, use our AI Act Explorer. Alternatively, if you want to know which parts of the text are most relevant to you, use our Compliance Checker.The AI Act Classifies AI According to Its Risk
- Unacceptable risk is prohibited (e.g., social scoring systems and manipulative AI).
- Most of the text addresses high-risk AI systems, which are regulated.
- A smaller section handles limited-risk AI systems, subject to lighter transparency obligations: developers and deployers must ensure that end-users are aware that they are interacting with AI (e.g., chatbots and deepfakes).
- Minimal risk is unregulated (including the majority of AI applications currently available on the EU single market, such as AI-enabled video games and spam filters—at least in 2021; this is changing with generative AI).
The Majority of Obligations Fall on Providers (Developers) of High-Risk AI Systems
- Those that intend to place on the market or put into service high-risk AI systems in the EU, regardless of whether they are based in the EU or a third country.
- Also, third-country providers where the high-risk AI system’s output is used in the EU.
Users Are Natural or Legal Persons That Deploy an AI System in a Professional Capacity
- Users (deployers) of high-risk AI systems have some obligations, though less than providers (developers).
- This applies to users located in the EU and third-country users where the AI system’s output is used in the EU.
General Purpose AI (GPAI)
- All GPAI model providers must provide technical documentation, instructions for use, comply with the Copyright Directive, and publish a summary about the content used for training.
- Free and open-license GPAI model providers only need to comply with copyright and publish the training data summary, unless they present a systemic risk.
- All providers of GPAI models that present a systemic risk—open or closed—must also conduct model evaluations, adversarial testing, track and report serious incidents, and ensure cybersecurity protections.
Prohibited AI Systems Chapter II, Art. 5
- Deploying subliminal, manipulative, or deceptive techniques to distort behaviour and impair informed decision-making, causing significant harm.
- Exploiting vulnerabilities related to age, disability, or socio-economic circumstances to distort behaviour, causing significant harm.
- Biometric categorisation systems inferring sensitive attributes (race, political opinions, trade union membership, religious or philosophical beliefs, sex life, or sexual orientation), except labelling or filtering of lawfully acquired biometric datasets or when law enforcement categorises biometric data.
- Social scoring, i.e., evaluating or classifying individuals or groups based on social behaviour or personal traits, causing detrimental or unfavourable treatment of those people.
- Assessing the risk of an individual committing criminal offenses solely based on profiling or personality traits, except when used to augment human assessments based on objective, verifiable facts directly linked to criminal activity.
- Compiling facial recognition databases by untargeted scraping of facial images from the internet or CCTV footage.
- Inferring emotions in workplaces or educational institutions, except for medical or safety reasons.
- ‘Real-time’ remote biometric identification (RBI) in publicly accessible spaces
for law enforcement, except when:
- Searching for missing persons, abduction victims, and people who have been human trafficked or sexually exploited;
- Preventing substantial and imminent threat to life, or foreseeable terrorist attack; or
- Identifying suspects in serious crimes (e.g., murder, rape, armed robbery, narcotic and illegal weapons trafficking, organised crime, and environmental crime, etc.).
Notes on remote biometric identification:
Using AI-enabled real-time RBI is only allowed when not using the tool would cause considerable harm and must account for affected persons’ rights and freedoms. Before deployment, police must complete a fundamental rights impact assessment and register the system in the EU database, though, in duly justified cases of urgency, deployment can commence without registration, provided that it is registered later without undue delay. Before deployment, they also must obtain authorisation from a judicial authority or independent administrative authority[1], though, in duly justified cases of urgency, deployment can commence without authorisation, provided that authorisation is requested within 24 hours. If authorisation is rejected, deployment must cease immediately, deleting all data, results, and outputs.High risk AI systems
(Chapter III)Some AI systems are considered ‘High risk’ under the AI Act. Providers of those systems will be subject to additional requirements.
Classification rules for high-risk AI systems (Art. 6)
- Used as a safety component or a product covered by EU laws in Annex I AND required to undergo a third-party conformity assessment under those Annex I laws; OR
- Those under Annex
III use cases (below), except if:
- The AI system performs a narrow procedural task;
- Improves the result of a previously completed human activity;
- Detects decision-making patterns or deviations from prior decision-making patterns and is not meant to replace or influence the previously completed human assessment without proper human review; or
- Performs a preparatory task to an assessment relevant for the purpose of the use cases listed in Annex III.
- AI systems are always considered high-risk if it profiles individuals, i.e., automated processing of personal data to assess various aspects of a person’s life, such as work performance, economic situation, health, preferences, interests, reliability, behaviour, location or movement.
- Providers whose AI system falls under the use cases in Annex III but believes it is not high-risk must document such an assessment before placing it on the market or putting it into service.
The Eu AI Act contains both Requirements to High Risk Systems, and Obligations of providers.
Section 2 contains : Requirements for High-Risk AI Systems, Article 8: Compliance with the Requirements, Article 9: Risk Management System, Article 10: Data and Data Governance, Article 11: Technical Documentation, Article 12: Record-Keeping, Article 13: Transparency and Provision of Information to Deployers, Article 14: Human Oversight, Article 15: Accuracy, Robustness and Cybersecurity
Obligations for providers of high-risk AI systems (Art. 8–17)
- Establish a risk management system throughout the high risk AI system’s lifecycle;
- Conduct data governance, ensuring that training, validation and testing datasets are relevant, sufficiently representative and, to the best extent possible, free of errors and complete according to the intended purpose.
- Draw up technical documentation to demonstrate compliance and provide authorities with the information to assess that compliance.
- Design their high-risk AI system for record-keeping to enable it to automatically record events relevant for identifying national-level risks and substantial modifications throughout the system’s lifecycle.
- Provide instructions for use to downstream deployers to enable the latter’s compliance.
- Design their high-risk AI system to allow deployers to implement human oversight.
- Design their high-risk AI system to achieve appropriate levels of accuracy, robustness, and cybersecurity.
- Establish a quality management system to ensure compliance.
Annex III Use Cases
| Non-banned biometrics: Remote biometric identification systems, excluding biometric verification that confirm a person is who they claim to be. Biometric categorisation systems inferring sensitive or protected attributes or characteristics. Emotion recognition systems. |
| Critical infrastructure: Safety components in the management and operation of critical digital infrastructure, road traffic and the supply of water, gas, heating and electricity. |
| Education and vocational training: AI systems determining access, admission or assignment to educational and vocational training institutions at all levels. Evaluating learning outcomes, including those used to steer the student’s learning process. Assessing the appropriate level of education for an individual. Monitoring and detecting prohibited student behaviour during tests. |
| Employment, workers management and access to self-employment: AI systems used for recruitment or selection, particularly targeted job ads, analysing and filtering applications, and evaluating candidates. Promotion and termination of contracts, allocating tasks based on personality traits or characteristics and behaviour, and monitoring and evaluating performance. |
| Access to and enjoyment of essential public and private services: AI systems used by public authorities for assessing eligibility to benefits and services, including their allocation, reduction, revocation, or recovery. Evaluating creditworthiness, except when detecting financial fraud. Evaluating and classifying emergency calls, including dispatch prioritising of police, firefighters, medical aid and urgent patient triage services. Risk assessments and pricing in health and life insurance. |
| Law enforcement: AI systems used to assess an individual’s risk of becoming a crime victim. Polygraphs. Evaluating evidence reliability during criminal investigations or prosecutions. Assessing an individual’s risk of offending or re-offending not solely based on profiling or assessing personality traits or past criminal behaviour. Profiling during criminal detections, investigations or prosecutions. |
| Migration, asylum and border control management: Polygraphs. Assessments of irregular migration or health risks. Examination of applications for asylum, visa and residence permits, and associated complaints related to eligibility. Detecting, recognising or identifying individuals, except verifying travel documents. |
| Administration of justice and democratic processes: AI systems used in researching and interpreting facts and applying the law to concrete facts or used in alternative dispute resolution. Influencing elections and referenda outcomes or voting behaviour, excluding outputs that do not directly interact with people, like tools used to organise, optimise and structure political campaigns. |
The Moral Machine: an experiment on Accountability
The Moral Machine is an MIT-led online platform that presents people with stylized “trolley-problem-like” dilemmas framed as autonomous-vehicle crashes (e.g., swerve vs stay; passengers vs pedestrians) and records their choices. Here you find the article published in Nature in Oct 2028 with the Moral Machine Experiment The associated flagship publication, Awad et al., Nature (2018), “The Moral Machine experiment,” reports collecting about 39.61 million decisions from participants across 233 countries/territories (in multiple languages) and analyzes (a) aggregate global preferences, (b) variation by demographics, and (c) cross-country patterns/clusters. Disclaimers/critique: these results are primarily descriptive—they capture what survey participants say they would choose under simplified prompts, not what is ethically justified or legally acceptable. The scenarios also heavily abstract away real-world driving (uncertainty, feasibility, duty of care, and the dominant safety-engineering goal of reducing risk overall), and the participation is self-selected and uneven across populations, which weakens “this is what a country believes” interpretations. Finally, even if the preference data were perfect, turning it into rules raises legitimacy and governance questions (who decides, by what authority, and how conflicts are resolved). A Nature correspondence later made this point sharply, arguing the Moral Machine experiment is not a sound basis for policymaking.
Ethics of Generative AI: Hallucinations, Bias, and Environmental Impact
Along with the benefits, generative AI raises concerns about misuse and errors. There are some limitations where legal frameworks have not caught up with technological developments. To mitigate these risks and ensure the technology benefits society, the OECD works with governments to enable policies that ensure the ethical and responsible use of generative AI. (This section adapted and extended from OECD Policy Observatory for AI).
AI “hallucinations”, or convincing but inaccurate outputs
When large language models, or textual generative AI, create incorrect yet convincing outputs, it is called a hallucination. This is unintentional and can happen if a correct answer is not found in the training data. Beyond perpetuating inaccurate information, this can interfere with the model’s ability to learn new skills and even lead to a loss of skills.
Fake and misleading content
While generative AI brings efficiencies to content creation, it also poses risks that must be considered carefully. One major concern is the potential for generating fake or misleading content. For example, generative AI can be used to create realistic-looking but entirely fabricated images or videos, which can be used to spread disinformation or deceive people. This poses challenges for the detection and verification of digital media.
Intellectual property right infringement
Generative AI raises intellectual property rights issues, particularly concerning:
- unlicensed content in training data,
- potential copyright, patent, and trademark infringement of AI creations,
- and ownership of AI-generated works.
- Whether commercial entities can legally train ML models on copyrighted material is contested in Europe and the US. Several lawsuits were filed in the US against companies that allegedly trained their models on copyrighted data without authorisation to make and later store copies of the resulting images. These decisions will set legal precedents and impact the generative AI industry, from start-ups to multinational tech companies.
Job and labour market transformations
Generative AI is likely to transform labour markets and jobs, but exactly how is still uncertain and being debated among experts. Generative AI could automate tasks traditionally performed by humans, leading to job displacement in some industries and professions.
While some jobs might be automated or eliminated, generative AI could transform existing jobs. This could lead to humans performing tasks more efficiently and generating new creative possibilities. This transformation would lead to a shift in required skills.
Addressing these risks will require combining technical solutions, policy frameworks, and responsible practices to ensure that generative AI benefits society while minimising potential harm.
Energy consumption and the environment
Generative AI requires tremendous computing power and consumes natural resources, leading to a significant ecological footprint. Poorly controlled use of generative AI in areas like climate modelling and environmental simulations could unintentionally exacerbate ecological challenges and undermine conservation efforts.
Bias, stereotype amplification and privacy concerns
AI can analyse large amounts of data to extract precious information that humans could not see otherwise. But the risk is an amplification of existing biases present in the training data. If the training data contains biases, such as racial or gender stereotypes, the generative AI model may inadvertently produce biased outputs, such as misleading or inappropriate content. This can perpetuate and even amplify societal inequalities and discrimination.
Generative AI also raises privacy concerns. By training on large amounts of data, these models may inadvertently capture and reproduce private or sensitive information. For example, a language model trained on text data may reproduce personal details or confidential information.
Potential future risks and concerns
In the near term, generative AI can exacerbate challenges as synthetic content with varying quality and accuracy proliferates in digital spaces and is then used to train subsequent generative AI models, triggering a vicious cycle. Over the longer term, emergent behaviours such as increased agency, power-seeking, and pursuing hidden sub-goals to achieve a core objective might not align with human values and intent. If manifested, such behaviours could lead to systemic harms and collective disempowerment. Given these risks, overreliance, trust and dependency on AI could cause deep, long-term harm to societies. And a concentration of AI resources in a few multinational tech companies and governments may lead to a global imbalance.
This material is to be continued. In the meantime, please check out the lecture slides and watch the lecture recording on Moodle in case you missed the lecture. The exercises on this material are on the Week 6 page.