1 Introduction To AI 15-07-2024
1 Introduction To AI 15-07-2024
Intelligence
Dr. K. Ganesan
Professor Higher Academic Grade,
School of Computer Science
Engineering and Information Systems,
VIT University, Vellore – 632 014
[email protected]
Ph : 6382203768
• Why one should learn AI?
• It is Disruptive for Software Development and many
low handing fruit kind of jobs
– Web Site Design (E-commerce sites) - Figma
– Software Testing (unit, Integration)
– Mobile Application (for all platforms) - ChatGPT
– Auto Code Generation (Programmer) - CodeGeeX
– Debugging (Error handling) – Github Copilot
– Documentation (Manual preparation) - Codeguim
– UI / UX design (front end)
– Logo creation (Branding) - BrandCrowd
– Audio and Video Editing – CreatorKit
– Remove unwanted objects in video - Runway
– Social Media Posting (Marketing) – Gravity Write
– Content Creation (Advertising)
– Maintenance ( Providing solutions – chatbot)
– Reception (FAQ)
– Animation Creation (Education) – Neural Frames
– Image Editing (Photographer) – Adobe Firefly
– Summarize You Tube Video – VidRapid
– Improving image quality – replicate
– Converting Text into Video – Lumen5
– Music Track Generator – Mubert
– Movie Creation
– Changing Voice – Dubbing (voice.ai)
• What is Artificial Intelligence and Why It Matters in 2024?
• AI can introduce new sources of growth and change the
way work is done across industries.
• AI could contribute $15.7 trillion to global economy by 2035.
• China & US are accounting for nearly 70% of global impact
• What Is Artificial Intelligence?
• Learning, reasoning, problem solving, perception,
language comprehension are examples of cognitive
abilities
• Artificial Intelligence is a method of making a computer, a
computer-controlled robot, or a software think intelligently
like the human mind.
• AI is accomplished by studying the patterns of the human
brain and by analyzing the cognitive process.
• Outcome of these studies leads to intelligent software & system
Kinds of AI
Weak AI (Narrow AI)
Weak AI refers to AI systems that are designed
to perform specific tasks and are limited to
those tasks only.
These AI systems excel at their designated
functions but lack general intelligence.
Examples of weak AI include voice assistants
like Siri or Alexa, recommendation algorithms,
and image recognition systems.
Weak AI operates within predefined
boundaries and cannot generalize beyond
their specialized domain.
Strong AI (General AI)
It refers to AI systems that possess human-level
intelligence or even surpass human intelligence
across a wide range of tasks.
Strong AI would be capable of understanding,
reasoning, learning, and applying knowledge to
solve complex problems in a manner similar to
human cognition.
However strong AI is still largely theoretical and not
achieved to date.
Strong AI will be able to evaluate a scenario and
choose an appropriate action, even if it deviates
• Types of Artificial Intelligence
1. Purely Reactive - These machines do not have any memory or
data, specializing in just one field of work.
For example, in a chess game, the machine observes the moves
and makes the best possible decision to win.
2. Limited Memory - These machines collect previous data and
continue adding it to their memory.
They have enough memory or experience to make proper
decisions, but memory is minimal.
For e,g, machine can suggest a restaurant based on location.
3. Theory of Mind - This AI can understand thoughts and
emotions and interact socially – This machine is yet to be built.
4. Self-Aware - Self-aware machines are future generation ones
using new technologies.
They will be intelligent, sentient, and conscious.
For e.g, “I’m hungry” becomes “I want to eat dosa because it’s my
favorite food.”
• Deep Learning vs. Machine Learning
• Machine Learning: ML develops algorithms and models for
computers to learn from data & make predictions /
decisions without programming.
• Key characteristics of machine learning: Feature Engineering:
• In ML, experts manually select relevant features from input
data to aid the algorithm in making accurate predictions.
• Supervised and Unsupervised Learning:
• ML algorithms are categorized into supervised learning,
where models learn from labeled data with known
outcomes, and unsupervised learning, where algorithms
discover patterns & structures in unlabeled data.
• Broad Applicability: ML techniques find application across
various domains, including image and speech recognition,
natural language processing & recommendation systems.
• Deep Learning:
• It is a subset of ML that focuses on training artificial neural
networks inspired by human brain's structure & functions.
• Key characteristics of deep learning:
• Automatic Feature Extraction:
• Deep learning algorithms automatically extract relevant
features from raw data, without using feature engineering.
• Deep Neural Networks:
• Deep learning employs neural networks with multiple layers
of interconnected nodes (neurons), enabling learning of
complex hierarchical representations of data.
• High Performance: Deep learning are widely used in domains
such as computer vision, natural language processing, and
speech recognition (shows better results than ML).
• How Does Artificial Intelligence Work?
• AI systems merge large data with intelligent, iterative
processing algorithms. This allows AI to learn from patterns
and features in the analyzed data.
• Each time an Artificial Intelligence system, tests and
measures its performance and uses results to develop
additional expertise (feedback)
• AI emphasizes three cognitive skills of learning, reasoning,
and self-correction, skills that the human brain possess.
• Three cognitive skills of learning are:
• Memory: Ability to store, retain, and recall information is
crucial for learning. Includes short-term & long-term memory
• Attention: Focusing on relevant information while filtering
out distractions is needed for effective learning - Attention
is needed for processing & understanding new information.
• Problem-Solving:
• Capacity to analyze situations, identify problems,
and develop solutions is a key cognitive skill.
• Problem-solving involves critical thinking, logical
reasoning, and creativity.
• We define these in the context of AI as:
• Learning: The acquisition of information and the
rules needed to use that information.
• Reasoning: Using the information rules to reach
definite or approximate conclusions.
• Self-Correction: The process of continually fine-
tuning AI algorithms and ensure that they offer
accurate results.
• Applications of AI Natural Language Processing (NLP)
• It is used to analyze and understand human language.
• It powers speech recognition, machine translation,
sentiment analysis, virtual assistants (Siri, Alexa).
• Image and Video Analysis
• Computer vision, enable analysis and interpretation of
images and videos.
• It is used in facial recognition, object detection & tracking,
content moderation, medical imaging, autonomous
vehicles.
• Robotics and Automation
• Robots equipped with AI can perform complex tasks in
manufacturing, healthcare, logistics, and exploration.
• They can adapt to changing environments, learn from
experience, and collaborate with humans.
• Recommendation Systems
• These are used in e-commerce, streaming platforms (Netflix),
and social media to personalize user experiences.
• They analyze user preferences, behavior, and historical data to
suggest relevant products, movie, music & content
• Financial Services
• AI is used in the finance industry for fraud detection,
algorithmic trading, credit scoring, and risk assessment.
• ML models can analyze vast amounts of financial data to identify
patterns and make predictions.
• Healthcare
• AI applications in healthcare include disease diagnosis, medical
imaging analysis, drug discovery, personalized medicine, and
patient monitoring.
• AI can assist in identifying patterns in medical data and
provide insights for better diagnosis and treatment.
• Virtual Assistants and Chatbots
• AI-powered virtual assistants and chatbots interact with users,
understand their queries, and provide relevant inf.
• They are used in customer support, information retrieval,
and personalized assistance (based on FAQ)
• Gaming - AI is used for creating virtual characters,
opponent behavior, intelligent decision-making and can
optimize game graphics, simulations, and game testing.
• Smart Homes and IoT
• AI can automate tasks, control devices, learn user
preferences (controlling A/C,fan based on sleeping pattern)
• Cybersecurity
• AI helps in detecting and preventing cyber threats by
analyzing network traffic, identifying anomalies, and
predicting potential attacks.
• AI Examples
• ChatGPT – It is an advanced language model, capable of
generating human-like responses and engaging in natural
language conversations and can understand and generate
coherent text for customer support, chatbots, virtual assistants.
• Google Maps - Provide real-time navigation, traffic updates, and
personalized recommendations (3D view, EV charging stations)
• It analyzes vast amounts of data, including historical traffic
patterns and user input, to suggest the fastest routes, estimate
arrival times, and even predict traffic congestion.
• Smart assistants – SAs like Amazon's Alexa, Apple's Siri,
Google Assistant employ AI to interpret voice commands,
answer questions, and perform tasks.
• These assistants use natural language processing and ML
algorithms to understand user intent, retrieve relevant
information, and carry out requested actions.
• Snapchat Filters
• Snapchat's augmented reality filters incorporate AI to
recognize facial features, track movements, and overlay
interactive effects on users' faces in real-time.
• Self-Driving Cars
• Self-driving cars use AI for perception, decision-making,
and control. Using many sensors, cameras, and ML
algorithms, these vehicles can detect objects, interpret
traffic signs, navigate complex road conditions
autonomously, enhancing safety and efficiency on roads.
• Wearables (Wellness)
• These devices such as fitness trackers and smart watches,
utilize AI to monitor and analyze users' health data.
• They track activities, heart rate, sleep patterns, and more,
providing personalized insights and recommendations to
improve overall well-being.
• Artificial Intelligence in Social Media
• Instagram – Here AI considers our likes and the accounts we
follow to determine what posts to show on our explore tab
• Facebook AI is used with a tool called DeepText.
• Facebook understand conversations better.
• It can be used to translate posts from many languages
automatically
• Twitter AI is used by Twitter for fraud detection, for removing
propaganda, and hateful content.
• Twitter uses AI to recommend tweets that users might enjoy,
based on what type of tweets they engage with.
• Artificial Intelligence in Marketing
• Using AI, marketers can deliver targeted and personalized ads
with the help of behavioral analysis.
• It helps with retargeting audiences at right time to ensure
better results & reduced feelings of distrust & annoyance.
• AI can help with content marketing in a way that matches
the brand's style and voice.
• It can be used to handle routine tasks like performance,
campaign reports, etc.
• Chatbots can analyze the user's language and respond in
the ways humans do.
• AI can provide users with real-time personalizations based
on their behavior and can be used to edit and optimize
marketing campaigns to fit a local market's needs.
• AI in Astronomy
• Given the huge amount of data, researchers created a system
that trained itself to locate merging galaxies.
• Night sky every night, gathers over 80 TB of data.
• One can study how stars and galaxies in cosmos change
over time.
• Using AI's time-series analysis, one can analyze data as and
identify planetary signals with up to 96% accuracy.
• AI in Travel and Transport
• Heavy Goods Transportation
• Truck platooning, which networks HGV (heavy goods vehicles),
for example, might be extremely valuable for vehicle transport
businesses or for moving other large items.
• The lead vehicle in a truck platoon is steered by a driver.
• As all of the trucks in the platoon are linked via a network, one
can activate the actions done by human driver.
• So, if the lead driver comes to a complete stop, all of the
vehicles following him do as well.
• Traffic Management
• Alibaba's City Brain in China uses AI such as predictive
analysis, big data analysis, and a visual search engine to
track road networks in real-time to reduce congestion.
• Ride-Sharing
• Uber and OLA use AI to improve user experiences by connecting
riders and drivers, improving user communication, messaging,
optimizing decision-making.
• For example, Uber uses a platform called Michelangelo that can
anticipate supply and demand, identify trip abnormalities like
wrecks, estimate arrival timings.
• Route Planning
• AI-enabled route planning is an approach for businesses, particularly
logistics and shipping industries, to construct a more efficient supply
network by anticipating road conditions and optimizing vehicle
routes.
• Predictive analytics in route planning uses many road usage
parameters such as congestion level, road restrictions, traffic
patterns, consumer preferences, and so on.
• Logistics companies use this to reduce delivery costs, accelerate
delivery times, manage assets & operations.
• AI in Automotive Industry
• Manufacturing
• Used in smarter factories, boosting productivity & lowering
costs.
• AI may be utilized in supply chain optimization, employing
robots on manufacturing floor, improving performance
using sensors, designing cars & post-production activities.
• Supply Chain
• AI helps firms identify the hurdles by forecasting and
replenishing supply chains as needed.
• AI may assist with routing difficulties, volume forecasts, …
• Passenger and Driver Experience
• AI may assist drivers in remaining focused by decreasing
distractions, analyzing driving behaviors.
• Passengers can benefit from customized accessibility as
well as in-car delivery services (JioMotive)
• Inspections
• Inspecting an automobile is subjective and manual. With AI, we
can identify where flaws are, and produce a status report.
• Quality Control People prefer premium vehicle and
experience. They want to predict in advance about the vehicle
failure (tires, oil, filter, clutch plate, break pedal changes)
• AI enables accurate predictive monitoring, fracture
detection, and other functions.
• Applications of Artificial Intelligence in Agriculture
• Identify defects and nutrient deficiencies in the soil using
computer vision, robotics, and machine learning applications,
• AI can analyze where weeds are growing.
• AI bots can help to harvest crops at a higher volume and
faster pace than human laborers.
• Artificial Intelligence in Education
• Administrative Tasks Automated to Aid Educators
• AI can do non-educational tasks like sending automated
personalized messages to students, back-office tasks like
grading paperwork, arranging for parent / guardian
interactions, feedback collection, managing enrollment,
course allotment, timetable , etc.
• Creating Smart Content
• Digitization of content like video lectures, conferences, and
textbook guides can be made using Artificial Intelligence.
• We can apply different interfaces like animations and
learning content through customization for students from
different grades.
• AI can create a rich learning experience by generating and
providing audio and video summaries & lesson plans.
• Voice Assistants
• Without even the direct involvement of a teacher, a student
can access extra learning material via Voice Assistants.
• Through this, printing costs of temporary handbooks and
provide answers to very common questions easily.
• Personalized Learning
• Hyper-personalization techniques can be used to monitor
students’ data thoroughly, and habits, lesson plans,
reminders, study guides, flash notes, frequency or
revision, etc., can be easily generated.
• AI in HR
AI helps with blind hiring - we can examine applications
based on specific parameters. AI can scan candidates'
profiles, and resumes to provide recruiters an
understanding of the talent pool of the candidate.
Definition - Intelligence
• Intelligence is always a controversial topic.
• Are ants intelligent? Ant colonies / rats
intelligent?
• May be, rats are more intelligent than ants.
• Humans are more intelligent than ants and
rats.
• Many adults speak, write and play chess –
activities no animal can perform.
• Playing chess is not considered as intelligent
but if a one year old child does, it is super-
intelligent.
• If a dog does it, we call it a genius.
• Intelligence is related to our expectations.
Some definitions of AI
• Ability to carry on abstract thinking(L.M.
Terman);
• Having learned or ability to learn to adjust
oneself to the environment (S.S. Colvin);
• Ability to adapt to new situations in life(R.
Pintner);
• A biological mechanism in which effects of
complex stimuli are brought together and given
a unified effect in behavior (J. Perterson);
• The capacity to acquire capacity (H. Woodrow);
• Capacity to learn by experience (W.F.
Dearborn).
• Some mention the environment, some don’t.
Commonsense notations
• The ability to think is mentioned as an essential
characteristic of intelligence.
• Thinking in commonsense, includes problem
solving and logical reasoning but also less mental
activities such as those we use in our everyday lives.
• To measure intelligence conduct an experiment to
see whether something is thinking or not.
• For e.g, we can give a horse an arithmetic problem
in some form and if it comes up with right answer,
say by knocking the ground with correct number
of times, we may say that it is thinking.
Learning and Memory
• Problem solving is closely related to thinking.
• Problem solving tasks Finding a bug in a
computer program, diagnosing the disease of a
patient, finding a solution to a physics problem,
designing an experiment with animals to test a
hypothesis.
• Good students are usually perceived as the ones who
learn easily.
• We say that they have a good memory.
• They study the words once and they know them
and they do not forget them.
• Many people view learning as the core property of
intelligence.
• Learning to learn appears to be the key point.
Language
• The capacity to communicate in natural language,
is considered to be the hallmark of intelligence.
• Natural language requires a high level of
intelligence.
• The ability to talk to one another, to read and write,
is one of the human’s distinguishing features.
(soft skills insist this).
• Those who speak multiple languages are regarded
as intelligent.
• Their ability is the combination of good learning,
memory capacity and talent for languages.
Intuition and Creativity
• Einstein, Beethoven and Picasso were creative.
• They had a lot of intuition.
• Leaders and managers have intuition.
• It means arriving at conclusions without a train of
logical thought that can be traced to its origins.
• Creativity not only includes individual but also the
society as a whole.
• It cannot be defined for an individual in isolation
but must be discussed with respect to a particular
society’s value criteria.
• Many regard creativity as the highest form of
human intelligence.
Emotions
• Humans have emotions.
• Most people think that higher mammals such as
apes, dolphins, dogs, and cats have emotions.
• People now talk about emotional intelligence.
• It refers to the ability to recognize emotions and
using emotions to support thinking and actions.
• Humans are jealous; they can be ashamed or feel
guilty.
• A lion is not guilt when it killed an animal whereas
a human is likely emotional when he kills another
human.
AI and Computer Science
• AI is the study of computations that make it
possible to perceive, reason and act.
• AI differs from psychology because of the
emphasis on computation.
• AI differs from computer science because of
emphasis on perception, reasoning & action
• AI can be viewed as part engineering and part
science.
• The engineering goal of AI is to solve real-
world problems to represent knowledge,
using knowledge and assembling systems.
Turing test approach
• Turing test (1950) was designed to define intelligence.
• Here, interrogator asks a test subject a series of
questions. Each party is in a separate area (no physical
contact)
• Responses given by test subject are evaluated to see
whether answers were given by a human / not.
• Computer passes the test if a human interrogator, cannot
tell whether written responses come from a person or not.