SlideShare a Scribd company logo
1 of 31
Download to read offline
A domain-independent
Framework for building
Conversational Recommender
Systems
Fedelucio Narducci, Pierpaolo Basile, Andrea Iovine,
Marco de Gemmis, Pasquale Lops, Giovanni Semeraro
Oct 7, 2018 - VANCOUVER
BACKGROUND
➤ Conversational Recommender
Systems (CoRSs) belong to the class
of dialog agents and
interact with the user during the
recommendation process
➤ CoRSs guide the users through an
interactive dialog
➤ The preference
acquisition is an
incremental process that
does not have to be necessarily
finalized in one step
A domain-independent Framework for building Conversational Recommender Systems
PROBLEMS
➤ Developing dialog
agents is becoming more
and more popular for
customer care,
health care, medical
diagnoses
➤ The implementation is a
complex task since it requires
knowledge about NLP,
HCI, machine
learning
A domain-independent Framework for building Conversational Recommender Systems
A POSSIBLE SOLUTION
➤ a domain-
independent
framework for
building
conversational
recommender
systems
A domain-independent Framework for building Conversational Recommender Systems
CAPABILITIES
➤ acquire preferences
➤ explore user profile
➤ provide feedback
➤explain recommendations
➤interaction modes
➤ natural language
➤ buttons
➤ hybrid
A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE
A domain-independent Framework for building Conversational Recommender Systems
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
ARCHITECTURE: DIALOG MANAGER
A domain-independent Framework for building Conversational Recommender Systems
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤core component of the
framework
➤supervises the whole
recommendation process
➤ keeps track of the dialog
state
➤receives/sends
messages from/to the user
➤ is completely independent
from the client (JSON
message)
ARCHITECTURE: INTENT RECOGNIZER
A domain-independent Framework for building Conversational Recommender Systems
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤ defines the intent of the user
expressed by a natural
language sentence
➤ is based on DialogFlow
➤ four user intents
➤ preference
➤ recommendation
➤ show profile
➤ help
ARCHITECTURE: INTENT RECOGNIZER
A domain-independent Framework for building Conversational Recommender Systems
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤ each intent can be composed
of set of sub-intents
➤ show profile
➤ delete preference
➤ update preference
➤ reset profile
ARCHITECTURE: SENTIMENT ANALYZER
A domain-independent Framework for building Conversational Recommender Systems
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤ Sentiment Tagger of
Stanford CoreNLP
➤ returns the sentiment
tags identified in a sentence
➤ links the sentiment tag
to an entity in the sentence
➤ I like The Matrix, but I hate
Keanu Reeves
ARCHITECTURE: SENTIMENT ANALYZER
A domain-independent Framework for building Conversational Recommender Systems
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤ Sentiment Tagger of
Stanford CoreNLP
➤ returns the sentiment
tags identified in a sentence
➤ links the sentiment tag
to an entity in the sentence
➤ I like The Matrix, but I hate
Keanu Reeves
ARCHITECTURE: ENTITY RECOGNIZER
A domain-independent Framework for building Conversational Recommender Systems
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤finds entities in the
user sentence
➤links them to the
Knowledge Base
➤Wikidata
➤annotated data not
required for training
➤recognizes alias
Steven Allan Spielberg,
Spielberg, Steven Spielberg
ARCHITECTURE: ENTITY RECOGNIZER - PROBLEMS
A domain-independent Framework for building Conversational Recommender Systems
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤ different surfaces forms
can refer to the same entity
➤ Steven Spielberg, Spielberg ->
Steven_Spielberg:director
➤ the same surface form
can refer to more than one
entities
➤ Spielberg ->
Steven_Spielberg:director
Sasha_Spielberg:actor
ARCHITECTURE: ENTITY RECOGNIZER@WORK
A domain-independent Framework for building Conversational Recommender Systems
➤Step 1
➤ I like Spielberg and Jurassic Park ~ I like Jurassic Park and its director
Spielberg
Steven_Spielberg:director
Sasha_Spielberg:actor
ARCHITECTURE: ENTITY RECOGNIZER@WORK
A domain-independent Framework for building Conversational Recommender Systems
➤Step 1
➤ I like Spielberg and Jurassic Park ~ I like Jurassic Park and its director
Spielberg
Steven_Spielberg:director
Sasha_Spielberg:actor
ARCHITECTURE: ENTITY RECOGNIZER@WORK
A domain-independent Framework for building Conversational Recommender Systems
➤Step 2
➤ I like Spielberg and Jurassic Park
➤ Surface form: Spielberg
➤ Candidate entities: Steven_Spielberg:director, Sasha_Spielberg:actor
➤ Context: Jurassic Park
sim1 (Jurassic Park,Steven_Spielberg:director) = 0.90
sim (Jurassic Park, Sasha_Spielberg:actor)= 0.15
Spielberg = Steven_Spielberg:director
1Maximilian Nickel, Lorenzo Rosasco, Tomaso A Poggio, and others. 2016. Holographic Embeddings of Knowledge Graphs.
In The Thirtieth AAAI Conference on Artificial Intelligence (AAAI-16). 1955–1961.
ARCHITECTURE: RECOMMENDATION SERVICES
A domain-independent Framework for building Conversational Recommender Systems
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤ recommendation algorithm is
PageRank with Priors
➤nodes are entities from
DBpedia (eg, actors, movies,
directors)
➤ Explanation
➤ exploits links between liked
items and
recommendations in the
DBpedia graph
ARCHITECTURE: RECOMMENDATION SERVICES
A domain-independent Framework for building Conversational Recommender Systems
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤critiquing
➤ the user can provides
complex feedback on
the recommended
items
➤ I like the movie Titanic,
but I don’t like the actor
Bill Paxton
EXPLANATION@WORK
American Epic Films
Tom
Hanks
Dystopian Films
The
Wachowskis
I recommend you Cloud Atlas because you often like films with Tom
Hanks as Saving Private Ryan and Da Vinci Code. In addition, you
sometimes like films directed by The Wachowskis as The Matrix.
dbpedia-owl:starring
dbpedia-owl:starring
dcterms:subject!
dcterms:subject!
dbpedia-owl:director
dbpedia-owl:director
dcterm
s:subject!
dbpedia-owl:starring
dcterms:subject!
A domain-independent Framework for building Conversational Recommender Systems
THE FRAMEWORK@WORK
A domain-independent Framework for building Conversational Recommender Systems
➤ three instances on Telegram (movie, music, and
book)
➤ @movierecsys2_bot
➤ @musicrecsys_bot
➤ @bookrecsys_bot
EXPERIMENTAL EVALUATION
Goal
to assess the accuracy of each
component of our framework and its
influence on the
recommendation process
A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: GOAL
Test separately
➤ Intent Recognizer
➤ Entity Recognizer
➤ Sentiment Recognizer
A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: DATASET
bAbI by Facebook Research
collects utterances like
Beauty and the Beast, Aladdin, Schindler’s List, and The
Silence of the Lambs are movies I loved.
Would you recommend something I might like?
A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION
Intent Recognizer test
Beauty and the Beast, Aladdin, Schindler’s List, and The
Silence of the Lambs are movies I loved. (Preference)
Would you recommend something I might like?
(Recommendation request)
Entities and Sentiments are set programmatically
A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION
Entity Recognizer test
Beauty and the Beast, Aladdin, Schindler’s List, and The
Silence of the Lambs are movies I loved.
Would you recommend something I might like?
Intents and Sentiments are set programmatically
A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION
Sentiment Recognizer test
Beauty and the Beast, Aladdin, Schindler’s List, and The
Silence of the Lambs are movies I loved.
Would you recommend something I might like?
Intents and Entities are set programmatically
A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION
➤ Intent Recognizer Test
➤ Entity Recognizer Test
➤ Sentiment Recognizer Test
compared to
➤ Upper bound
recommendations generated by setting intents, entities,
and sentiments by code
A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: METRIC AND RESULTS
HitRate@n: hits/#recommended items
n= 5,10,20
HR@5 HR@10 HR@20
Upper Bound 0.75 1.21 1.93
Loss@5 Loss@10 Loss@20
Intent Recognizer -34.00% -30.86% -24.03%
Entity Recognizer -46.00% -35.80% -27.13%
Sentiment Recognizer -20.00% -16.05% -14.73%
ER~ 85% accuracy
IR ~ 77% accuracy
SR ~ 83% accuracy
A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: SECOND EXPERIMENT
➤ Dataset released by Grouplens1
➤ collects recommendation requests of real users to a conversational
recommender system
➤ 694 sentences
➤ Results
➤ 7.4% intents (very difficult task, requests like “action
movies”,”exploitations films”, ”film with sharks”, ”i’m looking for a hard
sci-fi movie”)
➤ 64.39% entities
➤
1Kang, J., Condiff, K., Chang, S., Konstan, J. A., Terveen, L., & Harper, F. M. (2017, August). Understanding how people use natural langua
ask for recommendations. In Proceedings of the Eleventh ACM Conference on Recommender Systems (pp. 229-237). ACM.
A domain-independent Framework for building Conversational Recommender Systems
CONCLUSION AND FUTURE WORK
➤ The component with the highest impact in
a conversational recommender is the entity
recognizer
➤ Intents are expressed in very variable forms
➤ carry out experiments with real users in
different domains
➤ release the framework as open source
software
➤ investigate the different capabilities of the
framework (critiquing, explanation)
A domain-independent Framework for building Conversational Recommender Systems
QUESTIONS?
A domain-independent Framework for building Conversational Recommender Systems
fedelucio.narducci@uniba.it

