SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Downloaden Sie, um offline zu lesen
000
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
023
024
025
026
027
028
029
030
031
032
033
034
035
036
037
038
039
040
041
042
043
044
045
046
047
048
049
050
051
052
053
Automated Neural Image Caption Generator
for Visually Impaired People
Christopher Elamri, Teun de Planque
Department of Computer Science
Stanford University
{mcelamri, teun}@stanford.edu
Abstract
Being able to automatically describe the content of an image using properly
formed English sentences is a challenging task, but it could have great impact
by helping visually impaired people better understand their surroundings. Most
modern mobile phones are able to capture photographs, making it possible for the
visually impaired to make images of their environments. These images can then
be used to generate captions that can be read out loud to the visually impaired,
so that they can get a better sense of what is happening around them. In this
paper, we present a deep recurrent architecture that automatically generates brief
explanations of images. Our models use a convolutional neural network (CNN) to
extract features from an image. These features are then fed into a vanilla recurrent
neural network (RNN) or a Long Short-Term Memory (LSTM) network to gener-
ate a description of the image in valid English. Our models achieve comparable
to state of the art performance, and generate highly descriptive captions that can
potentially greatly improve the lives of visually impaired people.
1 Introduction
Visual impairment, also known as vision impairment or vision loss, is a decreased ability to see to
a degree that causes problems not fixable by usual means, such as glasses. According to the World
Health Organization, 285 million people are visually impaired worldwide, including over 39 million
blind people [1]. Living with visual impairment can be challenging, since many daily-life situations
are difficult to understand without good visual acuity.
Technology has the potential to significantly improve the lives of visually impaired people (Figure
1). Access technology such as screen readers, screen magnifiers, and refreshable Braille displays
enable the blind to use mainstream computer applications and mobile phones giving them access
to previously inaccessible information. Another such technology that could improve the lives of
the visually impaired is image caption generation. Most modern mobile phones are able to capture
photographs, making it possible for the visually impaired to make images of their surroundings.
These images can be used to generate captions that can be read out loud to give visually impaired
people a better understanding of their surroundings. Image caption generation can also make the
web more accessible to visually impaired people. The last decade has seen the triumph of the rich
graphical desktop, replete with colourful icons, controls, buttons, and images. Automated caption
generation of online images can make the web a more inviting place for visually impaired surfers.
Being able to automatically describe the content of an image using properly formed English sen-
tences is a very challenging task. This task is significantly harder, for example, than the well-studied
image classification or object recognition tasks, which have been a main focus in the computer vi-
sion community. Indeed, a description must capture not only the objects contained in an image,
but it also must express how these objects relate to each other as well as their attributes and the
1
054
055
056
057
058
059
060
061
062
063
064
065
066
067
068
069
070
071
072
073
074
075
076
077
078
079
080
081
082
083
084
085
086
087
088
089
090
091
092
093
094
095
096
097
098
099
100
101
102
103
104
105
106
107
Figure 1: Visually impaired people can greatly benefit from technological solutions that can help
them better understand their surroundings.
activities they are involved in. Moreover, the above semantic knowledge has to be expressed in a
natural language like English, which means that a language model is needed in addition to visual
understanding.
In this paper, we apply deep learning techniques to the image caption generation task. We first extract
image features using a CNN. Specifically, we extract a 4096-Dimensional image feature vector from
the fc7 layer of the VGG-16 network pretrained on ImageNet. We then reduce the dimension of this
image feature vector using Principal Component Analysis (PCA). This resulting feature vector is
then fed into a vanilla RNN or a LSTM. The vanilla RNN and LSTM generate a description of the
image in valid English. Both the RNN and LSTM based model achieve results comparable to those
achieved by the state of-the-art models.
2 Related Work
Most work in visual recognition has originally focused on image classification, i.e. assigning labels
corresponding to a fixed number of categories to images. Great progress in image classification
has been made over the last couple of years, especially with the use of deep learning techniques
[2, 3]. Nevertheless, a category label still provides limited information about an image, and espe-
cially visually impaired people can benefit from more detailed descriptions. Some initial attempts
at generating more detailed image descriptions have been made, for instance by Farhadi et al. and
Kulkarni et al. [4, 5], but these models are generally dependent on hard-coded sentences and visual
concepts. In addition, the goal of most of these works is to accurately describe the content of an
image in a single sentence. However, this one sentence requirement unnecessarily limits the quality
of the descriptions generated by the model. Several works, for example by Li et al., Gould et al.,
and Fidler et al., focused on obtaining a holistic understanding of scenes and objects depicted on
images [6, 7, 8, 9]. Nonetheless, the goal of these works was to correctly assign labels correspond-
ing to a fixed number of categories to the scene type of an image, instead of generating higher-level
explanations of the scenes and objects depicted on an image.
Generating sentences that describe the content of images has already been explored. Several works
attempt to solve this task by finding the image in the training set that is most similar to the test
image and then returning the caption associated with the test image [4, 10, 11, 12, 13]. Jia et al.,
Kuznetsova et al., and Li et al. find multiple similar images, and combine their captions to generate
the resulting caption [14, 15, 16]. Kuznetsova et al., and Gupta et al. tried using a fixed sentence
template in combination with object detection and feature learning [5, 17, 18]. They tried to identify
objects and features contained in the image, and based on the identified objects contained in the
image they used their sentence template to create sentences describing the image. Nevertheless, this
approach greatly limits the output variety of the model.
Recently there has been a resurgence of interest in image caption generation, as a result of the lat-
est developments in deep learning [2, 19, 20, 21, 22]. Several deep learning approaches have been
developed for generating higher level word descriptions of images [21, 22]. Convolutional Neu-
2
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
ral Networks have been shown to be powerful models for image classification and object detection
tasks. In addition, new models to obtain low-dimensional vector representations of words such as
word2vec, and GloVe (Global Vectors for Word Representation) and Recurrent Neural Networks
can together create models that combine image features with language modeling to generate image
descriptions [21, 22]. Karpathy et al. developed a Multimodal Recurrent Neural Network archi-
tecture that uses inferred alignments to learn to generate novel descriptions of image regions [21].
Similarly, Kiros et al. used a log-bilinear model that generates full sentence descriptions for images
[22]. However, their model uses a fixed window context [22].
3 Technical Approach
Overview. We implemented a deep recurrent architecture that automatically produces short descrip-
tions of images. Our models use a CNN, which was pretrained on ImageNet, to obtain images
features. We then feed these features into either a vanilla RNN or a LSTM network (Figure 2) to
generate a description of the image in valid English.
3.1 CNN-based Image Feature Extractor
For feature extraction, we use a CNN. CNNs have been widely used and studied for images tasks,
and are currently state-of-the-art methods for object recognition and detection [20]. Concretely, for
all input images, we extract features from the fc7 layer of the VGG-16 network pretrained on Ima-
geNet [23], which is very well tuned for object detection. We obtained a 4096-Dimensional image
feature vector that we reduce using Principal Component Analysis (PCA) to a 512-Dimensional im-
age feature vector due to computational constraints. We feed these features into the first layer of our
RNN or LSTM at the first iteration [24].
3.2 RNN-based Sentence Generator
We first experiment with vanilla RNNs as they have been shown to be powerful models for process-
ing sequential data [25, 26]. Vanilla RNNs can learn complex temporal dynamics by mapping input
sequences to a sequence of hidden states, and hidden states to outputs via the following recurrent
equations.
ht = f(Whhht−1 + Wxhxt) (1)
yt = Whyht (2)
where f is an element-wise non-linearity, ht ∈ RN
is the hidden state with N hidden units, and yt
is the output at time t. In our implementation, we use a hyperbolic tangent as our element-wise non-
linearity. For a length T input sequence x1, x2, ..., xT , the updates above are computed sequentially
as h1 (letting h0 = 0), y1, h2, y2,... hT , yT .
Figure 2: Image Retrieval System and Language Generating Pipeline.
3
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
3.3 LSTM-based Sentence Generator
Although RNNs have proven successful on tasks such as text generation and speech recognition
[25, 26], it is difficult to train them to learn long-term dynamics. This problem is likely due to
the vanishing and exploding gradients problem that can result from propagating the gradients down
through the many layers of the recurrent networks. LSTM networks (Figure 3) provide a solution by
incorporating memory units that allow the networks to learn when to forget previous hidden states
and when to update hidden states when given new information [24].
At each time-step, we receive an input xt ∈ RD
and the previous hidden state ht−1 ∈ RH
, the
LSTM also maintains an H-dimensional cell state, so we also get the previous cell state ct−1 ∈ RH
.
The learnable parameters of the LSTM are an input-to-hidden matrix Wx ∈ R4HxD
, a hidden-to-
hidden matrix Wh ∈ R4HxH
, and a bias vector b ∈ R4H
.
At each time step, we compute an activation vector a ∈ R4H
as
a = Wxxt + Whht−1 + b (3)
We then divide a into 4 vectors ai, af , ao, ag ∈ RH
where ai consists of the first H elements of a,
af is the next H elements of a, etc.. We then compute four gates which control whether to forget
the current cell value f ∈ RH
, if it should read its input i ∈ RH
, and whether to output the new cell
value o ∈ RH
, and the block input g ∈ RH
.
i = σ(ai) (4)
f = σ(af ) (5)
o = σ(ao) (6)
g = tanh(ag) (7)
where σ is the sigmoid function and tanh is the hyperbolic tangent; both are applied element-wise.
Finally, we compute the next cell state ct which encodes knowledge at every time step of what inputs
have been observed up to this step, and the next hidden state ht as
ct = f ◦ ct−1 + i ◦ g (8)
ht = o ◦ tanh(ct) (9)
where ◦ represents the Hadamard product. The inclusion of these multiplicative gates permits the
regulation of information flow through the computational unit, allowing for more stable gradients
and long-term sequence dependencies [24]. Such multiplicative gates make it possible to train the
LSTM robustly as these gates deal well with exploding and vanishing gradients. The non-linearities
are sigmoid σ() and hyperbolic tangent tanh().
Procedure. Our LSTM model takes the image I and a sequence of inputs vectors (x1, ..., xT ).
It then computes a sequence of hidden states (h1, ..., ht) and a sequence of outputs (y1, ..., yt) by
following the recurrence relation for t = 1 to T:
bv = Whi[CNN(I)] (10)
ht = f(Whxxt + Whhht−1 + bh + 1(t = 1) ◦ bv) (11)
yt = Softmax(Wohht + bo) (12)
where Whi, Whx, Whh, Woh, xi, bh, and bo are learnable parameters and CNN(I) represents the
image features extracted by the CNN.
Training. We train our LSTM model to correctly predict the next word (yt) based on the current
word (xt), and the previous context (ht−1). We do this as follows: we set h0 = 0, x1 to the START
vector, and the desired label y1 as the first word in the sequence. We then set x2 to the word vector
corresponding to the first word generated by the network. Based on this first word vector and the
previous context the network then predicts the second word, etc. The word vectors are generated
using the word2vec embedding model as described by Mikolov et. al [27]. During the last step, xT
represent the last word, and yT is set to an END token.
4
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
Figure 3: LSTM unit and its gates
Testing. To predict a sentence, we obtain the image features bv, set h0 = 0, set x1 to the
START vector, and compute the distribution over the first word y1. Accordingly, we pick the
argmax from the distribution, set its embedding vector as x2, and repeat the procedure until the
END token is generated.
Softmax Loss. At every time-step, we generate a score for each word in the vocabulary.
We then use the ground truth words in combination with the softmax function to compute the losses
and gradients. We sum the losses over time and average them over the minibatch. Since we operate
over minibatches and because different generated sentences may have different lengths, we append
NULL tokens to the end of each caption so that they all have the same lengths. In addition, our
loss function accepts a mask array that informs it on which elements of the scores counts towards
the loss in order to prevent the NULL tokens to count towards the loss or gradient.
Optimization. We use Stochastic Gradient Descent (SGD) with mini-batches of 25 image-
sentence pairs and momentum of 0.95. We cross-validate the learning rate and the weight decay.
We achieved our best results using Adam, which is a method for efficient stochastic optimization
that only requires first-order gradients and computes individual adaptive learning rates for different
parameters from estimates of first and second moments of the gradients [28]. Adam’s main
advantages are that the magnitudes of parameter updates are invariant to rescaling of the gradients,
its step-size is approximately bounded by the step-size hyperparameter, and it automatically
performs a form of step-size annealing [28].
4 Experiments
4.1 Dataset
For this exercise we will use the 2014 release of the Microsoft COCO dataset which has become
the standard testbed for image captioning [29]. The dataset consists of 80,000 training images and
40,000 validation images, each annotated with 5 captions written by workers on Amazon Mechanical
Turk. Four example images with captions can be seen in Figure 4. We convert all sentences to lower-
case, and discard non-alphanumeric characters.
5
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
Figure 4: Example images and captions from the Microsoft COCO Caption dataset.
4.2 Evaluation Metric
For each image we expect a caption that provides a correct but brief explanation in valid English
of the images. The closer the generated caption is to the captions written by workers on Amazon
mechanical Turk the better.
The effectiveness of our model is tested on 40,000 images contained in the Microsoft COCO dataset.
We evaluate the generated captions using the following metrics: BLEU (Bilingual Evaluation Un-
derstudy) [30], METEOR (Metric for Evaluation of Translation with Explicit Ordering) [31], and
CIDEr (Consensus-based Image Description Evaluation) [32]. Each method evaluates a candidate
sentence by measuring how well it matches a set of five reference sentences written by humans. The
BLEU score is computed by counting the number of matches between the n-grams of the candi-
date caption and the n-grams of the reference caption. METEOR was designed to fix some of the
problems found in the more popular BLEU metric, and also produce good correlation with human
judgement at the sentence or segment level [30]. METEOR differs from the BLEU metric in that
BLEU seeks correlation at the corpus level [31]. The CIDEr metric was specifically developed for
evaluating image captions [32]. It is a measure of consensus based on how often n-grams in can-
didate captions are present in references captions. It measures the consensus in image captions by
performing a Term Frequency Inverse Document Frequency (TF-IDF) weighting for each n-gram,
because frequent n-grams in references are less informative [32]. For all three metrics (i.e. BLEU,
METEOR, and CIDEr) the higher the score, the better the candidate caption is [30][31][32].
4.3 Quantitative Results
We report the BLEU, METEOR and CIDEr scores in Figure 5 and compare it to the results obtained
in the literature. Both our RNN and LSTM model achieve close to state-of-the-art performance. Our
LSTM model performs slightly better than our RNN model; it achieves a higher BLEU, METEOR,
and CIDEr score than the RNN model.
4.4 Qualitative Results
Our models generates sensible descriptions of images in valid English (Figure 6 and 7). As can
be seen from example groundings in Figure 5, the model discovers interpretable visual-semantic
correspondences, even for relatively small objects such as the phones in Figure 7. The generated
descriptions are accurate enough to be helpful for visually impaired people. In general, we find that
a relatively large portion of generated sentences (60%) can be found in the training data.
6
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
Figure 5: Evaluation of full image predictions on 1,000 test images of the Microsoft COCO 2014
dataset.
Figure 6: Example image descriptions generated using the RNN structure.
Figure 7: Example image descriptions generated using the LSTM structure.
7
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
5 Conclusion
We have presented a deep learning model that automatically generates image captions with the goal
of helping visually impaired people better understand their environments. Our described model is
based on a CNN that encodes an image into a compact representation, followed by a RNN that
generates corresponding sentences based on the learned image features. We showed that this model
achieves comparable to state-of-the-art performance, and that the generated captions are highly de-
scriptive of the objects and scenes depicted on the images. Because of the high quality of the
generated image descriptions, visually impaired people can greatly benefit and get a better sense
of their surroundings using text-to-speech technology. Future work can include this text-to-speech
technology, so that the generated descriptions are automatically read out loud to visually impaired
people. In addition, future work could focus on translating videos directly to sentences instead of
generating captions of images. Static images can only provide blind people with information about
one specific instant of time, while video caption generation could potentially provide blind people
with continuous real time information. LSTMs could be used in combination with CNNs to translate
videos to English descriptions.
Acknowledgments
We would like to thank the CS224D course staff for their ongoing support.
References
[1] ”Visual Impairment and Blindness.” World Health Organization. (2014). Web. 10 Apr. 2016
[2] Russakovsky, Olga, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang,
Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ”ImageNet Large
Scale Visual Recognition Challenge.” International Journal of Computer Vision Int J Comput Vis 115.3 (2015):
211-52. Web. 19 Apr. 2016
[3] Everingham, Mark, Luc Van Gool, Christopher K. I. Williams, John Winn, and Andrew Zisserman. ”The
Pascal Visual Object Classes (VOC) Challenge.” International Journal of Computer Vision Int J Comput Vis
88.2 (2009): 303-38. Web. 22 May 2016
[4] Farhadi, Ali, Mohsen Hejrati, Mohammad Amin Sadeghi, Peter Young, Cyrus Rashtchian, Julia Hocken-
maier, and David Forsyth. ”Every Picture Tells a Story: Generating Sentences from Images.” Computer Vision
ECCV 2010 Lecture Notes in Computer Science (2010): 15-29. Web. 5 Apr. 2016
[5] Kulkarni, Girish, Visruth Premraj, Sagnik Dhar, Siming Li, Yejin Choi, Alexander C. Berg, and Tamara L.
Berg. ”Baby Talk: Understanding and Generating Simple Image Descriptions.” Cvpr 2011 (2011). Web. 27
May 2016
[6] Li, Li-Jia, R. Socher, and Li Fei-Fei. ”Towards Total Scene Understanding: Classification, Annotation and
Segmentation in an Automatic Framework.” 2009 IEEE Conference on Computer Vision and Pattern Recogni-
tion (2009). Web. 21 Apr. 2016
[7] Gould, Stephen, Richard Fulton, and Daphne Koller. ”Decomposing a Scene into Geometric and Semanti-
cally Consistent Regions.” 2009 IEEE 12th International Conference on Computer Vision (2009). Web. 6 May
2016
[8] Fidler, Sanja, Abhishek Sharma, and Raquel Urtasun. ”A Sentence Is Worth a Thousand Pixels.” 2013 IEEE
Conference on Computer Vision and Pattern Recognition (2013). Web. 18 May 2016
[9] Li, Li-Jia, and Li Fei-Fei. ”What, Where and Who? Classifying Events by Scene and Object Recognition.”
2007 IEEE 11th International Conference on Computer Vision (2007). Web. 10 Apr. 2016
[10] Lazaridou, Angeliki, Nghia The Pham, and Marco Baroni. ”Combining Language and Vision with a
Multimodal Skip-gram Model.” Proceedings of the 2015 Conference of the North American Chapter of the
Association for Computational Linguistics: Human Language Technologies (2015). Web. 23 May 2016
[11] Hodosh, Young, and Hockenmaier. ”Framing image description as a ranking task: data, models and
evaluation metrics.” Journal of Artificial Intelligence Research (2013). Web. 3 Apr. 2016
[12] Socher, Richard, Andrej Karpathy, Quoc V. Le, Christopher Manning, and Andrew Y. Ng. ”Grounded
compositional semantics for finding and describing images with sentences.” Transactions of the Association for
Computational Linguistics (TACL) (2014). Web. 24 May 2016
8
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
[13] Ordonez, Vicente, Girish Kulkarni, and Tamara L. Berg. ”Im2text: Describing images using 1 million
captioned photographs.” NIPS: 1143-1151 (2011). Web. 29 Apr. 2016
[14] Jia, Yangqing, Mathieu Salzmann, and Trevor Darrell. ”Learning Cross-modality Similarity for Multino-
mial Data.” 2011 International Conference on Computer Vision (2011). Web. 28 May 2016
[15] Kuznetsova, Polina, Vicente Ordonez, Alexander C. Berg, Tamara Berg, and Yejin Choi. ”Collective
generation of natural image descriptions.” Proceedings of the 50th Annual Meeting of the Association for Com-
putational Linguistics 1 (2012): 359:368. Web. 30 Apr. 2016
[16] Li, Siming and Kulkarni, Girish and Berg, Tamara L. and Berg, Alexander C. and Choi, Yejin. ”Compos-
ing simple image descriptions using web-scale n-grams.” Proceedings of the Fifteenth Conference on Compu-
tational Natural Language Learning: 220-228 (2011). Web. 27 Apr. 2016
[17] Kuznetsova, Polina, Vicente Ordonez, Tamara Berg, Yejin Choi. ”TREETALK: Composition and Com-
pression of Trees for Image Descriptions.” Transactions of the Association for Computational Linguistics 2
(2014): 351-362. Web. 1 Apr. 2016
[18] Gupta and Mannem. ”From image annotation to image description. In Neural information processing.”
Springer (2012). Web. 7 Apr. 2015
[19] LeCun, Bottou, Bengio, and Haffner. ”Gradient- based learning applied to document recognition.” Pro-
ceedings of the IEEE (1998): 86(11):22782324. Web. 27 May 2016
[20] Krizhevsky, Sutskever, and Hinton. ”Imagenet classification with deep convolutional neural networks.”
NIPS (2012). Web. 28 Apr. 2016
[21] Karpathy, Andrej, and Li Fei-Fei. ”Deep Visual-semantic Alignments for Generating Image Descriptions.”
2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2015). Web. 29 May 2016
[22] Kiros Ryan, Rich Zemel, and Ruslan Salakhutdinov. ”Multimodal neural language models.” Proceedings
of the 31st International Conference on Machine Learning (ICML-14): 595-603 (2014). Web. 21 May 2016
[23] Simonyan, Karen and Andrew Zisserman. ”Very deep convolutional networks for large-scale image recog-
nition.” CoRR (2014). Web. 28 May 2016
[24] Hochreiter, Sepp, and Jrgen Schmidhuber. ”Long Short-Term Memory.” Neural Computation 9.8 (1997):
1735-780. Web. 23 Apr. 2016
[25] Graves, Alex. ”Generating sequences with recurrent neural networks.” CoRR (2013). Web. 30 May 2016
[26] Graves, Alex and Navdeep Jaitly. ”Towards end-to-end speech recognition with recurrent neural networks.”
Proceedings of the 31st International Converence on Machine Learning (ICML-14): 1764-1772 (2014). Web.
28 May 2016
[27] Mikolov, Tomas, Ilya Sutskever, Kai Chen, Greg S. Corrado, and Jeff Dean. ”Distributed representations
of words and phrases and their compositionality.” Advances in Neural Information Processing Systems (NIPS)
26: 3111-3119 (2013). Web. 29 Apr. 2016
[28] Kingma, Diederik and Jimmy Ba. ”Adam: A method for stochastic optimization.” CoRR (2015). Web. 19
May 2016
[29] Lin, Tsung-Yi, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollr,
and C. Lawrence Zitnick. ”Microsoft COCO: Common Objects in Context.” Computer Vision ECCV 2014
Lecture Notes in Computer Science (2014): 740-55. Web. 27 May 2016
[30] Papineni, Kishore, Salim Roukos, Todd Ward, and Wei-Jing Zhu, Bleu: a method for automatic evaluation
of machine translation.” Proceedings of the 40th Annual Meeting on Association for Computation Linguistics
(ACL): 311-318 (2002). Web. 24 May 2016
[31] Denkowski, Michael, and Alon Lavie. ”Meteor Universal: Language Specific Translation Evaluation for
Any Target Language.” Proceedings of the Ninth Workshop on Statistical Machine Translation (2014). Web.
22 Apr. 2016
[32] Vedantam, Ramakrishna, C. Lawrence Zitnick, and Devi Parikh. ”CIDEr: Consensus-based Image De-
scription Evaluation.” 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2015).
Web. 24 May 2016
[33] Vinyals, Oriol, Alexander Toshev, Samy Bengio, and Dumitru Erhan. ”Show and Tell: A Neural Image
Caption Generator.” 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2015). Web.
25 May 2016
9
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
[34] Chen, Xinlei and C. Lawrence Zitnick. Learning a Recurrent Visual Representation for Image Caption
Generation. CoRR abs/1411.5654 (2014). Web. 19 May 2016
[35] Fang, Hao, Saurabh Gupta, Forrest Iandola, Rupesh K. Srivastava, Li Deng, Piotr Dollar, Jianfeng Gao,
Xiaodong He, Margaret Mitchell, John C. Platt, C. Lawrence Zitnick, and Geoffrey Zweig. ”From Captions
to Visual Concepts and Back.” 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)
(2015). Web. 27 Apr. 2016
[36] Donahue, Jeff, Lisa Anne Hendricks, Sergio Guadarrama, Marcus Rohrbach, Subhashini Venugopalan,
Trevor Darrell, and Kate Saenko. ”Long-term Recurrent Convolutional Networks for Visual Recognition and
Description.” 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2015). Web. 20
Apr. 2016
10

Weitere ähnliche Inhalte

Was ist angesagt?

Object detection presentation
Object detection presentationObject detection presentation
Object detection presentationAshwinBicholiya
 
Driver Drowsiness Detection Review
Driver Drowsiness Detection ReviewDriver Drowsiness Detection Review
Driver Drowsiness Detection ReviewAsaad Waqar
 
[PR12] Inception and Xception - Jaejun Yoo
[PR12] Inception and Xception - Jaejun Yoo[PR12] Inception and Xception - Jaejun Yoo
[PR12] Inception and Xception - Jaejun YooJaeJun Yoo
 
Object detection with deep learning
Object detection with deep learningObject detection with deep learning
Object detection with deep learningSushant Shrivastava
 
Convolution Neural Network (CNN)
Convolution Neural Network (CNN)Convolution Neural Network (CNN)
Convolution Neural Network (CNN)Suraj Aavula
 
Deep Learning - Convolutional Neural Networks
Deep Learning - Convolutional Neural NetworksDeep Learning - Convolutional Neural Networks
Deep Learning - Convolutional Neural NetworksChristian Perone
 
Camera-Based Road Lane Detection by Deep Learning II
Camera-Based Road Lane Detection by Deep Learning IICamera-Based Road Lane Detection by Deep Learning II
Camera-Based Road Lane Detection by Deep Learning IIYu Huang
 
Brain Tumour Detection.pptx
Brain Tumour Detection.pptxBrain Tumour Detection.pptx
Brain Tumour Detection.pptxRevolverRaja2
 
Object classification using CNN & VGG16 Model (Keras and Tensorflow)
Object classification using CNN & VGG16 Model (Keras and Tensorflow) Object classification using CNN & VGG16 Model (Keras and Tensorflow)
Object classification using CNN & VGG16 Model (Keras and Tensorflow) Lalit Jain
 
Brain tumor detection using convolutional neural network
Brain tumor detection using convolutional neural network Brain tumor detection using convolutional neural network
Brain tumor detection using convolutional neural network MD Abdullah Al Nasim
 
Brain tumor detection by scanning MRI images (using filtering techniques)
Brain tumor detection by scanning MRI images (using filtering techniques)Brain tumor detection by scanning MRI images (using filtering techniques)
Brain tumor detection by scanning MRI images (using filtering techniques)Vivek reddy
 
Content-Based Image Retrieval (D2L6 Insight@DCU Machine Learning Workshop 2017)
Content-Based Image Retrieval (D2L6 Insight@DCU Machine Learning Workshop 2017)Content-Based Image Retrieval (D2L6 Insight@DCU Machine Learning Workshop 2017)
Content-Based Image Retrieval (D2L6 Insight@DCU Machine Learning Workshop 2017)Universitat Politècnica de Catalunya
 
