Conversational Recommender Systems�Cataldo Musto, Ph.D.�University of Bari – Italy��
Ciao!
I am Cataldo Musto
Tenure-track Assistant Professor at the Department of Computer Science, University of Bari
Research Lines: Recommender Systems, Knowledge Graphs, Natural Language Processing
Twitter: @cataldomusto
2
Overview
3
1.
Background and Motivations
Why is it important to talk about CRSs at RecSys Summer School?
4
Conversational Agents are not new
5
(*) Weizenbaum, Joseph. "ELIZA—a computer program for the study of natural language communication between man and machine." Communications of the ACM 9.1 (1966): 36-45.
1966: Eliza(*)
90s-2000s: Microsoft Clippy
Conversational Agents today
6
7
Mastercard Digital Assistant
ChatGPT
Why?
Need for more ‘natural’ interaction strategies
Need for interaction strategies that are more suitable in particular scenarios (i.e., while driving)
Need to make automatic some tasks (i.e., CRM)
Better algorithms to process voice and audio
Better algorithms to understand user input
Better algorithms to handle natural language (both input and output)
8
Why?
9
Why?
10
Basic Problem Formulation
(Optional) background knowledge
(Optional) Some action to be performed
recommending item, switching on the light, playing some music, etc.
11
Basic Problem Formulation
12
Taxonomies of Conversational Agents
13
Conversational Agents
Objective
Open-domain
Goal-oriented
Architecture
Modular
End-to-End
Interaction
System-initiative
User-iniative
Mixed
Taxonomy of CAs : Objective
14
Taxonomy of CAs : Objective
15
Taxonomy of CAs : Architecture
16
Taxonomy of CAs : Interaction
17
Taxonomy of CAs : Interaction
18
Taxonomies of Conversational Agents
19
Conversational Agents
Objective
Open-domain
Goal-oriented
Architecture
Modular
End-to-End
Interaction
System-initiative
User-iniative
Mixed
Part 1- Take-home Messages
20
2.
Basics of Conversational Recommender Systems
Basic Principles
21
A Conversational Recommender System is a software system that supports its users in achieving recommendation‐related goals through a multi‐turn dialogue(*).
22
(*) Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
“
A Conversational Recommender System is a software system that supports its users in achieving recommendation‐related goals through a multi‐turn dialogue(*).
23
Task Orientation
Multi-turn Interaction
(*) Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
“
Conversational Recommender Systems
24
CRSs – Research Trend
25
From «Tutorial on Conversational Recommendation Systems» – ACM RecSys 2021
CRSs – Research Trend
26
From «Tutorial on Conversational Recommendation Systems» – ACM RecSys 2021
First Work on Critiquing for Recommender Systems
2000s: first work on critiquing and CRSs
27
from: Burke, Robin. "Interactive critiquing for catalog navigation in e-commerce." Artificial Intelligence Review 18.3-4 (2002): 245-267.
Requirements
2000s: first work on critiquing and CRSs
28
Requirements
Critiquing
from: Burke, Robin. "Interactive critiquing for catalog navigation in e-commerce." Artificial Intelligence Review 18.3-4 (2002): 245-267.
2000s: first work on critiquing and CRSs
29
Refinement
Requirements
Critiquing
from: Burke, Robin. "Interactive critiquing for catalog navigation in e-commerce." Artificial Intelligence Review 18.3-4 (2002): 245-267.
2000s: first work on critiquing and CRSs
30
From: Thompson, Cynthia A., Mehmet H. Goker, and Pat Langley. "A personalized system for conversational recommendations." Journal of Artificial Intelligence Research 21 (2004): 393-428.
Dialogue starts with an initial query based on user model. Then, based on answers/feedbacks, new questions are generated, to relax and constrain other features and retrieve potential recommendations
CRSs – Research Trend
31
From «Tutorial on Conversational Recommendation Systems» – ACM RecSys 2021
Deep Learning Wave
from 2018: Deep Learning wave in CRSs
32
from: Zhang, Tong, et al. "Kecrs: Towards knowledge-enriched conversational recommendation system." arXiv preprint arXiv:2105.08261 (2021).
Recently: first commercial CRSs
33
Specific Problem Formulation
34
Part 2- Take-home Messages
35
3.
General Architecture of CRSs
What are the main components of a conversational recommender system?
36
Taxonomies of CAs - Recap
37
Conversational Agents
Objective
Open-domain
Goal-oriented
Architecture
Modular
End-to-End
Interaction
System-initiative
User-initiative
Mixed
Modular CRSs vs End-to-End CRSs
38
Modular CRSs vs End-to-End CRSs
39
Conceptual Architecture of a CRS
40
Source: Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
Input Processing Module
41
Source: Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
User Modeling Modules
42
Source: Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
Recommendation Module
43
Source: Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
Output Generation Module
44
Source: Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
End-to-End Systems
45
In end-to-end systems, all the components (or almost all the components) are mapped to a single deep architecture
Research Questions and Directions in CRSs
46
Research Questions and Directions in CRSs
47
3-a.
Input Processing
How can we process user inputs to extract needs and preferences?
48
Input Processing Module
49
User Input
50
Voice (Natural Language)
Text (Natural Language)
Text (Forms and Buttons)
User Input
51
Voice (Natural Language)
Text (Natural Language)
Text (Forms and Buttons)
Requires Speech-to-Text
Easier strategy
Requires Natural Language Understanding
User Input
52
Voice (Natural Language)
Text (Natural Language)
Text (Forms and Buttons)
Requires Speech-to-Text
Easier strategy
OUR FOCUS
Natural Language Understanding
53
From: Martina, Alessandro Francesco Maria, et al. "A Virtual Assistant for the Movie Domain Exploiting Natural Language Preference Elicitation Strategies." Adjunct Proceedings of the 30th ACM Conference on User Modeling, Adaptation and Personalization. 2022.
Natural Language Understanding
54
Let’s analyze the modules we need for NLU
NLU: Intent Recognition
55
What is the intent?
NLU: Intent Recognition
56
A list of possible intents
NLU: Intent Recognition
57
NLU: Intent Recognition
58
Intent: to provide preferences
NLU: Intent Recognition
59
Intent: to ask for a recommendation
NLU: Intent Recognition
60
Intent: to provide feedbacks
NLU: Intent Recognition
61
NLU: Intent Recognition
62
NLU: Intent Recognition
63
NLU: Entity Recognition
64
NLU: Entity Recognition
65
NLU: Entity Recognition
66
Preferences are typically expressed in the form of entities
NLU: Entity Recognition
67
NLU: Sentiment Analysis
68
NLU: Sentiment Analysis
69
NLU: Sentiment Analysis
70
Preferences are typically expressed in the form of entities
NLU: Sentiment Analysis
71
Preferences are typically expressed in the form of entities
Input Processing: Take-home Messages
72
3-b.
User Modeling
How can we model user preferences and needs?
73
Intent Recognition - Recap
74
Some intents trigger the User Modeling module
User Modeling Module
75
User Modeling
76
Natural Language Understanding plays a key role, again
Objective Features
User Modeling
77
Natural Language Understanding plays a key role, again
Mention to items the user likes
User Modeling
78
Natural Language Understanding plays a key role, again
Mention to entities the
user likes
User Modeling
79
Natural Language Understanding plays a key role, again
Mention to entities the
user dislikes
User Modeling
80
Natural Language Understanding plays a key role, again
Also subjective features
Workflow for User Modeling in CRSs
81
A pipeline to extract both objective and subjective features from dialogue
From: Martina, Alessandro Francesco Maria, et al. "A Virtual Assistant for the Movie Domain Exploiting Natural Language Preference Elicitation Strategies." Adjunct Proceedings of the 30th ACM Conference on User Modeling, Adaptation and Personalization. 2022.
Workflow for User Modeling in CRSs
82
Knowledge Extraction is carried out in background. The resulting KB is then used in the dialogue.
From: Martina, Alessandro Francesco Maria, et al. "A Virtual Assistant for the Movie Domain Exploiting Natural Language Preference Elicitation Strategies." Adjunct Proceedings of the 30th ACM Conference on User Modeling, Adaptation and Personalization. 2022.
Knowledge Extraction
83
DBpedia
84
Wikipedia
Unstructured Content
DBpedia
Structured Data
DBpedia and RDF
85
Starting from a mention to an entity from a dialogue, it is possible to populate the model of the user by also including properties connected to the entity
Richer representation!
Knowledge Extraction
86
Knowledge Extraction
87
User Modeling: Take-home Messages
88
User Modeling: Take-home Messages
89
3-c.
Recommendation
How (and when) do we provide users with recommendations?
90
Intent Recognition - Recap
91
Some intents trigger the Recommendation module
Recommendations through Dialogue
92
Recommendations through Dialogue
93
User asks for a recommendation
System returns a recommendation
User provides a feedback (mixed interaction)
Recommendations through Dialogue
94
When
to recommend
What
to recommend
Recommendations: when
95
Recap
Recommendations: when
96
(*) Jannach, Dietmar, and Gerold Kreutler. "Rapid development of knowledge-based conversational recommender applications with advisor suite." Journal of Web Engineering (2007): 165-192.
Recommendations: when
97
Recommendations: when
98
Recommendations: when
99
From: Moon, Seungwhan, et al. "Opendialkg: Explainable conversational reasoning with attention-based walks over knowledge graphs." ACL. 2019.
Recommendations: what
100
Recommendations: what
101
From: Burke, R., Hammond, K., and Young, B.: The FindMe Approach to Assisted Browsing. IEEE Expert: Intelligent Systems and Their Applications 12(4):32‐40, 1997.
Modular CRSs
102
Source: Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
Modular CRSs
103
(*) Martina, Alessandro Francesco Maria, et al. "A Virtual Assistant for the Movie Domain Exploiting Natural Language Preference Elicitation Strategies." Adjunct Proceedings of the 30th ACM Conference on User Modeling, Adaptation and Personalization. 2022.
Modular CRSs
104
(*) Martina, Alessandro Francesco Maria, et al. "A Virtual Assistant for the Movie Domain Exploiting Natural Language Preference Elicitation Strategies." Adjunct Proceedings of the 30th ACM Conference on User Modeling, Adaptation and Personalization. 2022.
End-to-End CRSs
105
Source: Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
End-to-End CRSs
106
Zou, Jie, et al. "Improving conversational recommender systems via transformer-based sequential modelling." Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval. 2022.
Recommendation: Take-home Messages
107
3-d.
Output Generation
How and when interact with the user? How to return the recommendations?
108
Intent Recognition - Recap
109
Every intent requires an adequate answer from the system
Output Generation
110
Output Generation
111
Output Generation
112
Output Generation
113
Output Generation
114
(*) Li, Raymond, et al. "Towards deep conversational recommendations." Advances in neural information processing systems 31 (2018).
Output Generation
115
(*): Manzoor, A., Jannach, D.: Conversational Recommendation based on End‐to‐end Learning: How Far Are We? Computers and Human Behavior Reports, 2021
Output Generation
116
(*) A. Manzoor and D. Jannach. Generation‐based vs. Retrieval‐based Conversational Recommendation: A User‐Centric Comparison. In RecSys ’21, 2021
Output Generation
117
Output Generation
118
(*) Chen, Zhongxia, et al. "Towards explainable conversational recommendation." Proceedings of the Twenty-Ninth International Conference on International Joint Conferences on Artificial Intelligence. 2021.
Output Generation
119
(*) Martina, Alessandro Francesco Maria, et al. "A Virtual Assistant for the Movie Domain Exploiting Natural Language Preference Elicitation Strategies." Adjunct Proceedings of the 30th ACM Conference on User Modeling, Adaptation and Personalization. 2022.
(^) Musto, Cataldo, et al. "Generating post hoc review-based natural language justifications for recommender systems." User Modeling and User-Adapted Interaction 31 (2021): 629-673.
Output Generation: Take-home Messages
120
4.
Evaluation of Conversational RSs
How can we evaluate a Conversational Recommender System?
121
Evaluation of CRSs
122
Evaluation of CRSs
123
Evaluation of CRSs
124
Evaluation of CRSs
125
(*): Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
Metrics can be both qualitative and quantitative
Evaluation of CRSs
126
(*): Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
Metrics can be both qualitative and quantitative
Evaluation of CRSs
127
(*): Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
Metrics can be both qualitative and quantitative
Evaluation of CRSs
128
(*): Jannach, Dietmar, et al. "A survey on conversational recommender systems." ACM Computing Surveys (CSUR) 54.5 (2021): 1-36.
Metrics can be both qualitative and quantitative
5.
Open Points and Discussion
Can we sketch open points and future research directions?
129
Conversational Recommender Systems
130
Search
Recommendation
Conversational Recommendation
User's Intention is clear, explicitly indicated by query
User's Intention is unclear, implicitly revealed in history
User’s Intention is obtained through conversation
Open Points and Discussion
131
Open Points and Discussion
132
Thanks!
Any questions?
You can find me at:
@cataldomusto
cataldo.musto@uniba.it
133