How Amazon Procuring makes use of Amazon Rekognition Content material Moderation to overview dangerous photos in product critiques

Prospects are more and more turning to product critiques to make knowledgeable choices of their purchasing journey, whether or not they’re buying on a regular basis objects like a kitchen towel or making main purchases like shopping for a automobile. These critiques have remodeled into an important supply of data, enabling consumers to entry the opinions and experiences of different prospects. Because of this, product critiques have grow to be a vital facet of any retailer, providing beneficial suggestions and insights to assist inform buy choices.

Amazon has one of many largest shops with a whole bunch of thousands and thousands of things out there. In 2022, 125 million prospects contributed almost 1.5 billion critiques and rankings to Amazon shops, making on-line critiques at Amazon a strong supply of suggestions for purchasers. On the scale of product critiques submitted each month, it’s important to confirm that these critiques align with Amazon Community Guidelines concerning acceptable language, phrases, movies, and pictures. This follow is in place to ensure prospects obtain correct info concerning the product, and to forestall critiques from together with inappropriate language, offensive imagery, or any sort of hate speech directed in direction of people or communities. By imposing these pointers, Amazon can preserve a protected and inclusive surroundings for all prospects.

Content material moderation automation permits Amazon to scale the method whereas retaining excessive accuracy. It’s a fancy drawback area with distinctive challenges and requiring completely different methods for textual content, photos, and movies. Photographs are a related element of product critiques, typically offering a extra instant affect on prospects than textual content. With Amazon Rekognition Content Moderation, Amazon is ready to robotically detect dangerous photos in product critiques with greater accuracy, lowering reliance on human reviewers to average such content material. Rekognition Content material Moderation has helped to enhance the well-being of human moderators and obtain important price financial savings.

Amazon Shopping with Rekognition

Moderation with self-hosted ML fashions

The Amazon Procuring crew designed and carried out a moderation system that makes use of machine studying (ML) at the side of human-in-the-loop (HITL) overview to make sure product critiques are in regards to the buyer expertise with the product and don’t include inappropriate or dangerous content material as per the group pointers. The picture moderation subsystem, as illustrated within the following diagram, utilized a number of self-hosted and self-trained pc imaginative and prescient fashions to detect photos that violate Amazon pointers. The choice handler determines the moderation motion and supplies causes for its determination based mostly on the ML fashions’ output, thereby deciding whether or not the picture required an additional overview by a human moderator or might be robotically permitted or rejected.

Overall architecture

With these self-hosted ML fashions, the crew began by automating choices on 40% of the pictures obtained as a part of the critiques and constantly labored on bettering the answer by way of the years whereas going through a number of challenges:

  • Ongoing efforts to enhance automation price – The crew desired to enhance the accuracy of ML algorithms, aiming to extend the automation price. This requires steady investments in knowledge labeling, knowledge science, and MLOps for fashions coaching and deployment.
  • System complexity – The structure complexity requires investments in MLOps to make sure the ML inference course of scales effectively to satisfy the rising content material submission site visitors.

Exchange self-hosted ML fashions with the Rekognition Content material Moderation API

Amazon Rekognition is a managed synthetic intelligence (AI) service that provides pre-trained fashions by way of an API interface for image and video moderation. It has been extensively adopted by industries corresponding to ecommerce, social media, gaming, on-line courting apps, and others to average user-generated content material (UGC). This features a vary of content material sorts, corresponding to product critiques, person profiles, and social media submit moderation.

Rekognition Content material Moderation automates and streamlines picture and video moderation workflows with out requiring ML expertise. Amazon Rekognition prospects can course of thousands and thousands of photos and movies, effectively detecting inappropriate or undesirable content material, with totally managed APIs and customizable moderation guidelines to maintain customers protected and the enterprise compliant.

The crew efficiently migrated a subset of self-managed ML fashions within the picture moderation system for nudity and never protected for work (NSFW) content material detection to the Amazon Rekognition Detect Moderation API, benefiting from the extremely correct and complete pre-trained moderation fashions. With the excessive accuracy of Amazon Rekognition, the crew has been capable of automate extra choices, save prices, and simplify their system structure.

Deployment diagram

Improved accuracy and expanded moderation classes

The implementation of the Amazon Rekognition image moderation API has resulted in greater accuracy for detection of inappropriate content material. This suggests that an extra approximate of 1 million photos per 12 months might be robotically moderated with out the necessity for any human overview.

Operational excellence

The Amazon Procuring crew was capable of simplify the system structure, lowering the operational effort required to handle and preserve the system. This method has saved them months of DevOps effort per 12 months, which implies they’ll now allocate their time to growing modern options as a substitute of spending it on operational duties.

Price discount

The excessive accuracy from Rekognition Content material Moderation has enabled the crew to ship fewer photos for human overview, together with probably inappropriate content material. This has lowered the associated fee related to human moderation and allowed moderators to focus their efforts on extra high-value enterprise duties. Mixed with the DevOps effectivity positive factors, the Amazon Procuring crew achieved important price financial savings.


Migrating from self-hosted ML fashions to the Amazon Rekognition Moderation API for product overview moderation can present many advantages for companies, together with important price financial savings. By automating the moderation course of, on-line shops can shortly and precisely average giant volumes of product critiques, bettering the client expertise by guaranteeing that inappropriate or spam content material is shortly eliminated. Moreover, by utilizing a managed service just like the Amazon Rekognition Moderation API, corporations can cut back the time and assets wanted to develop and preserve their very own fashions, which might be particularly helpful for companies with restricted technical assets. The API’s flexibility additionally permits on-line shops to customise their moderation guidelines and thresholds to suit their particular wants.

Be taught extra about content moderation on AWS and our content moderation ML use cases. Take step one in direction of streamlining your content moderation operations with AWS.

Concerning the Authors

Lana ZhangShipra Kanoria is a Principal Product Supervisor at AWS. She is keen about serving to prospects resolve their most complicated issues with the facility of machine studying and synthetic intelligence. Earlier than becoming a member of AWS, Shipra spent over 4 years at Amazon Alexa, the place she launched many productivity-related options on the Alexa voice assistant.

Lana ZhangLuca Agostino Rubino is a Principal Software program Engineer within the Amazon Procuring crew. He works on Neighborhood options like Buyer Opinions and Q&As, focusing by way of the years on Content material Moderation and on scaling and automation of Machine Studying options.

Lana ZhangLana Zhang is a Senior Options Architect at AWS WWSO AI Companies crew, specializing in AI and ML for Content material Moderation, Pc Imaginative and prescient, Pure Language Processing and Generative AI. Along with her experience, she is devoted to selling AWS AI/ML options and helping prospects in remodeling their enterprise options throughout various industries, together with social media, gaming, e-commerce, media, promoting & advertising.

Leave a Reply

Your email address will not be published. Required fields are marked *