1 of 35

Lips Sometimes Lie: Towards Understanding Lip Reading Networks

Submitted By

Sree Harsha Nelaturu, 7023514

Ashwath Shetty, 7025887

Neel Kelkar, 7024010

High Level Computer Vision Project Summer Semester 2022

Link to Slides

https://docs.google.com/presentation/d/1RjF42bKE_cqWNywJuel9ZkycdB3lbPi276WROWEYIAE/edit?usp=sharing

2 of 35

Lip2Wav

VSPR

Conclusion: Lip-reading is hard

Prediction

rst question is to fresh a high level of ability to catch expertise a couple of fields martial arts ai music and sarah i'm here

Prediction

3 of 35

Visual -> Text (without audio)

In short, Multimodal

Visual -> Audio (without text)

Visual + Audio-> Text

Question: Why is Lip Reading so hard?

4 of 35

Question: What could address the challenges?

  • Multimodal: Common architecture for different domains.
  • Labelled Data: Self-supervised pre-training, fine-tuning capability
  • Domain bias: Modality Dropout
  • Interpretable Features: Attention
  • Best Downstream Viability: Visual -> Text

5 of 35

Where no architecture has gone before: AVHubert

  • Self-supervised pre-training via masked cluster prediction.

6 of 35

What’s in it for us? Fine-tuning

  • Can be used as an encoder to fine-tune for Lip-reading even in single modality (video -> text).

7 of 35

Question

Does this approach fit our requirements?

8 of 35

Is the network learning the right features? We find out

Experiment: We mask different sections of the video to check which features affect the Word Error Rate

9 of 35

10 of 35

Can we extend this further? Flipping the tables

Experiment: The model is able to predict an instance of a word given visual input. We use this capability in reverse, to query frame(s) using a word.

11 of 35

Text: then

Attention Map Token: 85-90

Frames

12 of 35

13 of 35

Important question

How robust is the network?

14 of 35

How robust is the network to perturbations? ADVERSARIAL ATTACKS!

Experiment: Given a network, we perturb the input such that it makes a false prediction creating what are referred to as ‘adversarial’ examples.

15 of 35

Generating Adversarial Examples: FGSM

16 of 35

Important question

Do these attacks work on AVHubert?

17 of 35

Experiment: Untargeted Adversarial Examples

Prediction

which is that it sounds kind of cool and then like a form like a melody around in and that's a lot of fun like i would

Prediction

i said hey aren't it really occurred it's like yelling out of football and martin luther king and yelling al qaeda and i'd like to site on the other philosophy and you

18 of 35

19 of 35

Experiment: Untargeted Adversarial Examples

Prediction

one day a young boy comes upon the sunflower while visiting the garden and he notices how weak it looks

Prediction

so we think about it when the audience are going like the creature of the ground

20 of 35

Can we get it to say what we want?

21 of 35

Idea

Input

Model

Loss

Gen Adversarial Examples

Clip to Epsilon Norm

  • Naive : Do FGSM Attack to minimize loss to target. Doesn’t Work
  • Solution: Iterative Attack

22 of 35

Experiment: RickRolling AVHubert

Prediction

which is that it sounds kind of cool and then like a form like a melody around in and that's a lot of fun like i would

Prediction

never gonna give you up, never gonna let you down

23 of 35

Experiment: RickRolling AVHubert

24 of 35

Question

How can it be made robust?

25 of 35

Know your enemy: Adversarial Training

26 of 35

Experiment: WER vs Epsilon Results

27 of 35

Experiment: Train / Val Curves

Training and Validation Accuracy for Standard Training

Pink: Train | 72.92

Green: Valid | 69.22

Training and Validation Accuracy for Adversarial Training with Alpha = 0.5

Orange: Train | 76.91

Red: Valid | 73.42

28 of 35

Don’t work with videos.

Conclusion

29 of 35

Conclusion (Real) and Future Directions

  • We verified that the model is indeed looking at the right features through our visualization and exploration.
  • The model is prone to adversarial attacks – both targeted and untargeted. We were able to get the model to say what we wanted to.
  • Naive adversarial training provides slight improvement, but this area warrants further exploration.

30 of 35

31 of 35

Experiment: WER vs Epsilon Results

32 of 35

Experiment: RickRolling AVHubert

33 of 35

Experiment: Adversarial Examples

Prediction

which is that it sounds kind of cool and then like a form like a melody around in and that's a lot of fun like i would

Prediction

i said hey aren't it really occurred it's like yelling out of football and martin luther king and yelling al qaeda and i'd like to site on her philosophy and you

Prediction

Never gonna give you up, Never gonna let you down

34 of 35

35 of 35

Experiment: Train / Val Curves

Training and Validation Accuracy for Standard Training

Pink: Train | 72.92

Green: Valid | 69.22

Training and Validation Accuracy for Adversarial Training with Alpha = 0.5

Orange: Train | 76.91

Red: Valid | 73.42