brett goldstein Profile picture
Mar 30, 2024 21 tweets 8 min read Read on X
deepfakes are fun (like this video) but also a billion-dollar problem.

rigging elections, blackmailing, corporate scams are on the rise.

understanding how deepfakes work can give us clues about how to control them.

everything on deepfakes and how to tackle them 🧵
I mean the memes are funny but we need to figure this problem out.

how deepfakes work:

first, there are many ways of generating deepfakes but the primary types are

- face synthesis from data
- lip syncing
- face swap
- faces pasted over each other
- identity swap Image
let's focus on how identity swaps/face swaps work

one of the biggest software behind deepfakes is called Deepfacelive (DFL) architecture

it allows you to stream in real-time but mask your face with a deep fake () github.com/iperov/DeepFac…
to create any deepfake video with identity swap, you need two things

- the source identity (here it's Judy Garland playing in the 1944 film ‘Meet Me In St. Louis’)

- the target identity (here's it's the singer Billie Eilish)

data is needed for both 'source' and 'target' Image
at first, DFL learns the features of the faces with the help of Face Alignment Network (FAN) library

this helps distill the basic features of a face in 3D so the encoders can learn the features

github.com/1adrianb/face-…
Image
an encoder learns from both 'source' and 'target'.

input is compressed into a latent-space representation, and it learns the facial features of both the source and the target individuals.

it captures essential aspects of the input data necessary for reconstruction later on. Image
the encoder then applies a mask over the part of the face to be replaced

some softwares allow custom masking, where you can select particular areas on the face you want to replace
then the actual transformation happens with the help of decoders, which try to reconstruct the face based on features learned by the encoder

this transformation isn't perfect and doesn't result in a complete change of features

the change only happens on the 'masked' part Image
deepfakes aren't perfect

if you ask a deepfake video AI to tilt the face 90% it starts giving noisy outputs

this happens because most models are trained on the front side of a face, not 90% angles

this might be a good way to tackle deepfakes Image
if you have never had a mugshot taken, the AI can't learn how to produce your face at a 90% angle

this is also why celebs are the most deepfaked, because there are 100 hours of data from movies for celebs Image
but how to detect deepfakes? this is a billion-dollar problem because

- entire elections can be rigged with them
- people can misuse them to create fake p**n
- people can spread their propaganda by creating fake videos of famous people (the obama example) Image
on a high level, detecting deepfakes is a process that includes pre-processing images for feature extraction, and then using a deep-learning model to classify whether it's real or fake Image
most deepfake-detecting technologies work based on detecting these features

the most interesting way, which I'm going to dive into, is detecting biological signs (blood flow, breath, heart rate, etc)

Intel has built a deepfake detector based on heart flow Image
Intel's FakeCatcher uses a digital version of Photoplethysmography (rPPG) to detect heart flow

this method works by detecting the volume changes in blood vessels, by analyzing color variations in the video pixels that correspond to the blood flow across the face. Image
these maps are analyzed using deep learning techniques to distinguish between genuine and fake.

Intel fake-catcher uses CNN (deep learning) networks to analyze the data

the deep learning component is crucial for interpreting complex blood flow patterns unique to real humans. Image
CNNs are effective because the convolutional layers can effectively capture the local variations in blood flow across different facial regions,

while the fully connected layers can make the final classification between genuine and deepfake videos. Image
the EU is holding big tech accountable for deepfakes, and this means detecting deepfakes can become a lucrative market

many companies, like @SentinelsAI, @SensityAI, and @nuanced_dev (YC24) are focusing on creating deepfakes detection solutions Image
here's how simply Nuanced works:

big thanks to @Metaphysic_ai, and @manders_ai for all the information

they've written some cool stuff about deepfakes, go check out their blog!
if you've found this thread helpful, like & repost the thread below if you can

follow me @thatguybg for more

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with brett goldstein

brett goldstein Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @thatguybg

Jun 10, 2024
what Jony Ive is to today's designers, Dieter Rams was to Jony

his 'less is more' minimalist philosophy influenced everything from iPhones to IKEA furniture

I recently bought a few of his books and went down the rabbit hole. here's what I found 🧵 Image
Rams is a revolutionary industrial designer who created iconic, minimalist products for Braun from the 1950s to the 1990s

his designs were considered beyond improvement

his sleek, functional designs for radios, juicers, etc changed the look and feel of consumer goods forever Image
his core philosophy was to strip away the extraneous things from any product and focus on simple, intuitive functionalities

his rigorous design process and obsessive attention to detail set a new bar for the industry. Image
Read 18 tweets
May 19, 2024
I went looking for some good UI design inspiration

but instead, I fell down the rabbit hole of designers competing to create the worst UI possible

happy to announce I won't use any of these hilariously awful bangers:

1/ the best way to limit username size
2/ enter your phone number
3/ vivaldi would be proud Image
Read 13 tweets
May 9, 2024
the tech industry has this obsession with building the "wechat of the west"

billions of dollars have been invested in creating new super apps over the years

yet we still don't have one. why? 🧵 Image
what exactly is a super app?

there's no set framework to define it but the closest we have is this description:

"a super app is a closed ecosystem of many apps that people would use every day because they offer such a seamless, integrated, contextualized & efficient experience" Image
this was given by Mike Lazaridis, the founder of Research in Motion and originator of the super app concept, at the 2010 mobile world congress

he said that twitter on blackberry was a super app

(.@elonmusk would be happy)
Read 30 tweets
Apr 26, 2024
zuck's leaked 2015 email on facebook's VR/AR strategy is a wild read

I did an AR strategy project for the CEO of Google when I worked there and this is next level.

2500 words of pure brilliance from zuck on investing billions in VR/AR and acquiring unity.

I obv had to dig in🧵 Image
it came just a year after fb dropped $2B on the Oculus deal

which had everyone scratching their heads at the time as a random move into gaming hardware. Image
but zuck had much bigger aspirations. he saw VR/AR as the "next major computing platform" Image
Read 18 tweets
Mar 24, 2024
just stumbled on sequoia's 2005 investment memo for youtube

when I was on google's M&A team, we considered it the best acquisition in the history of the company

It's 41 pages of juicy details on why they invested (thanks for the lawsuit, Viacom)

I obviously had to dig in🧵 Image
it's one of the best investments in their portfolio

they made a ~44x return ($504M) on their $11.5M investment ($3.5M in Series A and $8M in Series B) Image
backdrop: this was before smartphones and before streaming video really took off.

some key trends were emerging that the youtube team recognized:

1. consumer video capture was becoming cheap and ubiquitous, with every new gadget featuring a video record button.
Read 21 tweets
Mar 17, 2024
I was reading into e/acc

and fell down a much deeper rabbit hole - the history of accelerationism

humans on the moon, the atomic bomb, and AI are all outcomes of choosing progress over fear

how humanity has benefited from these movements & why we need them:🧵 Image
ok so what's e/acc?

e/acc, effective accelerationism (a portmanteau of effective altruism and accelerationism) is a fundamentally techno-optimist movement

@GillVerd (aka @basedbeffjezos) introduced this philosophy a couple of years ago with @creatine_cycle & @bayeslord Image
e/acc emerged as a response to decelerationist movements popping up around the world

where doomers and regulators have been making major strides to shunt technological progress to create prosperity

e/accs believe this is BS - technological progress yields prosperity
Read 43 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(