Skip to main content
QUICK REVIEW

[Paper Review] Enterprise to Computer: Star Trek chatbot

Grishma Jena, Mansi Vashisht|arXiv (Cornell University)|Aug 2, 2017
Topic ModelingComputer Science8 references7 citations
TL;DR

This paper proposes E2Cbot, a data-driven chatbot that generates Star Trek-style responses using two distinct sequence-to-sequence (SEQ2SEQ) models: one for Star Trek dialogues and another for general conversation. It employs a Word Graph and language model filtering to transfer non-Star Trek inputs into the Star Trek style, achieving higher Star Trek stylistic coherence (86% human-rated) and better response coherence than rule-based baselines, despite slightly lower grammatical accuracy.

ABSTRACT

Human interactions and human-computer interactions are strongly influenced by style as well as content. Adding a persona to a chatbot makes it more human-like and contributes to a better and more engaging user experience. In this work, we propose a design for a chatbot that captures the "style" of Star Trek by incorporating references from the show along with peculiar tones of the fictional characters therein. Our Enterprise to Computer bot (E2Cbot) treats Star Trek dialog style and general dialog style differently, using two recurrent neural network Encoder-Decoder models. The Star Trek dialog style uses sequence to sequence (SEQ2SEQ) models (Sutskever et al., 2014; Bahdanau et al., 2014) trained on Star Trek dialogs. The general dialog style uses Word Graph to shift the response of the SEQ2SEQ model into the Star Trek domain. We evaluate the bot both in terms of perplexity and word overlap with Star Trek vocabulary and subjectively using human evaluators.

Motivation & Objective

  • To develop a chatbot that captures the linguistic style and tone of Star Trek dialogues while maintaining coherence in general conversations.
  • To overcome limitations of rule-based systems like Fake Spock, which struggle with coverage and scalability.
  • To enable data-driven persona modeling by training separate models for Star Trek and non-Star Trek dialogues.
  • To improve response quality through filtering mechanisms that ensure grammaticality and stylistic consistency.
  • To explore the feasibility of style transfer from general conversation to a fictional, persona-driven domain using neural sequence models.

Proposed method

  • Two independent SEQ2SEQ models are trained: one on 100,990 Star Trek dialog pairs and another on the Cornell Movie-Dialog Corpus for general conversation.
  • A Word Graph algorithm is used to transform general conversation outputs into Star Trek-style language by replacing or inserting domain-specific words.
  • A Bigram Language Model trained on augmented Star Trek dialogues ranks and selects the most probable, grammatically correct response from multiple Word Graph outputs.
  • Response filtering uses perplexity thresholds: if a response's perplexity deviates significantly from Star Trek dialogues, a standard or Klingon response is substituted.
  • Model confidence is monitored; low-confidence outputs trigger rule-based fallback responses to avoid generic replies like 'I don't know'.
  • Personality and style are preserved without modeling a specific character, instead focusing on the collective tone and vocabulary of Star Trek.

Experimental results

Research questions

  • RQ1Can a data-driven approach generate coherent and stylistically accurate Star Trek-style responses for out-of-domain inputs?
  • RQ2How does the performance of a dual-model SEQ2SEQ system compare to rule-based systems in terms of coherence and stylistic relevance?
  • RQ3To what extent can style transfer from general conversation to a fictional, persona-driven domain be achieved using Word Graph and language model filtering?
  • RQ4Can filtering mechanisms improve response quality by reducing ungrammatical or off-topic outputs?
  • RQ5Does separating Star Trek and general conversation modeling lead to better performance than unified modeling?

Key findings

  • E2Cbot achieved a human-rated Star Trek style score of 86%, significantly outperforming the rule-based Fake Spock bot (64%).
  • The model demonstrated higher coherence (73.5% vs. 60.5%) and better overall quality (84.33% average score vs. 74.16%) in human evaluations.
  • Despite lower grammatical accuracy (93.5% vs. 98% for Fake Spock), E2Cbot produced more contextually relevant and stylistically consistent responses.
  • The average perplexity of E2Cbot's responses on Star Trek data was 60.92, close to the target Star Trek dialog perplexity of 65.69, indicating strong language model alignment.
  • Vocabulary overlap with Star Trek terms was 91.45% for E2Cbot, showing effective lexical style transfer.
  • The system successfully generated relevant, Star Trek-themed responses for out-of-domain inputs like 'Red alert' and 'Engage', demonstrating robust style transfer.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.