Presented herein are embodiments of a multimodal Recurrent Neural Network (m-RNN) model for generating novel image captions. In embodiments, it directly models the probability distribution of generating a word given a previous word or words and an image, and image captions are generated according to this distribution. In embodiments, the model comprises two sub-networks: a deep recurrent neural network for sentences and a deep convolutional network for images. In embodiments, these two sub-networks interact with each other in a multimodal layer to form the whole m-RNN model. The effectiveness of an embodiment of model was validated on four benchmark datasets, and it outperformed the state-of-the-art methods. In embodiments, the m-RNN model may also be applied to retrieval tasks for retrieving images or captions.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A computer-implemented method for generating a sentence-level description of an image, the method comprising: receiving an input image; inputting the input image into a multimodal recurrent neural network (m-RNN), the m-RNN comprising: a convolution neural network layer component that generates an image representation of the input image; at least one word embedding component that encodes syntactic and semantic meaning of a word into a word representation; a recurrent layer component that maps a recurrent layer activation of a prior time frame into a same vector space as a word representation at a current time frame and combines them; a multimodal component that receives a first input from the recurrent layer component and a second input from the convolution neural network layer component and combines them; and a softmax layer component that uses an output of the multimodal component to generate a probability distribution of a next word in the sentence-level description. 2. The computer-implemented method of claim 1 wherein the multimodal component further receives a third input from the at least one word embedding component. 3. The computer-implemented method of claim 2 wherein the at least one word embedding layer comprises two word embedding layers, in which an output of a first word embedding layer is provided as an input to a second word embedding layer and an output of the second word embedding layer is provided as the third input to the multimodal component. 4. The computer-implemented method of claim 2 wherein the at least one word embedding layer comprises two word embedding layers, in which an output of the first word embedding layer is provided as: an input to a second word embedding layer, which provides its output to the recurrent layer component; and the third input to the multimodal component. 5. The computer-implemented method of claim 1 wherein the at least one word embedding component has been trained by randomly initializing the at least one word embedding component and training it from a set of training data. 6. The computer-implemented method of claim 1 wherein the at least one word embedding component also receives as an input an image representation of the input image from the convolution neural network layer component. 7. The computer-implemented method of claim 1 further comprising: determining whether an end sign has been generated as a next word based upon the probability distribution; responsive to the next word not being the end sign: adding the next word to the sentence-level description; and for a next time frame: setting the next word as the current word; and inputting the current word into the at least one word embedding component of the m-RNN to obtain a next word; and returning to the step of determining whether an end sign has been generated as a next word; and responsive to the next word not being the end sign, outputting the sentence-level description. 8. The computer-implemented method of claim 1 wherein the step of combining the recurrent layer activation of a prior time frame with a word representation at a current time frame comprises using a rectified linear unit function. 9. A computer-implemented method for retrieving an image from a set of images given a query statement, the method comprising: receiving the query statement; for each input image from a set of images, using a multimodal recurrent neural network (m-RNN) to obtain a probability value of generating the query statement given the input image, the m-RNN comprising: a convolution neural network layer component that generates an image representation of the input image; at least one word embedding component that encodes syntactic and semantic meaning of a word or words from the query statement into a word representation; a recurrent layer component that maps a recurrent layer activation of a prior time frame into a same vector space as a word representation at a current time frame and combines them; a multimodal component that receives a first input from the recurrent layer component and a second input from the convolution neural network layer component and combines them; and a softmax layer component that uses an output of the multimodal component to generate one or more probability distributions of words related to the input image, the one or more probability distributions being used to obtain the probability value; and selecting one or more images that have a probability value above a threshold level. 10. The computer-implemented method of claim 9 further comprising the step of: ranking the images from the set of images based upon each image's respective probability value of generating the query statement. 11. The computer-implemented method of claim 9 wherein the multimodal component further receives a third input from the at least one word embedding component. 12. The computer-implemented method of claim 11 wherein the at least one word embedding layer comprises two word embedding layers, in which an output of a first word embedding layer is provided as an input to a second word embedding layer and an output of the second word embedding layer is provided as the third input to the multimodal component. 13. The computer-implemented method of claim 11 wherein the at least one word embedding layer comprises two word embedding layers, in which an output of the first word embedding layer is provided as: an input to a second word embedding layer, which provides its output to the recurrent layer component; and the third input to the multimodal component. 14. The computer-implemented method of claim 9 wherein the recurrent layer component combines the recurrent layer activation of a prior time frame the word representation at a current time frame comprises using a rectified linear unit function. 15. A computer-implemented method for retrieving a caption of an image, the method comprising: receiving an input image; for each candidate caption from a set of candidate captions, using a multimodal recurrent neural network (m-RNN) to obtain a probability value of generating the candidate caption given the input image, the m-RNN comprising: a convolution neural network layer component that generates an image representation of the input image; at least one word embedding component that encodes syntactic and semantic meaning of a word or words from the candidate caption into a word representation; a recurrent layer component that maps a recurrent layer activation of a prior time frame into a same vector space as a word representation at a current time frame and combines them; a multimodal component that receives a first input from the recurrent layer component and a second input from the convolution neural network layer component and combines them; and a softmax layer component that uses an output of the multimodal component to generate one or more probability distributions of words in the candidate caption related to the input image, the one or more probability distributions being used to obtain the probability value for the candidate caption; and selecting one or more captions that have a probability value above a threshold level. 16. The computer-implemented method of claim 15 wherein the probability value represents a normalized probability obtained using a normalization factor that represents a marginal probability of the candidate caption. 17. The computer-implemented method of claim 16 in which the normalized probability is approximately equivalent to a probability obtaining the input image in an image retrieval given the candidate caption. 18. The computer-implemented method of claim 15 further comprising the step of: ranking the candidate captions from the set of candidate captions based upon each candidate caption's respective probability value. 19. The computer-implemented method of claim 15 wherein the multimodal component further receives a third input from the at least one word embedding component. 20. The computer-implemented method of claim 19 wherein the at least one word embedding layer comprises two word embedding layers, in which an output of a first word embedding layer is provided as an input to a second word embedding layer and an output of the second word embedding layer is provided as the third input to the multimodal component.