IP Library Granted Patent US 12,738,030
Granted Patent B2
US 12,738,030 · App. 18/425,845 · Granted Sep 15, 2026

Context-aware artificial intelligence system for content moderation

Inventors: Rahul Bajaj (West Delhi, IN); Sandip Bhattacharjee (Bangalore, IN)
Assignee: Walmart Apollo, LLC
G06F16/337G06F16/353G06F40/279G06N3/08G06V10/774G06V10/776G06V20/30G06V20/70G06Q10/40
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,738,030
App. No.
18/425,845
Granted
Sep 15, 2026
Kind
B2
Abstract

A method can include determining, via a multi-channel text model, a text profanity score for a textual content for an item. The method further can include determining, via a vision model, a vision profanity score for an image content for the item. In addition, the method can include determining whether the text profanity score exceeds a text blocking score. Moreover, the method can include determining whether the vision profanity score exceeds a vision blocking score. The method further can include upon determining that the text profanity score exceeds the text blocking score or that the vision profanity score exceeds the vision blocking score, setting a blocking label for the item in an item database as blocked. Other embodiments are disclosed.

Claims (88)

1 . A system comprising:

one or more processors; and

one or more non-transitory computer-readable media storing computing instructions configured to, when run on the one or more processors, cause the one or more processors to perform:

determining, via a multi-channel text model, a combined text profanity score for textual content of an online promotion associated with an item, wherein the multi-channel text model comprises:

a first channel text model that generates one or more text embeddings for the textual content and generates a first text profanity score for the textual content from the one or more text embeddings;

a second channel text model that generates a respective text profanity degree for each of a plurality of profanity categories, wherein the respective text profanity degree is indicative of the textual content being classified into a respective profanity category, wherein the second channel text model is different from the first channel text model; and

a meta-learner model that generates the combined text profanity score for the textual content by combining the first text profanity score with each of the respective text profanity degrees;

determining, via a vision model, a vision profanity score for image content of the online promotion, wherein the vision model generates one or more vision tensors for the image content and determines the vision profanity score from the vision tensors;

determining whether the combined text profanity score exceeds a text blocking score;

determining whether the vision profanity score exceeds a vision blocking score; and

upon determining that the combined text profanity score exceeds the text blocking score or that the vision profanity score exceeds the vision blocking score, setting a blocking label for the item in an item database as blocked, wherein the item is blocked or unblocked in the online promotion based on the blocking label.

2 . The system in claim 1 , wherein the computing instructions are further configured to cause the one or more processors to perform one or more of:

training the multi-channel text model to generate the combined text profanity score for the textual content of the online promotion based on one or more labeled comment databases, comprising:

training the first channel text model to generate the first text profanity score for the textual content based on the one or more labeled comment databases; and

training the second channel text model to generate the respective text profanity degree for the textual content for each of profanity categories based on the one or more labeled comment databases, wherein:

the combined text profanity score is determined based on the first text profanity score and the respective text profanity degree for each of the profanity categories; or

training the vision model to generate the vision profanity score for the image content based on one or more domain-specific labeled image databases.

3 . The system in claim 2 , wherein:

training the multi-channel text model further comprises, before training the first channel text model and before training the second channel text model, removing one or more unwanted elements from training text data in the one or more labeled comment databases.

4 . The system in claim 2 , wherein:

training the vision model further comprises one or more of:

augmenting training image data in the one or more domain-specific labeled image databases, comprising:

transforming the training image data into varied image data; and

storing the varied image data in the one or more domain-specific labeled image databases;

stratifying the training image data in the one or more domain-specific labeled image databases based on one or more of item types or image labels for the training image data; or

training the vision model using multi-fold cross validation.

5 . The system in claim 1 , wherein the first channel text model comprises:

a first text embedding generator that generates a first text embedding for the textual content of the online promotion;

a second text embedding generator configured to generate a second text embedding for the textual content of the online promotion; and

one or more lightweight regressor models that generates the first text profanity score for the textual content of the online promotion based on:

the first text embedding, as generated by the first text embedding generator; and

the second text embedding, as generated by the second text embedding generator.

