Skip to main content

Machines Replying To Your Email: Smart Reply in Inbox by Gmail

Gmail Smart Reply Feature 1


We get around 300 to 400 emails per day. While most of them are simple enough, requiring only a one or two line reply, the sheer volume makes it hard for us to reply to all of them especially when we're on the move. An email that takes a few seconds to craft on our laptop or desktop, takes at least a minute to type and send on our phones. Multiply that by three hundred or four hundred and you can easily see how tiring and time-consuming it can be.

The new Smart Reply feature in the Inbox by Gmail app that is set to be rolled out later this week is here to help. In a nutshell, its a deep neural network that will guess which of your emails require only a short response and then formulate up to three possible responses which you can edit before sending out.


Gmail smart reply feature 2

The above gif from the Official Gmail Blog shows a live example of how Smart Reply would work. The sender began by mentioning his vacation plans before asking the recipient whether her vacation plans are set and whether she could forward them when done. The Smart Reply neural network determines that the question on when the recipients vacation plans can be forwarded needs a response and comes up with three possible replies.

How Does It Work?

The Smart Reply system is based on a pair of recurrent neural networks - one to decode the incoming email and another to formulate an appropriate response. 

Gmail smart reply feature 3
Diagram by Chris Olah via the Google Research Blog


There's tremendous variety in the way we communicate and one of the challenges is in deciphering the meaning of the incoming message, without getting too hard up on the way the sentence is structured. "How are you doing?" and "How's it going?" are really two different ways of asking the same question.

The other challenge of course, is extracting the relevant portions of the incoming email that require a response, without getting distracted by the "noise" of less relevant sentences.

From the diagram above, the encoding network deciphers the incoming email, one word at a time, producing a list of numbers. The decoding network builds on the list of numbers produced by the encoding network, to generate a grammatically correct response. Over time, the responses you choose (and don't choose), help to improve the quality of response suggestions.

If you're interested in finding out more about how the Smart Reply feature works, do check out the Google Research Blog as well as the Recurrent Neural Networks Wiki for some interesting reading material.

Conclusion

The Smart Reply feature will be rolled out later this week for Inbox for Android and iOS. We're really excited to test it out and see whether it will pass the Turing test. Will your friends and associates be able to tell that it was a computer responding to them instead of you?

Title Image Credit: Google Research Blog 
   

Comments

Popular posts from this blog

How to View YouTube Shorts in the Regular YouTube Player

YouTube's "Shorts" is YouTube’s answer to TikTok and Instagram reels but let’s be honest, the YouTube Shorts player lacks some functionality, such as the ability to fast forward and go back in the video. However, you might be surprised to know that every video that loads in the "Shorts" player is actually a regular video, and by changing the URL slightly, you can load the same video in the regular player along with all the functionality of a traditional YouTube video. Changing the URL Changing the URL is the easiest way to switch the player from a technical standpoint. It’s so easy even your grandma can do it, as long as she knows how to type an address into the address bar of a browser.   Let’s use this super popular short video about AI taking over ping pong as an example. Look in the URL bar of a video playing in the "Shorts" player, where you should see the text Shorts/. Replace that text with watch?v= and load the new URL. So in this...

Create QR Codes in Excel With VBA

Need to automate the creation of QR Codes? Excel and VBA can help with that! Here's how to do it in less than 15 lines of code. What we're looking to do is have a URL in a cell and then we're going to use a function that we create in VBA call Google APIs to create the code. Here's a video that explains the whole process of creating a user defined function in VBA that will create QR Codes: Code to create QR Codes in Excel with VBA Open up your Visual Basic editor and insert the following code and then save. To call the function, type =GETQRCODES(Cell Address) where Cell Address is the address of the cell which contains a URL that you want to send your user to. Function GETQRCODES(QRCode As String)     Dim URL As String     URL = "https://chart.googleapis.com/chart?chs=100x100&&cht=qr&chl=" & QRCode     ActiveSheet.Pictures.Insert(URL).Select     With Selection.ShapeRange(1)         .Name = "QR_CODE_" & QRCode...

How To Change Bluetooth Name On Android

This post will take you step-by-step through the process of changing the Bluetooth name of your devices on an Android phone. There are pictures as references in case you get lost along the way. Change Bluetooth Name On Android | Step-by-step 1. Unlock your Android phone and go to Settings Unlock your phone and click on the Settings Icon It goes without saying, but the first thing you need to do is unlock your phone. By default, the settings icon will be on your home page like in the picture above. If you don't have the settings icon, you can search for 'Settings' in the Android search bar. 2. In the Settings page, click on Bluetooth Click on the Bluetooth settings to open up the Bluetooth Settings menu Click on the Bluetooth settings which should be at the top of your Settings page. If it doesn't, scroll down till you find it or just search for it in the search bar at the top of the Settings page. 3. Click On Device Name To Change Your Phone's Bluetooth Name Click o...