It used to be that only Hollywood production companies with deep pockets and teams of skilled artists and technicians could make deepfake videos, realistic fabrications appearing to show people doing and saying things they never actually did or said. Not anymore – software freely available online lets anyone with a computer and some time on their hands create convincing fake videos.Whether used for personal revenge, to harass celebrities or to influence public opinion, deepfakes render untrue the age-old axiom that “seeing is believing.”My research team and I at the University of Southern California Information Sciences Institute are developing ways to tell the difference between realistic-looking fakes and genuine videos that show actual events as they happened. Our recent research has found a new and apparently more accurate way to detect deepfake videos.Finding the flawsGenerally speaking, various deepfake algorithms work by using machine learning techniques to analyze images of the target, identifying key elements of facial expressions like the nose, corners of the mouth, locations of the eyes and so on. They use that information to synthesize new images of that person’s face and put them together to create a video of the target that looks realistic but is fake.Most current methods of detecting deepfakes involve looking at each frame of a video separately, either manually or using a detection algorithm, to spot tiny flaws left by the image-fabrication process. If there is enough evidence of tampering in enough frames, the video is considered fake.However, deepfake creators have begun to use large amounts of image and video compression to blur their results, hiding any artifacts that might reveal their falsehood.Looking at sequences, not single framesOur method seeks to get around that deception by taking a different approach. We extract all the frames from a video and identify the areas that show the target’s face. Then we, in effect, stack all those face images on top of each other, making sure the nose, eyes and mouth are all aligned between every frame. This eliminates the effects of head movements or camera-angle shifts in the video.Then, rather than looking at each face image individually, we look for inconsistencies in how different parts of the face move from frame to frame over time. It’s sort of like setting up a kids’ flip-book and then watching for weird jumps in the sequence. We have found that this method is more accurate, in part because we can identify more evidence of falsehood than when looking at each frame alone.Specifically, we detected deepfakes 96% of the time, even when the images and videos are significantly compressed. So far we have found that level of accuracy only on the only large-scale database available to academic researchers for evaluating their deepfake detection techniques, which is called FaceForensics++. That data set contains videos from three of the most prominent deepfake-generation algorithms, Face2Face, FaceSwap and DeepFake, though fakers are always improving their methods.Deepfake detection is an arms race, in which fakers and truth-seekers will keep advancing their respective technologies. Therefore, the job of limiting their effects on society as a whole can’t fall only to researchers. Scholars and experimenters must keep working, of course, but that’s not all. I believe social networking platforms should also work to develop software and policies that slow the spread of misinformation of all types – whether manipulating a person’s face or showing their whole body moving in ways they never could.