6 . The system in claim 5 , wherein the one or more lightweight regressor models are further configured to:

cause the one or more processors to perform at least two different regression algorithms, each of the at least two different regression algorithms generates a respective text score for the textual content of the online promotion; and

determine the first text profanity score for the textual content of the online promotion further based on the respective text score, as generated by each of the at least two different regression algorithms.

7 . The system in claim 5 , wherein:

the one or more lightweight regressor models are each trained using multi-fold cross validation.

8 . The system in claim 5 , wherein one or more of:

the first text embedding generator is further configured to cause the one or more processors to perform a context-aware embedding algorithm; or

the second text embedding generator is further configured to cause the one or more processors to perform a statistics-based embedding algorithm.

9 . The system in claim 1 , wherein the vision model comprises an ensemble learning model comprising:

a first vision model that generates a first tensor;

a second vision model that generates a second tensor; and

a linear layer that generates the vision profanity score based on the first tensor and the second tensor.

10 . The system in claim 1 , wherein the online promotion comprises a social media promotion comprising the textual content and the image content, wherein the item is content of the social media promotion that is promoted by the social media promotion.

11 . The system in claim 1 , wherein the item is associated with metadata in the item database, wherein the blocking label is set in the metadata.

12 . A method being implemented via execution of computing instructions configured to run at one or more processors and stored at one or more non-transitory computer-readable media, the method comprising:

determining, via a multi-channel text model, a combined text profanity score for textual content of an online promotion associated with an item, wherein the multi-channel text model comprises:

a first channel text model that generates one or more text embeddings for the textual content and generates a first text profanity score for the textual content from the one or more text embeddings;

a second channel text model that generates a respective text profanity degree for each of a plurality of profanity categories, wherein the respective text profanity degree is indicative of the textual content being classified into a respective profanity category, wherein the second channel text model is different from the first channel text model; and

a meta-learner model that generates the combined text profanity score for the textual content by combining the first text profanity score with each of the respective text profanity degrees;

determining, via a vision model, a vision profanity score for image content of the online promotion, wherein the vision model generates one or more vision tensors for the image content and determines the vision profanity score from the vision tensors;

determining whether the combined text profanity score exceeds a text blocking score;

determining whether the vision profanity score exceeds a vision blocking score; and

upon determining that the combined text profanity score exceeds the text blocking score or that the vision profanity score exceeds the vision blocking score, setting a blocking label for the item in an item database as blocked, wherein the item is blocked or unblocked in the online promotion based on the blocking label.

13 . The method in claim 12 , further comprising one or more of:

training the multi-channel text model to generate the combined text profanity score for the textual content of the online promotion based on one or more labeled comment databases, comprising:

training the first channel text model to generate the first text profanity score for the textual content based on the one or more labeled comment databases; and

training the second channel text model to generate the respective text profanity degree for the textual content for each of profanity categories based on the one or more labeled comment databases, wherein:

the combined text profanity score is determined based on the first text profanity score and the respective text profanity degree for each of the profanity categories; or

training the vision model to generate the vision profanity score for the image content based on one or more domain-specific labeled image databases.

14 . The method in claim 13 , wherein:

training the multi-channel text model further comprises, before training the first channel text model and before training the second channel text model, removing one or more unwanted elements from training text data in the one or more labeled comment databases.

15 . The method in claim 13 , wherein:

training the vision model further comprises one or more of:

augmenting training image data in the one or more domain-specific labeled image databases, comprising:

transforming the training image data into varied image data; and

storing the varied image data in the one or more domain-specific labeled image databases;

stratifying the training image data in the one or more domain-specific labeled image databases based on one or more of item types or image labels for the training image data; or

training the vision model using multi-fold cross validation.

16 . The method in claim 12 , wherein the first channel text model comprises:

a first text embedding generator that generates a first text embedding for the textual content of the online promotion;

a second text embedding generator that generates a second text embedding for the textual content of the online promotion; and

one or more lightweight regressor models that generates the first text profanity score for the textual content of the online promotion based on:

the first text embedding, as generated by the first text embedding generator; and