CNN and its applications by ketaki
CNN and its applications by ketakiCNN and its applications by ketaki
CNN and its applications by ketakiKetaki Patwari
 
A Beginner's Guide to Monocular Depth Estimation
A Beginner's Guide to Monocular Depth EstimationA Beginner's Guide to Monocular Depth Estimation
A Beginner's Guide to Monocular Depth EstimationRyo Takahashi
 
Image Processing with OpenCV
Image Processing with OpenCVImage Processing with OpenCV
Image Processing with OpenCVdebayanin
 
Deep Learning - Overview of my work II
Deep Learning - Overview of my work IIDeep Learning - Overview of my work II
Deep Learning - Overview of my work IIMohamed Loey
 

Was ist angesagt? (20)

Object detection presentation
Object detection presentationObject detection presentation
Object detection presentation
 
Cnn
CnnCnn
Cnn
 
Driver Drowsiness Detection Review
Driver Drowsiness Detection ReviewDriver Drowsiness Detection Review
Driver Drowsiness Detection Review
 
[PR12] Inception and Xception - Jaejun Yoo
[PR12] Inception and Xception - Jaejun Yoo[PR12] Inception and Xception - Jaejun Yoo
[PR12] Inception and Xception - Jaejun Yoo
 
Object detection with deep learning
Object detection with deep learningObject detection with deep learning
Object detection with deep learning
 
Convolution Neural Network (CNN)
Convolution Neural Network (CNN)Convolution Neural Network (CNN)
Convolution Neural Network (CNN)
 
Deep Learning - Convolutional Neural Networks
Deep Learning - Convolutional Neural NetworksDeep Learning - Convolutional Neural Networks
Deep Learning - Convolutional Neural Networks
 
Camera-Based Road Lane Detection by Deep Learning II
Camera-Based Road Lane Detection by Deep Learning IICamera-Based Road Lane Detection by Deep Learning II
Camera-Based Road Lane Detection by Deep Learning II
 
Object detection
Object detectionObject detection
Object detection
 
Human Emotion Recognition
Human Emotion RecognitionHuman Emotion Recognition
Human Emotion Recognition
 
U-Net (1).pptx
U-Net (1).pptxU-Net (1).pptx
U-Net (1).pptx
 
Brain Tumour Detection.pptx
Brain Tumour Detection.pptxBrain Tumour Detection.pptx
Brain Tumour Detection.pptx
 
Object classification using CNN & VGG16 Model (Keras and Tensorflow)
Object classification using CNN & VGG16 Model (Keras and Tensorflow) Object classification using CNN & VGG16 Model (Keras and Tensorflow)
Object classification using CNN & VGG16 Model (Keras and Tensorflow)
 
Brain tumor detection using convolutional neural network
Brain tumor detection using convolutional neural network Brain tumor detection using convolutional neural network
Brain tumor detection using convolutional neural network
 
Brain tumor detection by scanning MRI images (using filtering techniques)
Brain tumor detection by scanning MRI images (using filtering techniques)Brain tumor detection by scanning MRI images (using filtering techniques)
Brain tumor detection by scanning MRI images (using filtering techniques)
 
Content-Based Image Retrieval (D2L6 Insight@DCU Machine Learning Workshop 2017)
Content-Based Image Retrieval (D2L6 Insight@DCU Machine Learning Workshop 2017)Content-Based Image Retrieval (D2L6 Insight@DCU Machine Learning Workshop 2017)
Content-Based Image Retrieval (D2L6 Insight@DCU Machine Learning Workshop 2017)
 
CNN and its applications by ketaki
CNN and its applications by ketakiCNN and its applications by ketaki
CNN and its applications by ketaki
 
A Beginner's Guide to Monocular Depth Estimation
A Beginner's Guide to Monocular Depth EstimationA Beginner's Guide to Monocular Depth Estimation
A Beginner's Guide to Monocular Depth Estimation
 
Image Processing with OpenCV
Image Processing with OpenCVImage Processing with OpenCV
Image Processing with OpenCV
 
Deep Learning - Overview of my work II
Deep Learning - Overview of my work IIDeep Learning - Overview of my work II
Deep Learning - Overview of my work II
 

Andere mochten auch

Исследование активизма
Исследование активизма Исследование активизма
Исследование активизма DonorsForum
 
Lecture 3 in c ppt
Lecture 3 in c pptLecture 3 in c ppt
Lecture 3 in c pptumair ansari
 
MIDNIGHT ROLLERS
MIDNIGHT ROLLERS MIDNIGHT ROLLERS
MIDNIGHT ROLLERS johantan98
 
Empresa periodística: GFR Media - El Nuevo Día
Empresa periodística: GFR Media - El Nuevo DíaEmpresa periodística: GFR Media - El Nuevo Día
Empresa periodística: GFR Media - El Nuevo Díamadeinvenezuela10
 
1999 Cable & Wireless Optus Quality Manual_Sample only
1999 Cable & Wireless Optus Quality Manual_Sample only1999 Cable & Wireless Optus Quality Manual_Sample only
1999 Cable & Wireless Optus Quality Manual_Sample onlyMario Fioretti
 
198 2016 priorita-e_strategie_nelle_politiche_di_sicurezza salute_sul_lav...
198   2016   priorita-e_strategie_nelle_politiche_di_sicurezza salute_sul_lav...198   2016   priorita-e_strategie_nelle_politiche_di_sicurezza salute_sul_lav...
198 2016 priorita-e_strategie_nelle_politiche_di_sicurezza salute_sul_lav...http://www.studioingvolpi.it
 
Доклад Д.В. Мартынова, президента АРПП "Меры по преодолению кризиса в отрасли...
Доклад Д.В. Мартынова, президента АРПП "Меры по преодолению кризиса в отрасли...Доклад Д.В. Мартынова, президента АРПП "Меры по преодолению кризиса в отрасли...
Доклад Д.В. Мартынова, президента АРПП "Меры по преодолению кризиса в отрасли...mediadis
 
Micro aula 1 (1)
Micro aula 1 (1)Micro aula 1 (1)
Micro aula 1 (1)valdosimiao
 
proDataMarket presentation at "European Data Forum"
proDataMarket presentation at "European Data Forum"proDataMarket presentation at "European Data Forum"
proDataMarket presentation at "European Data Forum"dapaasproject
 
2016 Measure B Presentation, Dec 2016
2016 Measure B Presentation, Dec 20162016 Measure B Presentation, Dec 2016
2016 Measure B Presentation, Dec 2016SCVTA
 
Metals, non metals, and metalloids
Metals, non metals, and metalloidsMetals, non metals, and metalloids
Metals, non metals, and metalloidsDevron Miller
 
Avdira museum
Avdira museumAvdira museum
Avdira museumkris kain
 
MIDNIGHT ROLLERS PAG 30-35
MIDNIGHT ROLLERS PAG 30-35MIDNIGHT ROLLERS PAG 30-35
MIDNIGHT ROLLERS PAG 30-35johantan98
 

Andere mochten auch (18)

Исследование активизма
Исследование активизма Исследование активизма
Исследование активизма
 
Lecture 3 in c ppt
Lecture 3 in c pptLecture 3 in c ppt
Lecture 3 in c ppt
 
MIDNIGHT ROLLERS
MIDNIGHT ROLLERS MIDNIGHT ROLLERS
MIDNIGHT ROLLERS
 
Empresa periodística: GFR Media - El Nuevo Día
Empresa periodística: GFR Media - El Nuevo DíaEmpresa periodística: GFR Media - El Nuevo Día
Empresa periodística: GFR Media - El Nuevo Día
 
Animals
AnimalsAnimals
Animals
 
