| Literature DB >> 32837917 |
Abstract
This paper shows the modeling and performance in deep learning computation for an Assistant Conversational Agent (Chatbot). The utilization of Tensorflow software library, particularly Neural Machine Translation (NMT) model. Acquiring knowledge for modeling is one of the most important task and quite difficult to preprocess it. The Bidirectional Recurrent Neural Networks (BRNN) containing attention layers is used, so that input sentence with large number of tokens (or sentences with more than 20-40 words) can be replied with more appropriate conversation. The dataset used in the paper for training of model is used from Reddit. The model is developed to perform English to English translation. The main purpose of this work is to increase the perplexity and learning rate of the model and find Bleu Score for translation in same language. The experiments are conducted using Tensorflow using python 3.6. The perplexity, leaning rate, Bleu score and Average time per 1000 steps are 56.10, 0.0001, 30.16 and 4.5 respectively. One epoch is completed at 23,000 steps. The paper also study MacBook Air as a system for neural network and deep learning.Entities:
Keywords: Bidirectional RNN and Attention model; Chatbot; Deep learning; Neural Machine Translation; Tensorflow
Year: 2020 PMID: 32837917 PMCID: PMC7283081 DOI: 10.1016/j.matpr.2020.05.450
Source DB: PubMed Journal: Mater Today Proc ISSN: 2214-7853
Fig. 1Chatbot applications across various domains.
Fig. 2Basic Bidirectional Recurrent Neural Network Architecture.
System and Software Specification.
| System | Specification |
|---|---|
| CPU | Intel(R) Core(TM) i5-5350U CPU@1.8GHz RAM: 8GB 1600 MHz DDR3 |
| GPU | Intel HD Graphics 6000 1536MB 48 @300-1000(Boost)MHz |
| Software | Os: MacOs Majave (64-bits) Version: 10.14.6 Tensorflow Version: 1.15.0rc1 |
Fig. 3Source input demonstration into BRNN with hidden layer to describe forward and backward flow of information.
Fig. 4Context-Aware Attention Model architecture.
Fig. 5Procedure for implementing methodology.
Performance evaluation.
| Parameter | Initial | After training 23,000 steps |
|---|---|---|
| Perplexity | 16322.15 | 56.10 |
| Learning rate | 0.001 | 0.0001 |
| Bleu score | 0.00 | 21.67 |
| Average time (per 1000 steps) | 0 | 4.5 h per 1000 steps |
Performance comparison.
| Ref. | Parameter | Ref. Domain | Our Domain | Ref. Result | Our Result |
|---|---|---|---|---|---|
| Bleu score | Japanese-to-English | English-to-English | 22.86 | 30.16 | |
| Perplexity | Cornell Dataset (22 MB) | Reddit Dataset (2.42 GB) | 90 | 56.10 | |
| Perplexity | Twitter Dataset (51 MB) | Reddit Dataset (2.42 GB) | 135 | 56.10 | |
| Time | 83.7 h for 1,000,000 steps | 103.5 h for 23,000 steps | 10 epoch | 1 epoch |
Fig. 6The Perplexity and Bleu Score graph.
Fig. 7The System speed graph (x-axis denotes number of steps and Y-axis denotes system time (in sec).
Conversation input–output response analysis of referenced user versus NMT-Chatbot reply.
| I feel like I haven't been here in years. | It's okay to be nostalgic | I have been here yesterday |
| No man, I'm serious. Gyarados is one of the worst pokemon ever, used as a trick to make inexperienced trainers evolve before allowing magikarp to reach its true power levels. | kekigeddit | I don't get it |
| I know I keep reporting them but they keep coming back! | Its pretty much a Mirana Ultimate with magic resist but better and cheap too | I'm not saying it's hacking, but I'm not sure if it's hacking or not. |
| Keep it going man, I'm really interested in seeing where this goes! | Alright, I'm working on it right now | I'm not saying they're going to make a difference. |
| Well it's not like they still couldn't use a little help. | There's a glitch in the matrix. | I'm not sure if I'm not alone. I'm just saying that I'm not alone. |
| Cos this game isn't interesting at all anymore | Good point. I'm more interested in whether or not Blake will get a triple and Crawford will start getting shit to fall. | I agree. Klinsy was a good guy. |
| you're right my fault. I was looking at games started. But still he only had 33 tackles that year that is not 'superstar' numbers. | For sure, I was agreeing with you that he wasn't the Darren Woodson we came to know and love yet. | I'm not sure if you're talking about the game. |
| all we are is dust in the wind | dust to dust and ashes to ashes | I'm not a fan of this sub. |