VM-LEARNING /class.x ·track.ai ·ch-b1 session: 2026_27
$cd ..

~/Revisiting AI Project Cycle & Ethical Frameworks for AI

root@vm-learning ~ $ open ch-b1
PART B ▪ UNIT 1
06
Revisiting AI Project Cycle & Ethical Frameworks for AI
AI Project Cycle · AI Domains · Ethical Frameworks · Bioethics
Artificial Intelligence (AI) is the ability of a machine to learn, think and make decisions like humans. For any AI solution to work fairly and reliably, we need two things: (1) a clear project framework to build it step-by-step, and (2) a strong ethical framework to make sure the decisions it produces do not cause unintended harm.
This unit has three sub-units: (1.1) AI Project Cycle — the 6-stage framework for building any AI project; (1.2) Three Domains of AI — Statistical Data, Computer Vision, and Natural Language Processing; (1.3) Ethical Frameworks of AI — rules that ensure AI makes morally acceptable choices, with special focus on Bioethics.
Learning Outcome 1: Understand the stages of the AI Project Cycle

1.1 Revisiting the AI Project Cycle

Think about it: Suppose you have to make a greeting card for your mother's birthday. You will (1) look for cool greeting-card ideas, (2) list the items you need, (3) get missing materials, (4) start making the card, (5) restart if you spoil it, (6) finally gift it to your mother. Consciously or subconsciously, our mind plans every task this way.
Similarly, building an AI project needs a framework — and that framework is called the AI Project Cycle.
The AI Project Cycle is the cyclical process followed to complete any AI project. It has 6 stages that turn a raw idea into a deployed, working AI solution.
🔹 The 6 Stages of the AI Project Cycle
🔄 AI PROJECT CYCLE (6 STAGES)
1. Problem Scoping 2. Data Acquisition 3. Data Exploration 4. Modeling 5. Evaluation 6. Deployment
1️⃣ Problem Scoping

Set the goal for your AI project by clearly stating the problem you wish to solve. Look at various parameters that affect the problem so the picture becomes clearer. Use the 4Ws Problem Canvas — Who, What, Where, Why.

2️⃣ Data Acquisition

Acquire data from reliable and authentic sources — this data is the base of the project. Sources: surveys, sensors, cameras, CSV files, APIs, online datasets. The data helps you understand the parameters that relate to the problem.

3️⃣ Data Exploration

Convert the data into visual representations — graphs, databases, flow charts, maps — so patterns become easy to interpret. Exploring patterns helps you decide which kind of model to build.

4️⃣ Modeling

Decide and research several models that can achieve the goal. Select the most suitable one. Develop your algorithm around the chosen model. Modeling answers: how should the machine learn to solve this?

5️⃣ Evaluation

Test the model on some newly fetched data (data it has never seen). The results help you judge how accurate the model is, and where it needs improvement.

6️⃣ Deployment

After evaluation, integrate the model into a real-world application so users and stakeholders can actually use it — a mobile app, a website, a hospital system, a self-driving car, etc.

The AI Project Cycle is iterative — if evaluation shows the model is not good enough, you go back to earlier stages (more data, better model, better parameters) and repeat until the solution is reliable.
Learning Outcome 2: Understand the three domains of AI and their applications

1.2 Introduction to AI Domains

AI becomes intelligent according to the training it gets. For training, the machine is fed with datasets. With respect to the type of data fed in, AI is classified into three domains:
📊
1. Statistical Data
Works on numerical / tabular data. Extracts meaning from large datasets to make decisions.
👁️
2. Computer Vision (CV)
Works on images & videos. Teaches machines to "see" and make sense of visual information.
💬
3. Natural Language Processing (NLP)
Works on text & speech. Helps computers read, understand and generate human language.

📊 1. Statistical Data Domain

Statistical Data is a domain of AI related to data systems and processes in which the system collects numerous data, maintains data sets and derives meaning out of them. The information extracted is used to make decisions.
🔹 Real-Life Applications of Statistical Data

