Designing dialogue systems: A mean, grumpy, sarcastic chatbot in the browser (2018)
How do we design and build machines with human-like traits? In this work we explore the idea of personality-based dialogue systems from a conversation design perspective.
For many years artificial intelligence researchers have been investigating how to design and build machines that are not only able to understand and reason, but to perceive and express emotions. A more recent stream of NLP and machine learning research is dedicated to generative systems that model human characteristics as a key component for natural human-machine conversations and interactions. Rather than being task-oriented virtual assistants, those systems have personalities or identities and display opinions and emotions in open-domain settings. In this work, we focused on training an end-to-end system on a carefully crafted dataset that reflects specific human-like traits, emotional states, humor and sarcasm.
The LSTM-based encoder-decoder system was trained on a small, targeted dataset of 3000 question-answering pairs, the core of our mean, grumpy, sarcastic chatbot. We show that the sequence to sequence model learns patterns very quickly and transfers simple linguistic structures representing abstract concepts to unseen settings. To facilitate user interaction and human evaluation we used TensorFlow.js, a JavaScript library for deploying deep learning models in the browser. This allows users to directly interact with the chatbot online. The demo is available at: https://machine-learning-tokyo.github.io/seq2seq_bot
In collaboration with Reiichiro Nakano (TensorFlow.js), Sohee Hong (illustration) and Shuhei Iitsuka (UI/UX).