More Related Content

Similar to A domain-independent Framework for building Conversational Recommender Systems

recommendationsystem1-221109055232-c8b46131.pdf
recommendationsystem1-221109055232-c8b46131.pdfrecommendationsystem1-221109055232-c8b46131.pdf
recommendationsystem1-221109055232-c8b46131.pdf13DikshaDatir
 
Major_Project_Presentaion_B14.pptx
Major_Project_Presentaion_B14.pptxMajor_Project_Presentaion_B14.pptx
Major_Project_Presentaion_B14.pptxLokeshKumarReddy8
 
Tools of the UX Trade
Tools of the UX TradeTools of the UX Trade
Tools of the UX Tradedpanarelli
 
Opinion Mining
Opinion MiningOpinion Mining
Opinion MiningShital Kat
 
Recommender systemms search engines
Recommender systemms search enginesRecommender systemms search engines
Recommender systemms search enginesברכה שפירא
 
IBM Cloud Artificial Intelligence : A Comprehensive Overview
IBM Cloud Artificial Intelligence : A Comprehensive OverviewIBM Cloud Artificial Intelligence : A Comprehensive Overview
IBM Cloud Artificial Intelligence : A Comprehensive OverviewSatyajit Panda
 
How to use LLMs for creating a content-based recommendation system for entert...
How to use LLMs for creating a content-based recommendation system for entert...How to use LLMs for creating a content-based recommendation system for entert...
How to use LLMs for creating a content-based recommendation system for entert...mahaffeycheryld
 
