SlideShare a Scribd company logo
GOD MODE FOR BUILDING OPEN-
DOMAIN BOTS WITH DISCOURSE-
DRIVEN INTEGRATED DIALOG
DEVELOPMENT ENVIRONMENT
Daniel Kornev
CPO @ DeepPavlov
Grand Challenge: create a socialbot that can engage in a fun, high
quality conversation on popular societal topics for 20 minutes and
achieve an average rating of at least 4.0/5.0.
Alexa Prize 3 vs 4 Winners:
1. $500K, 3.8 vs 3.28, 7 min 32 sec vs 14 min 14 sec
2. $100K 3.17 vs 3.25
Alexa Prize 4 Winner:
Alquist (2nd in ‘17, 3rd in `18,`20) – Czech Technical University 2
DeepPavlov.ai
“The aim is to identify a way of looking at and manipulating
commonsense knowledge that is consistent with and can support
what we consider to be the two most fundamental aspects of
intelligent cognitive behaviour: the ability to learn from experience
and the ability to reason from what has been learned. We are
therefore seeking a semantics of knowledge that can
computationally support the basic phenomena of intelligent
behaviour.”
Leslie Valiant
1000+ Commits
800+ PRs
~30 skills
10+ annotators
1 PhD!
DeepPavlov.ai
DeepPavlov.ai +
DeepPavlov.ai
pip install
Python-Native
Lots of extensions
Battle-tested
Entity Detection
Extensions
Intent Classifier
Dialog Acts & Speech Functions
Dialog Analysis Dashboard
DeepPavlov.ai
Scenario-Driven approach enables sequential experience and is strategic, yet it takes a long time and still misses
on what user can say.
User
•Let’s chat
Bot
•(greeting)
(question)
User
•[utterance]
Bot
•[utterance]
User
•[utterance]
Bot
•[utterance]
User
•[utterance]
Bot
•[utterance]
Small Talk Movies Skill
Pros: Scenario-Driven skills enabled us to give users several conversation turns with
the same context, and limited user understanding within human-curated scenarios
Cons: given that we can’t predict what user might say, lots of iterations needed.
DeepPavlov.ai
Problem
Designing Open-Domain Chatbots is a complex process.
User can say anything
Interpretation How to recognize pattern?
Response How to react?
Bot: Hi, how are you doing?
User: Hi!
Regular Expressions: Require detailed scenarios and long iterative development process
Intents: Work only within the given domain (task-oriented chatbots) or at high-level (greeting, etc.)
Dialog Acts: Work in limited cases (yes/no, question/statement)
User: Hi! User: What’s up? User: I’m sad. User: Had an awful convo. User: Switch off lights
DeepPavlov.ai
There are at least 2 ways* look at a Conversation:
* S. Eggins & D. Slade, Analysing Casual Conversation.London: Cassell, 1997
Pragmatic Conversation
• Motivated by clear pragmatic purpose. Aka task-
oriented. Usually very short. Formal.
Casual Conversation
• NOT motivated by clear pragmatic purpose. Can
and often are lengthy. Informal, can have humor.
Aka chit-chat.
DeepPavlov.ai
There are several ways* to analyze a Casual Conversation:
* S. Eggins & D. Slade, Analysing Casual Conversation. London: Cassell, 1997
There are at least 4 different approaches to classify utterances & sentences:
Speech Acts*
• Work at utterance level. Hearer interprets
speaker’s intentions and tries to interpret
desired actions from hearer.
Dialog Acts
• Work at sentence level. Ascribe each sentence’s
dialog function to the entire utterance.
Speech Functions
• Work at sentence level. Similar to Speech Acts
but they produce utterance’s through its role in
Discourse.
Utterance Acts**
• Work at utterance level but
include body movements.
**Not applicable for us as we can’t see the person
*Original authors were not concerned with
Discourse
DeepPavlov.ai
There are many taxonomies for each of the classification types:
Speech Acts
• Austin (1962)
• Searle (1975)
• Bach and Harnish (1979)
Dialog Acts
• Jurafsky (1997) – SWBD-DAMSL
• MIDAS (2019)
Speech Functions
• Halliday (1984, 1994)
• Eggins and Slade (1997)
Speech Acts & Dialog Acts:
Speech Acts == Dialog Acts (Jurafsky, 2019)
Speech Acts != Dialog Acts (Webb, 2010)
vs.
Speech Acts & Speech Functions:
Speech Acts = interpretation (logico-phil.)
Speech Functions = production of utterances
(discourse)
MIDAS has two groups of Dialog Acts: Semantic and Functional.
Gunrock’s Report for
Alexa Prize 2 (2018)
MIDAS has two groups of Dialog Acts: Semantic and Functional.
Gunrock’s Report for
Alexa Prize 2 (2018)
DeepPavlov.ai
Eggins and Martin
(1997)
Discourse structure patterns operate across turns: thus overtly interactional & sequential
Discourse Management is a basis for acting across turns, thus becoming strategic
Eggins and Slade
(1997)
Speech Functions control Discourse:
Give
information
Demand
information
Speech Acts
Discourse Moves
Speech Function Example:
open:initiate:give_opinion
Eggins and Slade
(1997)
Speech Functions have hierarchy based on the role in Discourse:
move
open
attend command Initiate
Give
Fact
opinion
Demand
Open
Fact
Opinion
Closed
Fact
Opinion
sustain
Continue
Monitor Prolong
Elaborate
Extend
Enhance
Append
Elaborate
Extend
Enhance
React
Respond
Support
Develop
Elaborate
Extend
Enhance
Engage Register Reply
Accept
Comply
Agree
Answer
Acknowledge
Affirm
Confront
Disengage Reply
Decline
Non-comply
Disagree
Withold
Disawow
Contradict
Rejoinder
Support
Track
Check
Confirm
Clarify
Probe
Response
Resolve
Repair
Acquiesce
Confront
Challenge
Detach
Rebound
Counter
Response
Unresolve
Refute
Re-challenge
Eggins and Slade
(1997)
Removing SFs we don’t have to classify from user’s utterances in Alexa Prize
move
open
attend Initiate
Give
Fact
opinion
Demand
Open
Fact
Opinion
Closed
Fact
Opinion
sustain
Continue
Monitor Prolong
Elaborate
Extend
Enhance
Append
Elaborate
Extend
Enhance
React
Respond
Support
Develop
Elaborate
Extend
Enhance
Engage Register Reply
Accept
Comply
Agree
Answer
Acknowledge
Affirm
Confront
Disengage Reply
Decline
Non-comply
Disagree
Withold
Disawow
Contradict
Rejoinder
Support
Track
Check
Confirm
Clarify
Probe
Response
Resolve
Repair
Acquiesce
Confront
Challenge
Detach
Rebound
Counter
Response
Unresolve
Refute
Re-challenge
DeepPavlov (2021)
(removed SFs for commands, discussing physical goods, non-verbal, multiple people)
move
open
Attend Command Initiate
Give
Fact
opinion
Demand
Open
Fact
Opinion
Closed
Fact
Opinion
sustain
Continue
Monitor Prolong
Elaborate
Extend
Enhance
React
Respond
Support
Develop
Elaborate
Extend
Enhance
Engage Register Reply
Agree
Acknowledge
Affirm
Confront
Reply
Disagree
Disawow
Contradict
Rejoinder
Support
Track
Check
Confirm
Clarify
Probe
Response
Resolve
Confront
Challenge
Detach
Rebound
Counter
Response
Unresolve
Refute
Re-challenge
DeepPavlov.ai
We used our Speech Functions Classifier as well as Dialog Acts Classifier
(MIDAS) made by Gunrock (Alexa Prize 3 team) to measure the effect
Original Book Skill was designed during Alexa Prize 3 and rewritten in DFF by
one of our interns.
?
?
DeepPavlov.ai
Step 1
The question: could use of Speech Functions and/or MIDAS make dialog more predictable for dialog designer?
Let people talk to the bot with only this skill enabled
Step 2 Classify utterances w/ Speech Functions & MIDAS
Step 3 Run Speech Functions & MIDAS predictors
Step 4 Compute # of times predictors predicted user utterance classes correctly & not
Step 5 Compare results with vanilla data
DeepPavlov.ai
Primitive but working approach: ignorance, yes/no, custom conditions.
DeepPavlov.ai
Comparing original approach to MIDAS:
DeepPavlov.ai
Manual Labeling vs. Classifier:
God Mode for designing scenario-driven skills for DeepPavlov Dream
DeepPavlov.ai
Comparing original approach to SFs:
DeepPavlov.ai
Manual Labeling vs. Classifier:
Speech Functions Predictor shows the potential of the Speech Functions-based scenario-driven skill
DeepPavlov.ai
For Dialogue Designers for Doom Players
God Mode for
DeepPavlov.ai
Extension for VS Code
Open-Source Dev Tool
Draw.io-based
Draw.io <> Python DSL of DFF
With Discourse Recommendations…
Aids in Rapid Dialog Design
Statistics…
Plugins!
God Mode for designing scenario-driven skills for DeepPavlov Dream
DeepPavlov.ai +
DeepPavlov.ai
Custom spatial UI, re-built suggestions, auto response generation and… a
new name!
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
DeepPavlov.ai
Multiskill
orchestration
Conversa-
tionalskills
NLP
frameworks
ML platforms
Proprietary Open Source
▪ Multiskill Orchestration
• DeepPavlov Agent is an engine for
conversational skill deployment and
orchestration
▪ Conversational Skills
• DeepPavlov Dream - collection of pre-build
conversational skills and a default AI
Assistant distribution package
• DeepPavlov DFF - framework for building
scenario-driven chatbots & Dream skills
▪ NLP Frameworks
• DeepPavlov Library - pretrained models
and both Python & declarative approaches
for building NLP pipelines
▪ ML Platforms
• TensorFlow and PyTorch as backends
DeepPavlov.ai
DeepPavlov
DF Designer
DeepPavlov
DF SDK
DeepPavlov
DF Engine
DeepPavlov
Annotators
Library, Agent, Annotators, DF Engine, DF SDK, DF Designer, Dream
Builder, Dream + Dashboards (DF + Dream)
DeepPavlov
Dream Builder
DeepPavlov
DF Dashboard
DeepPavlov
Dream Dashboard
DeepPavlov
DFF
DeepPavlov
DF Designer
DeepPavlov
DFF
DeepPavlov
DF Engine
DeepPavlov
Annotators
DeepPavlov
Dream Builder
Dev Tools
Chatbot &
AI Assistant
Platforms
Engines
Models
DeepPavlov
DF Dashboard
DeepPavlov
Dream Dashboard
DeepPavlov
DF SDK
SPECIAL
THANKS!
Denis Kuznetsov
DFF Team Lead
Dmitry Evseev
Wiki for DFF SDK
Lida Ostyakova
Speech Functions
Bálint Magyar
VS Code Extension
Dmitry Babadeev
VS Code Extension
Ksenia Petyxova
Skill Writer
Nika Smilga
Skill Writer
Oleg Serikov
VS Code Extension
Maria Molchanova
Product Manager
Daniel Kornev
Deputy Head of Lab
Mikhail Burtsev
Head of Lab
Yuri Kuratov
Senior Researcher
Maxim Talimanchuk
Dev Ops Engineer
Fedor Ignatov
Senior SW Engineer
Dilyara Baymurzina
Dream Team Lead
bit.ly/df-designer or DF Designer in VS Code
Marketplace
DF Designer:
bit.ly/dff-sdk
DF SDK:
bit.ly/df-designer-qa or use QR code:
Talk to us about DF
Designer:
Come join us!
medium.com/deeppavlov
Read us:
forum.deeppavlov.ai
Talk to us: @DeepPavlovDreamDiscussions
TG:
@DeepPavlov
Twitter/TG:
God Mode for designing scenario-driven skills for DeepPavlov Dream

