Module 11
Module 11
3.Describe virtual personal assistants and their benefits and describe the use of chatbots as advisors
Recommended Reading
Big Data: What it is and why it matters. SAS.
https://www.sas.com/en_sa/insights/big-data/what-is-big-data.html
Recommended Video
The future of cloud data analytics (2020, Oct 8). [Video]. YouTube
https://www.youtube.com/watch?v=1mQ8VtxIAjk
Week 11
Chapter 12:Knowledge Systems: Expert
Systems, Recommenders, Chatbots, Virtual
Personal Assistants, and Robo Advisors
12.2 Expert Systems and Recommenders
• Basic Concepts of Expert Systems (ES)
• Limitations of ES
• New generation of ES
• Recommendation Systems
Basic Concepts of Expert
Systems (ES)
• A category of autonomous decision systems (the earliest applications of AI).
• Started in 1960s by research institutions (e.g., Stanford University, IBM) and was adopted
commercially in 1980s.
• Expert Systems - is a computer-based system that emulates decision making and/or problem
solving of human experts. These decisions and problems are in complex areas (e.g., diagnosing a
problems)
• ES objective is to transfer the expertise from experts to a machine to enable nonexperts to
make decisions and solve problems that usually require expertise.
• Focus on decisions and problems in narrowly defined domains that require expertise to solve
E.g. making small loans, providing tax advice, analyzing reasons for machine failure
•Expertise is often acquired through training, learning, and experience in practice. This
includes:
explicit knowledge: such as theories learned from a textbook or a classroom
implicit knowledge: gained from experience.
•It is usually associated with a high degree of intelligence, but it is not always as-
sociated with the smartest person.
•It is based on knowledge that is well stored, organized, and quickly retrievable
•from an expert who has excellent recall of patterns from previous experiences.
Characteristics and
Benefits of ES
Benefits of Expert Systems (ES)
•Perform routine tasks (e.g., diagnosis, candidate screening, credit analysis) that require expertise
much faster than humans.
•Reduce the cost of operations.
•Improve consistency and quality of work (e.g., reduce human errors).
•Speed up decision making and make consistent decisions.
•May motivate employees to increase productivity.
•Preserve scarce expertise of retiring employees.
•Help transfer and reuse knowledge.
•Reduce employee training cost by using self-training.
•Solve complex problems without experts and solve them faster.
•See things that even experts sometimes miss.
•Combine expertise of several experts.
•Centralize decision making (e.g., by using the “cloud”).
•Facilitate knowledge sharing.
Characteristics and
Benefits of ES
Typical Areas for ES Applications
•Finance (investments, credit, and financial reports, …).
•Data processing (planning, equipment selection, equipment maintenance,…).
•Marketing (customer relationship management, market research and analysis,
…).
•Human resources (planning, performance evaluation, staff scheduling, ...).
•Manufacturing (e.g., production planning, complex product configuration, …).
•Homeland security (e.g., terrorist threat assessment).
•Business process automation (desk automation, call center management, …).
•Healthcare management.
•Regulatory and compliance requirements.
•Web site design.
Structure and Process
of ES
• Development Environment
ES developer loads the knowledge-base with
appropriate representation of expert knowledge.
• Consultation Environment
Used by nonexpert to obtain advice and solve
problems using the expert knowledge embedded
into the system
Major Components of ES
• Knowledge acquisition
• Knowledge Base (a.k.a repository)
• Knowledge representation
• Inference Engine
• User Interface General Architecture of Expert Systems
• Explanation subsystem and knowledge-refining
system.
Limitations of ES
Classical type of ES is disappearing despite benefits, because:
1.knowledge acquisition from human experts very expensive
2.Acquired knowledge needed to be updated frequently at a high cost.
3.The rule-based foundation are not robust and not too reliable or flexible
and could have too many exceptions to the rules.
4.The rule-based user-interface needed to be supplemented (e.g., by voice
communication, image maps). This could make ES too cumbersome.
5.The reasoning capability of rule-based technology is limited compared to
use of newer mechanisms such as those used in machine learning.
New generation of ES based on machine learning algorithms and
other AI technologies are deployed to create better system
New generation
of ES
Three major AI types of applications:
• Chatbots.
• Virtual personal assistants.
• Robo advisors.
• Considers what shoppers with similar profiles bought • The vendor recommends to customers products with similar
and how they rated their purchases. attributes (Knowing product preferences).
• Uses AI algorithms to predict the preference of both old • E.g., the system may recommend a text-mining book to a
and new customers. Then, the computer program makes customer who has shown interest in data mining, or action
a recommendation. movies after a consumer has rented one in this category.
• Several other filtering methods exist (e.g., rule-based filtering and activity-based
filtering).
12.3 CONCEPTS, DRIVERS, AND BENEFITS OF
CHATBOTS
Chatbots
• The world is now infested with chatbots – 60% of millennials have already used them
(Knight, 2017).
• Chatbot - A computerized service that enables easy conversations between humans and
humanlike computerized (robots, image characters, or sometimes over the Internet) in
writing, voice or images. Conversations frequently involve short questions and answers
and are executed in a natural language.
• Used primarily for information search, communication and collaboration, and rendering
advice in limited, specific domains.
Chatbot Evolution
Chatbots originated decades ago.
Eliza first Q&A chatbot, it is simple ES that enabled machines to answer questions posted by users.
Since 2000, more and more capable AI machines for Q&A dialogs have been developed.
Around 2010, conversational AI machines were named chatbots and later were developed into virtual
personal assistants, championed by Amazon’s Alexa.
Chatbots
• Chatbots contain a knowledge-base (e.g., rule- based) and a natural
language understanding capability, in order to converse with a human.
Knowledge bases are updated today in the “cloud” in a central location.
The stored knowledge is matched with questions asked by users.
• To understand unstructured dialog intelligent chatbots are equipped
with NLPs.
Advanced chatbots can also understand human gestures, cues, and voice variations.
• Chatbots are particularly well suited for mobile-perhaps more so than apps. Messaging is
at the heart of the mobile experience, as the rapid adoption of chat app demonstrates’’
• … more on the book.
Examples of Enterprise
Chatbots
Marketing and customer experience:
• Very useful in providing marketing and customer services (e.g., obtaining sales leads,
persuading customers to buy products and services, providing critical information to potential
buyers, optimizing advertising campaigns).
• Using voice and texting can provide personalization as well as superb customer experience.
• Can enable vendors to improve personal relationships with customers and run marketing
campaigns.
• E.g., LinkedIn is introducing chatbots that conduct tasks such as comparing the calendars of
people participating in meetings and suggesting meeting times and places.
Financial Services
• Banking Chatbots can use predictive analytics and cognitive messaging to perform tasks such
as making payments, inform customers about personalized deals.
• Banks’ credit cards can be advertised via chatbots on Facebook Messenger.
• E.g., Citi Bank Chatbot it can answer FAQs about people’s accounts in a natural language.
Service Industries
Healthcare
Robot receptionists direct patients to departments in hospitals.
Several chatbots are chatty companions for people who are elderly and sick.
Chatbots are used in telemedicine; patients converse with doctors and healthcare professionals who
are in different locations.
Chatbots can connect patients quickly and easily with information they need.
Education
Chatbot tutors are used in several countries to teach subjects ranging from English to mathematics.
The chatbot treats all students equally.
Machine translation of languages will enable students to take online classes in languages other than
their own.
chatbots can be used as private tutors.
Government
Chatbots are spreading in government as a new dialog tool for use by the public (Lacheca, 2017).
E.g., providing access to government information and answering government-related questions.
Travel and Hospitality
Chatbots are working as tour guides in several countries (e.g., Norway).
They act as concierges, providing information and personalized recommendations (e.g., about
restaurants), arrange reservations for hotel rooms, meals, and events.
Chatbots Inside
Enterprises
• Companies lately have started to use chatbots to automate tasks for supporting internal
communication, collaboration, and business processes.
Benefit (Newlands (2017a):
Chatbots can support decision-making activities.
cut costs
increase productivity
assist working groups
foster relationships with business partners.
Representative examples of chatbot tasks are inside enterprises:
Help with project management, Handle data entry, Conduct scheduling, Streamline payments with
partners, Advise on authorization of funds, Monitor work and workers, Analyze internal Big Data, Find
discounted and less expensive products. Simplify interactions, Facilitate data-driven strategy, Use
machine learning, Facilitate and manage personal finance.
• Most marketing and customer care bots require proprietary knowledge, which is usually
generated and maintained in-house. This knowledge is similar to that of ES.
• Chatbots that are used within the enterprise (e.g., to train employees) may not be
company specific.
A company can buy the knowledge and modify it to fit local situations and its specific needs (as
is done in ES)
Newer chatbots use machine learning to extract knowledge from data.
Virtual Personal
Assistants (VPA)
• An emerging type of chatbot is designed as a virtual personal assistant for both individuals
and organizations.
• Major objective is to help people improve their work, assist in decision making, and facilitate
their lifestyle.
Examples of such assistants are, Apple’s Siri, Google’s Assistant, and Microsoft Cortana.
A well-known VPA is Amazon’s Alexa that is accessed via a smart speaker called Echo (or other smart
speakers).
• Assistant for Information Search help users conduct a search by voice for information.
In business situations delegating the search to a machine may save sellers considerable money and make
customers happy by not having to wait for the service.
Robo Advisors 2.0: several of the fully automated advisors started to add a
human option
(a.k.a the human touch)
• Quality of advice provided by robo advisors depends on their knowledge, the
type of investments involved, the inference engine of the AI machine.
Chatbots as Professional Advisors
(Robo Advisors)
Other Professional Advisors
•Computer operations: To cut costs, major computer vendors (hardware and soft-
ware) try to provide users with self-guides to solve encountered problems.
• Travel: Several companies provide advice on planning future national and
international trips.
• Medical and health advisors: A large number of health and medical care advisors
operate in many countries.
•E.g, Health Tap acts like a medical doctor by providing a solution to common symptoms provided by
patients.
•Florence is a personal nurse available on Facebook Messenger.
• Shopping advisors: act as shopping advisors
•E.g., shopadvisor.com/our-platform, a comprehensive platform that includes three components:
Product intelligence, Context intelligence, Shopper intelligence to help companies attract customers.
• IBM Watson: probably the most knowledgeable virtual advisor.
12.7 Implementation Issues
• Disadvantages and Limitations of Bots
• Quality of Chatbots
• Constructing Bots
Disadvantages and Limitations of
Bots
Technology issues
•Virtual personal assistants have imperfect voice recognition.
No good feedback system yet for voice recognition systems to
understands the users.
Voice recognition systems may not know when to do a current task
and need to ask for human intervention.
Week self-review
exercises
Application case 12.1 – 12.7 from “Analytics, Data Science, & Artificial Intelligence: Systems for
Decision Support”.