SlideShare une entreprise Scribd logo
1  sur  12
Privacy Preserving Chatbot Conversations
Debmalya Biswas
Privacy Preserving Machine Learning (PPML) Workshop
at NeurIPS 2020, Dec 11th, 2020
Background
2
Chatbots
Given a user query in natural language, a bot
workflow proceeds as follows:
1. Understand the user’s intent;
2. Retrieve the relevant content from its
Knowledge base (KB);
3. Synthesize the answer and respond to the
user (again, in natural language);
4. Retain the conversation context to answer any
follow-up questions by the user.
Privacy Risks
3
Sentiment analysis in an e-commerce setting
Sentiment analysis allows the chatbot to
determine the user’s (current) sentiment based
on his chat responses, such that the bot is able to
adapt it’s response based on the user’s
sentiment.
With dynamic pricing in an e-commerce setting,
the bot can quote a higher price based on a very
“enthusiastic” query by a user.
For example,
“Wow, this dress looks amazing!
What is its price?”
might lead to a higher price quote
than a more neutral query:
“This dress fits my requirements.
What is its price?”
Privacy Risks (2)
4
Open ended queries (location based)
Most chatbots are usually designed/deployed for
specific regions.
• For example, an HR Info bot might be designed
for the locations where the company has
offices.
• similarly an e-commerce bot would also be
deployed in only those countries where the
vendor currently ships their products.
“Hi, I am currently in Geneva.
What are the shipping charges
for Geneva?”
unnecessarily reveals the user’s
location given that the vendor
does not deliver in Switzerland.
Frequent employee
queries of the form:
“Where is the restaurant in our
Milan office?”
might reveal to the chatbot
vendor that company
employees have recently
been traveling a lot to the
Milan office.
State-of-the-Art
5
Enterprise Chatbots
Enterprise bots today (e.g. the ones based on IBM
Watson Assistant, AWS Lex, Microsoft LUIS, Google
Dialogflow) first need to be trained by providing a set of
questions, question variations, and their corresponding
answers.
• The questions can be grouped into ‘intents’.
• Question variations, referred to as ‘utterances’ in bot
terminology, refer to sample variations in which the same
question can be posed by end-users.
• Most bot engines perform intent matching and sentiment
analysis using a mix of statistical (e.g. tf-idf, Bag-of-Words)
and Deep Learning (e.g. BERT) techniques.
Entities
6
Chatbot Entities
Together with ‘intents’ and ‘utterances’,
an essential part in customizing
chatbots is to provide ‘entities’.
Entities refer to the domain specific
vocabulary,
• e.g. they can refer to the office
locations, in the context of a HR Bot;
• and can be used to customize the
chatbot responses according to user
(query) location.
Google Dialogflow entity addition form
Entity based Privacy Preservation
7
Privacy Preserving Chat Module (PPCM)
The entities based approach is applied on the client/app side by a module referred to as the
Privacy Preserving Chat Module (PPCM).
The PPCM design is dependent on
• knowledge of the original chatbot content and
• the underlying NLP techniques used by the chatbot platform.
User
Content
Catalog
(Articles,
Images
Videos)
User chat (query):
“Wow, this dress
looks amazing! What
is its price?”
NaturalLanguage
Processing(NLP)Engine
Privacy preserving
message: “This dress
fits my requirements.
What is its price?”
- User emotion
classified as ‘neutral’ by
the NLP Classification
algorithm.
Chatbot response
ChatbotPlatform
Privacy
preserving Chat
Module (PPCM)
Dialog
flow
Entities
list
NLP
algorithms
Entities
list
NLP
algorithms
ChatClient
Entity based Privacy Preservation (2)
8
Privacy Filtering & Transformation
PPCM applies a mix of privacy preserving techniques
based on Filtering / Transformation to protect user chat
privacy.
• Filtering: For the user query: “Where is the restaurant in our
Milan office?”, PPCM uses the same text extraction
techniques to infer that ‘Milan’ is a value of entity type
‘Location’. This is followed by filtering/deleting the query as
the location is not supported in this case.
• Transformation: To counteract the pricing disadvantage in
the e-com scenario, the PPCM adapts the original user query
to a more “neutral” response with the same semantics.
Employee query:
“Where is the restaurant in our
Milan office?”
Transformation in the form of
abstraction can also be
applied, such that the
‘Location’ entity: ‘Milan’ is
abstracted to
‘somewhere in Europe’
Searchable Encryption based Privacy Preservation
9
Searchable Encryption
We propose a Searchable Encryption based scheme
that is able to preserve user chat privacy, without
requiring any knowledge of the chatbot design and
NLP engine algorithms.
• Searchable Encryption (SE) is a technique to
protect sensitive data, while preserving the
ability to search on the server side (cloud).
• SE allows the server to search encrypted data
without leaking information in plaintext data.
Searchable Encryption based Privacy Preservation (2)
10
Distributed PPCM
The PPCM is distributed in this case, as such we refer to the Client and Server (Cloud) side
components of the PPCM as PPCMC and PPCMS, respectively.
Conclusion
11
We outlined two approaches to perform privacy preserving
conversations based on (chat) entities:
which approach to apply depends on the transparency of the chatbot
design and implementation architecture (client/app side only vs.
distributed deployment).
We hope that the proposed approaches will lead to increased
enterprise adoption of chatbots, by addressing the growing issue of
privacy risks in chatbots.
12
Thanks for your attention
For further details, refer to the paper:
(ResearchGate) (Medium)
Contact: Debmalya Biswas (LinkedIn)