Movie Recommendation System_final.pptx
Movie Recommendation System_final.pptxMovie Recommendation System_final.pptx
Movie Recommendation System_final.pptxSridharkadiri2
 
Web Application Software Testing
Web Application Software TestingWeb Application Software Testing
Web Application Software TestingAndrew Kandels
 
Recommendation Engines - An Architectural Guide
Recommendation Engines - An Architectural GuideRecommendation Engines - An Architectural Guide
Recommendation Engines - An Architectural GuideBigDataCloud
 
Movie Recommender system
Movie Recommender systemMovie Recommender system
Movie Recommender systemPalakNath
 
AAMAS-2006 TANDEM Design Method (poster format)
AAMAS-2006 TANDEM Design Method (poster format)AAMAS-2006 TANDEM Design Method (poster format)
AAMAS-2006 TANDEM Design Method (poster format)Steve Goschnick
 
Rated Ranking Evaluator Enterprise: the next generation of free Search Qualit...
Rated Ranking Evaluator Enterprise: the next generation of free Search Qualit...Rated Ranking Evaluator Enterprise: the next generation of free Search Qualit...
Rated Ranking Evaluator Enterprise: the next generation of free Search Qualit...Sease
 
Applying Text Analytics to Unstructured Data to Surface Real Business Intelli...
Applying Text Analytics to Unstructured Data to Surface Real Business Intelli...Applying Text Analytics to Unstructured Data to Surface Real Business Intelli...
Applying Text Analytics to Unstructured Data to Surface Real Business Intelli...Collective Intellect
 
