Unit 1 AIML
Unit 1 AIML
INTRODUCTION
What is AI
Artificial intelligence, or AI, is technology that enables computers and machines to
simulate human intelligence and problem-solving capabilities.
Artificial Intelligence
Chat GPT: Uses large language models (LLMs) to generate text in response to
questions or comments posed to it.
Google Translate: Uses deep learning algorithms to translate text from one
language to another.
Netflix: Uses machine learning algorithms to create personalized recommendation
engines for users based on their previous viewing history.
Tesla: Uses computer vision to power self-driving features on their cars.
Foundations of AI
◼ Foundation of AI is based on
❑ Mathematics
❑ Neuroscience
❑ Control Theory
❑ Linguistics
1. Foundations – Mathematics
✓ Probability theory
can be handled by
2. Foundations – Neuroscience
4. Foundations – Linguistics
6. Cool Stuff in AI
7. Useful Stuff
◼ Medical Diagnosis
◼ Fraud Detection
◼ Object Identification
◼ Space Shuttle Scheduling
◼ Information Retrieval
o Year 1943: The first work which is now recognized as AI was done by
Warren McCulloch and Walter pits in 1943. They proposed a model
of artificial neurons.
o Year 1949: Donald Hebb demonstrated an updating rule for modifying the
connection strength between neurons. His rule is now called Hebbian
learning.
o Year 1950: The Alan Turing who was an English mathematician and
pioneered Machine learning in 1950. Alan Turing publishes "Computing
Machinery and Intelligence" in which he proposed a test. The test can
check the machine's ability to exhibit intelligent behavior equivalent to
human intelligence, called a Turing test.
o Year 1951: Marvin Minsky and Dean Edmonds created the initial artificial
neural network (ANN) named SNARC. They utilized 3,000 vacuum tubes to
mimic a network of 40 neurons.
o Year 1952: Arthur Samuel pioneered the creation of the Samuel Checkers-
Playing Program, which marked the world's first self-learning program for
playing games.
o Year 1955: An Allen Newell and Herbert A. Simon created the "first
artificial intelligence program"Which was named as "Logic Theorist". This
program had proved 38 of 52 Mathematics theorems, and find new and more
elegant proofs for some theorems.
o Year 1956: The word "Artificial Intelligence" first adopted by American
Computer scientist John McCarthy at the Dartmouth Conference. For the
first time, AI coined as an academic field.
o Year 1958: During this period, Frank Rosenblatt introduced the perceptron,
one of the early artificial neural networks with the ability to learn from data.
This invention laid the foundation for modern neural networks.
Simultaneously, John McCarthy developed the Lisp programming language,
which swiftly found favor within the AI community, becoming highly
popular among developers.
o Year 1959: Arthur Samuel is credited with introducing the phrase "machine
learning" in a pivotal paper in which he proposed that computers could be
programmed to surpass their creators in performance. Additionally, Oliver
Selfridge made a notable contribution to machine learning with his
publication "Pandemonium: A Paradigm for Learning." This work outlined a
model capable of self-improvement, enabling it to discover patterns in
events more effectively.
o Year 1964: During his time as a doctoral candidate at MIT, Daniel Bobrow
created STUDENT, one of the early programs for natural language
processing (NLP), with the specific purpose of solving algebra word
problems.
o Year 1965: The initial expert system, Dendral, was devised by Edward
Feigenbaum, Bruce G. Buchanan, Joshua Lederberg, and Carl Djerassi. It
aided organic chemists in identifying unfamiliar organic compounds.
o Year 1966: The researchers emphasized developing algorithms that can
solve mathematical problems. Joseph Weizenbaum created the first chatbot
in 1966, which was named ELIZA. Furthermore, Stanford Research Institute
created Shakey, the earliest mobile intelligent robot incorporating AI,
computer vision, navigation, and NLP. It can be considered a precursor to
today's self-driving cars and drones.
o Year 1968: Terry Winograd developed SHRDLU, which was the pioneering
multimodal AI capable of following user instructions to manipulate and
reason within a world of blocks.
o Year 1969: Arthur Bryson and Yu-Chi Ho outlined a learning algorithm
known as backpropagation, which enabled the development of multilayer
artificial neural networks. This represented a significant advancement
beyond the perceptron and laid the groundwork for deep learning.
Additionally, Marvin Minsky and Seymour Papert authored the book
"Perceptrons," which elucidated the constraints of basic neural networks.
This publication led to a decline in neural network research and a resurgence
in symbolic AI research.
o Year 1972: The first intelligent humanoid robot was built in Japan, which
was named WABOT-1.
o Year 1973: James Lighthill published the report titled "Artificial
Intelligence: A General Survey," resulting in a substantial reduction in the
British government's backing for AI research.
A boom of AI (1980-1987)
Between 1980 and 1987, AI underwent a renaissance and newfound vitality after
the challenging era of the First AI Winter. Here are notable occurrences from this
timeframe:
o Year 2011: In 2011, IBM's Watson won Jeopardy, a quiz show where it had
to solve complex questions as well as riddles. Watson had proved that it
could understand natural language and can solve tricky questions quickly.
o Year 2012: Google launched an Android app feature, "Google Now", which
was able to provide information to the user as a prediction. Further, Geoffrey
Hinton, Ilya Sutskever, and Alex Krizhevsky presented a deep CNN
structure that emerged victorious in the ImageNet challenge, sparking the
proliferation of research and application in the field of deep learning.
o Year 2013: China's Tianhe-2 system achieved a remarkable feat by doubling
the speed of the world's leading supercomputers to reach 33.86 petaflops. It
retained its status as the world's fastest system for the third consecutive time.
Furthermore, DeepMind unveiled deep reinforcement learning, a CNN that
acquired skills through repetitive learning and rewards, ultimately surpassing
human experts in playing games. Also, Google researcher Tomas Mikolov
and his team introduced Word2vec, a tool designed to automatically discern
the semantic connections among words.
o Year 2014: In the year 2014, Chatbot "Eugene Goostman" won a
competition in the infamous "Turing test." Whereas Ian Goodfellow and his
team pioneered generative adversarial networks (GANs), a type of machine
learning framework employed for producing images, altering pictures, and
crafting deepfakes, and Diederik Kingma and Max Welling introduced
variational autoencoders (VAEs) for generating images, videos, and text.
Also, Facebook engineered the DeepFace deep learning facial recognition
system, capable of identifying human faces in digital images with accuracy
nearly comparable to human capabilities.
o Year 2016: DeepMind's AlphaGo secured victory over the esteemed Go
player Lee Sedol in Seoul, South Korea, prompting reminiscence of the
Kasparov chess match against Deep Blue nearly two decades
earlier.Whereas Uber initiated a pilot program for self-driving cars in
Pittsburgh, catering to a limited group of users.
o Year 2018: The "Project Debater" from IBM debated on complex topics
with two master debaters and also performed extremely well.
o Google has demonstrated an AI program, "Duplex," which was a virtual
assistant that had taken hairdresser appointments on call, and the lady on the
other side didn't notice that she was talking with the machine.
o Year 2021: Open AI unveiled the Dall-E multimodal AI system, capable of
producing images based on textual prompts.
o Year 2022: In November, OpenAI launched Chat GPT, offering a chat-
oriented interface to its GPT-3.5 LLM.
Now AI has developed to a remarkable level. The concept of Deep learning, big
data, and data science are now trending like a boom. Nowadays companies like
Google, Facebook, IBM, and Amazon are working with AI and creating amazing
devices. The future of Artificial Intelligence is inspiring and will come with high
intelligence.
AI Future
The future of Artificial Intelligence (AI) holds tremendous promise and raises
significant challenges across various domains. Here are some key aspects of AI's
future:
Stages of AI
The stages of AI can be broadly categorized into three levels: Artificial Narrow
Intelligence (ANI), Artificial General Intelligence (AGI), and Artificial Super
intelligence (ASI). Here's a breakdown of each stage with examples:
It's important to note that while ANI is currently prevalent in various applications
today, achieving AGI and potentially ASI remains a subject of ongoing research
and speculation. The development of AGI and ASI raises profound ethical,
societal, and existential questions, prompting discussions about the implications
and risks associated with creating machines that surpass human intelligence.
Intelligent Agent
AI system is composed of an agent and its environment. The agents act in their
environment. The environment may contain other agents.
Agent Terminology
Rationality
Rationality is nothing but status of being reasonable, sensible, and having good
sense of judgment.
Rationality is concerned with expected actions and results depending upon what
the agent has perceived. Performing actions with the aim of obtaining useful
information is an important part of rationality.
An ideal rational agent is the one, which is capable of doing expected actions to
maximize its performance measure, on the basis of −
A rational agent always performs right action, where the right action means the
action that causes the agent to be most successful in the given percept sequence.
The problem the agent solves is characterized by Performance Measure,
Environment, Actuators, and Sensors (PEAS).
Structure of Intelligent
The Structure of Intelligent Agents
They use a model of the world to choose their actions. They maintain an internal
state.
They choose their actions in order to achieve goals. Goal-based approach is more
flexible than reflex agent since the knowledge supporting a decision is explicitly
modeled, thereby allowing for modifications.
There are conflicting goals, out of which only few can be achieved.
Goals have some uncertainty of being achieved and you need to weigh
likelihood of success against the importance of a goal.
Turing Test
Two persons and a machine to be evaluated participate in the test. Out of the two
persons, one plays the role of the tester. Each of them sits in different rooms. The
tester is unaware of who is machine and who is a human. He interrogates the
questions by typing and sending them to both intelligences, to which he receives
typed responses.
This test aims at fooling the tester. If the tester fails to determine machine’s
response from the human response, then the machine is said to be intelligent.
Properties of Environment