the second text embedding, as generated by the second text embedding generator.

17 . The method in claim 16 , wherein the one or more lightweight regressor models are further configured to:

cause the one or more processors to perform at least two different regression algorithms, each of the at least two different regression algorithms generates a respective text score for the textual content of the online promotion; and

determine the first text profanity score for the textual content of the online promotion further based on the respective text score, as generated by each of the at least two different regression algorithms.

18 . The method in claim 16 , wherein:

the one or more lightweight regressor models are each trained using multi-fold cross validation.

19 . The method in claim 16 , wherein one or more of:

the first text embedding generator is further configured to cause the one or more processors to perform a context-aware embedding algorithm; or

the second text embedding generator is further configured to cause the one or more processors to perform a statistics-based embedding algorithm.

20 . The method in claim 12 , wherein the vision model comprises an ensemble learning model comprising:

a first vision model that generates a first tensor;

a second vision model that generates a second tensor; and

a linear layer that generates the vision profanity score based on the first tensor and the second tensor.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 1, 2024
From: BAJAJ, RAHUL; BHATTACHARJEE, SANDIP
To: WM GLOBAL TECHNOLOGY SERVICES INDIA PRIVATE LIMITED
Reel/Frame 067587/0784 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 1, 2024
From: WM GLOBAL TECHNOLOGY SERVICES INDIA PRIVATE LIMITED
To: WALMART APOLLO, LLC
Reel/Frame 067587/0805 →
Continuity (2)
Provisional Application 63527920 · Jul 20, 2023
Related Publication 20250028748A1 · Jan 23, 2025
References Cited (30)
US 6675384B1 · Block · 2004 [cited by examiner]
US 9405741B1 · Schaaf · 2016 [cited by examiner]
US 11140446B2 · Pau · 2021 [cited by examiner]
US 11514337B1 · Karpman · 2022 [cited by examiner]
US 11589116B1 · Omar · 2023 [cited by examiner]
US 11617008B1 · Gupta · 2023 [cited by examiner]
US 11829413B1 · Hao · 2023 [cited by examiner]
US 11829717B1 · Chen · 2023 [cited by examiner]
US 11917222B1 · ReMine · 2024 [cited by examiner]
US 12105755B1 · Omar · 2024 [cited by examiner]
US 12500909B1 · Westenberger · 2025 [cited by examiner]
US 20110283309A1 · Bliss · 2011 [cited by examiner]
US 20200275158A1 · Gaur · 2020 [cited by examiner]
US 20210019339A1 · Ghulati et al. · 2021 [cited by applicant]
US 20210058352A1 · Fogu et al. · 2021 [cited by applicant]
US 20210329338A1 · Khov · 2021 [cited by examiner]
US 20220207864A1 · Autès · 2022 [cited by examiner]
US 20220248091A1 · Pau · 2022 [cited by examiner]
US 20220350990A1 · Phillips · 2022 [cited by examiner]
US 20220414137A1 · Sewak · 2022 [cited by examiner]
US 20220417194A1 · Prabhu · 2022 [cited by examiner]
US 20230222604A1 · Claudio · 2023 [cited by applicant]
US 20240323486A1 · Pau · 2024 [cited by examiner]
US 20240386459A1 · Barker · 2024 [cited by examiner]
US 20240414394A1 · Christensen · 2024 [cited by examiner]
US 20250111160A1 · Reis Alves · 2025 [cited by examiner]
US 20250329060A1 · Gómez · 2025 [cited by examiner]
IN 202341032821 · 2023 [cited by applicant]
Gandhi et al., Scalable Detection of Offensive and Non-compliant Content / Logo in Product Images, 2020 IEEE Winter Conference on Applications of Computer Vision (WACV), Snowmass, CO, USA, 2020, pp. 2247-2256 2020. [cited by applicant]
Singh, A., Classifying Products as Banned Or Approved using Text Mining Part-I, Toward Data Science, retrieved from towardsdatascience.com/classifying-products-as-banned-or-approved-using-text-mining-5b48d2eb1544 Jan. 2… [cited by applicant]