# Fighting Unwanted Notifications with Machine Learning in Chrome

DevFeed: [Fighting Unwanted Notifications with Machine Learning in Chrome](<https://devfeed.tech/articles/fighting-unwanted-notifications-with-machine-learning-in-chrome-4193.md>)

Original publisher: [Read original article](<https://blog.chromium.org/2025/05/fighting-unwanted-notifications-with.html>)

Author: Chromium Blog (noreply@blogger.com)

Published: 2025-05-08T16:59:00Z

Content type: article

Language: en

Sources: [Chromium Blog](<https://devfeed.tech/sources/chromium-blog.md>)

Topics: [Chrome](<https://devfeed.tech/topics/chrome.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Android](<https://devfeed.tech/topics/android.md>), [online privacy](<https://devfeed.tech/topics/online-privacy.md>), [Security](<https://devfeed.tech/topics/security.md>), [synthetic-data](<https://devfeed.tech/topics/synthetic-data.md>), [Open Source Models & Datasets](<https://devfeed.tech/topics/open-source-models-datasets.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [google](<https://devfeed.tech/tags/google.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [none](<https://devfeed.tech/tags/none.md>), [notifications](<https://devfeed.tech/tags/notifications.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [security](<https://devfeed.tech/tags/security.md>), [synthetic-data](<https://devfeed.tech/tags/synthetic-data.md>)

## AI overview

Chrome is introducing warnings for potentially deceptive or spammy notifications on Android. A local on-device machine learning model analyzes notification text, flags likely unwanted messages, and lets users unsubscribe, view the content, or allow future notifications. Notification contents remain on the device to protect privacy, and the model was trained with synthetic data generated by the Gemini large language model.

## Source excerpt

Notifications in Chrome are a useful feature to keep up with updates from your favorite sites. However, we know that some notifications may be spammy or even deceptive. We've received reports of notifications diverting you to download suspicious software, tricking you into sharing personal information or asking you to make purchases on potentially fraudulent online store fronts. To defend against these threats, Chrome is launching warnings of unwanted notifications on Android. This new feature uses on-device machine learning to detect and warn you about potentially deceptive or spammy notifications, giving you an extra level of control over the information displayed on your device. When a notification is flagged by Chrome, you'll see the name of the site sending the notification, a message warning that the contents of the notification are potentially deceptive or spammy, and the option to either unsubscribe from the site or see the flagged content. An example of a notification flagged as possibly spam. If you choose to see the notification you will still see the option to unsubscribe or you can choose to always allow notifications from that site and not see warnings in the future. What you see when viewing a flagged notification. How It Works Chrome uses a local, on-device machine learning model to analyze notification content. This model identifies notifications that are likely to be unwanted. The model is trained on the textual contents of the notification, like the title, body, and action button texts. Notifications are end to end encrypted. The analysis of each message is done on-device and notification contents are not sent to Google, to protect user privacy. Due to the sensitive nature of notifications content, the model was trained using synthetic data generated by the Gemini large language model (LLM). The training data was evaluated against real notifications Chrome security team collected by subscribing to a variety of websites that were then classified by