A.I. Lecture 3
A.I. Lecture 3
INTELLIGENCE
Lecture 3
Major Fields and Areas of Artificial Intelligence
Applications
EXPERT SYSTEMS
EXPERT SYSTEMS
In artificial intelligence, an expert system is a computer system that
emulates the decision-making ability of a human expert.
Expert systems are designed to solve complex problems by reasoning
through bodies of knowledge, represented mainly as if-then rules rather
than through conventional procedural code.
Expert systems have specific knowledge to one problem domain, e.g.,
medicine, science, engineering, etc. The expert’s knowledge is called a
knowledge base, and it contains accumulated experience that has been
loaded and tested in the system.
Much like other artificial intelligence systems, expert system’s knowledge
may be enhanced with add-ons to the knowledge base, or additions to the
rules.
The more experience entered into the expert system, the more the system
can improve its performance.
CHARACTERISTICS OF
EXPERT SYSTEMS
High performance
Understandable
Reliable
Highly responsive
CAPABILITIES OF EXPERT
SYSTEMS
The expert systems are capable of −
Advising
Instructing and assisting human in decision making
Demonstrating
Deriving a solution
Diagnosing
Explaining
Interpreting input
Predicting results
Justifying the conclusion
Suggesting alternative options to a problem
COMPONENTS OF
EXPERT SYSTEMS
The components of ES include −
Knowledge Base
Inference Engine
User Interface
KNOWLEDGE BASE
It contains domain-specific and high-quality knowledge.
Knowledge is required to exhibit intelligence. The success of any ES majorly depends
upon the collection of highly accurate and precise knowledge.
What is Knowledge?
The data is collection of facts. The information is organized as data and facts about
the task domain. Data, information, and past experience combined together are
termed as knowledge.
Components of Knowledge Base
The user interface makes it easy to trace the credibility of the deductions.
REQUIREMENTS OF EFFICIENT
ES USER INTERFACE
It should help users to accomplish their goals in shortest possible way.
It should be designed to work for user’s existing or desired work practices.
Its technology should be adaptable to user’s requirements; not the other
way round.
It should make efficient use of user input.
BENEFITS OF EXPERT
SYSTEMS
Availability − They are easily available due to mass production of
software.
Less Production Cost − Production cost is reasonable. This makes them
affordable.
Speed − They offer great speed. They reduce the amount of work an
individual puts in.
Less Error Rate − Error rate is low as compared to human errors.
Reducing Risk − They can work in the environment dangerous to
humans.
Steady response − They work steadily without getting motional, tensed
or fatigued.
EXPERT SYSTEMS
LIMITATIONS
No technology can offer easy and complete solution. Large systems are
costly, require significant development time, and computer resources. ESs
have their limitations which include −
Difficult knowledge acquisition
ES are difficult to maintain
High development costs
IMAGE
RECOGNITION
IMAGE RECOGNITION
WHAT IS IMAGE
RECOGNITION?
Image Recognition is the task of identifying objects of interest within an
image and recognizing which category they belong to. Photo recognition
and picture recognition are terms that are used interchangeably.
When we visually see an object or scene, we automatically identify objects
as different instances and associate them with individual definitions.
However, visual recognition is a highly complex task for machines to
perform.
Image recognition using artificial intelligence is a long-standing research
problem in the computer vision field. While different methods evolved over
time, the common goal of image recognition is the classification of
detected objects into different categories. Therefore, it is also called object
recognition.
Example of image recognition to identify multiple objects in video. We used
the object detector YOLOv3 algorithm.
MEANING AND DEFINITION
OF IMAGE RECOGNITION
In the area of Computer Vision, terms such as Segmentation, Classification,
Recognition, and Detection are often used interchangeably, and the
different tasks overlap. While this is mostly unproblematic, things get
confusing if your workflow requires you to specifically perform a particular
task.
IMAGE RECOGNITION VS.
COMPUTER VISION
The terms image recognition and computer vision are often used
interchangeably but are actually different. In fact, image recognition is an
application of computer vision that includes a set of tasks, including
object detection, image identification, and image classification.
An application of object detection for mask detection
HOW DOES IMAGE
RECOGNITION WORK?
Using traditional Computer Vision
The conventional computer vision approach of image recognition is a
sequence of image filtering, segmentation, feature extraction, and rule-
based classification.
However, the traditional computer vision approach requires a high level of
expertise, a lot of engineering time and contains many parameters that
need to be manually determined, while the portability to other tasks is
pretty limited.
WHAT IS IMAGE
RECOGNITION USED FOR?
Face Analysis and identification
Face analysis is a prominent image recognition application. Modern ML
methods allow using the video feed of any digital camera or webcam. In
such applications, image recognition software employs AI algorithms for
simultaneous face detection, face pose estimation, face alignment, gender
recognition, smile detection, age estimation, and face recognition using a
deep convolutional neural network.
The facial analysis with computer vision allows systems to recognize
identity, intentions, emotional and health states, age, or ethnicity. Some
photo recognition tools even aim to quantify levels of perceived
attractiveness with a score
Example of face analysis with image recognition, using the DeepFace
software library.
MEDICAL IMAGE
ANALYSIS
Visual recognition technology is widely used in the medical industry to
make computers understand images that are routinely acquired throughout
the course of treatment. Medical image analysis is becoming a highly
profitable subset of artificial intelligence. For example, there are multiple
works regarding the identification of melanoma, a deadly skin cancer. Deep
learning image recognition software allows tumor monitoring across time,
for example, to detect abnormalities in breast cancer scans.
Read more about applications of image recognition in Healthcare.
ANIMAL MONITORING
Agricultural visual AI systems use novel techniques that have been trained
to detect the type of animal and its actions. AI image recognition software
is used for animal monitoring in farming, where livestock can be monitored
remotely for disease detection, anomaly detection, compliance with animal
welfare guidelines, industrial automation, and more.
Image Recognition technology used for animal monitoring
PATTERN AND OBJECTS
DETECTION
AI photo recognition and video recognition technologies are useful for
identifying people, patterns, logos, objects, places, colors, and shapes. The
customizability of image recognition allows it to be used in conjunction with
multiple software programs. For example, after an image recognition
program is specialized to detect people, it can be used for people counting,
a popular computer vision application in retail stores.
Image Recognition application to detect dangerous objects automatically
AUTOMATED PLANT
IMAGE IDENTIFICATION
Image-based plant identification has seen rapid development and is
already used in research and nature management. A
research paper from July 2021 analyzed the identification accuracy of
image identification to determine plant family, growth forms, lifeforms, and
regional frequency. The tool performs image search recognition using the
photo of a plant with image matching software to query the results against
an online database.
Results indicate high recognition accuracy, where 79.6% of the 542 species
in about 1500 photos were correctly identified, while the plant family was
correctly identified for 95% of the species.
FOOD IMAGE
RECOGNITION
Deep learning image recognition of different types of food is applied for
computer-aided dietary assessment. Computer vision systems were
developed to improve the accuracy of current measurements of dietary
intake by analyzing the food images captured by mobile devices. An image
recognizer app is used to perform online pattern recognition in images that
are uploaded by students.
IMAGE SEARCH
RECOGNITION
Image search recognition uses visual features learned from a deep neural
network to develop efficient and scalable methods for image retrieval. The
goal is to perform content-based retrieval of images for image recognition
online applications. Researchers have developed a
large-scale visual dictionary from a training set of neural network features
to solve this challenging problem.
NATURAL
LANGUAGE
PROCESSING
(NLP)
NLP
Natural Language Processing (NLP) refers to AI method of communicating
with an intelligent systems using a natural language such as English.
Processing of Natural Language is required when you want an intelligent
system like robot to perform as per your instructions, when you want to
hear decision from a dialogue based clinical expert system, etc.
The field of NLP involves making computers to perform useful tasks with
the natural languages humans use. The input and output of an NLP system
can be −
Speech
Written Text
COMPONENTS OF NLP
There are two components of NLP as given −
Natural Language Understanding (NLU)
Natural Language Generation (NLG)
COMPONENTS OF NLP
There are two components of NLP as given −
Natural Language Understanding (NLU)
Understanding involves the following tasks −
Mapping the given input in natural language into useful
representations.
Analyzing different aspects of the language.
COMPONENTS OF NLP
Natural Language Generation (NLG)
It is the process of producing meaningful phrases and sentences in the
form of natural language from some internal representation.
It involves −
Text planning − It includes retrieving the relevant content from
knowledge base.
Sentence planning − It includes choosing required words, forming
meaningful phrases, setting tone of the sentence.
Text Realization − It is mapping sentence plan into sentence structure.