Contenu connexe

Tendances

Data Mining And Visualization of Large Databases
Data Mining And Visualization of Large DatabasesData Mining And Visualization of Large Databases
Data Mining And Visualization of Large DatabasesCSCJournals
 
IRJET- Recruitment Chatbot
IRJET- Recruitment ChatbotIRJET- Recruitment Chatbot
IRJET- Recruitment ChatbotIRJET Journal
 
Bots & conversational AI
Bots & conversational AIBots & conversational AI
Bots & conversational AIgrojasn
 
Network security projects
Network security projectsNetwork security projects
Network security projectstcpipguru
 
Single object detection to support requirements modeling using faster R-CNN
Single object detection to support requirements modeling using faster R-CNNSingle object detection to support requirements modeling using faster R-CNN
Single object detection to support requirements modeling using faster R-CNNTELKOMNIKA JOURNAL
 
CAIT2010 KT02 Agent-mediated Knowledge Management
CAIT2010 KT02 Agent-mediated Knowledge ManagementCAIT2010 KT02 Agent-mediated Knowledge Management
CAIT2010 KT02 Agent-mediated Knowledge ManagementShahrinaz Ismail
 
Net base api data
Net base api dataNet base api data
Net base api dataNetBase
 
A REVIEW ON CLASSIFICATION OF DATA IMBALANCE USING BIGDATA
A REVIEW ON CLASSIFICATION OF DATA IMBALANCE USING BIGDATAA REVIEW ON CLASSIFICATION OF DATA IMBALANCE USING BIGDATA
A REVIEW ON CLASSIFICATION OF DATA IMBALANCE USING BIGDATAIJMIT JOURNAL
 
Архитектура промышленного интернета
Архитектура промышленного интернетаАрхитектура промышленного интернета
Архитектура промышленного интернетаSergey Zhdanov
 
Privacy Preserving Mining in Code Profiling Data
Privacy Preserving Mining in Code Profiling DataPrivacy Preserving Mining in Code Profiling Data
Privacy Preserving Mining in Code Profiling DataDr. Amarjeet Singh
 
Job opportunities in IT
Job opportunities in ITJob opportunities in IT
Job opportunities in ITPravinGhosekar
 
IRJET- Comparative Analysis of Various Tools for Data Mining and Big Data...
IRJET-  	  Comparative Analysis of Various Tools for Data Mining and Big Data...IRJET-  	  Comparative Analysis of Various Tools for Data Mining and Big Data...
IRJET- Comparative Analysis of Various Tools for Data Mining and Big Data...IRJET Journal
 
