Multi-attention Network for one Shot learning

Source: Internet
Author: User

Multi-attention Network for one Shot learning

2018-05-15 22:35:50

The contribution of this article is:

1. Indicates that the category label information can be helpful to one shot learning and design a method to excavate the information;

2. Propose a attention network to produce attention maps for creating the image representation of a exemplar image in novel class Ba SED on its class tag.

3. Further propose a multi-attention scheme to enhance the performance of the model;

4. Two new datasets were collected and an evaluation criterion was built.

The flowchart of this article:

Attention Map Generation:

The calculation of attention value in this article is also dependent on the response between Visual feature and Language feature. The approximate process is as follows:

1. First Use Word embedding method, get the category label of the feature C, and then the feature further learning, you can use the LSTM or FC layer, namely:

Of these, both W and B are model parameters that can be learned.

2. After obtaining the hidden state, we multiply it with visual feature and get a response:

3. Normalization of attention value:

4. Multiply attention values and features to get the weighted feature:

Multi-attention mechanism:

The multi-attention mechanism here is an extension of just that mechanism, with different parameters to get attention value at different angles.

---done!

Multi-attention Network for one Shot learning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.