Docsity

PRE DEFENCE document for thesis, Thesis of Natural Language Processing (NLP)

Toggle sidebar
bg1
A Hierarchy-to-Sequence Attentional Neural Machine Translation Model
on Bangla-to-English Translation
Name of the Student: Awan-ur-Rahman,Roll:1507055 , Md. Rabbiul Hasan,Roll:1507080
Name of the Supervisor: Dr. Muhammad Aminul Haque Akhand, Professor, Dept. of CSE
Abstract: Sequence-to-sequence attentional neural
machine translation (NMT) has achieved great
progress recently, it is confronted with two challenges:
learning optimal model parameters for long parallel
sentences and well exploiting different scopes of
contexts. Neural machine translation (NMT) has
attracted much attention because of its various
advantages over statistical machine translation (SMT).
Most NMT models are based on a sequence-to-
sequence framework: the encoder maps the input
sequence to a low-dimensional vector from which the
decoder generates the target sequence. But in spite of
this, there still exist two challenges in this model.
Firstly, it is difficult to obtain optimal parameters to
model long parallel sentence. Long sentence
translations till remains challenging for NMT due to
various reasons. Secondly, it is challenging to encode
all semantic details of a sentence into a fixed-size
vector. For solving this problem, a new hierarchy-to-
sequence attentional NMT model has proposed. We are
considering applying this strategy on English-to-
Bangla translation task. We are trying to modify a
hierarchical RNN encoder that models the English
input sentence in a hierarchical structure and outputs
corresponding Bangla sentences.
Methodology: Hierarchy-to-sequence attentional
NMT model includes three steps-(1) Sentence
segmentation model, (2) Hierarchical RNN encoder,
(3) Bi-attention based decoder. We have used Sentence
segmentation model to split each sentence pair in the
training corpus into bilingual clauses so that the source
sentence can be modelled in a word-clause-sentence
hierarchical structure and the target sentence can be
sequentially generated clause by clause. For
segmenting each sentence we are using the following
features: (1) word and POS features within a fixed
window around the punctuation; (2) syntactic rule
features; (3) syntactic path features; (4) constituent
boundary matching features. For training the input
vectors Hierarchical RNN encoder is used. The bi-
directional decoder is used to predict the next word
context.
For generating the output we are trying to follow
the random sampling. Here is algorithm for
generating the random smpling:
Procedure Sample
for t from 1 to | F | do
Calculate mt(f) and ht(f)
end for
Set e0 ==’<s>’ and t 0
while et != ā€˜</s>’ do
Calculate mt(e) , ht(e) and pt(e) from
et-1
Sample et according to pt
end while
end Procedure
Here is an example of computation graph
for our model:
Thesis next work :
 Creating the bangla-to-english
translation dataset.
 Fit the data to the model.

Partial preview of the text

Download PRE DEFENCE document for thesis and more Thesis Natural Language Processing (NLP) in PDF only on Docsity!

A Hierarchy-to-Sequence Attentional Neural Machine Translation Model

on Bangla-to-English Translation

Name of the Student: Awan-ur-Rahman,Roll:1507055 , Md. Rabbiul Hasan,Roll: Name of the Supervisor : Dr. Muhammad Aminul Haque Akhand, Professor, Dept. of CSE Abstract: Sequence-to-sequence attentional neural machine translation (NMT) has achieved great progress recently, it is confronted with two challenges: learning optimal model parameters for long parallel sentences and well exploiting different scopes of contexts. Neural machine translation (NMT) has attracted much attention because of its various advantages over statistical machine translation (SMT). Most NMT models are based on a sequence-to- sequence framework: the encoder maps the input sequence to a low-dimensional vector from which the decoder generates the target sequence. But in spite of this, there still exist two challenges in this model. Firstly, it is difficult to obtain optimal parameters to model long parallel sentence. Long sentence translations till remains challenging for NMT due to various reasons. Secondly, it is challenging to encode all semantic details of a sentence into a fixed-size vector. For solving this problem, a new hierarchy-to- sequence attentional NMT model has proposed. We are considering applying this strategy on English-to- Bangla translation task. We are trying to modify a hierarchical RNN encoder that models the English input sentence in a hierarchical structure and outputs corresponding Bangla sentences. Methodology: Hierarchy-to-sequence attentional NMT model includes three steps-( 1 ) Sentence segmentation model, ( 2 ) Hierarchical RNN encoder, ( 3 ) Bi-attention based decoder. We have used Sentence segmentation model to split each sentence pair in the training corpus into bilingual clauses so that the source sentence can be modelled in a word-clause-sentence hierarchical structure and the target sentence can be sequentially generated clause by clause. For segmenting each sentence we are using the following features: (1) word and POS features within a fixed window around the punctuation; (2) syntactic rule features; (3) syntactic path features; (4) constituent boundary matching features. For training the input vectors Hierarchical RNN encoder is used. The bi- directional decoder is used to predict the next word context. For generating the output we are trying to follow the random sampling. Here is algorithm for generating the random smpling: Procedure Sample for t from 1 to | F | do Calculate mt(f)^ and ht(f) end for Set e 0 ==’’ and t 0 while et != ā€˜ā€™ do Calculate mt(e)^ , ht(e)^ and pt(e)^ from et- 1 Sample et according to pt end while end Procedure Here is an example of computation graph for our model: Thesis next work :  Creating the bangla-to-english translation dataset.  Fit the data to the model.