Google Introduces RETVec: Gmail’s Latest Safeguard Against Spam and Malicious Emails

Home/BOTNET, Compromised, Email servers, Internet Security, Mobile Security, phishing, Security Advisory, Security Update, Tips/Google Introduces RETVec: Gmail’s Latest Safeguard Against Spam and Malicious Emails

Google Introduces RETVec: Gmail’s Latest Safeguard Against Spam and Malicious Emails

Google has unveiled RETVec (Resilient and Efficient Text Vectorizer), a new multilingual text vectorizer designed to enhance Gmail’s capability in detecting potentially harmful content, including spam and malicious emails.

According to the project’s GitHub description, RETVec undergoes training to exhibit resilience against character-level manipulations, encompassing insertion, deletion, typos, homoglyphs, LEET substitution, and other variations.

The RETVec model undergoes training using an innovative character encoder that efficiently encodes all UTF-8 characters and words.

While major platforms such as Gmail and YouTube depend on text classification models to detect phishing attacks, inappropriate comments, and scams, threat actors are known to develop counter-strategies to evade these defense measures.

They have been observed employing adversarial text manipulations, ranging from homoglyph usage to keyword stuffing and even incorporating invisible characters.


RETVec, with its out-of-the-box compatibility for over 100 languages, strives to contribute to the development of more resilient and efficient server-side and on-device text classifiers, emphasizing robustness and efficiency.

Vectorization, a methodology in natural language processing (NLP), involves mapping words or phrases from vocabulary to corresponding numerical representations. This process facilitates further analysis, including sentiment analysis, text classification, and named entity recognition.

‍Follow Us on: Twitter, InstagramFacebook to get the latest security news!

About the Author:

FirstHackersNews- Identifies Security

Leave A Comment

Subscribe to our newsletter to receive security tips everday!