1999 Cable & Wireless Optus Quality Manual_Sample only
1999 Cable & Wireless Optus Quality Manual_Sample only1999 Cable & Wireless Optus Quality Manual_Sample only
1999 Cable & Wireless Optus Quality Manual_Sample only
 
Sanmarcos
SanmarcosSanmarcos
Sanmarcos
 
198 2016 priorita-e_strategie_nelle_politiche_di_sicurezza salute_sul_lav...
198   2016   priorita-e_strategie_nelle_politiche_di_sicurezza salute_sul_lav...198   2016   priorita-e_strategie_nelle_politiche_di_sicurezza salute_sul_lav...
198 2016 priorita-e_strategie_nelle_politiche_di_sicurezza salute_sul_lav...
 
Доклад Д.В. Мартынова, президента АРПП "Меры по преодолению кризиса в отрасли...
Доклад Д.В. Мартынова, президента АРПП "Меры по преодолению кризиса в отрасли...Доклад Д.В. Мартынова, президента АРПП "Меры по преодолению кризиса в отрасли...
Доклад Д.В. Мартынова, президента АРПП "Меры по преодолению кризиса в отрасли...
 
Sicurezza sul Lavoro
Sicurezza sul LavoroSicurezza sul Lavoro
Sicurezza sul Lavoro
 
Micro aula 1 (1)
Micro aula 1 (1)Micro aula 1 (1)
Micro aula 1 (1)
 
proDataMarket presentation at "European Data Forum"
proDataMarket presentation at "European Data Forum"proDataMarket presentation at "European Data Forum"
proDataMarket presentation at "European Data Forum"
 
TNS россия
TNS россияTNS россия
TNS россия
 
2016 Measure B Presentation, Dec 2016
2016 Measure B Presentation, Dec 20162016 Measure B Presentation, Dec 2016
2016 Measure B Presentation, Dec 2016
 
Metals, non metals, and metalloids
Metals, non metals, and metalloidsMetals, non metals, and metalloids
Metals, non metals, and metalloids
 
Avdira museum
Avdira museumAvdira museum
Avdira museum
 
Astronomia
AstronomiaAstronomia
Astronomia
 
MIDNIGHT ROLLERS PAG 30-35
MIDNIGHT ROLLERS PAG 30-35MIDNIGHT ROLLERS PAG 30-35
MIDNIGHT ROLLERS PAG 30-35
 

Ähnlich wie Automated Neural Image Caption Generator for Visually Impaired People

Natural Language Description Generation for Image using Deep Learning Archite...
Natural Language Description Generation for Image using Deep Learning Archite...Natural Language Description Generation for Image using Deep Learning Archite...
Natural Language Description Generation for Image using Deep Learning Archite...ijtsrd
 
Report face recognition : ArganRecogn
Report face recognition :  ArganRecognReport face recognition :  ArganRecogn
Report face recognition : ArganRecognIlyas CHAOUA
 
Shallow vs. Deep Image Representations: A Comparative Study with Enhancements...
Shallow vs. Deep Image Representations: A Comparative Study with Enhancements...Shallow vs. Deep Image Representations: A Comparative Study with Enhancements...
Shallow vs. Deep Image Representations: A Comparative Study with Enhancements...CSCJournals
 
IRJET - Visual Question Answering – Implementation using Keras
IRJET -  	  Visual Question Answering – Implementation using KerasIRJET -  	  Visual Question Answering – Implementation using Keras
IRJET - Visual Question Answering – Implementation using KerasIRJET Journal
 
Automated Image Captioning – Model Based on CNN – GRU Architecture
Automated Image Captioning – Model Based on CNN – GRU ArchitectureAutomated Image Captioning – Model Based on CNN – GRU Architecture
Automated Image Captioning – Model Based on CNN – GRU ArchitectureIRJET Journal
 
Semantic Concept Detection in Video Using Hybrid Model of CNN and SVM Classif...
Semantic Concept Detection in Video Using Hybrid Model of CNN and SVM Classif...Semantic Concept Detection in Video Using Hybrid Model of CNN and SVM Classif...
Semantic Concept Detection in Video Using Hybrid Model of CNN and SVM Classif...CSCJournals
 
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTAPPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTsipij
 
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTAPPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTsipij
 
FaceDetectionforColorImageBasedonMATLAB.pdf
FaceDetectionforColorImageBasedonMATLAB.pdfFaceDetectionforColorImageBasedonMATLAB.pdf
FaceDetectionforColorImageBasedonMATLAB.pdfAnita Pal
 
Real Time Sign Language Recognition Using Deep Learning
Real Time Sign Language Recognition Using Deep LearningReal Time Sign Language Recognition Using Deep Learning
Real Time Sign Language Recognition Using Deep LearningIRJET Journal
 
Scene recognition using Convolutional Neural Network
Scene recognition using Convolutional Neural NetworkScene recognition using Convolutional Neural Network
Scene recognition using Convolutional Neural NetworkDhirajGidde
 
IRJET- Visual Question Answering using Combination of LSTM and CNN: A Survey
IRJET- Visual Question Answering using Combination of LSTM and CNN: A SurveyIRJET- Visual Question Answering using Combination of LSTM and CNN: A Survey
IRJET- Visual Question Answering using Combination of LSTM and CNN: A SurveyIRJET Journal
 
IRJET- Neural Story Teller using RNN and Generative Algorithm
IRJET- Neural Story Teller using RNN and Generative AlgorithmIRJET- Neural Story Teller using RNN and Generative Algorithm
IRJET- Neural Story Teller using RNN and Generative AlgorithmIRJET Journal
 
THE EFFECT OF PHYSICAL BASED FEATURES FOR RECOGNITION OF RECAPTURED IMAGES
THE EFFECT OF PHYSICAL BASED FEATURES FOR RECOGNITION OF RECAPTURED IMAGESTHE EFFECT OF PHYSICAL BASED FEATURES FOR RECOGNITION OF RECAPTURED IMAGES
THE EFFECT OF PHYSICAL BASED FEATURES FOR RECOGNITION OF RECAPTURED IMAGESijcsit
 
Saptashwa_Mitra_Sitakanta_Mishra_Final_Project_Report
Saptashwa_Mitra_Sitakanta_Mishra_Final_Project_ReportSaptashwa_Mitra_Sitakanta_Mishra_Final_Project_Report
Saptashwa_Mitra_Sitakanta_Mishra_Final_Project_ReportSitakanta Mishra
 
improving Profile detection using Deep Learning
improving Profile detection using Deep Learningimproving Profile detection using Deep Learning
improving Profile detection using Deep LearningSahil Kaw
 
Paper_3.pdf
Paper_3.pdfPaper_3.pdf
Paper_3.pdfChauVVan
 

Ähnlich wie Automated Neural Image Caption Generator for Visually Impaired People (20)

Natural Language Description Generation for Image using Deep Learning Archite...
Natural Language Description Generation for Image using Deep Learning Archite...Natural Language Description Generation for Image using Deep Learning Archite...
Natural Language Description Generation for Image using Deep Learning Archite...
 
Report face recognition : ArganRecogn
Report face recognition :  ArganRecognReport face recognition :  ArganRecogn
Report face recognition : ArganRecogn
 
Shallow vs. Deep Image Representations: A Comparative Study with Enhancements...
Shallow vs. Deep Image Representations: A Comparative Study with Enhancements...Shallow vs. Deep Image Representations: A Comparative Study with Enhancements...
Shallow vs. Deep Image Representations: A Comparative Study with Enhancements...
 
IRJET - Visual Question Answering – Implementation using Keras
IRJET -  	  Visual Question Answering – Implementation using KerasIRJET -  	  Visual Question Answering – Implementation using Keras
IRJET - Visual Question Answering – Implementation using Keras
 
Automated Image Captioning – Model Based on CNN – GRU Architecture
Automated Image Captioning – Model Based on CNN – GRU ArchitectureAutomated Image Captioning – Model Based on CNN – GRU Architecture
Automated Image Captioning – Model Based on CNN – GRU Architecture
 
Video to Video Translation CGAN
Video to Video Translation CGANVideo to Video Translation CGAN
Video to Video Translation CGAN
 
Semantic Concept Detection in Video Using Hybrid Model of CNN and SVM Classif...
Semantic Concept Detection in Video Using Hybrid Model of CNN and SVM Classif...Semantic Concept Detection in Video Using Hybrid Model of CNN and SVM Classif...
Semantic Concept Detection in Video Using Hybrid Model of CNN and SVM Classif...
 
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTAPPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
 
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTAPPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
 
One shot learning
One shot learningOne shot learning
One shot learning
 
FaceDetectionforColorImageBasedonMATLAB.pdf
FaceDetectionforColorImageBasedonMATLAB.pdfFaceDetectionforColorImageBasedonMATLAB.pdf
FaceDetectionforColorImageBasedonMATLAB.pdf
 
Real Time Sign Language Recognition Using Deep Learning
Real Time Sign Language Recognition Using Deep LearningReal Time Sign Language Recognition Using Deep Learning
Real Time Sign Language Recognition Using Deep Learning
 
Scene recognition using Convolutional Neural Network
Scene recognition using Convolutional Neural NetworkScene recognition using Convolutional Neural Network
Scene recognition using Convolutional Neural Network
 
IRJET- Visual Question Answering using Combination of LSTM and CNN: A Survey
IRJET- Visual Question Answering using Combination of LSTM and CNN: A SurveyIRJET- Visual Question Answering using Combination of LSTM and CNN: A Survey
IRJET- Visual Question Answering using Combination of LSTM and CNN: A Survey
 
IRJET- Neural Story Teller using RNN and Generative Algorithm
IRJET- Neural Story Teller using RNN and Generative AlgorithmIRJET- Neural Story Teller using RNN and Generative Algorithm
IRJET- Neural Story Teller using RNN and Generative Algorithm
 
THE EFFECT OF PHYSICAL BASED FEATURES FOR RECOGNITION OF RECAPTURED IMAGES
THE EFFECT OF PHYSICAL BASED FEATURES FOR RECOGNITION OF RECAPTURED IMAGESTHE EFFECT OF PHYSICAL BASED FEATURES FOR RECOGNITION OF RECAPTURED IMAGES
THE EFFECT OF PHYSICAL BASED FEATURES FOR RECOGNITION OF RECAPTURED IMAGES
 
Saptashwa_Mitra_Sitakanta_Mishra_Final_Project_Report
Saptashwa_Mitra_Sitakanta_Mishra_Final_Project_ReportSaptashwa_Mitra_Sitakanta_Mishra_Final_Project_Report
Saptashwa_Mitra_Sitakanta_Mishra_Final_Project_Report
 
improving Profile detection using Deep Learning
improving Profile detection using Deep Learningimproving Profile detection using Deep Learning
improving Profile detection using Deep Learning
 
Report
ReportReport
Report
 
Paper_3.pdf
Paper_3.pdfPaper_3.pdf
Paper_3.pdf
 

Kürzlich hochgeladen

Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 

Kürzlich hochgeladen (20)

Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 

