Multimodal named entity recognition
AssigneeSnap Inc.
InventorsVitor Rocha de Carvalho, Leonardo Ribas Machado das Neves, Seungwhan Moon
Life of this patent
Estimating the term…
Abstract
A caption of a multimodal message (e.g., social media post) can be identified as a named entity using an entity recognition system. The entity recognition system can use an attention-based mechanism that emphasis or de-emphasizes each data type (e.g., image, word, character) in the multimodal message based on each datatypes relevance. The output of the attention mechanism can be used to update a recurrent network to identify one or more words in the caption as being a named entity.
Claims17
A method comprising:
- identifying a multimodal message comprising an image and a string, the string comprising one or more words;
- generating, using an entity neural network, an indication that at least one of the one or more words is a named entity, the entity neural network comprising an attention neural network trained to increase emphasis on one of a plurality of embeddings based on relevance to the multimodal message, the plurality of embeddings comprising an image embedding from the image, and a word embedding and a character embedding that corresponds to the string in the multimodal message, the character embedding corresponding to characters of the one or more words, the one or more words of the multimodal message comprising an incorrectly spelled version of the named entity, and the attention neural network increases emphasis of the character embedding and decreases emphasis of the word embedding;
- storing, using one or more processors of a machine, the named entity as being associated with the multimodal message;
- identifying one or more items of user interface content using the named entity;
- and
- publishing, on a network site, the multimodal message and the user interface content as an ephemeral message.
A system comprising:
- one or more processors of a machine;
- and
- a memory storing instructions that, when executed by the one or more processors, cause the machine to perform operations comprising:
- identifying a multimodal message comprising an image and a string, the string comprising one or more words;
- generating, using an entity neural network, an indication that at least one of the one or more words is a named entity, the entity neural network comprising an attention neural network trained to increase emphasis on one of a plurality of embeddings based on relevance to the multimodal message, the plurality of embeddings comprising an image embedding from the image, and a word embedding and a character embedding that corresponds to the string in the multimodal message, the character embedding corresponding to characters of the one or more words, the one or more words of the multimodal message comprising an incorrectly spelled version of the named entity, and the attention neural network increases emphasis of the character embedding and decreases emphasis of the word embedding;
- storing the named entity as being associated with the multimodal message;
- identifying one or more items of user interface content using the named entity;
- publishing, on a network site, the multimodal message and the user interface content as an ephemeral message.
A machine-readable storage device embodying instructions that, when executed by a machine, cause the machine to perform operations comprising:
- identifying a multimodal message comprising an image and a string, the string comprising one or more words;
- generating, using an entity neural network, an indication that at least one of the one or more words is a named entity, the entity neural network comprising an attention neural network trained to increase emphasis on one of a plurality of embeddings based on relevance to the multimodal message, the plurality of embeddings comprising an image embedding from the image, and a word embedding and a character embedding that corresponds to the string in the multimodal message, the character embedding corresponding to characters of the one or more words, the one or more words of the multimodal message comprising an incorrectly spelled version of the named entity, and the attention neural network increases emphasis of the character embedding and decreases emphasis of the word embedding;
- storing the named entity as being associated with the multimodal message;
- identifying one or more items of user interface content using the named entity;
- publishing, on a network site, the multimodal message and the user interface content as an ephemeral message.
Dependencies are inferred from the claim text.