More Related Content

PDF
Managing Dialog Strategy in Multiskill AI Assistant with Discourse Management
PDF
From Dream socialbot to Multiskill AI Assistant Platform
PDF
Multiskill Conversational AI
PDF
Managing Dialog Strategy In Multiskill AI Assistant.pdf
PPTX
Deep Dialog System Review
PDF
End-to-End Joint Learning of Natural Language Understanding and Dialogue Manager
PDF
Deep Learning for Dialogue Systems
PPTX
Towards End-to-End Reinforcement Learning of Dialogue Agents for Information ...
Managing Dialog Strategy in Multiskill AI Assistant with Discourse Management
From Dream socialbot to Multiskill AI Assistant Platform
Multiskill Conversational AI
Managing Dialog Strategy In Multiskill AI Assistant.pdf
Deep Dialog System Review
End-to-End Joint Learning of Natural Language Understanding and Dialogue Manager
Deep Learning for Dialogue Systems
Towards End-to-End Reinforcement Learning of Dialogue Agents for Information ...

What's hot (14)

PDF
One Day for Bot 一天搞懂聊天機器人
PDF
2017 Tutorial - Deep Learning for Dialogue Systems
PPTX
Matrix Factorization with Knowledge Graph Propagation for Unsupervised Spoken...
PPTX
Leveraging Behavioral Patterns of Mobile Applications for Personalized Spoken...
PPTX
End-to-End Memory Networks with Knowledge Carryover for Multi-Turn Spoken Lan...
PPTX
Detecting Actionable Items in Meetings by Convolutional Deep Structured Seman...
PDF
Chatbot的智慧與靈魂
PDF
Building DSLs: Marriage of High Essence and Groovy Metaprogramming
PPTX
Language Empowering Intelligent Assistants (CHT)
PPTX
Deep Learning for Dialogue Modeling - NTHU
PDF
Conversational AI from an Information Retrieval Perspective: Remaining Challe...
PPTX
"Sorry, I didn't get that!" - Statistical Learning from Dialogues for Intelli...
PDF
Applying Science to Conversational UX Design
PDF
A model of a social chatbot
One Day for Bot 一天搞懂聊天機器人
2017 Tutorial - Deep Learning for Dialogue Systems
Matrix Factorization with Knowledge Graph Propagation for Unsupervised Spoken...
Leveraging Behavioral Patterns of Mobile Applications for Personalized Spoken...
End-to-End Memory Networks with Knowledge Carryover for Multi-Turn Spoken Lan...
Detecting Actionable Items in Meetings by Convolutional Deep Structured Seman...
Chatbot的智慧與靈魂
Building DSLs: Marriage of High Essence and Groovy Metaprogramming
Language Empowering Intelligent Assistants (CHT)
Deep Learning for Dialogue Modeling - NTHU
Conversational AI from an Information Retrieval Perspective: Remaining Challe...
"Sorry, I didn't get that!" - Statistical Learning from Dialogues for Intelli...
Applying Science to Conversational UX Design
A model of a social chatbot
Ad

