Lecture1 2024
Lecture1 2024
Introduction to AI
• Nvidia - First-quarter revenue was a record $22.6 billion, up 23% from the previous quarter
and up 427% from a year ago (22 May 2024) - https://nvidianews.nvidia.com/news/nvidia-
announces-financial-results-for-first-quarter-fiscal-2025
• AI industry is vast, amounting to around $200 billion in 2023 and is expected to grow well
beyond that to over $1.8 trillion by 2030 - https://www.statista.com/outlook/tmo/artificial-
intelligence/worldwide
Intro to AI - Overview
• AI will impact the word as we know it 30, 20 or even 10 years from now.
• What's more, whereas older sciences such as physics might have the best
ideas already discovered…
• …AI still has much more to explore, much more to discover, much more to
realize.
• to specifics, such as playing chess, proving mathematical theorems, writing poetry, driving a
car, or diagnosing diseases.
• Definition of intelligence
2. rationality
• Characterization of intelligence
• a computer passes the test if a human, after posing some written questions, cannot
tell whether the written responses come from a person or from a computer.
Intro to AI - Acting Humanly
• Building a computer system to pass the Turing Test would need consideration of
the following:
• machine learning to adapt to new circumstances and to detect and extrapolate patterns.
Intro to AI - Acting Humanly
• Total Turing Test
• This test requires that a computer system interacts with objects and people in the real world.
• Building a computer system / robot to pass the Total Turing Test will need, in
addition to what's needed for the Turing Test, the following
• Each of these six criteria used in these tests make up most of the study in
Artificial Intelligence.
Intro to AI - Thinking Humanly
• To say that a program / computer system thinks like a human, we must know how
humans think (human cognition).
• Once we have a sufficiently precise theory of the mind, it becomes possible to express
the theory as a computer program.
• He provided patterns for argument structures that always yielded correct conclusions when
given correct premises.
• Programs can, in principle, solve any solvable problem described in logical notation.
• Logic requires knowledge of the world that is certain— in reality, it is not entirely possible.
• For example: It is easy to create logic-based rules for a game of chess but not so
straightforward politics.
Intro to AI - Thinking Rationally
• The theory of probability fills this gap
1. operate autonomously,
• A rational agent is one that acts so as to achieve the best outcome or, when
there is uncertainty, the best expected outcome.
Intro to AI - Acting Rationally
• The rational-agent approach to AI has two advantages over the other
approaches.
1. it is more general than the “laws of thought” approach because correct inference is
just one of several possible mechanisms for achieving rationality.
• We can often work backwards to derive agent designs that probably achieve it—
something that is somewhat impossible if the goal is to imitate human behaviour or
thought processes.
• Perfect Rationality
1. Philosophy
2. Mathematics
3. Economics
4. Neuroscience
5. Psychology
6. Computer Engineering
7. Control Theory
8. Linguistic
(1) Philosophy
• Philosophers like Aristotle developed early logical systems, forming the basis for
reasoning processes in AI aka formal logic
• Philosophers like Descartes explored the relationship between mind and matter,
shaping discussions on the nature of artificial minds
• Philosophical questions about free will and ethical behavior informed AI decision-
making and autonomy
• The study of knowledge (epistemology) and belief in philosophy directly impacts AI's
understanding of truth, inference, and reasoning
• Early mathematical algorithms laid the groundwork for computational processes used in
AI
• Mathematics contributes statistical methods for data analysis, machine learning, and
inference in AI
(3) Economics
• Economics introduced the concept of agents maximizing their utility (rational agents),
which parallels AI's design of goal-driven systems
• Economics introduced
• Decision Theory which combines probability and utility theory to provide a framework for making
decisions under uncertainty, influencing AI algorithms
• Game Theory which explores strategic interactions between agents, informing AI models on multi-
agent systems and competitive environments
• Inspired by the structure and function of neurons in the brain (Neural Networks), AI
developed artificial neural networks for learning and pattern recognition
• Research on specific brain regions aka localized brain functions guides the development
of specialized AI models for tasks like speech and vision
• The brain's ability to adapt and reorganize (aka Brain Plasticity) informs AI algorithms on
learning and adapting to new data
• Advances in understanding brain activity (e.g., EEG, fMRI) drive AI's development of
systems that interact with or simulate brain functions
(5) Psychology
• Psychology studies human behavior, cognition, and mental processes, providing insights
into how humans think, learn, and solve problems
• Insights from psychology help improve AI interfaces, making them more intuitive and
user-friendly – this stems from studies in Human-Machine Interaction
• Specialized microprocessor designs, such as GPUs and TPUs, have been developed
to meet the high computational demands of AI applications
• Engineering innovations enable the scaling of AI systems, allowing them to handle large
datasets and complex computations efficiently
• While the concept of self-regulation is foundational for AI's feedback and control systems, the
feedback loops theories of cybernetics provide a mechanism for goal-oriented behavior in AI
• Control theory introduced the idea of minimizing the difference between the current state and
the desired goal state, key in AI optimization and learning algorithms
• Advanced control theory provides mathematical frameworks for designing systems that optimize
performance over time (Stochastic Optimal Control), aligning closely with AI objectives
• Insights from phonetics and phonology in linguistics have driven advancements in AI's
ability to recognize and process spoken language - Speech Recognition
• Expert systems (1969–1986): AI shifted focus to creating expert systems that encoded
specialized knowledge, achieving commercial success and demonstrating the practical
applications of AI.
History of AI
• Neural networks (1986–present): Neural networks regained attention as computational
power increased, leading to breakthroughs in learning algorithms and pattern
recognition.
• Big data (2001–present): The rise of big data provided AI with vast amounts of
information to analyze, significantly enhancing machine learning and decision-making
capabilities.
• For a detailed account READ “History of AI” in 4th ed. of the prescribed book
State of the Art
Natural Language Processing (NLP)
1. Transformer Models: Advanced models like GPT-4, BERT, and T5 are leading NLP
tasks such as text generation, sentiment analysis, and translation e.g.
https://translate.google.com/?sl=bem&tl=en&text=AI%20yaliwama%20kabili%20ikapilibula%20ubwikashi&op=translate
2. Language Understanding: Models like OpenAI's GPT-4 and Google's LaMDA are
setting new standards in conversational AI
3. Speech Recognition: Systems like Google's Speech-to-Text and Apple's Siri leverage
cutting-edge speech recognition for tasks such as virtual assistants, smart devices,
customer service and support, and hands-free operations
1. Object Detection and Recognition: Models like YOLO (You Only Look Once) and
EfficientDet are among the best for real-time object detection
2. Image and Video Analysis: Convolutional Neural Networks (CNNs) and Vision
Transformers (ViTs) excel in tasks like image classification and video understanding
AI in Agriculture
1. Self-Driving Cars & Drones: Companies like Tesla and Waymo are at the forefront of
autonomous vehicle technology, while Amazon has rolled out autonomous drones
2. Robotics: Advanced robotics are being developed for tasks ranging from industrial
automation to household chores, leveraging AI for perception and manipulation e.g.
https://www.youtube.com/watch?v=XPVC4IyRTG8
Probabilistic Models
1. Bayesian Networks: Used for reasoning under uncertainty in domains like medical
diagnosis and risk assessment
2. Hidden Markov Models (HMMs): Applied in finance to model and predict time series
data for example in algorithmic stock market trading
State of the Art
Ethics and Fairness in AI
Recommendation Systems
2. Edge AI: Bringing AI processing closer to data sources (e.g., IoT devices) for faster,
more efficient decision-making
State of the Art
AI in Healthcare
Quantum AI
Federated Learning
1. Generative Art: AI is being used to create music, visual art, and literature, with tools
like DALL-E generating images from text descriptions
2. AI-Assisted Design: AI tools are aiding in fashion design, architecture, and other
creative fields, pushing the boundaries of innovation
Game Playing
2. Self-Learning: ALPHAZERO learned to master games like Go and chess through self-
play without human input
Benefits of AI
• Automation and Efficiency: AI can automate repetitive tasks, leading to increased
productivity and efficiency in industries such as manufacturing, logistics, and customer
service.
• Economic Growth: AI can drive economic growth by creating new industries, jobs,
and opportunities, especially in tech-driven sectors.
• Privacy Concerns: AI's ability to analyze vast amounts of data raises significant privacy
issues, as personal information can be misused or inadequately protected
• Loss of Human Control: As AI systems become more autonomous, there is a risk that
humans may lose control over critical decisions, leading to unwanted consequences
• Governments and international organizations are setting up advisory bodies to create appropriate
regulations
Human-Level AI (HLAI)
Built-in Failsafe
• E.g. build machines that can be switched off voluntarily or learn human preferences through
observation