Fraud Detection and Compliance with Graph Learning
Fraud Detection and Compliance with Graph LearningFraud Detection and Compliance with Graph Learning
Fraud Detection and Compliance with Graph LearningTigerGraph
 
Organizing Capabilities using Formal Concept Analysis
Organizing Capabilities using Formal Concept AnalysisOrganizing Capabilities using Formal Concept Analysis
Organizing Capabilities using Formal Concept AnalysisWassim Derguech
 
Modeling and Detection of Data Leakage Fraud
Modeling and Detection of Data Leakage FraudModeling and Detection of Data Leakage Fraud
Modeling and Detection of Data Leakage FraudIOSR Journals
 

Tendances (20)

Data Mining And Visualization of Large Databases
Data Mining And Visualization of Large DatabasesData Mining And Visualization of Large Databases
Data Mining And Visualization of Large Databases
 
IRJET- Recruitment Chatbot
IRJET- Recruitment ChatbotIRJET- Recruitment Chatbot
IRJET- Recruitment Chatbot
 
Matrix Mapper
Matrix MapperMatrix Mapper
Matrix Mapper
 
Bots & conversational AI
Bots & conversational AIBots & conversational AI
Bots & conversational AI
 
Network security projects
Network security projectsNetwork security projects
Network security projects
 
Single object detection to support requirements modeling using faster R-CNN
Single object detection to support requirements modeling using faster R-CNNSingle object detection to support requirements modeling using faster R-CNN
Single object detection to support requirements modeling using faster R-CNN
 
CAIT2010 KT02 Agent-mediated Knowledge Management
CAIT2010 KT02 Agent-mediated Knowledge ManagementCAIT2010 KT02 Agent-mediated Knowledge Management
CAIT2010 KT02 Agent-mediated Knowledge Management
 
DLD_SYNOPSIS
DLD_SYNOPSISDLD_SYNOPSIS
DLD_SYNOPSIS
 
Data science
Data scienceData science
Data science
 
Net base api data
Net base api dataNet base api data
Net base api data
 
A REVIEW ON CLASSIFICATION OF DATA IMBALANCE USING BIGDATA
A REVIEW ON CLASSIFICATION OF DATA IMBALANCE USING BIGDATAA REVIEW ON CLASSIFICATION OF DATA IMBALANCE USING BIGDATA
A REVIEW ON CLASSIFICATION OF DATA IMBALANCE USING BIGDATA
 
Архитектура промышленного интернета
Архитектура промышленного интернетаАрхитектура промышленного интернета
Архитектура промышленного интернета
 
Privacy Preserving Mining in Code Profiling Data
Privacy Preserving Mining in Code Profiling DataPrivacy Preserving Mining in Code Profiling Data
Privacy Preserving Mining in Code Profiling Data
 
Job opportunities in IT
Job opportunities in ITJob opportunities in IT
Job opportunities in IT
 
Business intelligent
Business intelligentBusiness intelligent
Business intelligent
 
Agent Technology Presentation
Agent Technology PresentationAgent Technology Presentation
Agent Technology Presentation
 
IRJET- Comparative Analysis of Various Tools for Data Mining and Big Data...
IRJET-  	  Comparative Analysis of Various Tools for Data Mining and Big Data...IRJET-  	  Comparative Analysis of Various Tools for Data Mining and Big Data...
IRJET- Comparative Analysis of Various Tools for Data Mining and Big Data...
 
Fraud Detection and Compliance with Graph Learning
Fraud Detection and Compliance with Graph LearningFraud Detection and Compliance with Graph Learning
Fraud Detection and Compliance with Graph Learning
 
Organizing Capabilities using Formal Concept Analysis
Organizing Capabilities using Formal Concept AnalysisOrganizing Capabilities using Formal Concept Analysis
Organizing Capabilities using Formal Concept Analysis
 
Modeling and Detection of Data Leakage Fraud
Modeling and Detection of Data Leakage FraudModeling and Detection of Data Leakage Fraud
Modeling and Detection of Data Leakage Fraud
 

Similaire à Privacy Preserving Chatbot Conversations

Chatbot Service Providers | Chatbot Solution Providers | Ai Chatbot Platforms
Chatbot Service Providers | Chatbot Solution Providers | Ai Chatbot PlatformsChatbot Service Providers | Chatbot Solution Providers | Ai Chatbot Platforms
Chatbot Service Providers | Chatbot Solution Providers | Ai Chatbot PlatformsElfo Digital Solutions
 
IRJET - A Study on Building a Web based Chatbot from Scratch
IRJET - A Study on Building a Web based Chatbot from ScratchIRJET - A Study on Building a Web based Chatbot from Scratch
IRJET - A Study on Building a Web based Chatbot from ScratchIRJET Journal
 
Survey on Chatbot Classification and Technologies
Survey on Chatbot Classification and TechnologiesSurvey on Chatbot Classification and Technologies
Survey on Chatbot Classification and TechnologiesIRJET Journal
 
IRJET- Artificial Intelligence Based Chat-Bot
IRJET-  	  Artificial Intelligence Based Chat-BotIRJET-  	  Artificial Intelligence Based Chat-Bot
IRJET- Artificial Intelligence Based Chat-BotIRJET Journal
 
How to make a chatbot with artificial intelligence converted
How to make a chatbot with artificial intelligence convertedHow to make a chatbot with artificial intelligence converted
How to make a chatbot with artificial intelligence convertedChapter247 Infotech
 
IRJET- An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...
IRJET-  	  An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...IRJET-  	  An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...
IRJET- An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...IRJET Journal
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfAnastasiaSteele10
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfStephenAmell4
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfJamieDornan2
 
IRJET- Virtual Businessman
IRJET-  	  Virtual BusinessmanIRJET-  	  Virtual Businessman
IRJET- Virtual BusinessmanIRJET Journal
 
IRJET- Interactive Interview Chatbot
IRJET-  	  Interactive Interview ChatbotIRJET-  	  Interactive Interview Chatbot
IRJET- Interactive Interview ChatbotIRJET Journal
 
CUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNING
CUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNINGCUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNING
CUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNINGIRJET Journal
 
CWIN17 New-York / A match made in heaven ai and chatbots
CWIN17 New-York / A match made in heaven   ai and chatbotsCWIN17 New-York / A match made in heaven   ai and chatbots
CWIN17 New-York / A match made in heaven ai and chatbotsCapgemini
 
IRJET - Chat-Bot for College Information System using AI
IRJET -  	  Chat-Bot for College Information System using AIIRJET -  	  Chat-Bot for College Information System using AI
IRJET - Chat-Bot for College Information System using AIIRJET Journal
 
Artificial Intelligence Virtual Assistants & Chatbots
Artificial Intelligence Virtual Assistants & ChatbotsArtificial Intelligence Virtual Assistants & Chatbots
Artificial Intelligence Virtual Assistants & ChatbotsaNumak & Company
 
How to build your in-house ChatGPT
How to build your in-house ChatGPT How to build your in-house ChatGPT
How to build your in-house ChatGPT Citynow Asia Inc
 
The implementation of Big Data and AI on Digital Marketing
The implementation of Big Data and AI on Digital MarketingThe implementation of Big Data and AI on Digital Marketing
The implementation of Big Data and AI on Digital MarketingMohamed Hanafy
 
IRJET- Review of Chatbot System in Hindi Language
IRJET-  	  Review of Chatbot System in Hindi LanguageIRJET-  	  Review of Chatbot System in Hindi Language
IRJET- Review of Chatbot System in Hindi LanguageIRJET Journal
 

Similaire à Privacy Preserving Chatbot Conversations (20)

Chatbot Service Providers | Chatbot Solution Providers | Ai Chatbot Platforms
Chatbot Service Providers | Chatbot Solution Providers | Ai Chatbot PlatformsChatbot Service Providers | Chatbot Solution Providers | Ai Chatbot Platforms
Chatbot Service Providers | Chatbot Solution Providers | Ai Chatbot Platforms
 