Similar to God Mode for designing scenario-driven skills for DeepPavlov Dream (20)

PPTX
Chatbots and Voice Conversational Interfaces with Amazon Alexa, Neo4j and Gra...
PPTX
How machines learn to talk. Machine Learning for Conversational AI
PDF
Multimodality at Dialogue 2022 by DeepPavlov.pdf
PDF
Beginners chatbotai workshopdbb_bitfusion
PDF
Grammarly AI-NLP Club #2 - Recent advances in applied chatbot technology - Jo...
PDF
kornev.pdf
PPT
Dialogue systems and personal assistants
PDF
Chakrabarti dissertation
PPTX
Dialogare con agenti artificiali
PDF
DeepPavlov 2019
PDF
Conversational agents
PDF
Chatbots and Natural Language Generation - A Bird Eyes View
PDF
Multiskill Conversational AI
PDF
Teaching Computers to Chat
PDF
dialogue act modeling for automatic tagging and recognition
PDF
Building Conversational Experiences with Dialogflow.pdf
PPTX
Chatbots from first principles
PDF
Semi-Automated Assistance for Conceiving Chatbots
PPTX
WiNLP2020 Keynote "Challenges for Conversational AI: Reflections on Gender Is...
PPTX
2022 AAAI DSTC10 Invited Talk
Chatbots and Voice Conversational Interfaces with Amazon Alexa, Neo4j and Gra...
How machines learn to talk. Machine Learning for Conversational AI
Multimodality at Dialogue 2022 by DeepPavlov.pdf
Beginners chatbotai workshopdbb_bitfusion
Grammarly AI-NLP Club #2 - Recent advances in applied chatbot technology - Jo...
kornev.pdf
Dialogue systems and personal assistants
Chakrabarti dissertation
Dialogare con agenti artificiali
DeepPavlov 2019
Conversational agents
Chatbots and Natural Language Generation - A Bird Eyes View
Multiskill Conversational AI
Teaching Computers to Chat
dialogue act modeling for automatic tagging and recognition
Building Conversational Experiences with Dialogflow.pdf
Chatbots from first principles
Semi-Automated Assistance for Conceiving Chatbots
WiNLP2020 Keynote "Challenges for Conversational AI: Reflections on Gender Is...
2022 AAAI DSTC10 Invited Talk
Ad

