A dialogue system, or conversational agent (CA), is a computer system intended to converse with a human. Dialogue systems employed one or more of text, speech, graphics, haptics, gestures, and other modes for communication on both the input and output channel.
After dialogue systems based only on written text processing starting from the early Sixties, the first speaking dialogue system was issued by the DARPA Project in the USA in 1977. After the end of this 5-year project, some European projects issued the first dialogue system able to speak many languages (also French, German and Italian). Those first systems were used in the telecom industry to provide phone various services in specific domains, e.g. automated agenda and train tables service.
What sets of components are included in a dialogue system, and how those components divide up responsibilities differs from system to system. Principal to any dialogue system is the dialog manager, which is a component that manages the state of the dialog, and dialog strategy. A typical activity cycle in a dialogue system contains the following phases:
- The user speaks, and the input is converted to plain text by the system's input recognizer/decoder, which may include:
- The text is analyzed by a Natural language understanding unit (NLU), which may include:
- The semantic information is analyzed by the dialog manager, that keeps the history and state of the dialog and manages the general flow of the conversation.
- Usually, the dialog manager contacts one or more task managers, that have knowledge of the specific task domain.
- The dialog manager produces output using an output generator, which may include:
- Finally, the output is rendered using an output renderer, which may include:
Dialogue systems that are based on a text-only interface (e.g. text-based chat) contain only stages 2–5.
Types of systems
Dialogue systems fall into the following categories, which are listed here along a few dimensions. Many of the categories overlap and the distinctions may not be well established.
- by modality
- by device
- by style
- by initiative
- system initiative
- user initiative
- mixed initiative
Natural dialogue systems
"A Natural Dialogue System is a form of dialogue system that tries to improve usability and user satisfaction by imitating human behaviour"  (Berg, 2014). It addresses the features of a human-to-human dialog (e.g. sub dialogues and topic changes) and aims to integrate them into dialogue systems for human-machine interaction. Often, (spoken) dialogue systems require the user to adapt to the system because the system is only able to understand a very limited vocabulary, is not able to react on topic changes, and does not allow the user to influence the dialogue flow. Mixed-initiative is a way to enable the user to have an active part in the dialogue instead of only answering questions. However, the mere existence of mixed-initiative is not sufficient to be classified as natural dialogue system. Other important aspects include:
- Adaptivity of the system
- Support of implicit confirmation
- Usage of verification questions
- Possibilities to correct information that have already been given
- Over-informativeness (give more information than has been asked for)
- Support negations
- Understand references by analyzing discourse and anaphora
- Natural language generation to prevent monotonous and recurring prompts
- Adaptive and situation-aware formulation
- Social behavior (greetings, same level of formality as the user, politeness)
- Quality of speech recognition and synthesis
Although most of these aspects are issues of many different research projects, there is a lack of tools that support the development of dialogue systems addressing these topics. Apart from VoiceXML that focuses on interactive voice response systems and is the basis for many spoken dialogue systems in industry (customer support applications) and AIML that is famous for the A.L.I.C.E. chatbot, none of these integrate linguistic features like dialog acts or language generation. Therefore, NADIA (a research prototype) gives an idea how to fill that gap and combines some of the aforementioned aspects like natural language generation, adaptive formulation and sub dialogues.
Dialogue systems can support a broad range of applications in business enterprises, education, government, healthcare, and entertainment. For example:
- Responding to customers' questions about products and services via a company's website or intranet portal
- Customer service agent knowledge base: Allows agents to type in a customer's question and guide them with a response
- Guided selling: Facilitating transactions by providing answers and guidance in the sales process, particularly for complex products being sold to novice customers
- Help desk: Responding to internal employee questions, e.g., responding to HR questions
- Website navigation: Guiding customers to relevant portions of complex websites—a Website concierge
- Technical support: Responding to technical problems, such as diagnosing a problem with a product or device
- Personalized service: Conversational agents can leverage internal and external databases to personalize interactions, such as answering questions about account balances, providing portfolio information, delivering frequent flier or membership information, for example
- Training or education: They can provide problem-solving advice while the user learns
- Simple dialogue systems are widely used to decrease human workload in call centres. In this and other industrial telephony applications, the functionality provided by dialogue systems is known as interactive voice response or IVR.
In some cases, conversational agents can interact with users using artificial characters. These agents are then referred to as embodied agents.
Toolkits and architectures
A survey of current frameworks, languages and technologies for defining dialogue systems.
|Name & Links||System Type||Description||Affiliation[s]||Environment[s]||Comments|
|AIML||Chatterbot language||XML dialect for creating natural language software agents||Richard Wallace, Pandorabots, Inc.|
|ChatScript||Chatterbot language||Language/Engine for creating natural language software agents||Bruce Wilcox|
||a state-based speech interface prototyping environment||OGI School of Science and Engineering
|publications are from 1999.|
|NLUI Server||Domain-independent toolkit||complete multilingual framework for building natural language user interface systems||LinguaSys||out-of-box support of mixed-initiative dialogs|
|Olympus||complete framework for implementing spoken dialogue systems||Carnegie Mellon University|||
|Nextnova||Multimodal Platform||Platform for developing multimodal software applications. Based on State Chart XML (SCXML)||Ponvia Technology, Inc.|
|Spoken dialog||multimodal dialog markup language||developed initially by AT&T then administered by an industry consortium and finally a W3C specification||Example||primarily for telephony.|
|SALT||markup language||multimodal dialog markup language||Microsoft||"has not reached the level of maturity of VoiceXML in the standards process".|
|Quack.com - QXML||Development Environment||company bought by AOL|
|OpenDial||Domain-independent toolkit||hybrid symbolic/statistical framework for spoken dialogue systems, implemented in Java||University of Oslo|
|NADIA||dialog engine and dialog modeling||Creating natural dialogs / dialogue systems. Supports dialogue acts, mixed initiative, NLG. Implemented in Java.||Markus M. Berg||create XML-based dialog files, no need to specify grammars, publications are from 2014|
- McTear, Michael, Zoraida Callejas, and David Griol, The conversational interface: Talking to smart devices, Springer, 2016.
- Giancarlo Pirani (ed), Advanced algorithms and architectures for speech understanding, Vol. 1. Springer Science & Business Media, 2013.
- Alberto Ciaramella, A prototype performance evaluation report, Sundial workpackage 8000 (1993).
- Jurafsky & Martin (2009), Speech and language processing. Pearson International Edition, ISBN 978-0-13-504196-3, Chapter 24
- Berg, Markus M. (2014), Modelling of Natural Dialogues in the Context of Speech-based Information and Control Systems, Akademische Verlagsgesellschaft AKA, ISBN 978-3-89838-508-4
- Berg, Markus M. (2015), "NADIA: A Simplified Approach Towards the Development of Natural Dialogue Systems", Natural Language Processing and Information Systems, Lecture Notes in Computer Science, 9103, pp. 144–150, doi:10.1007/978-3-319-19581-0_12, ISBN 978-3-319-19580-3
- Lester, J.; Branting, K.; Mott, B. (2004), "Conversational Agents" (PDF), The Practical Handbook of Internet Computing, Chapman & Hall