FILE - In this March 17, 2019, file photo a police officer stands guard in front of the Masjid Al Noor mosque in Christchurch, New Zealand, where one of two mass shootings occurred. Facebook will work with law enforcement organizations to train its machine learning technology to recognize videos of violent events as part of a broader effort to crack down on extremism. The move comes after its artificial intelligence did not detect the first-person video of a terrorist attack on the mosque in Christchurch. (AP Photo/Vincent Yu, File)

FILE - In this March 17, 2019, file photo a police officer stands guard in front of the Masjid Al Noor mosque in Christchurch, New Zealand, where one of two mass shootings occurred. Facebook will work with law enforcement organizations to train its machine learning technology to recognize videos of violent events as part of a broader effort to crack down on extremism. The move comes after its artificial intelligence did not detect the first-person video of a terrorist attack on the mosque in Christchurch. (AP Photo/Vincent Yu, File)

NEW YORK (AP) — Facebook will work with law enforcement organizations to train its artificial intelligence systems to recognize videos of violent events as part of a broader effort to crack down on extremism.

Facebook’s AI systems were unable to detect live-streamed video of a mass shooting at a mosque in Christchurch, New Zealand.

The effort will use body-cam footage of firearms training provided by U.S. and U.K. government and law enforcement agencies. The aim is to develop systems that can automatically detect first-person violent events without also flagging similar footage from movies or video games.

ADVERTISEMENT

It’s also expanding its definition of terrorism to include not just acts of violence attended to achieve a political or ideological aim, but also attempts at violence, especially when aimed at civilians with the intent to coerce and intimidate.

Facebook has been working to limit the spread of extremist material on its service, so far with mixed success . In March, it expanded its definition of prohibited content to include U.S. white nationalist and white separatist material as well as that from international terrorist groups. It says it has banned 200 white supremacist organizations and 26 million pieces of content related to global terrorist groups like ISIS and al Qaeda.

Extremist videos are just one item in a long list of troubles Facebook faces. It was fined $5 billion fine by U.S. regulators over its privacy practices. A group of state attorneys general has launched its own antitrust investigation into Facebook. And it is also part of broader investigations into “big tech” by Congress and the U.S. Justice Department.

More regulation might be needed to deal with the problem of extremist material, said Dipayan Ghosh, a former Facebook employee and White House tech policy adviser who is currently a Harvard fellow.

“Content takedowns will always be highly contentious because of the platforms’ core business model to maximize engagement,” he said. “And if the companies become too aggressive in their takedowns, then the other side — including propagators of hate speech — will cry out.”