
{"id":4149,"date":"2017-12-12T07:51:06","date_gmt":"2017-12-12T07:51:06","guid":{"rendered":"https:\/\/www.branex.ae\/blog\/?p=4149"},"modified":"2017-12-12T07:52:23","modified_gmt":"2017-12-12T07:52:23","slug":"facebook-ai-based-translation-tool","status":"publish","type":"post","link":"https:\/\/www.branex.ae\/blog\/facebook-ai-based-translation-tool\/","title":{"rendered":"Facebook\u2019s AI-Based Translation Tool is All Set to Transcend Linguistic Barriers"},"content":{"rendered":"<blockquote><p><strong><em>\u201cFacebook was not originally created to be a company. It was built to accomplish a social mission \u2013 to make the world more open and connected.\u201d \u2013 Mark Zuckerberg \u2013 Co-founder &amp; CEO &#8211; Facebook<\/em><\/strong><\/p><\/blockquote>\n<p>Facebook is the world\u2019s most popular social media network. As of September 30<sup>th<\/sup>, 2017, Facebook reported 2.07 billion monthly active users. This is a phenomenal achievement as currently no other company can even dream of boasting a more staggering user base.It is single-handedly responsible for changing the way we interact with our loved ones. Facebook has also changed the very definition of \u201cFriend\u201d as \u201cTo friend\u201d is now a verb and although \u201cshare\u201d and \u201clike\u201d are used in the same literal sense, Facebook has brought an entirely new weight to the terms.<\/p>\n<p>As the Facebook community grew exponentially over the years, you must have encountered several posts in your Facebook life that were foreign to you. However when such a post appears on your news feed, what do you do? You simply tap a button and translate it to your language. However, akin to a plethora of other online translation services, Facebook\u2019s translation service previously came with a caveat: it didn\u2019t always make sense. After all, creating highly accurate, seamless translations for some 2 billion audience is a tough nut to crack, especially when it comes to accounting for intent, abbreviations, typos, slang, and context simultaneously! However, when Facebook decided to up their game and bring in the power of neural networks, they might have revamped the translations arena a whole notch up!<\/p>\n<p>Here\u2019s an example to prove the power of translations for Facebook audience: Italy drew level with Sweden 0-0 on 13<sup>th<\/sup> November, 2017 and that was enough for them to miss the football world cup in 2018 for the first time in 60 years. This generated lots of negative reaction from people all over the world on the social media. Facebook and Twitter were abuzz with angry fans asking to sack the big names who failed to qualify for the FIFA\u2019s flagship tournament. Fans across the globe were able to exchange views on this issue and transcend all language barriers, thanks to Facebook translation.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.branex.ae\/blog\/facebook-ai-based-translation-tool\/#Related_Read_How_Facebook_Algorithms_Work_and_How_You_Can_Increase_Your_Organic_Reach\" >Related Read: How Facebook Algorithms Work and How You Can Increase Your Organic Reach<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.branex.ae\/blog\/facebook-ai-based-translation-tool\/#A_Revolutionary_New_Translation_Tool\" >A Revolutionary New Translation Tool<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.branex.ae\/blog\/facebook-ai-based-translation-tool\/#Incorporating_Neural_Networks_for_Translation\" >Incorporating Neural Networks for Translation<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.branex.ae\/blog\/facebook-ai-based-translation-tool\/#Related_Read_How_to_Create_a_Compelling_Facebook_Post\" >Related Read: How to Create a Compelling Facebook Post<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.branex.ae\/blog\/facebook-ai-based-translation-tool\/#How_Long_Short-term_memory_network_LSTM_works\" >How Long Short-term memory network (LSTM) works?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.branex.ae\/blog\/facebook-ai-based-translation-tool\/#Final_Word\" >Final Word<\/a><\/li><\/ul><\/nav><\/div>\n<h4 style=\"text-align: center\"><span class=\"ez-toc-section\" id=\"Related_Read_How_Facebook_Algorithms_Work_and_How_You_Can_Increase_Your_Organic_Reach\"><\/span><strong>Related Read: <a href=\"https:\/\/www.branex.ae\/blog\/facebook-algorithms\/\"><span style=\"color: #eb3434\">How Facebook Algorithms Work and How You Can Increase Your Organic Reach<\/span><\/a><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<h3><span class=\"ez-toc-section\" id=\"A_Revolutionary_New_Translation_Tool\"><\/span><strong>A Revolutionary New Translation Tool<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Facebook\u2019s translation tool, as we knew it, was launched in 2011 and Microsoft\u2019s Bing was responsible for performing the translations at that time. In the beginning, Facebook users were able to use a Translation button next to the comments written out in any language other than English,and the translation would pop up in a separate window. Only recently, Facebook performs over 4.5 billion automatic translations and capitalizes on neural networks to achieve this mammoth task smoothly and more accurately.<\/p>\n<p>Earlier this year in May, Mark Zuckerberg gave us a glimpse of what\u2019s coming our way. He stated:<em>\u201c<\/em><em>Today we&#8217;re publishing research on how AI can deliver better language translations. With a new neural network, our AI research team was able to translate more accurately between languages, while also being nine times faster than current methods.\u201d <\/em><\/p>\n<p>So what\u2019s so cool about this feature and how will it revolutionize the way we translate text on the Internet? After all, we can use Google translate and other free services. Facebook has immense faith in this system as they believe this new tool can change the way people usethe translation services on the Internet. So from the simple phrase-based machine translation model, Facebook\u2019s approach now relies on neural networks. Let me define this aspect in detail now so everyone can understand why Facebook has great hopes for the future.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Incorporating_Neural_Networks_for_Translation\"><\/span><strong>Incorporating Neural Networks for Translation<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Facebook has incorporated neural networks in its translation tool, which is a complex mathematical system capable of learning tasks by analyzing copious amounts of data. If you are still hiding under a rock and are oblivious to this earth shattering discovery, let me tell you that this technique is already in use in several other fields and has helped evolve image and speech recognition for the better. Similarly, now it is being used by Facebook for overhauling machine translations.<\/p>\n<p>Facebook is banking upon Convolutional Neural Networks (CNN), a technique invented by Yann LeCun, an experienced researcher who now heads Facebook\u2019s AI lab. CNN can analyze many different pieces concurrently and then organize those smithereens into a logical hierarchy. It is akin to the long Short-term memory network (LSTM) which we are coming on to next.<\/p>\n<p>Google also attempted at making use of neural networks when in 2016, it unveiled a new translation system based on this burgeoning innovation. Google successfully surpassed existing models at that time such as the ones being used by Microsoft. Now Facebook is trying to climb a notch up and use neural networks to incorporate AI in its translation services. This is how it plans to account for typos, slang, context, etc. LSTM is what makes Facebook Translations impeccable.<\/p>\n<h4 style=\"text-align: center\"><span class=\"ez-toc-section\" id=\"Related_Read_How_to_Create_a_Compelling_Facebook_Post\"><\/span>Related Read: <a href=\"https:\/\/www.branex.ae\/blog\/how-to-create-a-compelling-facebook-post\/\"><span style=\"color: #eb3434\">How to Create a Compelling Facebook Post<\/span><\/a><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<h3><span class=\"ez-toc-section\" id=\"How_Long_Short-term_memory_network_LSTM_works\"><\/span><strong>How Long Short-term memory network (LSTM) works?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The attention span is the key difference between the old system and the new. Phrase based translation is now being replaced by neural networks, which can take into factor whole sentences at a time. In this way, LSTM, a particular sort of machine learning component, is being applied now. The benefits are pretty clear as we get an accurate sentence after translation,retaining the full context of the original one.<\/p>\n<p>Compare these two Turkish-to-English translations to glean a complete picture of the evolution. The picture below comes from the flawed phrase based system, while the one below it comes from the new system.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-4151 aligncenter\" src=\"https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI.jpg\" alt=\"Facebook AI\" width=\"527\" height=\"183\" srcset=\"https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI.jpg 527w, https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI-300x104.jpg 300w, https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI-260x90.jpg 260w, https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI-50x17.jpg 50w, https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI-150x52.jpg 150w\" sizes=\"(max-width: 527px) 100vw, 527px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4152 aligncenter\" src=\"https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI-2.jpg\" alt=\"Facebook AI 2\" width=\"552\" height=\"192\" srcset=\"https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI-2.jpg 552w, https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI-2-300x104.jpg 300w, https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI-2-260x90.jpg 260w, https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI-2-50x17.jpg 50w, https:\/\/www.branex.ae\/blog\/wp-content\/uploads\/2017\/12\/Facebook-AI-2-150x52.jpg 150w\" sizes=\"(max-width: 552px) 100vw, 552px\" \/><\/p>\n<p>The company\u2019s explanation in this regard is what makes it quite interesting: \u201cWhen a word in a sentence doesn\u2019t have a direct corresponding translation in a target language, the neural system will generate a placeholder for the unknown word. A translation of that word is searched for in a sort of in-house dictionary built from Facebook\u2019s training data, and the unknown word is replaced. This allows abbreviations like \u201ctmrw\u201d to be translated into their intended meaning \u2014 \u201ctomorrow.\u201d<\/p>\n<p>\u201cNeural networks open up many future development paths related to adding further context, such as a photo accompanying the text of a post, to create better translations,\u201d the company said. \u201cWe are also starting to explore multilingual models that can translate many different language directions.\u201d<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Final_Word\"><\/span><strong>Final Word<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>People from across the globe communicate with each other on various groups and forums on Facebook. But the different languages they speak hitherto created a hurdle in ensuring smooth communication. Facebook Translation is being billed by the company as the ultimate solution for this problem. Facebook has not only published a paper describing the working of this tool but also generously shared the code with everyone else,making it an open-source tool. So we can rightly anticipate new features in Facebook Translation in a not so distant future.<\/p>\n<p>As Facebook Translation is still evolving as a tool, I am sure most of you are not aware of how it can benefit you as an individual or a small company\/startup. Feel free to come up with any question in your mind so that I can answer it. You can also give your valuable feedback for this blog using the comments section below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u201cFacebook was not originally created to be a company. It was built to accomplish a social mission \u2013 to make the world more open and connected.\u201d&#8230;<\/p>\n","protected":false},"author":16,"featured_media":4150,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[183],"tags":[354,267,355],"class_list":["post-4149","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-social-media","tag-facebook-ai","tag-mark-zuckerberg","tag-translation-tool"],"_links":{"self":[{"href":"https:\/\/www.branex.ae\/blog\/wp-json\/wp\/v2\/posts\/4149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.branex.ae\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.branex.ae\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.branex.ae\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.branex.ae\/blog\/wp-json\/wp\/v2\/comments?post=4149"}],"version-history":[{"count":0,"href":"https:\/\/www.branex.ae\/blog\/wp-json\/wp\/v2\/posts\/4149\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.branex.ae\/blog\/wp-json\/wp\/v2\/media\/4150"}],"wp:attachment":[{"href":"https:\/\/www.branex.ae\/blog\/wp-json\/wp\/v2\/media?parent=4149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.branex.ae\/blog\/wp-json\/wp\/v2\/categories?post=4149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.branex.ae\/blog\/wp-json\/wp\/v2\/tags?post=4149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}