Monday, October 25, 2021
HomeData ScienceMicrosoft Speller100: A Spell-Checker For Over 100 Languages

Microsoft Speller100: A Spell-Checker For Over 100 Languages

People do not care enough to use their queries’ correct spelling while searching for anything online. This recklessness makes the search engine match the incorrect set of documents and trigger wrong search results. It is of utmost importance that correctly spelled queries are submitted. Most people do not spell check because they assume that the search engines will figure out what they want to find. Thankfully, the search engines do get that right; you will find something like – – “Did you mean ‘__’?” just below their search bars. These corrections at their core are based on English. However, on a global scale, the multilingualism of the population creates new technological challenges. The linguistic diversity of the queries have quickly gone beyond mere 100 languages.

Microsoft’s search engine, Bing, which had been serving corrections in more than 24 languages, obviously had more room for improvements. Enters Speller100, the large-scale multilingual spelling correction models for more than 100 languages. It is an improvement over the traditional statistical models based on the Noisy-channel coding theorem, and user feedback on auto-correction works well for resource-heavy languages.

The researchers noted, “For a language with very little web presence and user feedback, it’s challenging to gather an adequate amount of training data. To create spelling correction solutions for these latter types of languages, models cannot rely solely on training data to learn the spelling of a language.”

Also Read: Dealing With Racially-Biased Hate-Speech Detection Models

Fundamentally, spelling correction is different from predicting the next words or sentences. So, the Speller100 needs to model both the language and the spelling errors. The spelling errors, inherently, are character level mutations. These errors have two different types – Non-word error, words out of the language vocabulary, and Word errors where the word is valid but does not fit into the context.

The error correction process was formulated as a denoising problem that converts corrupted texts to their original form. They considered the sequence-to-sequence nature of spelling and the errors as noises. All they needed was a denoising sequence-to-sequence deep learning model. Thankfully, Facebook AI already had the groundwork done with their BART paper. The Microsoft researchers leveraged the BART model that uses word-level denoising s2s autoencoder pretraining. But instead of word-level, character-level corruptions were added to terms, and an error-correcting model was trained, which shall get us back to the original word. The researchers swiftly avoided the collection of misspelled queries in 100+ languages.

The researchers had to take care of light-resource languages, where training data was not available. A zero-shot training paradigm was used, which is effective in data-scarce situations like this and does not require any additional language-specific labeled training data. They exploited the linguistic similarities of the light-resource languages with any major language family to pre-training the zero-shot models. They used resources from any related resource-heavy language. A small example has been provided below.

Microsoft claims that during the online A/B testing of the spell-checker on Bing, no-result pages reduced by 30%, user-based manual intervention for query reform went below by 5%, spellings suggestions improved by 67%, and the click-through rate of the first page went up by a staggering 70%. The company seems to ramp-up the integration of Speller100 into its other services.

Subscribe to our newsletter

Subscribe and never miss out on such trending AI-related articles.

We will never sell your data

Join our Telegram and WhatsApp group to be a part of an engaging community.

Pradyumna Sahoo
Pradyumna Sahoo is a data science practitioner who likes to write about AI/ML research. Email: pradyumna.sahoo@analyticsdrift.com

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular