Facebook builds AI to detect offensive memes
Say you want to search for memes in images on Facebook: The site's challenge is to detect whether there are letters printed within an image, and then parse those letters to know what a phrase says.
This technology has, of course, been in use for document processing for ages, but the challenge at Facebook was both to recognize text in any number of complex images, including text laid over the image, as in an internet meme or text such as a sign that was part of the original image, and then to make it work at the scale of the site's constant stream of images.
Facebook researchers Fedor Borisyuk, Albert Gordo, and Viswanath Sivakumar shared the work on Rosetta at the Knowledge Discovery and Data Mining conference in London in late August, in a formal paper, and today, two of the authors, Gordo and Sivakumar, along with Facebook's Manohar Paluri, offered up a somewhat simpler blog post describing the work.
Facebook split up the task of "extracting" text from an image into two separate matters, that of first detecting whether there is text at all in an image, and then to parsing what that word of phrase might be.
For the first task, detection, the authors used a convolutional neural network (CNN) called "Faster R-CNN," which itself derived from work done originally by Facebook's Ross Girshick when he was at Microsoft. While CNNs have been used quite a bit in the last decade for image recognition tasks, such as ImageNet, the R-CNN adds the notion of "regions" as a way to speedily pick out objects in an image and say where precisely in the image the object is located.
Facebook has already widely deployed an object-recognition system throughout its infrastructure called "Detectron," and having that in place clearly helped in this case.
Once text is located in an image, the coordinates of that image are passed to another CNN to discern the word or phrase, character by character. The product of that second step are sequences of characters making up words and phrases.
Because recognizing long words or long phrases can be especially challenging, the authors describe using what's called a "curriculum" approach to train the character recognition system. They started out by training the system on small words of five characters or less, and progressively increased the length of words with subsequent iterations of the training.
All the training work for both the detection part and the recognition part were performed using the "Caffe2" framework.
The authors spend a substantial amount of time in the original paper describing how they tuned the system for optimal speed for "inference," when a new photo is looked at and has to be quickly searched for text and transcribed. "Given our scale and throughput requirements, we spent [a] significant amount of time improving the execution speed of text detection model while keeping the detection accuracy high," they write.
The Rosetta system is currently operational in Facebook's network, being used daily, the authors write. The authors offer that future challenges will include pulling text out of video applications.
Müəllif
Metbuat.az
Qaynar xətt
0552252950
Həmçinin oxu
Süni intellekt üçün internet “Bakcell”dən
en.ictnews.az
DİGƏR XƏBƏRLƏR
Daha çox »Top xəbərlər
Layihələr
Son xəbərlər
Azərbaycanda nə qədər ev ipotekadadır?
Bu gün
·
23:55
D-8 Media Mükəmməllik Mərkəzinin strategiyası təqdim olundu
Bu gün
·
23:53
Ən uzunömürlü 5 balıq: 200 ildən çox yaşayırlar
Bu gün
·
23:52
ABŞ Hörmüzdə keçidlərin təhlükəsizliyini təmin edəcək - Tramp
Bu gün
·
23:49
10 Avropa ölkəsi Antiballistik Raket Koalisiyası qurdu
Bu gün
·
23:15
Bu tarixi sizin qədər bilən ikinci bir şəxs çətin ki, tapılsın - Prezidentdən Mirşahinə
Bu gün
·
22:53
"Real"da Vinisiusun aqibəti bəlli oldu
Bu gün
·
22:35
Peter Pelleqrini Azərbaycana rəsmi səfərə gəldi
Bu gün
·
22:03
Pambıqdan yüngül planet kəşf edildi
Bu gün
·
21:49
Bizim daxili risklərimiz yoxdur, bütün təhdidlər sərhədlərimizdən kənarda yaranır - İlham Əliyev
Bu gün
·
21:16
Ərəblərdən ulduz futbolçuya təklif
Bu gün
·
21:10
Azərbaycanın bu şəhərində evlər kütləvi satışa çıxarılır
Bu gün
·
20:56
“Qalatasaray”da Sançes böhranı: gedir?
Bu gün
·
20:51
"Azərbaycan D-8 təşkilatına üzv olmağa böyük önəm verir"
Bu gün
·
20:42
Məlumat savaşı: Dezinformasiyanın müharibə və siyasətdəki rolu
Bu gün
·
20:35