Professional Documents
Culture Documents
1802.05521v1
1802.05521v1
1802.05521v1
Urdu Language
1
language. This model is end-to-end sentence perform phoneme classification using a large
level lipreading model. This model operates at non-public audio-visual dataset. Recently, [1]
the character level using the spatio-temporal has proposed a large and complex end-to-end
convolutions (STCNNs) recurrent neural trainable network for audio-visual speech
networks (RNNs) and finally the connectionist recognition; their model consists of two
temporal classification loss (CTC) [3]. The encoders and one decoder. They named their
second network processes the audios features model as Watch, Listen, Attend and Spell
using the LSTMs and categorical cross entropy (WLAS) network. The first encoder encodes the
loss. video frames by passing them through
The next section summarizes the literature convolutional layers followed by stacked
review. In section 3 we briefly described the LSTMs. A fixed size encoded vector is stored.
network architecture and our dataset is explained The second encoder encodes the audio MFCC
in section 4. The implementation details are features by passing it through the stacked
explained in section 5. Finally the experiments LSTMs. Later on, these both encoded vectors
and results are discussed in section 6. are concatenated and input to decoder networks
that also consists of stacked LSTMs, the decoder
2. Literature Review network outputs the character sequence.
In this section, we outline several approaches
to automatic lipreading and audio-visual 3. Network Architecture
lipreading. Lip-reading architecture has two networks,
one network is used for lip-reading context
2.1 Lip Reading prediction and second network is deployed for
A large body of work has been done on lip speech recognition. In the following section,
reading using pre-deep learning methods. Many details of both networks are reported. Figure 1
approaches using the convolutional neural shows the lip-reading network and Figure 2
networks have been proposed to recognize illustrates the configuration of our speech
phonemes [4] and visemes [5] from still images recognition network.
of lips movement, instead of recognizing full
words and sentences. A phoneme is the smallest
distinguishable unit of sound that collectively
make up a spoken word; a viseme is its visual
equivalent (lips movement).
Recently a deep learning based lip-reading
model has been proposed called LipNet [2], that
consists of three spatio-temporal convolutional
layers, followed by bi-directional gated recurrent Figure1: LipNet architecture. A sequence of T frames is
units (Bi-GRU), and finally a connectionist used as input, and is processed by 3 layers of STCNN,
temporal classification (CTC) loss. They each followed by a spatial max-pooling layer. The features
reported 96 % accuracy on the GRID dataset. extracted are processed by 2 Bi-GRUs; each time-step of
the GRU output is processed by a linear layer and a
softmax. This end-to-end model is trained with CTC [2].
2.2 Audio-visual Speech Recognition
The audio-visual speech recognition system is
very similar to the lip-reading and their
problems are closely linked. [6] used feed-
forward Deep Neural Network (DNNs) to
2
Figure 2: Architecture of Speech Recognition Network phrases of Urdu language. Corpus has following
words and phrases as shown in the TABLE 1.
3.1 Spatiotemporal Convolution based Detailed information about our dataset is
Lip-Reading Context available at [11]. Each participant is requested
Convolutional neural networks (CNNs) with to repeat each word and phrase ten times.
stacked convolutional layers are instrumental in Corpus contains 1000 videos of words and 1000
performance in computer vision based tasks such phrases videos.
object recognition [10]. A basic 2-Dimensional
convolution layer expression is given by Table 1: Words and Phrases of Urdu Language based
Audio-Video Corpus
C kw kh Words Phrases
[ conv ( x , w ) ]c i j=∑ ∑ ∑ w c ci j x c ,i +i , j + j ,
' ' ' ' ' '
process video data across time spatiotemporal منتخب معاف کیجئے گا
convolutional neural networks (STCNN) are in
practice. Therefore, expression for STCNN is
given below: رابطے میں معافی چاےتا ےوں
C kt kw kh
[ stcnn ( x , w ) ]c ti j=∑ ∑ ∑ ∑ w c ci j x c ,i +i , j + j
' ' ' ' ' ' سمت شناسی آپکا شکریے
c=1 t' =1 i ' =1 j' =1
Recurrent neural networks (RNN) improve آگے بھڑ یں خدا حافظ
propagating and learning of information over
time steps. We used a type of RNN known as
bidirectional GRU (Bi-GRU) [8]. Output of پیچھے جائیں مجھے یے کھیل پسند ےے
STCNN is fed into Bi-GRU, denoted by z .
ht is hidden layer of Bi-GRU. One GRU
آغاز آپ سے مل کر خوشی ےوئی
maps { z 1 , z 2 ,… . z T } ↦ { h1 , h2 , … . ,h T } while
second GRU maps { z T , … . z 2 , z 1 } ↦ { h1 , … . hT }
then ht ≔[h→ ←
t , ht ] . Input to GRU is T اسل م علیکم آپکا خیر مقد م ےے
sequences.
3
Figure 3: Pre-Processing of videos.
5. Implementation Details
For video based lip reading task we have re-
implemented the network proposed by [2], the
Figure 5: Structure overview (Left Unidirectional RNN,
details of the network are given figure. Mainly, Right Bi-directional RNN) [9]
the network consists of spatio-temporal
convolutional layers (STCNN), bi-directional The speech recognition network only contains
gated recurrent units (Bi-GRU), and the 256 LSTMs cells followed by a fully
connectionist temporal classification (CTC) loss connected layer and a SoftMax classification
[3]. The first STCNN takes input of 75 frames at layer. The LSTM takes MFCC features as input
once, and process them together; each STCNN is and the classification layer classify each word as
followed by a max-pooling layer of 2x2 mask. a class. The network architecture is illustrated in
figure 2. We implemented both network on
tensor flow platform [12].
4
After analyzing these results, we coded the to take data from two different modalities i.e.,
same model in tensorflow and tried to train the speech and video frames as input and outputs a
LipNet on our own dataset, but we could not predicted text sequence.
train the model because of CTC loss. Our model
is unable to compute the loss and backpropagate. References
The second experiment we performed is [1] Chung, J. S., Senior, A., Vinyals, O., &
training a speech recognition system on only Zisserman, A. (2016). Lip reading sentences in
words of our dataset, we pose this problem as the wild. arXiv preprint arXiv:1611.05358.
[2] Assael, Y. M., Shillingford, B., Whiteson, S., & de
classification problem because we only had 10 Freitas, N. (2016). LipNet: Sentence-level
words in our dataset. We trained two different Lipreading. arXiv preprint arXiv:1611.01599.
networks for this task: first one deep neural [3] Graves, A., Fernández, S., Gomez, F., &
network and second LSTM based network. Our Schmidhuber, J. (2006, June). Connectionist
results showed that LSTM based network temporal classification: labelling unsegmented
sequence data with recurrent neural networks.
performs better than DNN. Moreover, we also In Proceedings of the 23rd international
trained the both networks on Urdu Digits conference on Machine learning (pp. 369-376).
dataset, taken from CSALT lab. The results of ACM.
this experiment are tabulated in table 2. [4] Noda, K., Yamaguchi, Y., Nakadai, K., Okuno, H.
G., & Ogata, T. (2014). Lipreading using
Table 2: Results of Speech Recognition Network convolutional neural network.
In INTERSPEECH (pp. 1149-1153).
[5] Koller, O., Ney, H., & Bowden, R. (2015). Deep
Dataset Model Accuracy learning of mouth shapes for sign language.
Words LSTM Based 62 % In Proceedings of the IEEE International
Words DNN 56 % Conference on Computer Vision Workshops (pp.
85-91).
Digits LSTM Based 72 % [6] Mroueh, Y., Marcheret, E., & Goel, V. (2015,
Digits DNN 64 % April). Deep multimodal learning for audio-visual
speech recognition. In Acoustics, Speech and
Signal Processing (ICASSP), 2015 IEEE
7. Conclusion International Conference on (pp. 2130-2134).
IEEE.
In this project, we attempted to design an [7] Chung, J., Gulcehre, C., Cho, K., & Bengio, Y.
audio-visual lipreading system for Urdu (2014). Empirical evaluation of gated recurrent
language. We trained two different models for neural networks on sequence modeling. arXiv
audio and video separately. We successfully preprint arXiv:1412.3555.
[8] Graves, A., & Schmidhuber, J. (2005).
trained our audio model for words and digits Framewise phoneme classification with
from Urdu words and digits corpus but we were bidirectional LSTM and other neural network
unable to merge both networks to demonstrate architectures. Neural Networks, 18(5), 602-610.
the results of audio-visual lipreading in the noisy [9] https://en.wikipedia.org/wiki/Bidirectional_recurrent_
environments. Apart from implementation and neural_networks
[10] A. Krizhevsky, I. Sutskever, and G. E. Hinton.
investigation of models, we contributed a small Imagenet classification with deep convolutional
Urdu language corpus for lipreading. Corpus is neural networks. In Advances in neural
consisting of 10 words and 10 phrases, each information processing systems, pp. 1097–1105,
spoken by 10 users 10 times, in total we 2012.
recorded and pre-processed the 1000 videos of [11] https://sites.google.com/site/engrsanaullahmanz
oor/lip-reading-for-urdu-speech
dataset. In future, our aim is to develop our own [12] https://www.tensorflow.org/
model like [1] for lipreading that would be able