👁️ 2. Computer Vision (CV) Domain

Computer Vision (CV) is a domain of AI that depicts the capability of a machine to get and analyse visual information and afterwards predict decisions about it. The process involves image acquiring → screening → analysing → identifying → extracting information.

In CV, the input can be photographs, videos and pictures from thermal or infrared sensors. CV projects translate digital visual data into descriptions, then into computer-readable language for decision-making. The main objective is to teach machines to collect information from pixels.

🔹 Real-Life Applications of Computer Vision
🌾 Agricultural MonitoringDrones with cameras capture aerial images of farmland. AI analyses them for crop health, pest detection and yield estimation.
📹 Surveillance SystemsMonitor public spaces, buildings and borders. Detect suspicious activity, track individuals or vehicles, give real-time alerts.
🏥 Medical ImagingAI examines X-rays, MRIs and CT scans to detect tumours, fractures or eye diseases.
🚗 Self-Driving CarsCV identifies lanes, pedestrians, traffic lights and other vehicles in real time.
🔍 Google Image SearchSearch using an image instead of typing keywords.
😀 Face Filters & Face UnlockInstagram / Snapchat face filters; phone face-unlock.

💬 3. Natural Language Processing (NLP) Domain

Natural Language Processing (NLP) is the branch of AI that deals with the interaction between computers and humans using natural language. Natural language refers to the language spoken and written by people. NLP tries to read, decipher, understand and make sense of human languages in a valuable manner.
🔹 Real-Life Applications of NLP
📧 Email FiltersOne of the earliest NLP applications — spam filters detect words or phrases that signal a spam message and move them out.
🌐 Machine TranslationGoogle Translate, Microsoft Translator — analyse structure and semantics of sentences in the source language and generate equivalents in the target language.
🗣️ Voice AssistantsAlexa, Google Assistant, Siri — understand spoken commands and respond.
🤖 ChatbotsCustomer-service bots on shopping and banking websites.
📝 Auto-Complete & Auto-CorrectGmail Smart Compose, Google Search autocomplete, mobile keyboard predictions.
📊 Sentiment AnalysisAnalyse if a tweet, review or comment is positive, negative or neutral.
Learning Outcome 3: Understand Ethical Frameworks for AI & Bioethics

1.3 Frameworks & Ethical Frameworks

🧭 1. What is a Framework?

A framework is a set of steps that help us solve problems in an organised manner. It provides a step-by-step guide, ensures all relevant factors are considered, and serves as a common language for communication and collaboration.
The AI Project Cycle itself is a framework — it gives a 6-step structure for any AI project. You have already used frameworks without realising it!

⚖️ 2. What is an Ethical Framework?

Ethics = set of values or morals that help us separate right from wrong.
Ethical Framework = a framework that ensures the choices we make do not cause unintended harm.

Ethical frameworks provide a systematic approach to navigating complex moral dilemmas by considering different ethical principles and perspectives. Using ethical frameworks, individuals and organisations make well-informed decisions that align with their values and promote positive outcomes for all stakeholders.

🤔 3. Why Do We Need Ethical Frameworks for AI?

AI is being used as a decision-making / influencing tool. We must ensure that AI makes morally acceptable recommendations — otherwise unintended harm occurs.
🔹 Reasons Ethical Frameworks for AI are Needed

1.4 Activity — "My Goodness"

Website: https://www.my-goodness.net/

What it is: An interactive game where players make 10 decisions about how they would like to donate to charity. In most cases, players see details about the recipient and the intended use of the money. In a few cases, info is hidden but can be revealed.

Goal: To understand how our decisions get influenced by our personal morals, values and ethics — and to uncover potential biases within us!
🔹 Hidden Factors That Influence Decisions

1.5 Factors That Influence Our Decision-Making

Knowingly or unknowingly, many factors shape our decisions. Any ethical framework must take these into account:

