The growing threat of deepfake

Powered by the latest technological advancement in artificial intelligence and machine learning, deepfakes offer automated procedures to create fake content that is harder and harder for human observers to detect¹.

The technique was developed in 2016 in the research community and gained public attention when fake X-rated videos putting in display public figures appeared on Reddit. Any digital content disseminated online can be deepfaked. You guessed it, deepfake is often done with malicious intent to cause harm to a public figure. The danger with deepfake goes beyond X-rated videos.

The video shown below, illustrating two toddlers that are visibly friends, became viral on social media, disseminating a positive message of tolerance and friendship. However, over the course of the last US presidential campaign, it was tampered in a way that showed one toddler running  away from the other. The new video was titled Terrified toddler runs from racist baby and shared by President Trump, sending a message of fear and intolerance.

Stillshot of video showing toddlers embracing
Original video on CNN showing two toddlers that are visibly friends.*

Stillshot of video showing toddlers fleeing one another

Tampered video showing one toddler running away from the other.*

In 2019, there were 15,000² deepfake videos in circulation online, an 83% increase in less than a year! This trend is still going strong as deepfake software hit mainstream.

Deepfake can include adding, editing or removing objects from an original video or image. Deepfake works especially well with human faces as they all share the same features (eyes, nose, mouth, etc.). The algorithm “learns” the original face and from there, one of two things can happen: the face from a source photo is swapped onto a face appearing in a target photo, often that of a public figure; or the face of a public figure is rigged in a way that the algorithm makes it say things that are out of character. As this technology grows in sophistication, experts fear that it may become increasingly difficult to tell the difference between real and fake images.

These counterfeit images and videos may be damageable to society and individuals. They can be used for defamation and extorsion.

– Mohamed Dahmane, researcher in computer vision at the Computer Research Institute of Montréal (CRIM)

In 2017, Canada’s Department of National Defence (DND) launched the Innovation for Defence Excellence and Security program (IDEaS), a $1.6 billion investment over 20 years. To foster collaboration between innovators and provide opportunities to work with government, this program offers technological challenges for research organisations and businesses.

CRIM experts chose the Verification of full motion video integrity challenge. The desired outcome is a suite of AI-based tools and methods for detecting tampered videos in circulation and for telling fake images apart.

The Fake Detector Prototype

The prototype and its plugins were built using a novel dataset of 10,765 generated tampered images**. The semantic splicing plugin, developed by researcher Mohamed Dahmane, classifies the pixels in each image and detects which ones have been tampered.

Figure 1. CRIM Detection Flow Chart

 

Here, the picture shows a large aircraft to which was added a fake plane. The goal was to determine whether the semantic plugin could detect the pixels of the foreign object and deduct that the image was forged.

Figure 2. The original image to which was added a fake plane

 

As shown below, the semantic splicing plugin detected the pixel contour of the small plane with a high Intersection over Union (IOU)*** of 77%, meaning that it identified 77% of the tampered pixels that were manually flagged by experts.

Figure 3. The CRIM semantic plugin detects the pixels of the fake plane.

 

In short, the CRIM deep learning solution has helped detect rigged or tampered pixels of images significantly.

Nevertheless, the fight against deepfake is far from over. With every detection solution comes greater sophistication from deepfake software makers. It’s a game of cat and mouse, concludes Mohamed Dahmane.

Time and effort must be invested continuously to improve the detection model. With the support of National Sciences and Engineering Research Council of Canada (NSERC), CRIM will pursue research around deepfake detection, not only in the context of fake news but also in the judiciary sphere. In fact, Mohamed Dahmane hopes that one day, algorithms developed by CRIM can be used to certify the authenticity of digital content used in a court of law. Stay tuned!


¹ https://www.sciencedirect.com/science/article/abs/pii/S0007681319301600?via%3Dihub
² https://www.forbes.com/sites/johnbbrandon/2019/10/08/there-are-now-15000-deepfake-videos-on-social-media-yes-you-should-worry/?sh=55bff1023750
* https://www.cnn.com/2020/06/18/business/trump-video-twitter-manipulated-media/index.html (Screenshot)
** Presented at the 2019 27th European Signal Processing Conference: https://ieeexplore.ieee.org/document/8903181
*** An evaluation metric used to measure the accuracy of an object detector on a particular dataset.

CLIMATEDATA.CA applied to Buildings

September 15, 2021
Speech

CRIM researcher receives a Discovery Grant

July 5, 2021

CLIMATEDATA.CA applied to agriculture

June 30, 2021

CLIMATEDATA.CA applied to healthcare

June 23, 2021

CRIM is part of an initiative to accelerate talent integration in businesses

April 15, 2021

The chatbot: the survey’s best friend?

March 10, 2021

Emotions and Stress Detection in drone Operators

February 12, 2021

Social Media: a new book tackles privacy, security and disinformation issues head-on

February 9, 2021

Jakarto keeps a tally of fire hydrants in your city

February 1, 2021

Effigis and CRIM Working Together to Save our Soil

January 14, 2021

UEAT and CRIM: A Win-Win Collaboration

November 24, 2020

VITAC acquires SOVO Technologies, a CRIM spin-off company

October 14, 2020

CRIM and K2 Geospatial, two Québec organizations with over 25 years experience, talk about adapting to climate change

October 5, 2020

The evolution of planet Earth is everyone’s business

September 11, 2020

Applying CRIM’s speech technology to Indigenous languages

December 5, 2018