AI, Search, and the Disruption of Knowledge Management
AI, Search, and the Disruption of Knowledge ManagementAI, Search, and the Disruption of Knowledge Management
AI, Search, and the Disruption of Knowledge ManagementTrey Grainger
 
Building Large Arabic Multi-Domain Resources for Sentiment Analysis
Building Large Arabic Multi-Domain Resources for Sentiment Analysis Building Large Arabic Multi-Domain Resources for Sentiment Analysis
Building Large Arabic Multi-Domain Resources for Sentiment Analysis Hady Elsahar
 
Microsoft Cognitive Services at a Glance
Microsoft Cognitive Services at a GlanceMicrosoft Cognitive Services at a Glance
Microsoft Cognitive Services at a GlanceMarvin Heng
 
How to Select a Static Analysis Tool
How to Select a Static Analysis ToolHow to Select a Static Analysis Tool
How to Select a Static Analysis ToolParasoft_Mitchell
 

Similar to A domain-independent Framework for building Conversational Recommender Systems (20)

recommendationsystem1-221109055232-c8b46131.pdf
recommendationsystem1-221109055232-c8b46131.pdfrecommendationsystem1-221109055232-c8b46131.pdf
recommendationsystem1-221109055232-c8b46131.pdf
 
Major_Project_Presentaion_B14.pptx
Major_Project_Presentaion_B14.pptxMajor_Project_Presentaion_B14.pptx
Major_Project_Presentaion_B14.pptx
 
Tools of the UX Trade
Tools of the UX TradeTools of the UX Trade
Tools of the UX Trade
 
Opinion Mining
Opinion MiningOpinion Mining
Opinion Mining
 
Recommender systemms search engines
Recommender systemms search enginesRecommender systemms search engines
Recommender systemms search engines
 
Deep Learning Recommender Systems
Deep Learning Recommender SystemsDeep Learning Recommender Systems
Deep Learning Recommender Systems
 
IBM Cloud Artificial Intelligence : A Comprehensive Overview
IBM Cloud Artificial Intelligence : A Comprehensive OverviewIBM Cloud Artificial Intelligence : A Comprehensive Overview
IBM Cloud Artificial Intelligence : A Comprehensive Overview
 
How to use LLMs for creating a content-based recommendation system for entert...
How to use LLMs for creating a content-based recommendation system for entert...How to use LLMs for creating a content-based recommendation system for entert...
How to use LLMs for creating a content-based recommendation system for entert...
 
Movie Recommendation System_final.pptx
Movie Recommendation System_final.pptxMovie Recommendation System_final.pptx
Movie Recommendation System_final.pptx
 
Web Application Software Testing
Web Application Software TestingWeb Application Software Testing
Web Application Software Testing
 
Recommendation Engines - An Architectural Guide
Recommendation Engines - An Architectural GuideRecommendation Engines - An Architectural Guide
Recommendation Engines - An Architectural Guide
 
Movie Recommender system
Movie Recommender systemMovie Recommender system
Movie Recommender system
 
AAMAS-2006 TANDEM Design Method (poster format)
AAMAS-2006 TANDEM Design Method (poster format)AAMAS-2006 TANDEM Design Method (poster format)
AAMAS-2006 TANDEM Design Method (poster format)
 
Rated Ranking Evaluator Enterprise: the next generation of free Search Qualit...
Rated Ranking Evaluator Enterprise: the next generation of free Search Qualit...Rated Ranking Evaluator Enterprise: the next generation of free Search Qualit...
Rated Ranking Evaluator Enterprise: the next generation of free Search Qualit...
 
