Skip to main content
QUICK REVIEW

[Paper Review] Ruuh: A Deep Learning Based Conversational Social Agent

Sonam Damani, Nitya Raviprakash|arXiv (Cornell University)|Oct 22, 2018
Multimodal Machine Learning ApplicationsComputer Science3 references3 citations
TL;DR

Ruuh is a deep learning-based conversational social agent developed by Microsoft India that enables emotionally intelligent, context-aware, and multimedia-responsive interactions across diverse topics. It combines retrieval-based response ranking, multimodal emotion detection, offensive language filtering, and human-like image commenting to deliver engaging, socially aware conversations, having engaged over 2 million users in 150 million conversations.

ABSTRACT

Dialogue systems and conversational agents are becoming increasingly popular in the modern society but building an agent capable of holding intelligent conversation with its users is a challenging problem for artificial intelligence. In this demo, we demonstrate a deep learning based conversational social agent called "Ruuh" (facebook.com/Ruuh) designed by a team at Microsoft India to converse on a wide range of topics. Ruuh needs to think beyond the utilitarian notion of merely generating "relevant" responses and meet a wider range of user social needs, like expressing happiness when user's favorite team wins, sharing a cute comment on showing the pictures of the user's pet and so on. The agent also needs to detect and respond to abusive language, sensitive topics and trolling behavior of the users. Many of these problems pose significant research challenges which will be demonstrated in our demo. Our agent has interacted with over 2 million real world users till date which has generated over 150 million user conversations.

Motivation & Objective

  • To develop a conversational agent capable of holding natural, extended dialogues on diverse topics while addressing users' emotional and social needs.
  • To enable the agent to detect and respond appropriately to user emotions such as happiness, sadness, or anger in text-based conversations.
  • To identify and deflect abusive, offensive, or toxic user inputs without engaging in controversial topics.
  • To generate expressive, emotionally resonant responses to user-shared images, particularly personal photos, rather than factual descriptions.
  • To support multilingual and code-mixed language use, including slang and informal expressions, in real-world social interactions.

Proposed method

  • The system models response generation as an information retrieval problem, using TF-IDF to fetch initial candidate responses based on user message and context.
  • A convolutional deep structured semantic network extracts contextual and semantic features from candidate responses for improved relevance scoring.
  • A learned ranker trained on 3-turn Twitter conversations selects the highest-scoring response from the candidate set using extracted features.
  • A bidirectional LSTM-based deep learning model detects offensive or toxic user inputs by analyzing linguistic patterns, spelling variations, and contextual ambiguity.
  • Emotion detection leverages joint semantic and sentiment-based representations to classify emotions like happy, sad, or angry in text dialogues.
  • For image commenting, a fine-tuned version of a pre-trained model on millions of social media image-comment pairs generates expressive, emotionally appropriate captions.

Experimental results

Research questions

  • RQ1How can a conversational agent maintain natural, contextually relevant, and emotionally responsive dialogue across diverse topics in real-world settings?
  • RQ2To what extent can deep learning models detect subtle emotional cues in text without explicit prosody or visual cues?
  • RQ3How can offensive or toxic language in user messages be reliably detected despite spelling variations, slang, and ambiguous phrasing?
  • RQ4What techniques enable a social agent to generate expressive, non-factual, emotionally rich responses to personal images rather than descriptive ones?
  • RQ5How can a conversational agent avoid engaging in controversial topics while maintaining user engagement and trust?

Key findings

  • The retrieval-based response ranking system, combining TF-IDF, deep semantic features, and a learned ranker, effectively selects high-quality responses from a large candidate set.
  • The joint semantic and sentiment-based emotion detection model outperforms traditional sentiment-only approaches in identifying nuanced emotional states like sadness or anger.
  • The bidirectional LSTM model demonstrated superior performance in detecting offensive content, including abusive language with spelling variations and ambiguous terms.
  • The image commenting system successfully generated emotionally expressive responses (e.g., 'awww, how cute!') to personal photos, significantly enhancing user engagement.
  • The agent has successfully interacted with over 2 million real users, generating more than 150 million conversations, demonstrating scalability and robustness in real-world deployment.
  • The system effectively mitigates toxic interactions by detecting and avoiding responses to controversial or abusive inputs, preserving social appropriateness.

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.