In a significant security update, Gmail has rolled out an advanced spam filter leveraging artificial intelligence (AI), resulting in a notable 38% increase in detection efficiency.

The focal point of this update is the incorporation of a state-of-the-art text classification system known as Resilient & Efficient Text Vectorizer (RETVec) into Gmail's email service.

Developers assert that RETVec excels in identifying spam messages, even those laden with special characters, emoticons, typos, and other elements that previously posed challenges for spam filters. Notably, RETVec proficiently recognizes messages containing homoglyphs—graphically similar characters with different meanings.

Google highlights that the RETVec algorithm is adept at identifying manipulated messages, such as those with inserted or deleted characters, typos, and homographs. Utilizing an encoder, the algorithm efficiently encodes characters and words in UTF-8 format, enabling seamless compatibility with over 100 languages.

Functioning akin to human reading, RETVec relies on visual "similarity" to decipher the meaning of words, prioritizing this over the characters that compose them.

The implementation of RETVec has yielded impressive results, elevating the spam detection rate by 38% compared to the baseline and concurrently reducing false positives by 19.4%. Noteworthy is the 83% reduction in the utilization of tensor processing units (TPUs) by the model, marking one of the most substantial security updates to Gmail in recent years.