Applying Text Analytics to Unstructured Data to Surface Real Business Intelli...
Applying Text Analytics to Unstructured Data to Surface Real Business Intelli...Applying Text Analytics to Unstructured Data to Surface Real Business Intelli...
Applying Text Analytics to Unstructured Data to Surface Real Business Intelli...
 
AI, Search, and the Disruption of Knowledge Management
AI, Search, and the Disruption of Knowledge ManagementAI, Search, and the Disruption of Knowledge Management
AI, Search, and the Disruption of Knowledge Management
 
Cognitive computing
Cognitive computing Cognitive computing
Cognitive computing
 
Building Large Arabic Multi-Domain Resources for Sentiment Analysis
Building Large Arabic Multi-Domain Resources for Sentiment Analysis Building Large Arabic Multi-Domain Resources for Sentiment Analysis
Building Large Arabic Multi-Domain Resources for Sentiment Analysis
 
Microsoft Cognitive Services at a Glance
Microsoft Cognitive Services at a GlanceMicrosoft Cognitive Services at a Glance
Microsoft Cognitive Services at a Glance
 
How to Select a Static Analysis Tool
How to Select a Static Analysis ToolHow to Select a Static Analysis Tool
How to Select a Static Analysis Tool
 

Recently uploaded

SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrSaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrsaastr
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Salam Al-Karadaghi
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝soniya singh
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Hasting Chen
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesPooja Nehwal
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Vipesco
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMoumonDas2
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxNikitaBankoti2
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubssamaasim06
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfhenrik385807
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Delhi Call girls
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...Sheetaleventcompany
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024eCommerce Institute
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...henrik385807
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )Pooja Nehwal
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Chameera Dedduwage
 

Recently uploaded (20)

SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrSaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptx
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 

