SlideShare a Scribd company logo
1 of 37
Download to read offline
ConveRSE:
a domain-independent
Framework for building
Conversational Recommender Systems
Fedelucio Narducci
University of Bari Aldo Moro - Italy
Google Conversational Search & Recommendation Workshop - August 28-29, 2019 - London
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 a single step
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
PROBLEMS
➤ Developing dialog
agents is becoming more
and more popular for several
domains and applications
➤ The implementation is a
complex task since it requires
knowledge about NLP,
HCI, machine
learning
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
CONVERSE
➤ a domain-
independent
framework for building
conversational
recommender
systems
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
CAPABILITIES
➤ Acquire preferences
➤ Explore user profile
➤ Exploit feedback
➤ Recommendation explanation
➤ Offer different interaction
modes
➤ natural language
➤ buttons
➤ hybrid
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE: DIALOG MANAGER
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)
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
INTENT RECOGNIZER
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤ identifies the intent of the
user expressed by a natural
language sentence
➤ is based on DialogFlow
➤ recognizes four user intents
➤ preference
➤ recommendation
➤ show profile
➤ help
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE: INTENT RECOGNIZER
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
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE: SENTIMENT ANALYZER
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
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE: SENTIMENT ANALYZER
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
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE: ENTITY RECOGNIZER
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤ Entity Recognizer finds
entities in the user sentence
➤ links them to the
Knowledge Base Wikidata
➤ does not require
annotated data for
training
➤recognizes alias
➤ Steven Allan Spielberg, Spielberg,
Steven Spielberg
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE: ENTITY RECOGNIZER - PROBLEMS
Intent Recognizer
Dialog Manager
Entity Recognizer
Sentiment
Analyzer
Recommendation
Services
➤ different surface 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
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE: ENTITY RECOGNIZER@WORK
➤Step 1
➤ I like Spielberg and Jurassic Park ~ I like Jurassic Park and its director
Spielberg
Steven_Spielberg:director
Sasha_Spielberg:actor
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE: ENTITY RECOGNIZER@WORK
➤Step 1
➤ I like Spielberg and Jurassic Park
Spielberg
Steven_Spielberg:director
Sasha_Spielberg:actor
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE: ENTITY RECOGNIZER@WORK
➤Step 2
➤ User sentence: I like Spielberg and Jurassic Park
➤ Surface form1: Spielberg
➤ Candidate entities: Steven_Spielberg:director, Sasha_Spielberg:actor
➤ Context: Jurassic Park
sim2 (Jurassic Park,Steven_Spielberg:director) = 0.90
sim (Jurassic Park, Sasha_Spielberg:actor)= 0.15
Spielberg = Steven_Spielberg:director
1Basile, P., Caputo, A., Semeraro, G., Narducci, F.: Uniba: Exploiting a distributional semantic model for disambiguating
and linking entities in tweets. Making Sense of Microposts (# Microposts2015) (2015)
2Maximilian 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.
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
ARCHITECTURE: RECOMMENDATION SERVICES
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)
➤ Explanation1
➤ exploits links between liked
items and
recommendations in the
DBpedia graph
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
1Musto, C., Narducci, F., Lops, P., de Gemmis, M., Semeraro, G.
Linked open data-based explanations for transparent recommender systems.
(2019) International Journal of Human Computer Studies, 121, pp. 93-107.
ARCHITECTURE: RECOMMENDATION SERVICES
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
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
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!
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
THE FRAMEWORK@WORK
➤ three instances on Telegram (movie, music, and
book)
➤ @movierecsys2_bot
➤ @musicrecsys_bot
➤ @bookrecsys_bot
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION
➤ first session: in-vitro experiment on
two datasets
➤ second session: user study
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: FIRST SESSION
➤ In-vitro experiment
➤ to assess the accuracy of each
component of our framework
and its impact on the
recommendation process
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: GOAL
Test separately
➤ Intent Recognizer
➤ Entity Recognizer
➤ Sentiment Recognizer
ConveRSE: 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?
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION
Intent Recognizer test
Entities and Sentiments are set programmatically
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)
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION
Entity Recognizer test
Intents and Sentiments are set programmatically
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?
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION
Sentiment Recognizer test
Intents and Entities are set programmatically
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?
ConveRSE: 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
ConveRSE: 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%
Entity Recognizer~ 85% accuracy
Intent Recognizer ~ 77% accuracy
Sentiment Recognizer ~ 83% accuracy
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: SECOND IN-VITRO EXPERIMENT
➤ Dataset released by Grouplens1
➤ collects recommendation requests of
real users to a (simulated) 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.
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: USER STUDY
➤ 50 users tested three domains and three
interaction modes:
➤ movie, book, and music
➤ natural language, buttons, and mixed
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: USER STUDY
➤ Goal
➤ to assess the impact of using natural language in a CoRS
➤ Research Questions
➤ Can natural language improve a CoRS in terms of
cost of interaction?
➤ Can natural language improve a CoRS in terms of
quality of recommendations?
➤ What is the impact of each component of a CoRS to
the accuracy of the recommendations?
➤ What are the most critical aspects to consider when
modelling a natural language-based dialog for a
CoRS?
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: USER STUDY
➤ Metrics
➤ Objective metrics
➤ MAP, Accuracy
➤ Number of Questions, Time per Question,
Interaction Time, Query Density
➤ Questionnaire based on the ResQue model [1]
and the questionnaire proposed in [2]
[1] P. Pu, L. Chen, R. Hu, A user-centric evaluation framework for recommender systems, in:
Proceedings of the fifth ACM conference on Recommender systems, ACM, 2011, pp. 157–164
[2] A. Silvervarg, A. Jonsson, Subjective and objective evaluation of conversational agents in learning
environments for young teenagers, in: Proceedings of the 7th IJCAI Workshop on Knowledge and
Reasoning in Practical Dialogue Systems, 2011
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: USER STUDY
➤ Results 1/2
➤ Pure NL-based interfaces need to help the user
when precise input is needed
➤ Pure NL-based interfaces did not perform
significantly better than button-based
interfaces
➤ Mixed interactions (NL + buttons) generally
perform better than NL and buttons taken
individually
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
EXPERIMENTAL EVALUATION: USER STUDY
➤ Results 2/2
➤ Recognition of ratings and entities is a
crucial step for achieving a good accuracy,
specifically in the first phases of the interaction
➤ When users are asked to choose from a set of
predefined answers, this activity needs to be
facilitated in some way
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
CONVERSE DATASET
➤ During the user study, we collected three
datasets of real dialogs useful for training-
testing Intent Recognizer, Entity Recognizer, or
Sentiment Analyzer
➤ Messages
➤ 5,318 movie domain
➤ 1,862 book domain
➤ 2,096 music domain
➤ split in recommendation requests, preferences,
criticisms, and explanation requests
➤ https://tinyurl.com/converse-dat
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
QUESTIONS?
fedelucio.narducci@uniba.it
https://www.linkedin.com/in/fedelucio-narducci-612a0425
@LucioNarducci
ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
This is a collaborative work with: Pierpaolo Basile, Marco de
Gemmis, Andrea Iovine, Pasquale Lops, and Giovanni Semeraro

More Related Content

Similar to Converse framework

[Decisions2013@RecSys]The Role of Emotions in Context-aware Recommendation
[Decisions2013@RecSys]The Role of Emotions in Context-aware Recommendation[Decisions2013@RecSys]The Role of Emotions in Context-aware Recommendation
[Decisions2013@RecSys]The Role of Emotions in Context-aware RecommendationYONG ZHENG
 
CommonJS via PINF JavaScript Loader - Introduction
CommonJS via PINF JavaScript Loader - IntroductionCommonJS via PINF JavaScript Loader - Introduction
CommonJS via PINF JavaScript Loader - Introductioncadorn
 
Tools of the UX Trade
Tools of the UX TradeTools of the UX Trade
Tools of the UX Tradedpanarelli
 
Recommendation system (1).pptx
Recommendation system (1).pptxRecommendation system (1).pptx
Recommendation system (1).pptxprathammishra28
 
recommendationsystem1-221109055232-c8b46131.pdf
recommendationsystem1-221109055232-c8b46131.pdfrecommendationsystem1-221109055232-c8b46131.pdf
recommendationsystem1-221109055232-c8b46131.pdf13DikshaDatir
 
Systems Thinking - Shekman Tang
Systems Thinking - Shekman TangSystems Thinking - Shekman Tang
Systems Thinking - Shekman Tanguxbri
 
