[Paper Review] Smart Reply: Automated Response Suggestion for Email
This paper presents Smart Reply, an end-to-end system that generates short, diverse email responses using LSTMs, a semi-supervised semantic clustering of responses, and a triggering module to ensure scalability and privacy in production.
In this paper we propose and investigate a novel end-to-end method for automatically generating short email responses, called Smart Reply. It generates semantically diverse suggestions that can be used as complete email responses with just one tap on mobile. The system is currently used in Inbox by Gmail and is responsible for assisting with 10% of all mobile responses. It is designed to work at very high throughput and process hundreds of millions of messages daily. The system exploits state-of-the-art, large-scale deep learning. We describe the architecture of the system as well as the challenges that we faced while building it, like response diversity and scalability. We also introduce a new method for semantic clustering of user-generated content that requires only a modest amount of explicitly labeled data.
Motivation & Objective
- Motivate and address the challenge of assisting users with short mobile email replies.
- Develop an end-to-end system that produces high-quality, diverse, and scalable reply suggestions.
- Ensure privacy by aggregating data and operating with limited inspection of content.
- Balance response quality with utility and diversity while meeting latency constraints in production.
Proposed method
- Use sequence-to-sequence LSTM models to score likely responses given an incoming email.
- Generate a constrained response set R offline via semi-supervised graph learning to ensure high quality and manageable diversity.
- Enforce diversity by selecting non-redundant responses sharing different semantic intents from R.
- Introduce a triggering model (feedforward network) to decide whether to surface any replies, reducing unnecessary computation.
- Implement a scalable search over R by organizing it in a trie and performing beam search with O(b l) complexity, where b is beam size and l is max response length.
- Apply normalization to penalize overly generic responses and force positive/negative options when appropriate.
Experimental results
Research questions
- RQ1Can an end-to-end system generate short, complete email responses that are useful in mobile contexts?
- RQ2How can we ensure high-quality, diverse response options within a large response space while maintaining scalability?
- RQ3What mechanisms (triggering, diversity constraints) improve end-user utility and production efficiency?
- RQ4How effective is semi-supervised clustering of user-generated content for defining semantic intents of responses?
Key findings
- Smart Reply is responsible for about 10% of mobile email replies in Inbox.
- A triggering model filters ~11% of messages to avoid unnecessary scoring.
- The LSTM-based scorer and the constrained response space produce coherent and plausible short replies.
- Beam search over a trie enables scalable retrieval with top responses matching exhaustive scoring ~99% at beam size 128 in some cases.
- Diversity and intent-based clustering improve usefulness over raw model outputs (reducing generic responses and increasing variety).
- Semi-supervised Expander-based graph learning yields interpretable semantic clusters for response intents.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.