Automated Neural Image Caption Generator for Visually Impaired People

  • 1. 000 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 024 025 026 027 028 029 030 031 032 033 034 035 036 037 038 039 040 041 042 043 044 045 046 047 048 049 050 051 052 053 Automated Neural Image Caption Generator for Visually Impaired People Christopher Elamri, Teun de Planque Department of Computer Science Stanford University {mcelamri, teun}@stanford.edu Abstract Being able to automatically describe the content of an image using properly formed English sentences is a challenging task, but it could have great impact by helping visually impaired people better understand their surroundings. Most modern mobile phones are able to capture photographs, making it possible for the visually impaired to make images of their environments. These images can then be used to generate captions that can be read out loud to the visually impaired, so that they can get a better sense of what is happening around them. In this paper, we present a deep recurrent architecture that automatically generates brief explanations of images. Our models use a convolutional neural network (CNN) to extract features from an image. These features are then fed into a vanilla recurrent neural network (RNN) or a Long Short-Term Memory (LSTM) network to gener- ate a description of the image in valid English. Our models achieve comparable to state of the art performance, and generate highly descriptive captions that can potentially greatly improve the lives of visually impaired people. 1 Introduction Visual impairment, also known as vision impairment or vision loss, is a decreased ability to see to a degree that causes problems not fixable by usual means, such as glasses. According to the World Health Organization, 285 million people are visually impaired worldwide, including over 39 million blind people [1]. Living with visual impairment can be challenging, since many daily-life situations are difficult to understand without good visual acuity. Technology has the potential to significantly improve the lives of visually impaired people (Figure 1). Access technology such as screen readers, screen magnifiers, and refreshable Braille displays enable the blind to use mainstream computer applications and mobile phones giving them access to previously inaccessible information. Another such technology that could improve the lives of the visually impaired is image caption generation. Most modern mobile phones are able to capture photographs, making it possible for the visually impaired to make images of their surroundings. These images can be used to generate captions that can be read out loud to give visually impaired people a better understanding of their surroundings. Image caption generation can also make the web more accessible to visually impaired people. The last decade has seen the triumph of the rich graphical desktop, replete with colourful icons, controls, buttons, and images. Automated caption generation of online images can make the web a more inviting place for visually impaired surfers. Being able to automatically describe the content of an image using properly formed English sen- tences is a very challenging task. This task is significantly harder, for example, than the well-studied image classification or object recognition tasks, which have been a main focus in the computer vi- sion community. Indeed, a description must capture not only the objects contained in an image, but it also must express how these objects relate to each other as well as their attributes and the 1
  • 2. 054 055 056 057 058 059 060 061 062 063 064 065 066 067 068 069 070 071 072 073 074 075 076 077 078 079 080 081 082 083 084 085 086 087 088 089 090 091 092 093 094 095 096 097 098 099 100 101 102 103 104 105 106 107 Figure 1: Visually impaired people can greatly benefit from technological solutions that can help them better understand their surroundings. activities they are involved in. Moreover, the above semantic knowledge has to be expressed in a natural language like English, which means that a language model is needed in addition to visual understanding. In this paper, we apply deep learning techniques to the image caption generation task. We first extract image features using a CNN. Specifically, we extract a 4096-Dimensional image feature vector from the fc7 layer of the VGG-16 network pretrained on ImageNet. We then reduce the dimension of this image feature vector using Principal Component Analysis (PCA). This resulting feature vector is then fed into a vanilla RNN or a LSTM. The vanilla RNN and LSTM generate a description of the image in valid English. Both the RNN and LSTM based model achieve results comparable to those achieved by the state of-the-art models. 2 Related Work Most work in visual recognition has originally focused on image classification, i.e. assigning labels corresponding to a fixed number of categories to images. Great progress in image classification has been made over the last couple of years, especially with the use of deep learning techniques [2, 3]. Nevertheless, a category label still provides limited information about an image, and espe- cially visually impaired people can benefit from more detailed descriptions. Some initial attempts at generating more detailed image descriptions have been made, for instance by Farhadi et al. and Kulkarni et al. [4, 5], but these models are generally dependent on hard-coded sentences and visual concepts. In addition, the goal of most of these works is to accurately describe the content of an image in a single sentence. However, this one sentence requirement unnecessarily limits the quality of the descriptions generated by the model. Several works, for example by Li et al., Gould et al., and Fidler et al., focused on obtaining a holistic understanding of scenes and objects depicted on images [6, 7, 8, 9]. Nonetheless, the goal of these works was to correctly assign labels correspond- ing to a fixed number of categories to the scene type of an image, instead of generating higher-level explanations of the scenes and objects depicted on an image. Generating sentences that describe the content of images has already been explored. Several works attempt to solve this task by finding the image in the training set that is most similar to the test image and then returning the caption associated with the test image [4, 10, 11, 12, 13]. Jia et al., Kuznetsova et al., and Li et al. find multiple similar images, and combine their captions to generate the resulting caption [14, 15, 16]. Kuznetsova et al., and Gupta et al. tried using a fixed sentence template in combination with object detection and feature learning [5, 17, 18]. They tried to identify objects and features contained in the image, and based on the identified objects contained in the image they used their sentence template to create sentences describing the image. Nevertheless, this approach greatly limits the output variety of the model. Recently there has been a resurgence of interest in image caption generation, as a result of the lat- est developments in deep learning [2, 19, 20, 21, 22]. Several deep learning approaches have been developed for generating higher level word descriptions of images [21, 22]. Convolutional Neu- 2
  • 3. 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 ral Networks have been shown to be powerful models for image classification and object detection tasks. In addition, new models to obtain low-dimensional vector representations of words such as word2vec, and GloVe (Global Vectors for Word Representation) and Recurrent Neural Networks can together create models that combine image features with language modeling to generate image descriptions [21, 22]. Karpathy et al. developed a Multimodal Recurrent Neural Network archi- tecture that uses inferred alignments to learn to generate novel descriptions of image regions [21]. Similarly, Kiros et al. used a log-bilinear model that generates full sentence descriptions for images [22]. However, their model uses a fixed window context [22]. 3 Technical Approach Overview. We implemented a deep recurrent architecture that automatically produces short descrip- tions of images. Our models use a CNN, which was pretrained on ImageNet, to obtain images features. We then feed these features into either a vanilla RNN or a LSTM network (Figure 2) to generate a description of the image in valid English. 3.1 CNN-based Image Feature Extractor For feature extraction, we use a CNN. CNNs have been widely used and studied for images tasks, and are currently state-of-the-art methods for object recognition and detection [20]. Concretely, for all input images, we extract features from the fc7 layer of the VGG-16 network pretrained on Ima- geNet [23], which is very well tuned for object detection. We obtained a 4096-Dimensional image feature vector that we reduce using Principal Component Analysis (PCA) to a 512-Dimensional im- age feature vector due to computational constraints. We feed these features into the first layer of our RNN or LSTM at the first iteration [24]. 3.2 RNN-based Sentence Generator We first experiment with vanilla RNNs as they have been shown to be powerful models for process- ing sequential data [25, 26]. Vanilla RNNs can learn complex temporal dynamics by mapping input sequences to a sequence of hidden states, and hidden states to outputs via the following recurrent equations. ht = f(Whhht−1 + Wxhxt) (1) yt = Whyht (2) where f is an element-wise non-linearity, ht ∈ RN is the hidden state with N hidden units, and yt is the output at time t. In our implementation, we use a hyperbolic tangent as our element-wise non- linearity. For a length T input sequence x1, x2, ..., xT , the updates above are computed sequentially as h1 (letting h0 = 0), y1, h2, y2,... hT , yT . Figure 2: Image Retrieval System and Language Generating Pipeline. 3
  • 4. 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 3.3 LSTM-based Sentence Generator Although RNNs have proven successful on tasks such as text generation and speech recognition [25, 26], it is difficult to train them to learn long-term dynamics. This problem is likely due to the vanishing and exploding gradients problem that can result from propagating the gradients down through the many layers of the recurrent networks. LSTM networks (Figure 3) provide a solution by incorporating memory units that allow the networks to learn when to forget previous hidden states and when to update hidden states when given new information [24]. At each time-step, we receive an input xt ∈ RD and the previous hidden state ht−1 ∈ RH , the LSTM also maintains an H-dimensional cell state, so we also get the previous cell state ct−1 ∈ RH . The learnable parameters of the LSTM are an input-to-hidden matrix Wx ∈ R4HxD , a hidden-to- hidden matrix Wh ∈ R4HxH , and a bias vector b ∈ R4H . At each time step, we compute an activation vector a ∈ R4H as a = Wxxt + Whht−1 + b (3) We then divide a into 4 vectors ai, af , ao, ag ∈ RH where ai consists of the first H elements of a, af is the next H elements of a, etc.. We then compute four gates which control whether to forget the current cell value f ∈ RH , if it should read its input i ∈ RH , and whether to output the new cell value o ∈ RH , and the block input g ∈ RH . i = σ(ai) (4) f = σ(af ) (5) o = σ(ao) (6) g = tanh(ag) (7) where σ is the sigmoid function and tanh is the hyperbolic tangent; both are applied element-wise. Finally, we compute the next cell state ct which encodes knowledge at every time step of what inputs have been observed up to this step, and the next hidden state ht as ct = f ◦ ct−1 + i ◦ g (8) ht = o ◦ tanh(ct) (9) where ◦ represents the Hadamard product. The inclusion of these multiplicative gates permits the regulation of information flow through the computational unit, allowing for more stable gradients and long-term sequence dependencies [24]. Such multiplicative gates make it possible to train the LSTM robustly as these gates deal well with exploding and vanishing gradients. The non-linearities are sigmoid σ() and hyperbolic tangent tanh(). Procedure. Our LSTM model takes the image I and a sequence of inputs vectors (x1, ..., xT ). It then computes a sequence of hidden states (h1, ..., ht) and a sequence of outputs (y1, ..., yt) by following the recurrence relation for t = 1 to T: bv = Whi[CNN(I)] (10) ht = f(Whxxt + Whhht−1 + bh + 1(t = 1) ◦ bv) (11) yt = Softmax(Wohht + bo) (12) where Whi, Whx, Whh, Woh, xi, bh, and bo are learnable parameters and CNN(I) represents the image features extracted by the CNN. Training. We train our LSTM model to correctly predict the next word (yt) based on the current word (xt), and the previous context (ht−1). We do this as follows: we set h0 = 0, x1 to the START vector, and the desired label y1 as the first word in the sequence. We then set x2 to the word vector corresponding to the first word generated by the network. Based on this first word vector and the previous context the network then predicts the second word, etc. The word vectors are generated using the word2vec embedding model as described by Mikolov et. al [27]. During the last step, xT represent the last word, and yT is set to an END token. 4
  • 5. 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 Figure 3: LSTM unit and its gates Testing. To predict a sentence, we obtain the image features bv, set h0 = 0, set x1 to the START vector, and compute the distribution over the first word y1. Accordingly, we pick the argmax from the distribution, set its embedding vector as x2, and repeat the procedure until the END token is generated. Softmax Loss. At every time-step, we generate a score for each word in the vocabulary. We then use the ground truth words in combination with the softmax function to compute the losses and gradients. We sum the losses over time and average them over the minibatch. Since we operate over minibatches and because different generated sentences may have different lengths, we append NULL tokens to the end of each caption so that they all have the same lengths. In addition, our loss function accepts a mask array that informs it on which elements of the scores counts towards the loss in order to prevent the NULL tokens to count towards the loss or gradient. Optimization. We use Stochastic Gradient Descent (SGD) with mini-batches of 25 image- sentence pairs and momentum of 0.95. We cross-validate the learning rate and the weight decay. We achieved our best results using Adam, which is a method for efficient stochastic optimization that only requires first-order gradients and computes individual adaptive learning rates for different parameters from estimates of first and second moments of the gradients [28]. Adam’s main advantages are that the magnitudes of parameter updates are invariant to rescaling of the gradients, its step-size is approximately bounded by the step-size hyperparameter, and it automatically performs a form of step-size annealing [28]. 4 Experiments 4.1 Dataset For this exercise we will use the 2014 release of the Microsoft COCO dataset which has become the standard testbed for image captioning [29]. The dataset consists of 80,000 training images and 40,000 validation images, each annotated with 5 captions written by workers on Amazon Mechanical Turk. Four example images with captions can be seen in Figure 4. We convert all sentences to lower- case, and discard non-alphanumeric characters. 5
  • 6. 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 Figure 4: Example images and captions from the Microsoft COCO Caption dataset. 4.2 Evaluation Metric For each image we expect a caption that provides a correct but brief explanation in valid English of the images. The closer the generated caption is to the captions written by workers on Amazon mechanical Turk the better. The effectiveness of our model is tested on 40,000 images contained in the Microsoft COCO dataset. We evaluate the generated captions using the following metrics: BLEU (Bilingual Evaluation Un- derstudy) [30], METEOR (Metric for Evaluation of Translation with Explicit Ordering) [31], and CIDEr (Consensus-based Image Description Evaluation) [32]. Each method evaluates a candidate sentence by measuring how well it matches a set of five reference sentences written by humans. The BLEU score is computed by counting the number of matches between the n-grams of the candi- date caption and the n-grams of the reference caption. METEOR was designed to fix some of the problems found in the more popular BLEU metric, and also produce good correlation with human judgement at the sentence or segment level [30]. METEOR differs from the BLEU metric in that BLEU seeks correlation at the corpus level [31]. The CIDEr metric was specifically developed for evaluating image captions [32]. It is a measure of consensus based on how often n-grams in can- didate captions are present in references captions. It measures the consensus in image captions by performing a Term Frequency Inverse Document Frequency (TF-IDF) weighting for each n-gram, because frequent n-grams in references are less informative [32]. For all three metrics (i.e. BLEU, METEOR, and CIDEr) the higher the score, the better the candidate caption is [30][31][32]. 4.3 Quantitative Results We report the BLEU, METEOR and CIDEr scores in Figure 5 and compare it to the results obtained in the literature. Both our RNN and LSTM model achieve close to state-of-the-art performance. Our LSTM model performs slightly better than our RNN model; it achieves a higher BLEU, METEOR, and CIDEr score than the RNN model. 4.4 Qualitative Results Our models generates sensible descriptions of images in valid English (Figure 6 and 7). As can be seen from example groundings in Figure 5, the model discovers interpretable visual-semantic correspondences, even for relatively small objects such as the phones in Figure 7. The generated descriptions are accurate enough to be helpful for visually impaired people. In general, we find that a relatively large portion of generated sentences (60%) can be found in the training data. 6
  • 7. 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 Figure 5: Evaluation of full image predictions on 1,000 test images of the Microsoft COCO 2014 dataset. Figure 6: Example image descriptions generated using the RNN structure. Figure 7: Example image descriptions generated using the LSTM structure. 7
  • 8. 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 5 Conclusion We have presented a deep learning model that automatically generates image captions with the goal of helping visually impaired people better understand their environments. Our described model is based on a CNN that encodes an image into a compact representation, followed by a RNN that generates corresponding sentences based on the learned image features. We showed that this model achieves comparable to state-of-the-art performance, and that the generated captions are highly de- scriptive of the objects and scenes depicted on the images. Because of the high quality of the generated image descriptions, visually impaired people can greatly benefit and get a better sense of their surroundings using text-to-speech technology. Future work can include this text-to-speech technology, so that the generated descriptions are automatically read out loud to visually impaired people. In addition, future work could focus on translating videos directly to sentences instead of generating captions of images. Static images can only provide blind people with information about one specific instant of time, while video caption generation could potentially provide blind people with continuous real time information. LSTMs could be used in combination with CNNs to translate videos to English descriptions. Acknowledgments We would like to thank the CS224D course staff for their ongoing support. References [1] ”Visual Impairment and Blindness.” World Health Organization. (2014). Web. 10 Apr. 2016 [2] Russakovsky, Olga, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ”ImageNet Large Scale Visual Recognition Challenge.” International Journal of Computer Vision Int J Comput Vis 115.3 (2015): 211-52. Web. 19 Apr. 2016 [3] Everingham, Mark, Luc Van Gool, Christopher K. I. Williams, John Winn, and Andrew Zisserman. ”The Pascal Visual Object Classes (VOC) Challenge.” International Journal of Computer Vision Int J Comput Vis 88.2 (2009): 303-38. Web. 22 May 2016 [4] Farhadi, Ali, Mohsen Hejrati, Mohammad Amin Sadeghi, Peter Young, Cyrus Rashtchian, Julia Hocken- maier, and David Forsyth. ”Every Picture Tells a Story: Generating Sentences from Images.” Computer Vision ECCV 2010 Lecture Notes in Computer Science (2010): 15-29. Web. 5 Apr. 2016 [5] Kulkarni, Girish, Visruth Premraj, Sagnik Dhar, Siming Li, Yejin Choi, Alexander C. Berg, and Tamara L. Berg. ”Baby Talk: Understanding and Generating Simple Image Descriptions.” Cvpr 2011 (2011). Web. 27 May 2016 [6] Li, Li-Jia, R. Socher, and Li Fei-Fei. ”Towards Total Scene Understanding: Classification, Annotation and Segmentation in an Automatic Framework.” 2009 IEEE Conference on Computer Vision and Pattern Recogni- tion (2009). Web. 21 Apr. 2016 [7] Gould, Stephen, Richard Fulton, and Daphne Koller. ”Decomposing a Scene into Geometric and Semanti- cally Consistent Regions.” 2009 IEEE 12th International Conference on Computer Vision (2009). Web. 6 May 2016 [8] Fidler, Sanja, Abhishek Sharma, and Raquel Urtasun. ”A Sentence Is Worth a Thousand Pixels.” 2013 IEEE Conference on Computer Vision and Pattern Recognition (2013). Web. 18 May 2016 [9] Li, Li-Jia, and Li Fei-Fei. ”What, Where and Who? Classifying Events by Scene and Object Recognition.” 2007 IEEE 11th International Conference on Computer Vision (2007). Web. 10 Apr. 2016 [10] Lazaridou, Angeliki, Nghia The Pham, and Marco Baroni. ”Combining Language and Vision with a Multimodal Skip-gram Model.” Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (2015). Web. 23 May 2016 [11] Hodosh, Young, and Hockenmaier. ”Framing image description as a ranking task: data, models and evaluation metrics.” Journal of Artificial Intelligence Research (2013). Web. 3 Apr. 2016 [12] Socher, Richard, Andrej Karpathy, Quoc V. Le, Christopher Manning, and Andrew Y. Ng. ”Grounded compositional semantics for finding and describing images with sentences.” Transactions of the Association for Computational Linguistics (TACL) (2014). Web. 24 May 2016 8
  • 9. 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 [13] Ordonez, Vicente, Girish Kulkarni, and Tamara L. Berg. ”Im2text: Describing images using 1 million captioned photographs.” NIPS: 1143-1151 (2011). Web. 29 Apr. 2016 [14] Jia, Yangqing, Mathieu Salzmann, and Trevor Darrell. ”Learning Cross-modality Similarity for Multino- mial Data.” 2011 International Conference on Computer Vision (2011). Web. 28 May 2016 [15] Kuznetsova, Polina, Vicente Ordonez, Alexander C. Berg, Tamara Berg, and Yejin Choi. ”Collective generation of natural image descriptions.” Proceedings of the 50th Annual Meeting of the Association for Com- putational Linguistics 1 (2012): 359:368. Web. 30 Apr. 2016 [16] Li, Siming and Kulkarni, Girish and Berg, Tamara L. and Berg, Alexander C. and Choi, Yejin. ”Compos- ing simple image descriptions using web-scale n-grams.” Proceedings of the Fifteenth Conference on Compu- tational Natural Language Learning: 220-228 (2011). Web. 27 Apr. 2016 [17] Kuznetsova, Polina, Vicente Ordonez, Tamara Berg, Yejin Choi. ”TREETALK: Composition and Com- pression of Trees for Image Descriptions.” Transactions of the Association for Computational Linguistics 2 (2014): 351-362. Web. 1 Apr. 2016 [18] Gupta and Mannem. ”From image annotation to image description. In Neural information processing.” Springer (2012). Web. 7 Apr. 2015 [19] LeCun, Bottou, Bengio, and Haffner. ”Gradient- based learning applied to document recognition.” Pro- ceedings of the IEEE (1998): 86(11):22782324. Web. 27 May 2016 [20] Krizhevsky, Sutskever, and Hinton. ”Imagenet classification with deep convolutional neural networks.” NIPS (2012). Web. 28 Apr. 2016 [21] Karpathy, Andrej, and Li Fei-Fei. ”Deep Visual-semantic Alignments for Generating Image Descriptions.” 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2015). Web. 29 May 2016 [22] Kiros Ryan, Rich Zemel, and Ruslan Salakhutdinov. ”Multimodal neural language models.” Proceedings of the 31st International Conference on Machine Learning (ICML-14): 595-603 (2014). Web. 21 May 2016 [23] Simonyan, Karen and Andrew Zisserman. ”Very deep convolutional networks for large-scale image recog- nition.” CoRR (2014). Web. 28 May 2016 [24] Hochreiter, Sepp, and Jrgen Schmidhuber. ”Long Short-Term Memory.” Neural Computation 9.8 (1997): 1735-780. Web. 23 Apr. 2016 [25] Graves, Alex. ”Generating sequences with recurrent neural networks.” CoRR (2013). Web. 30 May 2016 [26] Graves, Alex and Navdeep Jaitly. ”Towards end-to-end speech recognition with recurrent neural networks.” Proceedings of the 31st International Converence on Machine Learning (ICML-14): 1764-1772 (2014). Web. 28 May 2016 [27] Mikolov, Tomas, Ilya Sutskever, Kai Chen, Greg S. Corrado, and Jeff Dean. ”Distributed representations of words and phrases and their compositionality.” Advances in Neural Information Processing Systems (NIPS) 26: 3111-3119 (2013). Web. 29 Apr. 2016 [28] Kingma, Diederik and Jimmy Ba. ”Adam: A method for stochastic optimization.” CoRR (2015). Web. 19 May 2016 [29] Lin, Tsung-Yi, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollr, and C. Lawrence Zitnick. ”Microsoft COCO: Common Objects in Context.” Computer Vision ECCV 2014 Lecture Notes in Computer Science (2014): 740-55. Web. 27 May 2016 [30] Papineni, Kishore, Salim Roukos, Todd Ward, and Wei-Jing Zhu, Bleu: a method for automatic evaluation of machine translation.” Proceedings of the 40th Annual Meeting on Association for Computation Linguistics (ACL): 311-318 (2002). Web. 24 May 2016 [31] Denkowski, Michael, and Alon Lavie. ”Meteor Universal: Language Specific Translation Evaluation for Any Target Language.” Proceedings of the Ninth Workshop on Statistical Machine Translation (2014). Web. 22 Apr. 2016 [32] Vedantam, Ramakrishna, C. Lawrence Zitnick, and Devi Parikh. ”CIDEr: Consensus-based Image De- scription Evaluation.” 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2015). Web. 24 May 2016 [33] Vinyals, Oriol, Alexander Toshev, Samy Bengio, and Dumitru Erhan. ”Show and Tell: A Neural Image Caption Generator.” 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2015). Web. 25 May 2016 9
  • 10. 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 [34] Chen, Xinlei and C. Lawrence Zitnick. Learning a Recurrent Visual Representation for Image Caption Generation. CoRR abs/1411.5654 (2014). Web. 19 May 2016 [35] Fang, Hao, Saurabh Gupta, Forrest Iandola, Rupesh K. Srivastava, Li Deng, Piotr Dollar, Jianfeng Gao, Xiaodong He, Margaret Mitchell, John C. Platt, C. Lawrence Zitnick, and Geoffrey Zweig. ”From Captions to Visual Concepts and Back.” 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2015). Web. 27 Apr. 2016 [36] Donahue, Jeff, Lisa Anne Hendricks, Sergio Guadarrama, Marcus Rohrbach, Subhashini Venugopalan, Trevor Darrell, and Kate Saenko. ”Long-term Recurrent Convolutional Networks for Visual Recognition and Description.” 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2015). Web. 20 Apr. 2016 10