IRJET - A Study on Building a Web based Chatbot from Scratch
IRJET - A Study on Building a Web based Chatbot from ScratchIRJET - A Study on Building a Web based Chatbot from Scratch
IRJET - A Study on Building a Web based Chatbot from Scratch
 
Survey on Chatbot Classification and Technologies
Survey on Chatbot Classification and TechnologiesSurvey on Chatbot Classification and Technologies
Survey on Chatbot Classification and Technologies
 
IRJET- Artificial Intelligence Based Chat-Bot
IRJET-  	  Artificial Intelligence Based Chat-BotIRJET-  	  Artificial Intelligence Based Chat-Bot
IRJET- Artificial Intelligence Based Chat-Bot
 
How to make a chatbot with artificial intelligence converted
How to make a chatbot with artificial intelligence convertedHow to make a chatbot with artificial intelligence converted
How to make a chatbot with artificial intelligence converted
 
IRJET- An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...
IRJET-  	  An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...IRJET-  	  An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...
IRJET- An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...
 
ms_3.pdf
ms_3.pdfms_3.pdf
ms_3.pdf
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdf
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdf
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdf
 
IRJET- Virtual Businessman
IRJET-  	  Virtual BusinessmanIRJET-  	  Virtual Businessman
IRJET- Virtual Businessman
 
IRJET- Interactive Interview Chatbot
IRJET-  	  Interactive Interview ChatbotIRJET-  	  Interactive Interview Chatbot
IRJET- Interactive Interview Chatbot
 
CUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNING
CUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNINGCUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNING
CUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNING
 
CWIN17 New-York / A match made in heaven ai and chatbots
CWIN17 New-York / A match made in heaven   ai and chatbotsCWIN17 New-York / A match made in heaven   ai and chatbots
CWIN17 New-York / A match made in heaven ai and chatbots
 
Implementation of FAQ Pages using Chatbot
Implementation of FAQ Pages using ChatbotImplementation of FAQ Pages using Chatbot
Implementation of FAQ Pages using Chatbot
 
IRJET - Chat-Bot for College Information System using AI
IRJET -  	  Chat-Bot for College Information System using AIIRJET -  	  Chat-Bot for College Information System using AI
IRJET - Chat-Bot for College Information System using AI
 
Artificial Intelligence Virtual Assistants & Chatbots
Artificial Intelligence Virtual Assistants & ChatbotsArtificial Intelligence Virtual Assistants & Chatbots
Artificial Intelligence Virtual Assistants & Chatbots
 
How to build your in-house ChatGPT
How to build your in-house ChatGPT How to build your in-house ChatGPT
How to build your in-house ChatGPT
 
The implementation of Big Data and AI on Digital Marketing
The implementation of Big Data and AI on Digital MarketingThe implementation of Big Data and AI on Digital Marketing
The implementation of Big Data and AI on Digital Marketing
 
IRJET- Review of Chatbot System in Hindi Language
IRJET-  	  Review of Chatbot System in Hindi LanguageIRJET-  	  Review of Chatbot System in Hindi Language
IRJET- Review of Chatbot System in Hindi Language
 

Plus de Debmalya Biswas

Constraints Enabled Autonomous Agent Marketplace: Discovery and Matchmaking
Constraints Enabled Autonomous Agent Marketplace: Discovery and MatchmakingConstraints Enabled Autonomous Agent Marketplace: Discovery and Matchmaking
Constraints Enabled Autonomous Agent Marketplace: Discovery and MatchmakingDebmalya Biswas
 
Responsible Generative AI Design Patterns
Responsible Generative AI Design PatternsResponsible Generative AI Design Patterns
Responsible Generative AI Design PatternsDebmalya Biswas
 
Sustainable & Composable Generative AI
Sustainable & Composable Generative AISustainable & Composable Generative AI
Sustainable & Composable Generative AIDebmalya Biswas
 
Data-Driven (Reinforcement Learning-Based) Control
Data-Driven (Reinforcement Learning-Based) ControlData-Driven (Reinforcement Learning-Based) Control
Data-Driven (Reinforcement Learning-Based) ControlDebmalya Biswas
 