🌏 CultureValue placed on humans vs non-humans; traditional beliefs; community norms.
🙏 ReligionIs the decision aligned with my religious views? — Faith and beliefs shape morality.
💭 Intuition & ValuesDoes this feel correct? — Personal gut-feel based on upbringing and experience.
📜 Laws & RulesConstitutional rules, national laws, school or workplace policies.
👨‍👩‍👧 Family & SocietyOpinions of parents, friends and community influence choices.
💼 Self-InterestPersonal benefit and career goals can bias choices — conscious or not.

1.6 Types of Ethical Frameworks

Ethical frameworks for AI can be categorised into two main types:

📚 CLASSIFICATION OF ETHICAL FRAMEWORKS
Ethical Frameworks for AI
1. Sector-Based Frameworks 2. Value-Based Frameworks
Rights-Based Utility-Based Virtue-Based

🏭 1. Sector-Based Frameworks

Tailored to a specific sector or industry. Address the ethical considerations and challenges unique to that sector.

Examples of sector-based frameworks:

💎 2. Value-Based Frameworks

Focus on fundamental ethical principles and values that guide decision-making. They reflect moral philosophies that inform ethical reasoning — assessing the moral worth of actions and guiding ethical behaviour.

Value-based frameworks are further classified into three categories:

🛡️ (i) Rights-Based

Prioritises protection of human rights and dignity. Values human life over other considerations. Emphasises autonomy, dignity and freedoms. In AI: ensure systems do not violate human rights or discriminate.

⚖️ (ii) Utility-Based

Evaluates actions by maximising overall utility / good. Seeks outcomes that offer the greatest benefit for the greatest number of people and minimise harm. In AI: weigh benefits of AI against risks like job displacement or privacy.

💎 (iii) Virtue-Based

Focuses on the character and intentions of the people involved in decision-making. Asks whether actions align with virtuous principles — honesty, compassion, integrity. In AI: do developers, users and regulators uphold ethical values throughout the AI lifecycle?

These classifications ensure that considerations relevant to specific sectors and fundamental ethical values are both adequately addressed in AI development.

1.7 Bioethics — A Sector-Based Framework in Healthcare

Bioethics is an ethical framework used in healthcare and life sciences. It deals with ethical issues related to health, medicine and biological sciences, ensuring that AI applications in healthcare adhere to ethical standards and considerations.
🔹 The 4 Principles of Bioethics
1. Respect for Autonomy

Enable users to be fully aware of decision-making. Users of an AI algorithm should know how it functions. Data on which models are trained — and used to make decisions — should be reproducible and accessible to patients. If there are performance concerns, model predictions and data labels should be released.

2. Do Not Harm (Non-Maleficence)

Harm to anyone (human or non-human) must be avoided at all costs. If no choice is available, the path of least harm must always be chosen. AI algorithms must be trained on data that equitably reduces harm for all, not just for some groups. Promote well-being, minimise harm, distribute benefits and harms justly.

3. Maximum Benefit (Beneficence)

Not only should we avoid harm — our actions must provide the maximum benefit possible. The solution should be held to clinical practice standards, not merely technological ethics. It should go beyond nonmaleficence and strive for beneficence. Use training data that reflects healthcare needs and outcomes of patients of all races; the data must be unbiased.

4. Justice

All benefits and burdens of a choice must be distributed in a justified manner across people, irrespective of background. Solution development requires deep knowledge of social structures that result in racism, sexism and other societal biases. The solution must be aware of social determinants of healthcare and actively work against those structures.

🔹 Key Bioethical Terms
TermMeaning
AutonomyFreedom to make one's own decisions with full information.
Non-MaleficenceEthical principle of avoiding causing harm or negative consequences. Emphasises minimising harm as much as possible.
MaleficenceThe concept of intentionally causing harm or wrongdoing. The opposite of non-maleficence.
BeneficenceEthical principle of promoting and maximising well-being. Emphasises actions that produce positive outcomes for all stakeholders.
JusticeFair distribution of benefits and burdens across all people.

