Abstract
In this paper we introduce a novel, open domain socialbot for the Amazon Alexa Prize competition, aimed at carrying on friendly conversations with users on a variety of topics. We present our modular system, highlighting our different data sources and how we use the human mind as a model for data management. Additionally we build and employ natural language understanding and information retrieval tools and APIs to expand our knowledge bases. We describe our semistructured, scalable framework for crafting topic-specific dialogue flows, and give details on our dialogue management schemes and scoring mechanisms. Finally we briefly evaluate the performance of our system and observe the challenges that an open domain socialbot faces.
Introduction
While commercial AI assistants like Alexa and Siri excel at task-oriented commands—such as setting alarms or playing music—they often struggle with the nuances of open-ended social conversation. The primary challenge in open-domain dialogue is the vast breadth of potential topics. A successful socialbot must maintain coherence and personality across a "huge spectrum of topics" without resorting to repetitive or generic responses. Slugbot was developed to bridge this gap, utilizing a scalable, modular framework designed to sustain engaging, multi-turn interactions.
System Architecture and Methods
Slugbot’s architecture is built on a modular design that separates natural language understanding, dialogue management, and data storage. A key innovation is the Human-Inspired Memory Management system. Unlike standard bots that treat all data uniformly, Slugbot distinguishes between Short Term Memory (STM), used for localized system state and immediate context, and Long Term Memory (LTM), used for large corpora and reinforcement learning. This cognitive-inspired approach improves data access efficiency and allows the bot to handle real-time fuzzy queries more effectively than traditional NoSQL solutions.
Natural Language Understanding (NLU)
The system processes user input using the Stanford CoreNLP toolkit to generate deep structure representations, such as dependency trees. This is supplemented by custom-built named entity recognizers, topic classifiers, and dialogue act classifiers, ensuring the bot understands the intent behind a user's utterance.
Dialogue Management and Specialized Modules
Slugbot employs a hybrid dialogue management scheme that balances Mixed Initiative modules (where the user leads) and System Initiative modules (where the bot drives the interaction). Central to this is the Flow Manager, a graph-based structure where nodes have specific preconditions and postconditions. This allows designers to script complex, topic-specific dialogue flows—such as discussions about movies or dinosaurs—that can be easily expanded.
To select the most appropriate response from these various modules, Slugbot uses a mathematical scoring function. This function rewards contextually relevant content while penalizing incoherence, repetition, and excessive response length.
Data Sources and Knowledge Bases
Slugbot leverages a diverse array of data sources to maintain its personality and knowledge:
- Crowdsourced Dialogue: Over 17,000 topic-annotated turns were collected via Amazon Mechanical Turk to train the system's retrieval index.
- Storytelling Corpus: Approximately 40 narratives were extracted from personal blogs and annotated with question-answer pairs to facilitate storytelling.
- Opinion Data: To give the bot a distinct personality, the team extracted opinion data from online reviews of movies, books, and video games.
- External Knowledge: Real-time queries to Evi, Wikipedia, and DuckDuckGo provide the bot with general question-answering capabilities.
Key Insights and Results
Evaluation of Slugbot revealed several critical insights into socialbot design:
- The "Menu" Effect: Explicitly prompting users with a "menu" of topics significantly improved perceived conversation quality by guiding users toward domains where the bot was most knowledgeable.
- Precision Over Recall: Users generally preferred the bot to admit it did not know an answer rather than providing an irrelevant or poor response.
- Engagement through Entertainment: Games like Jeopardy and Fast Money were highly effective at sustaining long interactions, with some sessions exceeding 20 turns. These modules consistently achieved higher user ratings than the overall system average of 3.1.
Limitations and Future Work
Despite its successes, Slugbot faces challenges common to the field. Automated Speech Recognition (ASR) errors remain a significant bottleneck, particularly in game-based modules where a single misheard word can break the experience. Furthermore, users often expect socialbots to retain standard assistant functionalities, requiring complex integration.
Future development will focus on the automatic generation of dialogue flows from user input and the use of reinforcement learning to better synchronize the bot’s personality with the user—a process known as entrainment. Additionally, improved sentiment filtering is needed to ensure the bot avoids sharing "downer" content that negatively impacts user experience.
Summary updated