Sankt-Petersburg, Russia, June 20, 2018: YouTube kids application icon on Apple iPhone X smartphone screen close-up. Youtube kids app icon. Social media icon. Social network; Shutterstock ID 1116766706; Job: -
Sankt-Petersburg, Russia, June 20, 2018: YouTube kids application icon on Apple iPhone X smartphone screen close-up. Youtube kids app icon. Social media icon. Social network; Shutterstock ID 1116766706; Job: -
PHOTO: Shutterstock
Now playing
02:08
Mom found suicide instructions spliced in YouTube videos
NEW YORK, NY - JUNE 3: The Google logo adorns the outside of their NYC office Google Building 8510 at 85 10th Ave on June 3, 2019 in New York City. Shares of Google parent company Alphabet were down over six percent on Monday, following news reports that the U.S. Department of Justice is preparing to launch an anti-trust investigation aimed at Google. (Photo by Drew Angerer/Getty Images)
NEW YORK, NY - JUNE 3: The Google logo adorns the outside of their NYC office Google Building 8510 at 85 10th Ave on June 3, 2019 in New York City. Shares of Google parent company Alphabet were down over six percent on Monday, following news reports that the U.S. Department of Justice is preparing to launch an anti-trust investigation aimed at Google. (Photo by Drew Angerer/Getty Images)
PHOTO: Drew Angerer/Getty Images North America/Getty Images
Now playing
03:25
Google employee on unionizing: Google can't fire us all
PHOTO: Jeff Roberson/Kenzo Tribouillard/AFP/Getty Images
Now playing
02:10
US sues Google in landmark antitrust case
Google Pixel 5 phone.
Google Pixel 5 phone.
PHOTO: Google
Now playing
01:48
These are Google's new 5G Pixel phones
google maps new redesign zw orig_00000000.jpg
google maps new redesign zw orig_00000000.jpg
PHOTO: Google Maps
Now playing
00:48
See Google Maps' new, more colorful look
MOUNTAIN VIEW, CA - SEPTEMBER 02:  The new Google logo is displayed at the Google headquarters on September 2, 2015 in Mountain View, California.  Google has made the most dramatic change to their logo since 1999 and have replaced their signature serif font with a new typeface called Product Sans.  (Photo by Justin Sullivan/Getty Images)
MOUNTAIN VIEW, CA - SEPTEMBER 02: The new Google logo is displayed at the Google headquarters on September 2, 2015 in Mountain View, California. Google has made the most dramatic change to their logo since 1999 and have replaced their signature serif font with a new typeface called Product Sans. (Photo by Justin Sullivan/Getty Images)
PHOTO: Justin Sullivan/Getty Images North America/Getty Images
Now playing
02:48
Google extends work from home policy amid pandemic
rip cookies orig_00000000.jpg
rip cookies orig_00000000.jpg
Now playing
03:37
Google is taking a stand against cookies. But it's not that simple
FILE - In this Sept. 2, 2008, file photo Google co-founders Sergey Brin, left, and Larry Page talk about the new Google Browser, "Chrome," during a news conference at Google Inc. headquarters in Mountain View, Calif. Page and Brin are stepping down from their roles within the parent company, Alphabet. Page, who had been serving as CEO of Alphabet, and Brin, who had been president of Alphabet, will remain on the board of the company. (AP Photo/Paul Sakuma, File)
FILE - In this Sept. 2, 2008, file photo Google co-founders Sergey Brin, left, and Larry Page talk about the new Google Browser, "Chrome," during a news conference at Google Inc. headquarters in Mountain View, Calif. Page and Brin are stepping down from their roles within the parent company, Alphabet. Page, who had been serving as CEO of Alphabet, and Brin, who had been president of Alphabet, will remain on the board of the company. (AP Photo/Paul Sakuma, File)
PHOTO: Paul Sakuma/AP
Now playing
00:41
Google co-founders stepping down from executive roles
Now playing
00:46
Google's health initiative collects personal data
PHOTO: DINA LITOVSKY/CNN
Now playing
03:42
How employee activism at Google started a movement
PHOTO: Google
Now playing
01:16
Google CEO: 'Hello world' moment for quantum computing
Google CEO Sundar Pichai poses for a portrait at the Mayes County Google Data Center in Pryor, Oklahoma, June 13, 2019. Nick Oxford for CNN
Google CEO Sundar Pichai poses for a portrait at the Mayes County Google Data Center in Pryor, Oklahoma, June 13, 2019. Nick Oxford for CNN
PHOTO: Nick Oxford for CNN
Now playing
03:20
Google CEO on privacy: We've put too much burden on users
PHOTO: CNN Business
Now playing
02:41
Google and Facebook are great at selling ads. It's terrible for journalism
PHOTO: CNN Business
Now playing
01:18
This is Google's new smart screen device
Now playing
03:03
Is Google a monopoly?
(CNN Business) —  

YouTube on Thursday said it has started disabling comments on videos of minors following accusations that the platform aided pedophiles in finding clips of young children.

The company, which is owned by Alphabet, said it has turned off comments on “tens of millions” of videos over the past week that could be subject to “predatory behavior.” It will continue to identify such videos over the next few months.

“We recognize that comments are a core part of the YouTube experience and how you connect with and grow your audience. At the same time, the important steps we’re sharing today are critical for keeping young people safe,” the company wrote in a blog post.

Last week, video creator Matt Watson said YouTube’s algorithm created a “worm hole” that let pedophiles easily find clips of young children performing activities such as gymnastics or yoga using the website’s recommended videos feature. Some users left comments specifying what times minors were seen in “compromising positions.”

The revelations caused major companies including AT&T (T), Nestle (NSRGY) and Epic Games to pause their advertising on YouTube. (AT&T (T) is CNN’s parent company).

Over the next few months, YouTube says it will widen its efforts to shut off comments on videos featuring young minors under 13, as well as older minors under 18 that could attract “predatory” actions.

A small number of creators will be allowed to keep comments on these types of videos, but the channels must actively moderate their comments and prove the content is low risk. A YouTube spokesperson declined to say which specific accounts or types of creators would be exempt.

“We will work with them directly and our goal is to grow this number over time as our ability to catch violative comments continues to improve,” the company said in the blog post, referring to creators.

Videos featuring minors are flagged algorithmically through AI. As with any AI-assisted moderation, YouTube’s method is likely to be far from perfect because it can be tricky for a computer to accurately determine a person’s age. The way they’re sitting or standing, or the kind of lighting in a video, may make it harder to determine.

Last April, YouTube announced that AI systems were detecting most of the videos that ended up getting taken down from the site. The company has also used AI to help expert groups like the Internet Watch Foundation identify and report child sexual abuse content online.

YouTube also announced it’s working on a more effective tool to help detect and remove two times as many comments from the site.

This isn’t the first time the company has said it is prioritizing detrimental comments on its platform. In 2017, CEO Susan Wojcicki said the company was “taking aggressive action on comments, launching new comment moderation tools and in some cases shutting down comments altogether.”

At the time, YouTube announced it would hire 10,000 people to clean up offensive videos after backlash including troubling messages seeping through its YouTube Kids platform.

CNN Business’ Sara Ashley O’Brien, Rachel Metz and Oliver Darcy contributed reporting.