1.8 Case Study — Bioethics Applied to Healthcare AI

The Problem: A company created an AI algorithm to help hospitals identify patients at high risk so healthcare providers could allocate resources to those who need them most. However, the algorithm had a bias — patients from the Western region of a particular area who were rated at the same risk level generally had more severe health conditions compared to patients from other regions.
🔹 Why the Problem Happened
🔹 How the 4 Bioethical Principles Could Have Prevented It
✓ Respect for Autonomy

Patients would have known how the algorithm works and what data trained it — so they could flag issues early.

✓ Do Not Harm

If followed, the algorithm would never have been allowed to send more intensive care to less-ill patients while denying it to Western-region patients who were actually sicker.

✓ Maximum Benefit

A better dataset — one that reflects healthcare outcomes of patients of all races — would have ensured everyone received maximum possible benefit.

✓ Justice

The developers would have consciously worked against social structures (racism, unequal healthcare spending) and considered social determinants while designing the algorithm.

Lesson: Had the team followed the bioethical framework throughout the AI project cycle, the unintended consequence could have been avoided before deployment. That's exactly why ethical frameworks matter!

1.9 Applying Ethical Frameworks — Quick Checklist

For every AI project you build, ask yourself these questions at each stage:

StageEthical Question
1. Problem ScopingDoes the problem definition include all affected groups? Or are we scoping only for the majority?
2. Data AcquisitionIs the data representative of all users? Are any communities missing from the data?
3. Data ExplorationDo we see any bias in the patterns — or gaps that favour one group?
4. ModelingIs the model simple and explainable enough for users to trust?
5. EvaluationHave we tested for fairness across groups — not just overall accuracy?
6. DeploymentWho is accountable if the model causes harm? Is there a feedback & takedown mechanism?

Quick Revision — Key Points to Remember

  • AI Project Cycle = 6-stage cyclical process to build any AI project.
  • 6 Stages: Problem Scoping → Data Acquisition → Data Exploration → Modeling → Evaluation → Deployment.
  • AI is iterative — go back if evaluation shows problems.
  • Three Domains of AI: Statistical Data · Computer Vision · Natural Language Processing — based on type of data fed in.
  • Statistical Data — numerical/tabular data. Examples: Price Comparison (Junglee, PriceGrabber), weather, stock market, recommendations, credit scoring, sports analytics.
  • Computer Vision — images & videos. Steps: acquire → screen → analyse → identify → extract. Examples: agricultural monitoring (drones), surveillance, medical imaging, self-driving cars, face filters.
  • NLP — text & speech. Examples: email filters (spam), machine translation (Google Translate), voice assistants, chatbots, sentiment analysis, auto-complete.
  • Framework = set of steps for solving problems in an organised way.
  • Ethical Framework = framework ensuring choices do not cause unintended harm.
  • Why needed for AI: avoid bias, prevent discrimination, ensure transparency, protect privacy, ensure accountability, build trust, catch problems early.
  • "My Goodness" activity — reveals personal biases in decision-making (my-goodness.net).
  • Factors influencing decisions: Culture · Religion · Intuition & Values · Laws · Family/Society · Self-Interest.
  • Types of Ethical Frameworks: Sector-based (Bioethics, Finance, Education, Transport, etc.) & Value-based.
  • Value-based subtypes: Rights-Based (human rights) · Utility-Based (greatest good) · Virtue-Based (character & honesty).
  • Bioethics — for healthcare & life sciences.
  • 4 Principles of Bioethics: Respect for Autonomy · Do Not Harm (Non-maleficence) · Maximum Benefit (Beneficence) · Justice.
  • Case study: US hospital AI was biased against Western-region patients — trained on healthcare expense data instead of actual illness. Bioethics could have prevented it.
  • Key terms: Autonomy · Non-maleficence (avoid harm) · Maleficence (cause harm) · Beneficence (maximise well-being) · Justice (fair distribution).
🧠Practice Quiz — test yourself on this chapter