Recommender systemms search engines
Recommender systemms search enginesRecommender systemms search engines
Recommender systemms search enginesברכה שפירא
 
Designing for Collaboration: Challenges & Considerations of Multi-Use Informa...
Designing for Collaboration: Challenges & Considerations of Multi-Use Informa...Designing for Collaboration: Challenges & Considerations of Multi-Use Informa...
Designing for Collaboration: Challenges & Considerations of Multi-Use Informa...Stephanie Steinhardt
 
A Model Of Opinion Mining For Classifying Movies
A Model Of Opinion Mining For Classifying MoviesA Model Of Opinion Mining For Classifying Movies
A Model Of Opinion Mining For Classifying MoviesAndrew Molina
 
Bridging the gap between AI and UI - DSI Vienna - full version
Bridging the gap between AI and UI - DSI Vienna - full versionBridging the gap between AI and UI - DSI Vienna - full version
Bridging the gap between AI and UI - DSI Vienna - full versionLiad Magen
 
Rhetorical Evaluation of User Interfaces
Rhetorical Evaluation of User InterfacesRhetorical Evaluation of User Interfaces
Rhetorical Evaluation of User InterfacesOmar Sosa-Tzec
 
Francia Sandoval UX Portfolio
Francia Sandoval UX PortfolioFrancia Sandoval UX Portfolio
Francia Sandoval UX PortfolioFrancia Sandoval
 
Interaction Design Patterns in Recommender Systems
Interaction Design Patterns in Recommender SystemsInteraction Design Patterns in Recommender Systems
Interaction Design Patterns in Recommender SystemsUniversity of Bergen
 
Speech enhanced gesture based navigation for Google Maps
Speech enhanced gesture based navigation for Google MapsSpeech enhanced gesture based navigation for Google Maps
Speech enhanced gesture based navigation for Google MapsHimanshu Bansal
 
EPFL - PxS, week 4 - UX design techniques
EPFL - PxS, week 4 - UX design techniquesEPFL - PxS, week 4 - UX design techniques
EPFL - PxS, week 4 - UX design techniqueshendrikknoche
 
Sweeny group think-ias2015
Sweeny group think-ias2015Sweeny group think-ias2015
Sweeny group think-ias2015Marianne Sweeny
 
Analytic Design = Experience Design That Works
Analytic Design = Experience Design That WorksAnalytic Design = Experience Design That Works
Analytic Design = Experience Design That WorksKaryn Zuidinga
 
Recommendation Engines - An Architectural Guide
Recommendation Engines - An Architectural GuideRecommendation Engines - An Architectural Guide
Recommendation Engines - An Architectural GuideBigDataCloud
 

Similar to Converse framework (20)

[Decisions2013@RecSys]The Role of Emotions in Context-aware Recommendation
[Decisions2013@RecSys]The Role of Emotions in Context-aware Recommendation[Decisions2013@RecSys]The Role of Emotions in Context-aware Recommendation
[Decisions2013@RecSys]The Role of Emotions in Context-aware Recommendation
 
Chatbot的智慧與靈魂
Chatbot的智慧與靈魂Chatbot的智慧與靈魂
Chatbot的智慧與靈魂
 
CommonJS via PINF JavaScript Loader - Introduction
CommonJS via PINF JavaScript Loader - IntroductionCommonJS via PINF JavaScript Loader - Introduction
CommonJS via PINF JavaScript Loader - Introduction
 
Tools of the UX Trade
Tools of the UX TradeTools of the UX Trade
Tools of the UX Trade
 
Recommendation system (1).pptx
Recommendation system (1).pptxRecommendation system (1).pptx
Recommendation system (1).pptx
 
recommendationsystem1-221109055232-c8b46131.pdf
recommendationsystem1-221109055232-c8b46131.pdfrecommendationsystem1-221109055232-c8b46131.pdf
recommendationsystem1-221109055232-c8b46131.pdf
 
Systems Thinking - Shekman Tang
Systems Thinking - Shekman TangSystems Thinking - Shekman Tang
Systems Thinking - Shekman Tang
 
Recommender systemms search engines
Recommender systemms search enginesRecommender systemms search engines
Recommender systemms search engines
 
Designing for Collaboration: Challenges & Considerations of Multi-Use Informa...
Designing for Collaboration: Challenges & Considerations of Multi-Use Informa...Designing for Collaboration: Challenges & Considerations of Multi-Use Informa...
Designing for Collaboration: Challenges & Considerations of Multi-Use Informa...
 
A Model Of Opinion Mining For Classifying Movies
A Model Of Opinion Mining For Classifying MoviesA Model Of Opinion Mining For Classifying Movies
A Model Of Opinion Mining For Classifying Movies
 
Bridging the gap between AI and UI - DSI Vienna - full version
Bridging the gap between AI and UI - DSI Vienna - full versionBridging the gap between AI and UI - DSI Vienna - full version
Bridging the gap between AI and UI - DSI Vienna - full version
 
Rhetorical Evaluation of User Interfaces
Rhetorical Evaluation of User InterfacesRhetorical Evaluation of User Interfaces
Rhetorical Evaluation of User Interfaces
 
Francia Sandoval UX Portfolio
Francia Sandoval UX PortfolioFrancia Sandoval UX Portfolio
Francia Sandoval UX Portfolio
 
Interaction Design Patterns in Recommender Systems
Interaction Design Patterns in Recommender SystemsInteraction Design Patterns in Recommender Systems
Interaction Design Patterns in Recommender Systems
 
Speech enhanced gesture based navigation for Google Maps
Speech enhanced gesture based navigation for Google MapsSpeech enhanced gesture based navigation for Google Maps
Speech enhanced gesture based navigation for Google Maps
 
EPFL - PxS, week 4 - UX design techniques
EPFL - PxS, week 4 - UX design techniquesEPFL - PxS, week 4 - UX design techniques
EPFL - PxS, week 4 - UX design techniques
 
Hosanagar Supernova 2008
Hosanagar Supernova 2008Hosanagar Supernova 2008
Hosanagar Supernova 2008
 
Sweeny group think-ias2015
Sweeny group think-ias2015Sweeny group think-ias2015
Sweeny group think-ias2015
 
Analytic Design = Experience Design That Works
Analytic Design = Experience Design That WorksAnalytic Design = Experience Design That Works
Analytic Design = Experience Design That Works
 
Recommendation Engines - An Architectural Guide
Recommendation Engines - An Architectural GuideRecommendation Engines - An Architectural Guide
Recommendation Engines - An Architectural Guide
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
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
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 

