Abstract
Athena is a socialbot developed by the University of California, Santa Cruz, for the 2019 Alexa Prize Competition. Moving away from traditional, rigid flow-graphs, Athena employs a modular, contract-based architecture that dynamically assembles conversations using discourse constraints. This approach allows an ensemble of specialized response generators to interleave and collaborate, resulting in a scalable system that balances factual knowledge with engaging, open-domain conversation.
Introduction
Building an open-domain conversational agent, or "socialbot," presents significant challenges. Historically, developers have relied on conversation flow-graphs—massive finite state machines where every system utterance and potential user reply is pre-mapped. While controllable, these systems are laborious to build, difficult to scale, and fragile when faced with unexpected user input. Conversely, end-to-end neural models offer flexibility but often suffer from "hallucinations" and a lack of topical control. Athena seeks a middle ground: a system that is as scalable and dynamic as a neural model but as controllable and coherent as a scripted one.
System Architecture and Methods
Athena’s core innovation is its Dialogue Manager (DM), which operates on a contract-based interface. Instead of following a fixed path, the DM assesses the conversation state and generates a set of "discourse constraints" (e.g., Topic = Movies, Entity = Tom Felton, Dialogue Act = Opinion Question). It then dispatches these to a pool of Response Generators (RGs). Any RG capable of fulfilling the "contract" provides a candidate response.
Technical Components
- NLU Pipeline: Athena uses a BERT-based model for utterance segmentation and an ensemble for Named Entity Linking (EL) that combines DBpedia Spotlight with custom gazetteers to handle noisy ASR data.
- Response Structure: Every response is decomposed into three parts: Grounding (acknowledging the user), Opener (transitioning), and Body (the core content). This modularity allows the system to mix and match components from different sources.
- Flow-RG: This framework manages "miniflows"—short, 2-3 turn scripted segments that can be flexibly interleaved with more dynamic sources like Knowledge Graphs.
- Knowledge Graph RGs: Athena queries the Amazon Information Knowledge Graph (AKG) and Wikidata to generate responses on the fly, enabling discussion across millions of entities without manual scripting.
Key Insights and Ideas
The Power of Interleaving
The most successful conversations occurred when Athena could switch between different RGs (e.g., a factual RG and a personal "backstory" RG) within the same topic. This interleaving makes the bot feel less like a script and more like a natural conversational partner.
Grounding and Latency
A/B testing confirmed that simple grounding (e.g., "That's cool" or "I see") significantly improved user satisfaction by building confidence that the system heard them correctly. Conversely, the team found a significant latency penalty. Deploying a sophisticated Neural Response Generator (TC-NRG) actually decreased user ratings because it added 300-400ms of delay. Users often preferred faster, simpler responses over slower, more complex ones.
Key Results
- Performance Growth: Athena’s average weekly rating improved steadily from 3.3 to 3.6 during the competition as interleaving algorithms were refined.
- Entity Linking: The ensemble EL module achieved an F1-score of 0.57, significantly outperforming off-the-shelf tools like DBpedia Spotlight (0.51) on noisy ASR data.
- Topic Robustness: By focusing on making existing topics more robust rather than simply adding more topics, the team boosted system-topic ratings by 17%.
Conclusion and Future Work
Athena demonstrates that a contract-based dialogue management system can provide the flexibility needed for open-domain socialbots while maintaining necessary discourse control. Future work involves replacing heuristic constraint rules with machine-learning models and improving the verbalization of Knowledge Graph triplets using trained Natural Language Generation (NLG) to create more fluid responses.
Summary updated