Research on Image Caption of Children's Image Based on Attention Mechanism
Haibing Li, Xiang Li, Wenyong Wang · 2021
Image Caption refers to a technique in which the computer uses neural networks to identify the image content and output text statements that conform to people's reading habits by studying the object categories, attributes, relationships among objects, etc. This paper builds an Image Caption network model with Attention Mechanism. The model first uses convolution neural network ResNet50 to extract image features, encoding image information, and then weighted image features through Attention Mechanism. Finally, the three-layer stacked LSTM network is used to decode the image features and output the description statements. Also, in this paper, Smooth L1 is used as a loss function of the Attention Mechanism to solve the problem of gradient explosion caused by excessive gradient and strengthen the training effect. Because the whole process of Image Caption is like making the machine "talking about pictures ", this paper applies this technology to early childhood education in order to help children" talking about pictures "purpose.