A domain-independent Framework for building Conversational Recommender Systems

  • 1. A domain-independent Framework for building Conversational Recommender Systems Fedelucio Narducci, Pierpaolo Basile, Andrea Iovine, Marco de Gemmis, Pasquale Lops, Giovanni Semeraro Oct 7, 2018 - VANCOUVER
  • 2. BACKGROUND ➤ Conversational Recommender Systems (CoRSs) belong to the class of dialog agents and interact with the user during the recommendation process ➤ CoRSs guide the users through an interactive dialog ➤ The preference acquisition is an incremental process that does not have to be necessarily finalized in one step A domain-independent Framework for building Conversational Recommender Systems
  • 3. PROBLEMS ➤ Developing dialog agents is becoming more and more popular for customer care, health care, medical diagnoses ➤ The implementation is a complex task since it requires knowledge about NLP, HCI, machine learning A domain-independent Framework for building Conversational Recommender Systems
  • 4. A POSSIBLE SOLUTION ➤ a domain- independent framework for building conversational recommender systems A domain-independent Framework for building Conversational Recommender Systems
  • 5. CAPABILITIES ➤ acquire preferences ➤ explore user profile ➤ provide feedback ➤explain recommendations ➤interaction modes ➤ natural language ➤ buttons ➤ hybrid A domain-independent Framework for building Conversational Recommender Systems
  • 6. ARCHITECTURE A domain-independent Framework for building Conversational Recommender Systems Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services
  • 7. ARCHITECTURE: DIALOG MANAGER A domain-independent Framework for building Conversational Recommender Systems Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤core component of the framework ➤supervises the whole recommendation process ➤ keeps track of the dialog state ➤receives/sends messages from/to the user ➤ is completely independent from the client (JSON message)
  • 8. ARCHITECTURE: INTENT RECOGNIZER A domain-independent Framework for building Conversational Recommender Systems Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤ defines the intent of the user expressed by a natural language sentence ➤ is based on DialogFlow ➤ four user intents ➤ preference ➤ recommendation ➤ show profile ➤ help
  • 9. ARCHITECTURE: INTENT RECOGNIZER A domain-independent Framework for building Conversational Recommender Systems Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤ each intent can be composed of set of sub-intents ➤ show profile ➤ delete preference ➤ update preference ➤ reset profile
  • 10. ARCHITECTURE: SENTIMENT ANALYZER A domain-independent Framework for building Conversational Recommender Systems Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤ Sentiment Tagger of Stanford CoreNLP ➤ returns the sentiment tags identified in a sentence ➤ links the sentiment tag to an entity in the sentence ➤ I like The Matrix, but I hate Keanu Reeves
  • 11. ARCHITECTURE: SENTIMENT ANALYZER A domain-independent Framework for building Conversational Recommender Systems Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤ Sentiment Tagger of Stanford CoreNLP ➤ returns the sentiment tags identified in a sentence ➤ links the sentiment tag to an entity in the sentence ➤ I like The Matrix, but I hate Keanu Reeves
  • 12. ARCHITECTURE: ENTITY RECOGNIZER A domain-independent Framework for building Conversational Recommender Systems Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤finds entities in the user sentence ➤links them to the Knowledge Base ➤Wikidata ➤annotated data not required for training ➤recognizes alias Steven Allan Spielberg, Spielberg, Steven Spielberg
  • 13. ARCHITECTURE: ENTITY RECOGNIZER - PROBLEMS A domain-independent Framework for building Conversational Recommender Systems Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤ different surfaces forms can refer to the same entity ➤ Steven Spielberg, Spielberg -> Steven_Spielberg:director ➤ the same surface form can refer to more than one entities ➤ Spielberg -> Steven_Spielberg:director Sasha_Spielberg:actor
  • 14. ARCHITECTURE: ENTITY RECOGNIZER@WORK A domain-independent Framework for building Conversational Recommender Systems ➤Step 1 ➤ I like Spielberg and Jurassic Park ~ I like Jurassic Park and its director Spielberg Steven_Spielberg:director Sasha_Spielberg:actor
  • 15. ARCHITECTURE: ENTITY RECOGNIZER@WORK A domain-independent Framework for building Conversational Recommender Systems ➤Step 1 ➤ I like Spielberg and Jurassic Park ~ I like Jurassic Park and its director Spielberg Steven_Spielberg:director Sasha_Spielberg:actor
  • 16. ARCHITECTURE: ENTITY RECOGNIZER@WORK A domain-independent Framework for building Conversational Recommender Systems ➤Step 2 ➤ I like Spielberg and Jurassic Park ➤ Surface form: Spielberg ➤ Candidate entities: Steven_Spielberg:director, Sasha_Spielberg:actor ➤ Context: Jurassic Park sim1 (Jurassic Park,Steven_Spielberg:director) = 0.90 sim (Jurassic Park, Sasha_Spielberg:actor)= 0.15 Spielberg = Steven_Spielberg:director 1Maximilian Nickel, Lorenzo Rosasco, Tomaso A Poggio, and others. 2016. Holographic Embeddings of Knowledge Graphs. In The Thirtieth AAAI Conference on Artificial Intelligence (AAAI-16). 1955–1961.
  • 17. ARCHITECTURE: RECOMMENDATION SERVICES A domain-independent Framework for building Conversational Recommender Systems Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤ recommendation algorithm is PageRank with Priors ➤nodes are entities from DBpedia (eg, actors, movies, directors) ➤ Explanation ➤ exploits links between liked items and recommendations in the DBpedia graph
  • 18. ARCHITECTURE: RECOMMENDATION SERVICES A domain-independent Framework for building Conversational Recommender Systems Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤critiquing ➤ the user can provides complex feedback on the recommended items ➤ I like the movie Titanic, but I don’t like the actor Bill Paxton
  • 19. EXPLANATION@WORK American Epic Films Tom Hanks Dystopian Films The Wachowskis I recommend you Cloud Atlas because you often like films with Tom Hanks as Saving Private Ryan and Da Vinci Code. In addition, you sometimes like films directed by The Wachowskis as The Matrix. dbpedia-owl:starring dbpedia-owl:starring dcterms:subject! dcterms:subject! dbpedia-owl:director dbpedia-owl:director dcterm s:subject! dbpedia-owl:starring dcterms:subject! A domain-independent Framework for building Conversational Recommender Systems
  • 20. THE FRAMEWORK@WORK A domain-independent Framework for building Conversational Recommender Systems ➤ three instances on Telegram (movie, music, and book) ➤ @movierecsys2_bot ➤ @musicrecsys_bot ➤ @bookrecsys_bot
  • 21. EXPERIMENTAL EVALUATION Goal to assess the accuracy of each component of our framework and its influence on the recommendation process A domain-independent Framework for building Conversational Recommender Systems
  • 22. EXPERIMENTAL EVALUATION: GOAL Test separately ➤ Intent Recognizer ➤ Entity Recognizer ➤ Sentiment Recognizer A domain-independent Framework for building Conversational Recommender Systems
  • 23. EXPERIMENTAL EVALUATION: DATASET bAbI by Facebook Research collects utterances like Beauty and the Beast, Aladdin, Schindler’s List, and The Silence of the Lambs are movies I loved. Would you recommend something I might like? A domain-independent Framework for building Conversational Recommender Systems
  • 24. EXPERIMENTAL EVALUATION Intent Recognizer test Beauty and the Beast, Aladdin, Schindler’s List, and The Silence of the Lambs are movies I loved. (Preference) Would you recommend something I might like? (Recommendation request) Entities and Sentiments are set programmatically A domain-independent Framework for building Conversational Recommender Systems
  • 25. EXPERIMENTAL EVALUATION Entity Recognizer test Beauty and the Beast, Aladdin, Schindler’s List, and The Silence of the Lambs are movies I loved. Would you recommend something I might like? Intents and Sentiments are set programmatically A domain-independent Framework for building Conversational Recommender Systems
  • 26. EXPERIMENTAL EVALUATION Sentiment Recognizer test Beauty and the Beast, Aladdin, Schindler’s List, and The Silence of the Lambs are movies I loved. Would you recommend something I might like? Intents and Entities are set programmatically A domain-independent Framework for building Conversational Recommender Systems
  • 27. EXPERIMENTAL EVALUATION ➤ Intent Recognizer Test ➤ Entity Recognizer Test ➤ Sentiment Recognizer Test compared to ➤ Upper bound recommendations generated by setting intents, entities, and sentiments by code A domain-independent Framework for building Conversational Recommender Systems
  • 28. EXPERIMENTAL EVALUATION: METRIC AND RESULTS HitRate@n: hits/#recommended items n= 5,10,20 HR@5 HR@10 HR@20 Upper Bound 0.75 1.21 1.93 Loss@5 Loss@10 Loss@20 Intent Recognizer -34.00% -30.86% -24.03% Entity Recognizer -46.00% -35.80% -27.13% Sentiment Recognizer -20.00% -16.05% -14.73% ER~ 85% accuracy IR ~ 77% accuracy SR ~ 83% accuracy A domain-independent Framework for building Conversational Recommender Systems
  • 29. EXPERIMENTAL EVALUATION: SECOND EXPERIMENT ➤ Dataset released by Grouplens1 ➤ collects recommendation requests of real users to a conversational recommender system ➤ 694 sentences ➤ Results ➤ 7.4% intents (very difficult task, requests like “action movies”,”exploitations films”, ”film with sharks”, ”i’m looking for a hard sci-fi movie”) ➤ 64.39% entities ➤ 1Kang, J., Condiff, K., Chang, S., Konstan, J. A., Terveen, L., & Harper, F. M. (2017, August). Understanding how people use natural langua ask for recommendations. In Proceedings of the Eleventh ACM Conference on Recommender Systems (pp. 229-237). ACM. A domain-independent Framework for building Conversational Recommender Systems
  • 30. CONCLUSION AND FUTURE WORK ➤ The component with the highest impact in a conversational recommender is the entity recognizer ➤ Intents are expressed in very variable forms ➤ carry out experiments with real users in different domains ➤ release the framework as open source software ➤ investigate the different capabilities of the framework (critiquing, explanation) A domain-independent Framework for building Conversational Recommender Systems
  • 31. QUESTIONS? A domain-independent Framework for building Conversational Recommender Systems fedelucio.narducci@uniba.it