How does AI learn to finish your sentences? Learn about Smart Compose •

Algorithms have been helping people type faster for years. For instance, if you type best restaurants into a search engine, you’ll see automatic suggestions like near me. These suggestions are usually based on top search trends or popular phrases. Now, modern AI systems help you complete entire sentences that are specific to your conversation as you’re typing. So, we’re bringing this to workplace. How does it predict what you’re going to say? First, we trained a neural network language model, which learns writing patterns and grammar rules from billions of examples of comments on public Facebook posts. As soon as you start typing a message into workplace groups or pages, it analyzes what you’ve typed, as well as a few hundred of the most recent words on the post. Then, all of this information runs through our generative language model, which can make connections between words in specific sequences. The neural network language model calculates correlations across hundreds of millions of words across trillions of possible combinations. For example, phrases like, welcome to the team are usually near, so glad you’re here. And then, it ranks the top suggestions based on relevancy. Most importantly, it runs through another safety filter that detects and prevents harmful suggestions. We also work to remove information that could create inadvertent biases, like gender pronouns. If our model is confident that its top prediction is accurate and appropriate, you’ll see a suggestion next to your cursor. All of this happens in less than hundreds of milliseconds per keystroke. We hope this technology makes typing a little easier for everyone.

AI video(s) you might be interested in …