deep neural networks for automatic detection of … lecture.pdf · deep neural networks for...

26
1 DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David Sodoyer Charles Tatkeu LEOST-IFSTTAR Lille, France Laurent Girin GIPSA lab, Univ. Grenoble Alpes Grenoble, France ICASSP 2016 Shanghai

Upload: others

Post on 27-May-2020

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

1

DEEP NEURAL NETWORKSFOR AUTOMATIC DETECTION OF

SCREAMS AND SHOUTED SPEECHIN SUBWAY TRAINS

Pierre Laffitte

David Sodoyer

Charles Tatkeu

LEOST-IFSTTAR Lille, France

Laurent Girin

GIPSA lab, Univ. Grenoble Alpes

Grenoble, France

ICASSP 2016 Shanghai

Page 2: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

2

Index

1.Context

2.Model

3.Database Description

4.Experiment

5.Results

6.Conclusion

Page 3: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

3

1. Context

Page 4: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

4

Scene Classification in a transportation environment

➔ Classification of the Acoustic Scene in terms of the situation of the passengers.

➔ Define the situation/classes as ranging from normal to critical from a security/surveillance perspective.

Input

Algorithm

Output

Class 0

Class k

...

Class n

Background Noise

Page 5: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

5

Embedded Transportation Acoustic Environment

● Multi-source environment:➔ Vehicle (brake compressors, wheels screeching, etc..)

➔ Passengers

➔ Infrastructure and External environment (announcement signals, noises in the station)

● Highly non stationary

10KHz

2 min

● Varying number of sources

Page 6: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

6

Voice/Speech signals are highly corrupted

10KHz 10KHz

15 s 15 s

10KHz

15 s

10KHz

15 s

Shouts/Screams in motion

Shouts/Screams in standby

Page 7: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

7

2. Model

Page 8: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

8

Neural Networks

x

w

f

y=f(wx'+b)

f: activation function : sigmoid,tanh, ...The simple neuron:

Page 9: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

9

w1

f

x

w2

f

wn

f …

y1 y2 yn

Neural Networks

C.M. Bishop, “Neural Networks for Pattern Recogni-tion”

Multiple neurons connected together:

Page 10: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

10

Neural Networks

f

y

f f …

w1

f

x

w2

f

wn

f …

z

Page 11: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

11

Neural Networks

z

y

x

f

y

f f …

w1

f

x

w2

f

wn

f …

z

Page 12: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

12

Deep Neural Network

Classification layer

h3

h2

h1

v

Features

0 … k … n

➔ Multi-Layer Perceptron (MLP)➔ Discriminative model

[Rumelhart, et al, 1986]

Page 13: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

13

Deep Belief Network

➔ Stacked Restricted Boltzmann Machines (RBM)

➔ Generative modelRBM

RBM

RBM

h3

h2

h1

v

Train first RBM layer

Train second RBM layer

Train third RBM layer

FeaturesFeaturesFeatures

Page 14: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

14

DBN-DNN

RBM

RBM

RBM

h3

h2

h1

v

Train first RBM layer

Train second RBM layer

Train third RBM layer

FeaturesFeaturesFeatures

Classification layer

h3

h2

h1

v

Features

0 … k … n

Page 15: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

15

Training the DBN-DNN

Unsupervised training of the Generative model DBN:

➔ Learn higher order features from the input data➔ Tries to model the input distribution

Supervised training of the DNN (Fine-tuning):

➔ Discriminative learning➔ Initialize DNN with weights from DBN

Python deep learning library by Yajie Miao:https://github.com/yajiemiao/pdnn

[Hinton, et al, 2006]

Page 16: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

16

3. Database description

Page 17: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

17

Recording the data

DéGIV project:● subway car put at our disposal by RATP (Paris transportation authority)

Data captured from real-world environment: ● Line 14 in the Paris metro● Train running amidst normal traffic● Several days of recordings

- Purse SnatchingSet of actors N°1

Set of actors N°3far distance

close distancelight density

heavy density

- Agression/Attack

- ...

Page 18: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

18

4. Experiments

Page 19: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

19

Experimental settings

Features:➔ 12 MFCC coefficients + 1 energy term, over 25ms window, every 10ms

➔ Concatenation of 10 adjacent frames

Classifier:➔ 3 layers of 512 units

➔ 300 epochs for DBN training and 200 for DNN training (decided with validation result)

Classes:➔ Noise (~900s): everything not containing speech

➔ Background voice (~600s): unintelligible speech

➔ Conversation (~650s): intelligible speech

➔ Shout (~300s): shouted speech

➔ Scream (~100s): screams

All classes include very noisy occurrences (when train is moving)

3 different dataset:➔ Train ~77%

➔ Valid ~77%

➔ Test ~23%

Page 20: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

20

Results

2 classes

→ Classes should be very different from each other by definition but separation surprisingly isn't perfect

Page 21: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

21

Results

3 classes

→ A check on how classes Conversation and Shout separate:They seem to have some similarities

Page 22: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

22

Results

A practical case: abnormal event detection:

→ Semi-satisfying

Page 23: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

23

Results

● Compared to a baseline GMM system, our results are slightly better on the whole

● Class Scream didn't have enough occurrence to provide significant results

● 5 classes experiment display big similarities between BG_voice and Conversation, and Shout and Scream, suggesting 3 bigger classes.

Page 24: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

24

5. Conclusion

Page 25: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

25

Conclusion➔ Good recognition of abnormal sounds (Shout) versus Noise➔ Some misclassification due to Shout containing some Noise intertwined➔ Difficulties in distinguishing between Conversation and Shout → raise concerns

about the definition of classes?➔ Difficulty stemming from complexity of the classes: whether vehicle moving or

not, within one class.➔ Noise class contains too many smaller events (Brake compressor, door signal)

Perspective➔ Add temporal information (Recurrent connections, LSTM?).➔ Event detection instead of scene (sharpen class definition).

➔ Superimposition of the classes → multi-label learning.

Page 26: DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF … Lecture.pdf · DEEP NEURAL NETWORKS FOR AUTOMATIC DETECTION OF SCREAMS AND SHOUTED SPEECH IN SUBWAY TRAINS Pierre Laffitte David

26

Thanks for your attention