Regulating Generative AI - LLMOps pipelines with Transparency
Regulating Generative AI - LLMOps pipelines with TransparencyRegulating Generative AI - LLMOps pipelines with Transparency
Regulating Generative AI - LLMOps pipelines with TransparencyDebmalya Biswas
 
MLOps for Compositional AI
MLOps for Compositional AIMLOps for Compositional AI
MLOps for Compositional AIDebmalya Biswas
 
A Privacy Framework for Hierarchical Federated Learning
A Privacy Framework for Hierarchical Federated LearningA Privacy Framework for Hierarchical Federated Learning
A Privacy Framework for Hierarchical Federated LearningDebmalya Biswas
 
Edge AI Framework for Healthcare Applications
Edge AI Framework for Healthcare ApplicationsEdge AI Framework for Healthcare Applications
Edge AI Framework for Healthcare ApplicationsDebmalya Biswas
 
Compositional AI: Fusion of AI/ML Services
Compositional AI: Fusion of AI/ML ServicesCompositional AI: Fusion of AI/ML Services
Compositional AI: Fusion of AI/ML ServicesDebmalya Biswas
 
Reinforcement Learning based HVAC Optimization in Factories
Reinforcement Learning based HVAC Optimization in FactoriesReinforcement Learning based HVAC Optimization in Factories
Reinforcement Learning based HVAC Optimization in FactoriesDebmalya Biswas
 
Delayed Rewards in the context of Reinforcement Learning based Recommender ...
Delayed Rewards in the context of Reinforcement Learning based Recommender ...Delayed Rewards in the context of Reinforcement Learning based Recommender ...
Delayed Rewards in the context of Reinforcement Learning based Recommender ...Debmalya Biswas
 
Building an enterprise Natural Language Search Engine with ElasticSearch and ...
Building an enterprise Natural Language Search Engine with ElasticSearch and ...Building an enterprise Natural Language Search Engine with ElasticSearch and ...
Building an enterprise Natural Language Search Engine with ElasticSearch and ...Debmalya Biswas
 
Privacy-Preserving Outsourced Profiling
Privacy-Preserving Outsourced ProfilingPrivacy-Preserving Outsourced Profiling
Privacy-Preserving Outsourced ProfilingDebmalya Biswas
 
Privacy Policies Change Management for Smartphones
Privacy Policies Change Management for SmartphonesPrivacy Policies Change Management for Smartphones
Privacy Policies Change Management for SmartphonesDebmalya Biswas
 

Plus de Debmalya Biswas (14)

Constraints Enabled Autonomous Agent Marketplace: Discovery and Matchmaking
Constraints Enabled Autonomous Agent Marketplace: Discovery and MatchmakingConstraints Enabled Autonomous Agent Marketplace: Discovery and Matchmaking
Constraints Enabled Autonomous Agent Marketplace: Discovery and Matchmaking
 
Responsible Generative AI Design Patterns
Responsible Generative AI Design PatternsResponsible Generative AI Design Patterns
Responsible Generative AI Design Patterns
 
Sustainable & Composable Generative AI
Sustainable & Composable Generative AISustainable & Composable Generative AI
Sustainable & Composable Generative AI
 
Data-Driven (Reinforcement Learning-Based) Control
Data-Driven (Reinforcement Learning-Based) ControlData-Driven (Reinforcement Learning-Based) Control
Data-Driven (Reinforcement Learning-Based) Control
 
Regulating Generative AI - LLMOps pipelines with Transparency
Regulating Generative AI - LLMOps pipelines with TransparencyRegulating Generative AI - LLMOps pipelines with Transparency
Regulating Generative AI - LLMOps pipelines with Transparency
 
MLOps for Compositional AI
MLOps for Compositional AIMLOps for Compositional AI
MLOps for Compositional AI
 
A Privacy Framework for Hierarchical Federated Learning
A Privacy Framework for Hierarchical Federated LearningA Privacy Framework for Hierarchical Federated Learning
A Privacy Framework for Hierarchical Federated Learning
 
Edge AI Framework for Healthcare Applications
Edge AI Framework for Healthcare ApplicationsEdge AI Framework for Healthcare Applications
Edge AI Framework for Healthcare Applications
 
Compositional AI: Fusion of AI/ML Services
Compositional AI: Fusion of AI/ML ServicesCompositional AI: Fusion of AI/ML Services
Compositional AI: Fusion of AI/ML Services
 
Reinforcement Learning based HVAC Optimization in Factories
Reinforcement Learning based HVAC Optimization in FactoriesReinforcement Learning based HVAC Optimization in Factories
Reinforcement Learning based HVAC Optimization in Factories
 
Delayed Rewards in the context of Reinforcement Learning based Recommender ...
Delayed Rewards in the context of Reinforcement Learning based Recommender ...Delayed Rewards in the context of Reinforcement Learning based Recommender ...
Delayed Rewards in the context of Reinforcement Learning based Recommender ...
 
Building an enterprise Natural Language Search Engine with ElasticSearch and ...
Building an enterprise Natural Language Search Engine with ElasticSearch and ...Building an enterprise Natural Language Search Engine with ElasticSearch and ...
Building an enterprise Natural Language Search Engine with ElasticSearch and ...
 
Privacy-Preserving Outsourced Profiling
Privacy-Preserving Outsourced ProfilingPrivacy-Preserving Outsourced Profiling
Privacy-Preserving Outsourced Profiling
 
Privacy Policies Change Management for Smartphones
Privacy Policies Change Management for SmartphonesPrivacy Policies Change Management for Smartphones
Privacy Policies Change Management for Smartphones
 

Dernier

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 

Dernier (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Privacy Preserving Chatbot Conversations

  • 1. Privacy Preserving Chatbot Conversations Debmalya Biswas Privacy Preserving Machine Learning (PPML) Workshop at NeurIPS 2020, Dec 11th, 2020
  • 2. Background 2 Chatbots Given a user query in natural language, a bot workflow proceeds as follows: 1. Understand the user’s intent; 2. Retrieve the relevant content from its Knowledge base (KB); 3. Synthesize the answer and respond to the user (again, in natural language); 4. Retain the conversation context to answer any follow-up questions by the user.
  • 3. Privacy Risks 3 Sentiment analysis in an e-commerce setting Sentiment analysis allows the chatbot to determine the user’s (current) sentiment based on his chat responses, such that the bot is able to adapt it’s response based on the user’s sentiment. With dynamic pricing in an e-commerce setting, the bot can quote a higher price based on a very “enthusiastic” query by a user. For example, “Wow, this dress looks amazing! What is its price?” might lead to a higher price quote than a more neutral query: “This dress fits my requirements. What is its price?”
  • 4. Privacy Risks (2) 4 Open ended queries (location based) Most chatbots are usually designed/deployed for specific regions. • For example, an HR Info bot might be designed for the locations where the company has offices. • similarly an e-commerce bot would also be deployed in only those countries where the vendor currently ships their products. “Hi, I am currently in Geneva. What are the shipping charges for Geneva?” unnecessarily reveals the user’s location given that the vendor does not deliver in Switzerland. Frequent employee queries of the form: “Where is the restaurant in our Milan office?” might reveal to the chatbot vendor that company employees have recently been traveling a lot to the Milan office.
  • 5. State-of-the-Art 5 Enterprise Chatbots Enterprise bots today (e.g. the ones based on IBM Watson Assistant, AWS Lex, Microsoft LUIS, Google Dialogflow) first need to be trained by providing a set of questions, question variations, and their corresponding answers. • The questions can be grouped into ‘intents’. • Question variations, referred to as ‘utterances’ in bot terminology, refer to sample variations in which the same question can be posed by end-users. • Most bot engines perform intent matching and sentiment analysis using a mix of statistical (e.g. tf-idf, Bag-of-Words) and Deep Learning (e.g. BERT) techniques.
  • 6. Entities 6 Chatbot Entities Together with ‘intents’ and ‘utterances’, an essential part in customizing chatbots is to provide ‘entities’. Entities refer to the domain specific vocabulary, • e.g. they can refer to the office locations, in the context of a HR Bot; • and can be used to customize the chatbot responses according to user (query) location. Google Dialogflow entity addition form
  • 7. Entity based Privacy Preservation 7 Privacy Preserving Chat Module (PPCM) The entities based approach is applied on the client/app side by a module referred to as the Privacy Preserving Chat Module (PPCM). The PPCM design is dependent on • knowledge of the original chatbot content and • the underlying NLP techniques used by the chatbot platform. User Content Catalog (Articles, Images Videos) User chat (query): “Wow, this dress looks amazing! What is its price?” NaturalLanguage Processing(NLP)Engine Privacy preserving message: “This dress fits my requirements. What is its price?” - User emotion classified as ‘neutral’ by the NLP Classification algorithm. Chatbot response ChatbotPlatform Privacy preserving Chat Module (PPCM) Dialog flow Entities list NLP algorithms Entities list NLP algorithms ChatClient
  • 8. Entity based Privacy Preservation (2) 8 Privacy Filtering & Transformation PPCM applies a mix of privacy preserving techniques based on Filtering / Transformation to protect user chat privacy. • Filtering: For the user query: “Where is the restaurant in our Milan office?”, PPCM uses the same text extraction techniques to infer that ‘Milan’ is a value of entity type ‘Location’. This is followed by filtering/deleting the query as the location is not supported in this case. • Transformation: To counteract the pricing disadvantage in the e-com scenario, the PPCM adapts the original user query to a more “neutral” response with the same semantics. Employee query: “Where is the restaurant in our Milan office?” Transformation in the form of abstraction can also be applied, such that the ‘Location’ entity: ‘Milan’ is abstracted to ‘somewhere in Europe’
  • 9. Searchable Encryption based Privacy Preservation 9 Searchable Encryption We propose a Searchable Encryption based scheme that is able to preserve user chat privacy, without requiring any knowledge of the chatbot design and NLP engine algorithms. • Searchable Encryption (SE) is a technique to protect sensitive data, while preserving the ability to search on the server side (cloud). • SE allows the server to search encrypted data without leaking information in plaintext data.
  • 10. Searchable Encryption based Privacy Preservation (2) 10 Distributed PPCM The PPCM is distributed in this case, as such we refer to the Client and Server (Cloud) side components of the PPCM as PPCMC and PPCMS, respectively.
  • 11. Conclusion 11 We outlined two approaches to perform privacy preserving conversations based on (chat) entities: which approach to apply depends on the transparency of the chatbot design and implementation architecture (client/app side only vs. distributed deployment). We hope that the proposed approaches will lead to increased enterprise adoption of chatbots, by addressing the growing issue of privacy risks in chatbots.
  • 12. 12 Thanks for your attention For further details, refer to the paper: (ResearchGate) (Medium) Contact: Debmalya Biswas (LinkedIn)

Notes de l'éditeur

  1. The idea is to provide 5 to 10 such utterances (for each question) as input, based on which the bot will hopefully be able understand 50 different variations of the question.
  2. The idea is to provide 5 to 10 such utterances (for each question) as input, based on which the bot will hopefully be able understand 50 different variations of the question.
  3. The idea is to provide 5 to 10 such utterances (for each question) as input, based on which the bot will hopefully be able understand 50 different variations of the question.
  4. The idea is to provide 5 to 10 such utterances (for each question) as input, based on which the bot will hopefully be able understand 50 different variations of the question.
  5. The idea is to provide 5 to 10 such utterances (for each question) as input, based on which the bot will hopefully be able understand 50 different variations of the question.
  6. The idea is to provide 5 to 10 such utterances (for each question) as input, based on which the bot will hopefully be able understand 50 different variations of the question.
  7. The idea is to provide 5 to 10 such utterances (for each question) as input, based on which the bot will hopefully be able understand 50 different variations of the question.
  8. The idea is to provide 5 to 10 such utterances (for each question) as input, based on which the bot will hopefully be able understand 50 different variations of the question.