Recently uploaded (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
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
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 

Converse framework

  • 1. ConveRSE: a domain-independent Framework for building Conversational Recommender Systems Fedelucio Narducci University of Bari Aldo Moro - Italy Google Conversational Search & Recommendation Workshop - August 28-29, 2019 - London
  • 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 a single step ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 3. PROBLEMS ➤ Developing dialog agents is becoming more and more popular for several domains and applications ➤ The implementation is a complex task since it requires knowledge about NLP, HCI, machine learning ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 4. CONVERSE ➤ a domain- independent framework for building conversational recommender systems ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 5. CAPABILITIES ➤ Acquire preferences ➤ Explore user profile ➤ Exploit feedback ➤ Recommendation explanation ➤ Offer different interaction modes ➤ natural language ➤ buttons ➤ hybrid ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 6. ARCHITECTURE Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 7. ARCHITECTURE: DIALOG MANAGER 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) ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 8. INTENT RECOGNIZER Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤ identifies the intent of the user expressed by a natural language sentence ➤ is based on DialogFlow ➤ recognizes four user intents ➤ preference ➤ recommendation ➤ show profile ➤ help ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 9. ARCHITECTURE: INTENT RECOGNIZER 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 ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 10. ARCHITECTURE: SENTIMENT ANALYZER 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 ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 11. ARCHITECTURE: SENTIMENT ANALYZER 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 ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 12. ARCHITECTURE: ENTITY RECOGNIZER Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤ Entity Recognizer finds entities in the user sentence ➤ links them to the Knowledge Base Wikidata ➤ does not require annotated data for training ➤recognizes alias ➤ Steven Allan Spielberg, Spielberg, Steven Spielberg ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 13. ARCHITECTURE: ENTITY RECOGNIZER - PROBLEMS Intent Recognizer Dialog Manager Entity Recognizer Sentiment Analyzer Recommendation Services ➤ different surface 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 ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 14. ARCHITECTURE: ENTITY RECOGNIZER@WORK ➤Step 1 ➤ I like Spielberg and Jurassic Park ~ I like Jurassic Park and its director Spielberg Steven_Spielberg:director Sasha_Spielberg:actor ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 15. ARCHITECTURE: ENTITY RECOGNIZER@WORK ➤Step 1 ➤ I like Spielberg and Jurassic Park Spielberg Steven_Spielberg:director Sasha_Spielberg:actor ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 16. ARCHITECTURE: ENTITY RECOGNIZER@WORK ➤Step 2 ➤ User sentence: I like Spielberg and Jurassic Park ➤ Surface form1: Spielberg ➤ Candidate entities: Steven_Spielberg:director, Sasha_Spielberg:actor ➤ Context: Jurassic Park sim2 (Jurassic Park,Steven_Spielberg:director) = 0.90 sim (Jurassic Park, Sasha_Spielberg:actor)= 0.15 Spielberg = Steven_Spielberg:director 1Basile, P., Caputo, A., Semeraro, G., Narducci, F.: Uniba: Exploiting a distributional semantic model for disambiguating and linking entities in tweets. Making Sense of Microposts (# Microposts2015) (2015) 2Maximilian 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. ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 17. ARCHITECTURE: RECOMMENDATION SERVICES 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) ➤ Explanation1 ➤ exploits links between liked items and recommendations in the DBpedia graph ConveRSE: A domain-independent Framework for building Conversational Recommender Systems 1Musto, C., Narducci, F., Lops, P., de Gemmis, M., Semeraro, G. Linked open data-based explanations for transparent recommender systems. (2019) International Journal of Human Computer Studies, 121, pp. 93-107.
  • 18. ARCHITECTURE: RECOMMENDATION SERVICES 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 ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 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! ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 20. THE FRAMEWORK@WORK ➤ three instances on Telegram (movie, music, and book) ➤ @movierecsys2_bot ➤ @musicrecsys_bot ➤ @bookrecsys_bot ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 21. EXPERIMENTAL EVALUATION ➤ first session: in-vitro experiment on two datasets ➤ second session: user study ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 22. EXPERIMENTAL EVALUATION: FIRST SESSION ➤ In-vitro experiment ➤ to assess the accuracy of each component of our framework and its impact on the recommendation process ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 23. EXPERIMENTAL EVALUATION: GOAL Test separately ➤ Intent Recognizer ➤ Entity Recognizer ➤ Sentiment Recognizer ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 24. 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? ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 25. EXPERIMENTAL EVALUATION Intent Recognizer test Entities and Sentiments are set programmatically 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) ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 26. EXPERIMENTAL EVALUATION Entity Recognizer test Intents and Sentiments are set programmatically 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? ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 27. EXPERIMENTAL EVALUATION Sentiment Recognizer test Intents and Entities are set programmatically 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? ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 28. 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 ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 29. 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% Entity Recognizer~ 85% accuracy Intent Recognizer ~ 77% accuracy Sentiment Recognizer ~ 83% accuracy ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 30. EXPERIMENTAL EVALUATION: SECOND IN-VITRO EXPERIMENT ➤ Dataset released by Grouplens1 ➤ collects recommendation requests of real users to a (simulated) 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. ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 31. EXPERIMENTAL EVALUATION: USER STUDY ➤ 50 users tested three domains and three interaction modes: ➤ movie, book, and music ➤ natural language, buttons, and mixed ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 32. EXPERIMENTAL EVALUATION: USER STUDY ➤ Goal ➤ to assess the impact of using natural language in a CoRS ➤ Research Questions ➤ Can natural language improve a CoRS in terms of cost of interaction? ➤ Can natural language improve a CoRS in terms of quality of recommendations? ➤ What is the impact of each component of a CoRS to the accuracy of the recommendations? ➤ What are the most critical aspects to consider when modelling a natural language-based dialog for a CoRS? ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 33. EXPERIMENTAL EVALUATION: USER STUDY ➤ Metrics ➤ Objective metrics ➤ MAP, Accuracy ➤ Number of Questions, Time per Question, Interaction Time, Query Density ➤ Questionnaire based on the ResQue model [1] and the questionnaire proposed in [2] [1] P. Pu, L. Chen, R. Hu, A user-centric evaluation framework for recommender systems, in: Proceedings of the fifth ACM conference on Recommender systems, ACM, 2011, pp. 157–164 [2] A. Silvervarg, A. Jonsson, Subjective and objective evaluation of conversational agents in learning environments for young teenagers, in: Proceedings of the 7th IJCAI Workshop on Knowledge and Reasoning in Practical Dialogue Systems, 2011 ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 34. EXPERIMENTAL EVALUATION: USER STUDY ➤ Results 1/2 ➤ Pure NL-based interfaces need to help the user when precise input is needed ➤ Pure NL-based interfaces did not perform significantly better than button-based interfaces ➤ Mixed interactions (NL + buttons) generally perform better than NL and buttons taken individually ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 35. EXPERIMENTAL EVALUATION: USER STUDY ➤ Results 2/2 ➤ Recognition of ratings and entities is a crucial step for achieving a good accuracy, specifically in the first phases of the interaction ➤ When users are asked to choose from a set of predefined answers, this activity needs to be facilitated in some way ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 36. CONVERSE DATASET ➤ During the user study, we collected three datasets of real dialogs useful for training- testing Intent Recognizer, Entity Recognizer, or Sentiment Analyzer ➤ Messages ➤ 5,318 movie domain ➤ 1,862 book domain ➤ 2,096 music domain ➤ split in recommendation requests, preferences, criticisms, and explanation requests ➤ https://tinyurl.com/converse-dat ConveRSE: A domain-independent Framework for building Conversational Recommender Systems
  • 37. QUESTIONS? fedelucio.narducci@uniba.it https://www.linkedin.com/in/fedelucio-narducci-612a0425 @LucioNarducci ConveRSE: A domain-independent Framework for building Conversational Recommender Systems This is a collaborative work with: Pierpaolo Basile, Marco de Gemmis, Andrea Iovine, Pasquale Lops, and Giovanni Semeraro