More from Daniel Kornev (13)

PDF
Building AI Assistants with DeepPavlov - truly final.pdf
PDF
Daniel Kornev's Slides for Working in Digital Media and Tech Services event
PDF
Functional Iliteracy
PDF
Digital Work Environments - History and What's Next after Siri and Cortana?
PDF
Cortana - The Internals
PDF
Palantir, Quid, RecordedFuture: Augmented Intelligence Frontier
PDF
Augmented Intelligence 2.0
PDF
Developer Relations, Google Russia - VC & Startups Outreach Program
PDF
Project Universe – Context-aware Project Management System
PDF
Brave New World of Computer Science - Part I
PDF
Brave New World of Computer Science - Part II
PPTX
Context In UX
PPTX
Ubiquitous Computing
Building AI Assistants with DeepPavlov - truly final.pdf
Daniel Kornev's Slides for Working in Digital Media and Tech Services event
Functional Iliteracy
Digital Work Environments - History and What's Next after Siri and Cortana?
Cortana - The Internals
Palantir, Quid, RecordedFuture: Augmented Intelligence Frontier
Augmented Intelligence 2.0
Developer Relations, Google Russia - VC & Startups Outreach Program
Project Universe – Context-aware Project Management System
Brave New World of Computer Science - Part I
Brave New World of Computer Science - Part II
Context In UX
Ubiquitous Computing

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
KodekX | Application Modernization Development
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Cloud computing and distributed systems.
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Modernizing your data center with Dell and AMD
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
A Presentation on Artificial Intelligence
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
KodekX | Application Modernization Development
Review of recent advances in non-invasive hemoglobin estimation
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Cloud computing and distributed systems.
NewMind AI Monthly Chronicles - July 2025
Understanding_Digital_Forensics_Presentation.pptx
Approach and Philosophy of On baking technology
Modernizing your data center with Dell and AMD
Network Security Unit 5.pdf for BCA BBA.
A Presentation on Artificial Intelligence
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
“AI and Expert System Decision Support & Business Intelligence Systems”
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf

God Mode for designing scenario-driven skills for DeepPavlov Dream

  • 1. GOD MODE FOR BUILDING OPEN- DOMAIN BOTS WITH DISCOURSE- DRIVEN INTEGRATED DIALOG DEVELOPMENT ENVIRONMENT Daniel Kornev CPO @ DeepPavlov
  • 2. Grand Challenge: create a socialbot that can engage in a fun, high quality conversation on popular societal topics for 20 minutes and achieve an average rating of at least 4.0/5.0. Alexa Prize 3 vs 4 Winners: 1. $500K, 3.8 vs 3.28, 7 min 32 sec vs 14 min 14 sec 2. $100K 3.17 vs 3.25 Alexa Prize 4 Winner: Alquist (2nd in ‘17, 3rd in `18,`20) – Czech Technical University 2
  • 3. DeepPavlov.ai “The aim is to identify a way of looking at and manipulating commonsense knowledge that is consistent with and can support what we consider to be the two most fundamental aspects of intelligent cognitive behaviour: the ability to learn from experience and the ability to reason from what has been learned. We are therefore seeking a semantics of knowledge that can computationally support the basic phenomena of intelligent behaviour.” Leslie Valiant
  • 4. 1000+ Commits 800+ PRs ~30 skills 10+ annotators 1 PhD! DeepPavlov.ai
  • 6. DeepPavlov.ai pip install Python-Native Lots of extensions Battle-tested Entity Detection Extensions Intent Classifier Dialog Acts & Speech Functions Dialog Analysis Dashboard
  • 7. DeepPavlov.ai Scenario-Driven approach enables sequential experience and is strategic, yet it takes a long time and still misses on what user can say. User •Let’s chat Bot •(greeting) (question) User •[utterance] Bot •[utterance] User •[utterance] Bot •[utterance] User •[utterance] Bot •[utterance] Small Talk Movies Skill Pros: Scenario-Driven skills enabled us to give users several conversation turns with the same context, and limited user understanding within human-curated scenarios Cons: given that we can’t predict what user might say, lots of iterations needed.
  • 8. DeepPavlov.ai Problem Designing Open-Domain Chatbots is a complex process. User can say anything Interpretation How to recognize pattern? Response How to react? Bot: Hi, how are you doing? User: Hi! Regular Expressions: Require detailed scenarios and long iterative development process Intents: Work only within the given domain (task-oriented chatbots) or at high-level (greeting, etc.) Dialog Acts: Work in limited cases (yes/no, question/statement) User: Hi! User: What’s up? User: I’m sad. User: Had an awful convo. User: Switch off lights
  • 9. DeepPavlov.ai There are at least 2 ways* look at a Conversation: * S. Eggins & D. Slade, Analysing Casual Conversation.London: Cassell, 1997 Pragmatic Conversation • Motivated by clear pragmatic purpose. Aka task- oriented. Usually very short. Formal. Casual Conversation • NOT motivated by clear pragmatic purpose. Can and often are lengthy. Informal, can have humor. Aka chit-chat.
  • 10. DeepPavlov.ai There are several ways* to analyze a Casual Conversation: * S. Eggins & D. Slade, Analysing Casual Conversation. London: Cassell, 1997
  • 11. There are at least 4 different approaches to classify utterances & sentences: Speech Acts* • Work at utterance level. Hearer interprets speaker’s intentions and tries to interpret desired actions from hearer. Dialog Acts • Work at sentence level. Ascribe each sentence’s dialog function to the entire utterance. Speech Functions • Work at sentence level. Similar to Speech Acts but they produce utterance’s through its role in Discourse. Utterance Acts** • Work at utterance level but include body movements. **Not applicable for us as we can’t see the person *Original authors were not concerned with Discourse
  • 12. DeepPavlov.ai There are many taxonomies for each of the classification types: Speech Acts • Austin (1962) • Searle (1975) • Bach and Harnish (1979) Dialog Acts • Jurafsky (1997) – SWBD-DAMSL • MIDAS (2019) Speech Functions • Halliday (1984, 1994) • Eggins and Slade (1997) Speech Acts & Dialog Acts: Speech Acts == Dialog Acts (Jurafsky, 2019) Speech Acts != Dialog Acts (Webb, 2010) vs. Speech Acts & Speech Functions: Speech Acts = interpretation (logico-phil.) Speech Functions = production of utterances (discourse)
  • 13. MIDAS has two groups of Dialog Acts: Semantic and Functional. Gunrock’s Report for Alexa Prize 2 (2018)
  • 14. MIDAS has two groups of Dialog Acts: Semantic and Functional. Gunrock’s Report for Alexa Prize 2 (2018)
  • 15. DeepPavlov.ai Eggins and Martin (1997) Discourse structure patterns operate across turns: thus overtly interactional & sequential Discourse Management is a basis for acting across turns, thus becoming strategic
  • 16. Eggins and Slade (1997) Speech Functions control Discourse: Give information Demand information Speech Acts Discourse Moves Speech Function Example: open:initiate:give_opinion
  • 17. Eggins and Slade (1997) Speech Functions have hierarchy based on the role in Discourse: move open attend command Initiate Give Fact opinion Demand Open Fact Opinion Closed Fact Opinion sustain Continue Monitor Prolong Elaborate Extend Enhance Append Elaborate Extend Enhance React Respond Support Develop Elaborate Extend Enhance Engage Register Reply Accept Comply Agree Answer Acknowledge Affirm Confront Disengage Reply Decline Non-comply Disagree Withold Disawow Contradict Rejoinder Support Track Check Confirm Clarify Probe Response Resolve Repair Acquiesce Confront Challenge Detach Rebound Counter Response Unresolve Refute Re-challenge
  • 18. Eggins and Slade (1997) Removing SFs we don’t have to classify from user’s utterances in Alexa Prize move open attend Initiate Give Fact opinion Demand Open Fact Opinion Closed Fact Opinion sustain Continue Monitor Prolong Elaborate Extend Enhance Append Elaborate Extend Enhance React Respond Support Develop Elaborate Extend Enhance Engage Register Reply Accept Comply Agree Answer Acknowledge Affirm Confront Disengage Reply Decline Non-comply Disagree Withold Disawow Contradict Rejoinder Support Track Check Confirm Clarify Probe Response Resolve Repair Acquiesce Confront Challenge Detach Rebound Counter Response Unresolve Refute Re-challenge
  • 19. DeepPavlov (2021) (removed SFs for commands, discussing physical goods, non-verbal, multiple people) move open Attend Command Initiate Give Fact opinion Demand Open Fact Opinion Closed Fact Opinion sustain Continue Monitor Prolong Elaborate Extend Enhance React Respond Support Develop Elaborate Extend Enhance Engage Register Reply Agree Acknowledge Affirm Confront Reply Disagree Disawow Contradict Rejoinder Support Track Check Confirm Clarify Probe Response Resolve Confront Challenge Detach Rebound Counter Response Unresolve Refute Re-challenge
  • 20. DeepPavlov.ai We used our Speech Functions Classifier as well as Dialog Acts Classifier (MIDAS) made by Gunrock (Alexa Prize 3 team) to measure the effect
  • 21. Original Book Skill was designed during Alexa Prize 3 and rewritten in DFF by one of our interns. ? ?
  • 22. DeepPavlov.ai Step 1 The question: could use of Speech Functions and/or MIDAS make dialog more predictable for dialog designer? Let people talk to the bot with only this skill enabled Step 2 Classify utterances w/ Speech Functions & MIDAS Step 3 Run Speech Functions & MIDAS predictors Step 4 Compute # of times predictors predicted user utterance classes correctly & not Step 5 Compare results with vanilla data
  • 23. DeepPavlov.ai Primitive but working approach: ignorance, yes/no, custom conditions.
  • 29. Speech Functions Predictor shows the potential of the Speech Functions-based scenario-driven skill
  • 30. DeepPavlov.ai For Dialogue Designers for Doom Players God Mode for
  • 31. DeepPavlov.ai Extension for VS Code Open-Source Dev Tool Draw.io-based Draw.io <> Python DSL of DFF With Discourse Recommendations… Aids in Rapid Dialog Design Statistics… Plugins!
  • 34. DeepPavlov.ai Custom spatial UI, re-built suggestions, auto response generation and… a new name!
  • 54. DeepPavlov.ai Multiskill orchestration Conversa- tionalskills NLP frameworks ML platforms Proprietary Open Source ▪ Multiskill Orchestration • DeepPavlov Agent is an engine for conversational skill deployment and orchestration ▪ Conversational Skills • DeepPavlov Dream - collection of pre-build conversational skills and a default AI Assistant distribution package • DeepPavlov DFF - framework for building scenario-driven chatbots & Dream skills ▪ NLP Frameworks • DeepPavlov Library - pretrained models and both Python & declarative approaches for building NLP pipelines ▪ ML Platforms • TensorFlow and PyTorch as backends
  • 55. DeepPavlov.ai DeepPavlov DF Designer DeepPavlov DF SDK DeepPavlov DF Engine DeepPavlov Annotators Library, Agent, Annotators, DF Engine, DF SDK, DF Designer, Dream Builder, Dream + Dashboards (DF + Dream) DeepPavlov Dream Builder DeepPavlov DF Dashboard DeepPavlov Dream Dashboard DeepPavlov DFF
  • 56. DeepPavlov DF Designer DeepPavlov DFF DeepPavlov DF Engine DeepPavlov Annotators DeepPavlov Dream Builder Dev Tools Chatbot & AI Assistant Platforms Engines Models DeepPavlov DF Dashboard DeepPavlov Dream Dashboard DeepPavlov DF SDK
  • 57. SPECIAL THANKS! Denis Kuznetsov DFF Team Lead Dmitry Evseev Wiki for DFF SDK Lida Ostyakova Speech Functions Bálint Magyar VS Code Extension Dmitry Babadeev VS Code Extension Ksenia Petyxova Skill Writer Nika Smilga Skill Writer Oleg Serikov VS Code Extension Maria Molchanova Product Manager Daniel Kornev Deputy Head of Lab Mikhail Burtsev Head of Lab Yuri Kuratov Senior Researcher Maxim Talimanchuk Dev Ops Engineer Fedor Ignatov Senior SW Engineer Dilyara Baymurzina Dream Team Lead
  • 58. bit.ly/df-designer or DF Designer in VS Code Marketplace DF Designer: bit.ly/dff-sdk DF SDK: bit.ly/df-designer-qa or use QR code: Talk to us about DF Designer: Come join us! medium.com/deeppavlov Read us: forum.deeppavlov.ai Talk to us: @DeepPavlovDreamDiscussions TG: @DeepPavlov Twitter/TG: