IP Library › Granted Patent US 12,430,509
Granted Patent B1
US 12,430,509 · App. 18/378,887 · Granted Sep 30, 2025

Contextual natural language censoring

Inventors: Arunachalam Sundararaman (Redmond, WA); Mukul Aggarwal (Narnaul, IN); Rajesh Ravindran Nandyaleth (Bellevue, WA); Ankur Gupta (Bellevue, WA); Dilip Sridhar (Bangalore, IN)
Assignee: Amazon Technologies, Inc.
G06F40/279G06F16/3344
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,430,509
App. No.
18/378,887
Granted
Sep 30, 2025
Kind
B1
Abstract

Systems and methods for contextual natural language censoring are disclosed. For example, configuration data indicating details associated with content provided by a client device and/or about the client device may be received and may be utilized to determine impermissible and permissible exceptions for a given client. One or more queries may be generated utilizing the impermissible and permissible exceptions, and when input data is received from the client device and/or in association with the client identifier, the queries may be utilized to evaluate the input data for impermissible and permissible exceptions. The results may be filtered based on user preferences, the input data may be censored, the input data may be prevented from being exposed to a user device, the application associated with the input data may be removed from availability, and/or a maturity setting may be changed for the application, for example.

Claims (94)

1. A method comprising:

receiving first data representing a user request for content generated by an application;

sending the first data to the application;

receiving second data representing the content from the application;

generating third data indicating a policy violation schema, the third data identifying:

a first phrase indicated to be impermissible; and

a second phrase indicated to be a permissible exception based at least in part on a contextual meaning, the second phrase encompassing the first phrase;

determining, based at least in part on the third data, that the second data includes the first phrase;

determining a policy violation severity associated with the second data including the first phrase, wherein the policy violation severity is based on the application;

selecting a corrective action to perform on the content generated by the application from multiple corrective actions based at least in part on the policy violation severity, the corrective action including sending a request for the application to generate altered content;

generating the request for the application to generate the altered content based at least in part on selecting the corrective action;

sending the request to the application; and

in response to receiving the altered content from the application, causing a selected device to output of the altered content.

2. The method of claim 1 , further comprising:

determining permissible exceptions, including the permissible exception, associated with the contextual meaning; and

generating the third data based at least in part on the permissible exceptions.

3. The method of claim 1 , further comprising:

receiving fourth data representing a request to validate text data associated with the application;

receiving the text data;

determining that impermissible phrases are absent from the text data; and

outputting a response indicating that the impermissible phrases are absent from the text data.

4. The method of claim 1 , further comprising:

determining that the first phrase is associated with a phrase type indicated to be violative of a content policy;

determining, based at least in part on the first phrase being associated with the phrase type, a content identifier associated with a portion of the application; and

causing the content identifier to be removed from an application list indicating portions of the application to be utilized.

5. The method of claim 1 , wherein the application is configured to perform the corrective action by generating the altered content that excludes the first phrase.

6. The method of claim 1 , further comprising generating, based at least in part on the first data, a request for the content to be generated by the application, the request comprising a natural language representation of the user request along with a command to produce the content.

7. The method of claim 1 , further comprising:

storing fourth data indicating:

impermissible phrases associated with an input type; and

permissible exceptions, including the permissible exception, associated with the input type;

determining that the application is associated with the input type; and

generating the third data based at least in part on the application being associated with the input type.

8. The method of claim 1 , further comprising:

storing fourth data indicating:

impermissible phrases associated with a language of multiple languages; and

permissible exceptions, including the permissible exception, associated with the language;

determining that the application is associated with the language; and

generating the third data based at least in part on the application being associated with the language.

9. The method of claim 1 , wherein:

the application is associated with a language model configured to generate the content in response to user requests; and

sending the first data comprises sending text data representing the first data to the application.

10. The method of claim 1 , wherein the user request comprises audio data, and the method further comprises:

generating, utilizing the audio data, text data representing the user request;

generating a command for the application to provide the content utilizing the text data; and

receiving the altered content from the application.

11. A system comprising:

one or more processors; and

non-transitory computer-readable media storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:

receiving first data representing a user request for content generated by an application;

sending the first data to the application;

receiving second data representing the content from the application;

generating third data indicating a policy violation schema, the third data identifying:

a first phrase indicated to be impermissible; and

a second phrase indicated to be a permissible exception based at least in part on a contextual meaning, the second phrase encompassing the first phrase;

determining, based at least in part on the third data, that the second data includes the first phrase;

determining a policy violation severity associated with the second data including the first phrase, wherein the policy violation severity is based on the application;

selecting a corrective action to perform on the content generated by the application from multiple corrective actions based at least in part on the policy violation severity, the corrective action including sending a request for the application to generate altered content;

generating the request for the application to generate the altered content based at least in part on selecting the corrective action;

sending the request to the application; and

in response to receiving the altered content from the application, causing a selected device to output of the altered content.

12. The system of claim 11 , the operations further comprising:

determining permissible exceptions, including the permissible exception, associated with the contextual meaning; and

generating the third data based at least in part on the permissible exceptions.

13. The system of claim 11 , the operations further comprising:

receiving fourth data representing a request to validate text data associated with the application;

receiving the text data;

determining that impermissible phrases are absent from the text data; and

outputting a response indicating that the impermissible phrases are absent from the text data.

14. The system of claim 11 , the operations further comprising:

determining that the first phrase is associated with a phrase type indicated to be violative of a content policy;

determining, based at least in part on the first phrase being associated with the phrase type, a content identifier associated with a portion of the application; and

causing the content identifier to be removed from an application list indicating portions of the application to be utilized.

15. The system of claim 11 , wherein the application is configured to perform the corrective action by generating the altered content that excludes the first phrase.

16. The system of claim 11 , the operations further comprising generating, based at least in part on the first data, a request for the content to be generated by the application, the request comprising a natural language representation of the user request along with a command to produce the content.

17. The system of claim 11 , the operations further comprising:

storing fourth data indicating:

impermissible phrases associated with an input type; and

permissible exceptions, including the permissible exception, associated with the input type;

determining that the application is associated with the input type; and

generating the third data based at least in part on the application being associated with the input type.

18. The system of claim 11 , the operations further comprising:

storing fourth data indicating:

impermissible phrases associated with a language of multiple languages; and

permissible exceptions, including the permissible exception, associated with the language;

determining that the application is associated with the language; and

generating the third data based at least in part on the application being associated with the language.

19. The system of claim 11 , wherein:

the application is associated with a language model configured to generate the content in response to user requests; and

sending the first data comprises sending text data representing the first data to the application.

20. The system of claim 11 , wherein the user request comprises audio data, and the operations further comprise:

generating, utilizing the audio data, text data representing the user request;

generating a command for the application to provide the content utilizing the text data; and

receiving the altered content from the application.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 22, 2023
From: SUNDARARAMAN, ARUNACHALAM; AGGARWAL, MUKUL; NANDYALETH, RAJESH RAVINDRAN; GUPTA, ANKUR; SRIDHAR, DILIP
To: AMAZON TECHNOLOGIES, INC.
Reel/Frame 065942/0356 →
Continuity (1)
Continuation 16429752 · Jun 3, 2019
References Cited (18)
US 9461958B1 · Green et al. · 2016 [cited by applicant]
US 11822885B1 · Sundararaman · 2023 [cited by examiner]
US 20090228557A1 · Ganz et al. · 2009 [cited by applicant]
US 20100082332A1 · Angell · 2010 [cited by applicant]
US 20120265744A1 · Berkowitz et al. · 2012 [cited by applicant]
US 20130339020A1 · Heo et al. · 2013 [cited by applicant]
US 20140019137A1 · Kitagishi · 2014 [cited by applicant]
US 20140278367A1 · Markman et al. · 2014 [cited by applicant]
US 20160119713A1 · Knox · 2016 [cited by examiner]
US 20170041454A1 · Nicholls et al. · 2017 [cited by applicant]
US 20180063192A1 · Mcguire et al. · 2018 [cited by applicant]
US 20180131645A1 · Magliozzi · 2018 [cited by examiner]
US 20190164539A1 · Schmidt et al. · 2019 [cited by applicant]
US 20190235831A1 · Bao · 2019 [cited by applicant]
Office Action for U.S. Appl. No. 16/429,752, Mailed on Feb. 10, 2023, Inventor #1 Arunachalam Sundararaman, ‘Contextual Natural Language Censoring’, 44 pages. [cited by applicant]
Office Action for U.S. Appl. No. 16/429,752, mailed on May 7, 2021, Sundararaman, “Contextual Natural Language Censoring” 39 pages. [cited by applicant]
Office Action for U.S. Appl. No. 16/429,752, mailed on Dec. 22, 2020, Sundararaman, “Contextual Natural Language Censoring”, 37 Pages. [cited by applicant]
Office Action for U.S. Appl. No. 16/429,752, mailed Feb. 15, 2022, Sundararaman, “Contextual Natural Language Censoring”, 40 pages. [cited by applicant]