From Eliza to XiaoIce: challenges and opportunities with social chatbots

Heung-Yeung Shum, Xiaodong He, Di Li

Introduction

The evolution of conversational AI has transitioned from the rule-based scripts of the 1960s, like Eliza, to sophisticated social chatbots such as Microsoft’s XiaoIce. While traditional Intelligent Personal Assistants (IPAs) like Siri and Alexa focus on task efficiency—the "IQ" of AI—social chatbots prioritize emotional engagement, or "EQ." This paper explores the design philosophy and technical framework behind XiaoIce, proposing "conversation-turns per session" (CPS) as the definitive metric for measuring the success of AI designed for long-term companionship.

The Framework: Balancing IQ and EQ

Building a social chatbot requires a departure from the purely transactional nature of utility-based AI. The authors propose a framework that integrates both Intellectual Quotient (IQ) and Emotional Quotient (EQ). While IQ handles factual grounding and task completion, EQ allows the system to understand user emotions, maintain a consistent persona, and build trust over time.

The interplay between IQ (task accuracy) and EQ (empathetic comprehension) in social chatbots.

Technical Architecture and Methods

XiaoIce utilizes a hybrid approach to dialogue generation, combining retrieval-based models that search massive indices of human conversations with generation-based models using RNN/LSTM frameworks. Beyond simple text, the system incorporates:

  • Topic Guidance: Steering conversations toward engaging regions using "topic space" vectors.
  • Visual Awareness: Generating empathetic "social comments" on shared images rather than mere object identification.
  • Skill Integration: Over 180 skills ranging from weather reporting to composing poetry.

Key Insights: The Anti-Efficiency Paradigm

One of the most counterintuitive findings in social chatbot design is the "anti-efficiency" paradigm. Unlike search engines, where the goal is to provide an answer in a single turn, social chatbots may intentionally delay a direct response to spark deeper engagement and rapport.

An example of the 'anti-efficiency' paradigm where XiaoIce delays a direct answer to build rapport and understand user context.

By identifying emotional shifts, the chatbot can provide proactive comfort, which significantly increases long-term user loyalty. This is reflected in the CPS metric; while a CPS of 1 is ideal for a task-oriented bot, XiaoIce aims for a high CPS (averaging 23 in China), indicating a meaningful social connection.

Results and Impact

XiaoIce has demonstrated remarkable success in both engagement and creativity. As of 2017, it reached over 100 million unique users globally. One recorded session lasted over 29 hours, spanning 7,151 turns. Furthermore, XiaoIce’s creative capabilities allowed it to publish a book of poetry and have numerous poems accepted by literary journals under a pseudonym, showcasing a level of sophistication that blurs the line between human and machine creativity.

Limitations and Future Work

Despite these milestones, challenges remain. True empathy is difficult to model without a fundamental understanding of human communication. Current systems also struggle with long-term "episodic memory"—remembering a user's life events over months or years. Finally, as social chatbots gain influence, ethical safeguards are paramount to prevent the generation of biased or harmful content. Future research will focus on neural-symbolic reasoning and real-time "cross-media" AI to allow bots to perceive the world alongside their users.

Summary updated

BibTeX
@article{shum2018from,
  author = {Heung-Yeung Shum and Xiaodong He and Di Li},
  title = {{From Eliza to XiaoIce: challenges and opportunities with social chatbots}},
  journal = {Frontiers Inf. Technol. Electron. Eng.},
  year = {2018},
  doi = {10.1631/fitee.1700826},
}
Figure