Aesthetic Attributes Assessment of Images

Aesthetic Attributes Assessment of Images

Xin Jin 000-0003-3873-1653Department of Cyber Security, Beijing Electronic Science and Technology Institute, Beijing 100070, P. R. ChinaCETC Big Data Research Institute Co.,Ltd., Guiyang 550018, Guizhou, P. R. China Le Wu, Geng Zhao, Xiaodong Li, Xiaokun Zhang Department of Cyber Security, Beijing Electronic Science and Technology Institute, Beijing 100070, P. R. China Shiming Ge* Institute of Information Engineering, Chinese Academy of Sciences, Beijing 100093, P. R. China,
Corresponding author:
geshiming@iie.ac.cn
Dongqing Zou SenseTime Research, Beijing 100084, P. R. China Bin Zhou State Key Laboratory of Virtual Reality Technology & Systems, Beihang University, Beijing 100191, P. R. ChinaPeng Cheng Laboratory  and  Xinghui Zhou Department of Cyber Security, Beijing Electronic Science and Technology Institute, Beijing 100070, P. R. China
Abstract.

Image aesthetic quality assessment has been a relatively hot topic during the last decade. Most recently, comments type assessment (aesthetic captions) has been proposed to describe the general aesthetic impression of an image using text. In this paper, we propose Aesthetic Attributes Assessment of Images, which means the aesthetic attributes captioning. This is a new formula of image aesthetic assessment, which predicts aesthetic attributes captions together with the aesthetic score of each attribute. We introduce a new dataset named DPC-Captions which contains comments of up to 5 aesthetic attributes of one image through knowledge transfer from a full-annotated small-scale dataset. Then, we propose Aesthetic Multi-Attribute Network (AMAN), which is trained on a mixture of fully-annotated small-scale PCCD dataset and weakly-annotated large-scale DPC-Captions dataset. Our AMAN makes full use of transfer learning and attention model in a single framework. The experimental results on our DPC-Captions and PCCD dataset reveal that our method can predict captions of 5 aesthetic attributes together with numerical score assessment of each attribute. We use the evaluation criteria used in image captions to prove that our specially designed AMAN model outperforms traditional CNN-LSTM model and modern SCA-CNN model of image captions.

aesthetic assessment, image captioning, semi-supervised learning
copyright: acmcopyrightjournalyear: 2019conference: Proceedings of the 27th ACM International Conference on Multimedia; October 21–25, 2019; Nice, Francebooktitle: Proceedings of the 27th ACM International Conference on Multimedia (MM ’19), October 21–25, 2019, Nice, Franceprice: 15.00doi: 10.1145/3343031.3350970isbn: 978-1-4503-6889-6/19/10ccs: Computing methodologies Scene understanding
Figure 1. Aesthetic Attributes Assessment of Images. We predict caption and score of each aesthetic attribute of an image.

1. Introduction

Image Aesthetic Quality Assessment (IAQA) is to give an assessment of images on the aspect of aesthetics. In the last decades, IAQA has gained a great interest in the community of computer vision, computational aesthetics, psychology and neuroscience.

Most literatures of IAQA are to classify images into 2 categories: high aesthetic quality (professional) and low aesthetic quality (amateur). The second popular assessment task is to give a continuously numerical score of aesthetics. Another numerical assessment task is to predict a score distribution of human rating on the aesthetic aspect of an image (Jin et al., 2018; Talebi and Milanfar, 2018; Cui et al., 2018).

For a human artist, when shown a photo or a drawing, he/she will not just give a numerical score but always say a paragraph to describe many aesthetic attributes such as composition, lighting, color, focus of the image. Pioneer work of Chang et al. (Chang et al., 2017) proposes aesthetic captioning of images. They build Photo Critique Captioning Dataset (PCCD) for the community. The PCCD contains 4,235 images and 29,645 comments. Each image is attached with comments and scores of 7 aesthetic attributes. However, they only output a sentence of assessment, which can not give a full review of aesthetic attributes. The value of PCCD is not fully explored. Besides, the size of PCCD is relatively small compared to AVA dataset (Murray et al., 2012), which is commonly used in this field but do not contain ground truth of aesthetic captions and attributes.

In this work, we propose Aesthetic Attributes Assessment of Images, as shown in Figure 1. We predicts aesthetic attributes captions together with the aesthetic score of each attribute. We build a new dataset named DPC-Captions from DPChallenge.com using an aesthetic knowledge transfer method. DPC-Captions contains comments of up to 5 aesthetic attributes of one image. There are 154,384 images and 2,427,483 comments. Then, we propose aesthetic multi-attribute network, which contains multi-attribute feature network, channel and spatial attention network, and language generation network. We train this model on both small-scale PCCD dataset (4,235 images and 29,645 comments) which contains attribute comments and scores and our large-scale DPC-Captions dataset with only contains attribute comments. We evaluate our method of captioning and scoring of attributes on DPC-Captions and PCCD using both image captioning criteria and mean square error of scoring. The contributions of our work includes:

  • To the best of our knowledge, this is the first work which can produce both captions and scores for each aesthetic attribute of an image, including color and lighting, composition, depth and focus, impression and subject, use of camera.

  • We introduce a novel large-scale image dataset named DPC-Captions (154,384 images and 2,427,483 comments) for aesthetic assessment, which contains captions of up to 5 aesthetic attributes of images. The dataset building process relies on our proposed knowledge transfer method from a small-scale full annotated image dataset to a large-scale weakly annotated one.

  • We propose Aesthetic Multi-Attribute Network (AMAN), which uses a two-stage training processes on a small-scale full annotated dataset and a large-scale weakly annotated one.

2. Related Work

Before deep learning era, many hand-crafted features (Jin et al., 2010; Chen et al., 2015) are designed for aesthetic image classification and scoring as surveyed by Deng et al. (Deng et al., 2017). Deep learning methods are proposed recently for aesthetic assessment (Jin et al., 2018; Lu et al., 2014; Dong and Tian, 2015; Kao et al., 2016; Wang et al., 2016; Mai et al., 2016; Kong et al., 2016; Jin et al., 2016; Kao et al., 2017; Ma et al., 2017). They outperform traditional methods. Lu et al. (Lu et al., 2014) present a two column CNNs which connects both local and global features for binary aesthetic classification. Mai et al. (Mai et al., 2016) introduce ratio-preserving assessment of aesthetics by using SPP (Spatial Pyramid Pooling). Kong et al. (Kong et al., 2016) propose the AADB (Aesthetics and Attributes Database) dataset which contains scores of 12 aesthetic attributes and use a rank-preserving loss for aesthetic scoring. Kao et al. (Kao et al., 2017) suggest a multi-task CNNs which can output results of both the binary aesthetic classification and multi-class semantic classification of an image. Jin et al. (Jin et al., 2018) present CJS-CNN (Cumulative Jensen-Shannon divergence) for aesthetic score distribution prediction. The aforementioned approaches only consider numerical assessment without taking the aesthetic assessment by languages into consideration.

New tasks and datasets of IAQA. Kong et al. (Kong et al., 2016) design a dataset named AADB (Aesthetics and Attributes Database) which contains 8 aesthetic attributes of each image. However, the label of each aesthetic attribute is only binary value (good or bad). Zhou et al. (Zhou et al., 2016) design a dataset named AVA-Comments, which adds comments from DPChallenge.com to AVA dataset (Murray et al., 2012) which only contains aesthetic score distributions of images. Zhou et al. use the image and the attached comments to give a binary classification of aesthetics. Wang et al. (Wang et al., 2018) design a dataset named AVA-Reviews, which selects 40,000 images from AVA dataset and contains 240,000 reviews. Chang et al. (Chang et al., 2017) design PCCD dataset, which contains 4,235 images and 29,645 comments. However, both (Wang et al., 2018) and (Chang et al., 2017) can only give a single sentence as the comments of the aesthetics of an image . They do not describe the individual aesthetic attributes.

Image Captioning. Most work of image captioning follow CNN-RNN framework and achieve great results (Karpathy and Fei-Fei, 2017; Donahue et al., 2017; Mao et al., 2016). Most of recent literatures of image captioning (Chen et al., 2018; Aneja et al., 2018; Anderson et al., 2018; Luo et al., 2018; Mathews et al., 2018) introduce attention scheme. We follow this trend and add attention model in our network.

Aesthetics Attributes Top 5 Keywords (Frequency)
Color Lighting lighting (5829), color (5637), light (1708), sky (493), shadows (491)
Composition composition (13749), left (2691), perspective (1787), shot (1715), lines (1369)
Depth of Field depth (6087), field (5822), focus (1098), background (952), aperture (550)
Focus focus (7537), sharp (1308), eyes (402), see (345), camera (337)
General Impression impression (4401), general (4357), good (1810), great (1338), nice (1040)
Subject of Photo subject (6594), interesting (708), beautiful (386), light (209), capture (200)
Use of Camera exposure (1619), speed (1488), shutter (1113), iso (1049), aperture (665)
Table 1. Aesthetic attribute keywords and frequency of PCCD dataset.
Figure 2. The knowledge transfer method from PCCD to our DPC-Captions. The PCCD dataset includes 7 aesthetic attributes such as Color Lighting, Composition. The 5 keywords with the highest word frequency are selected from the comments of each aesthetic attribute. When a keyword appears in the comments of an image from DPC-Captions dataset, the image will be assigned to the corresponding aesthetic attribute. The repeated keywords make images be assigned into multiple attributes.
Dataset Number of Images Number of Comments Average With Attributes
PCCD (Chang et al., 2017) 4,235 29,645 7 Yes
AVA-Reviews (Wang et al., 2018) 40,000 240,000 6 No
AVA-Comments (Zhou et al., 2016) 255,530 1,535,937 6 No
DPC-Captions 154,384 2,427,483 15 Yes
Table 2. Comparison of different datasets. The average represents the number of comments divided by the number of images.

3. DPC-Captions Dataset via Knowledge Transfer

PCCD is a nearly fully annotated dataset, which contains comments and a score for each of the 7 aesthetic attributes (including overall impression, etc.). However, the scale of PCCD is quite small. While the AVA dataset contains 255,530 images with an assessment score distribution for each image. The images and score distributions of AVA dataset are crawled from the website of DPChallenge.com. Their exist comments from multiple reviewers attached for every image. However, the multiple comments are not arranged by aesthetic attributes. We then crawl 330,000 image together with their comments from DPChallenge.com. We call this dataset AVA-Plus.

With the help of PCCD dataset (Chang et al., 2017), images of DPC-Captions are selected from the AVA-Plus. The aesthetic attributes of PCCD dataset include Color Lighting, Composition, Depth of Field, Focus, General Impression and Use of Camera. For each aesthetic attribute, keywords of top 5 frequency are selected from the captions. We omit the adverbs, prepositions and conjunctions. We combine words with similar meaning such as color and colour, color and colors. A statistic of the keywords frequency is shown in Table 1.

The selected aesthetic keywords such as composition, color and light will become the core of DPC-Captions classification. For each image of AVA-plus (330,000), we label each comment which contains keywords in Table 1 using the corresponding attribute. We remove images whose comments do not contain keywords in Table 1. Then, there remain 154,384 images of DPC-Captions. From the attribute view, we count images with each attribute. For the sake of balancing the number of images, we combine the Depth of Field attribute with the Focus attribute. We merge the Subject of Photo attribute with the General Impression attribute. Finally, we obtain 5 attributes of DPC-Captions, as shown in Table 1. The number of images with Color and Lighting is 55,440. While the number of images with impression and Subject is 9,436, etc.

We compare our DPC-Captions with PCCD, AVA-Reviews, and AVA-Comments datasets in Table 2. The AVA-Reviews and AVA-Comments do not contain aesthetic attributes. DPC-Captions has the most number of comments. Although we have less number of images than AVA-Comments, the average number of comments for each image in DPC-Captions is larger than that of AVA-Comments. For each attribute, we randomly select 2000 for validation and 2000 for testing. The remains are used for training.

4. Multi-Attribute Aesthetic Caption

Figure 3. Aesthetic Multi-Attribute Network (AMAN) contains Multi-Attribute Feature Network (MAFN), Channel and Spatial Attention Network (CSAN), and Language Generation Network (LGN). The core of MAFN contains GFN and AFN, which regress the global score and attribute scores of an image in PCCD using multi-task regression. They share the dense feature map and have separated global and attribute feature maps, respectively. Our AMAN is pre-trained on PCCD and finetuned on our DPC-Captions dataset. The CSAN dynamically adjusts the attentional weights of channel dimension and spatial dimension (Chen et al., 2017) of the extracted features. The LGN generates the final comments by LSTM networks which are fed with ground truth attribute captions in DPC-Captions and attribute feature maps from CSAN.

The small-scale PCCD dataset contains both comments and scores of attributes. While our large-scale DPC-Captions dataset only contains attribute comments, which are selected from attached multi-user comments guided by the keywords of PCCD attribute comments. Besides, for images in DPC-Captions, maybe only part of the 5 attributes have attached comments. We consider PCCD as a fully-annotated dataset, while DPC-Captions a weakly-annotated one. We propose to learn from a mixture of fully-annotated dataset and weakly-annotated dataset.

The scores of attributes in PCCD are more powerful for extracting aesthetic features than just using comments. Thus, we leverage transfer learning both from scoring to comments of attributes, and from fully-annotated PCCD to weakly-annotated DPC-Captions. In addition, the attribute features are further enhanced by a channel and spatial attention model. At last, the enhanced attribute features are fed into LSTM to generate languages.

As shown in Figure 3, the proposed Aesthetic Multi-Attribute Network (AMAN) is divided into three parts: Multi-Attribute Feature Network (MAFN), Channel and Spatial Attention Network (CSAN), and Language Generation Network (LGN). MAFN calculates the feature matrix of different attributes through the multi-task regression of 5 attribute scores. Due to the small scale of PCCD data and the full attribute labels, multi-attribute networks are be pre-trained on PCCD and fine-tuned on our DPC-Captions. CSAN dynamically adjusts the attentional weights of channel dimension and spatial dimension of the obtained features. Finally, LGN generates the captions by LSTM network which needs ground truth attribute captions in DPC-Captions and adjusted feature maps from CSAN.

4.1. Multi-Attribute Feature Network (MAFN)

Multi-task learning is a common method widely used in training deep convolutional networks. Due to the diversity of the attributes, multi-task learning can achieve multi-attribute assessment of aesthetics through parameter sharing. The aesthetic attributes assessment are relatively independent. However, the model training process is similar. In PCCD, in addition to scores for each attribute, there is a global score for each image. Thus, the loss of MAFN is divided into two parts. One is the loss of each attribute ( attributes, in our paper ). The other is the global loss. represents the number of images in a batch. represents the output of the last fully connected layer of the network. represents the true score. The equal sign in Eq. 1 represents the same calculation method of the global loss and single attribute loss. There are totally 6 loss layers in this model.

(1)
(2)

As shown in the in the upper part of Figure 3, the GFN and AFN use Desnet161 (Huang et al., 2017) to extract the dense feature map. The parameters of all previous layers are shared. The output of GFN and AFN is divided into 6 parts: general feature and features of 5 aesthetic attributes. The GFN performs the full connected operation on the output of the global aesthetic score. For the final result, the calculation of the mean-square error (MSE) is performed and returned as a model loss parameter to the previous layers. The AFN performs the convolutional operation on the attribute feature map and get 5 different attribute feature maps. The same as the GFN, the final attribute scores are obtained through the full connection layer and the mean square error loss.

MAFN can extract different attribute feature maps of the image at the same time. Thus, the model is no longer limited to output comment of one sentence. The aesthetic characteristics of the image can be assessment from multiple attributes to better guide comprehensive assessment of images. The specific results obtained by the multi-task networks can also directly use the knowledge migrated to expand the attribute assessment of the DPC-Captions dataset, thus providing a broader aesthetic assessment ability.

4.2. Channel and Spatial Attention Network (CSAN)

The channel and spatial attention network (Chen et al., 2017) includes two modes. The first is the spatial attention after the attention of the channel. The second is the attention of the channel after the spatial attention. Through experiments, we use the first structure as our channel and spatial attention network part. Given the specific layer feature maps , we obtain the channel attention weight according to the channel attention calculation . We then linearly fuse the weight and layer feature maps to obtain new layer channel perceptual feature map s. After that, the channel perceptual feature map is sent to the spatial perceptual attention module for operation . The spatial attention weight is obtained. Finally, the channel perceptual feature map obtained in the previous step is spatially perceived which is the features of output from CNN. The process of merging can be expressed by the following formula.

(3)
(4)
(5)
(6)

In the above equations, represents the time state. represents the LSTM hidden state. records the hidden state of the last sequence. represents the addition of the matrix and the vector. represents the outer product of vectors. represents the offset.

Figure 4. The results of aesthetic multi-attribute network on DPC-Captions dataset. The predicted captions and score each attribute are shown. The Ground Truth score above each image is the global score from DPChallenge.com. The Predicted score above each image is the average score of the 5 predicted scores of attributes.
Method BLEU-1 BLEU-2 BLEU-3 BLEU-4 METEOR ROUGE CIDEr
CNN-LSTM (Color and Lighting) 46.3 23.2 13.6 6.9 12.5 27.0 6.1
SCA-Model (Color and Lighting) 46.5 23.3 13.9 7.1 12.8 27.4 6.2
AMAN (Color and Lighting) without CSAN 45.6 21.5 13.2 6.8 26.8 27.0 6.0
AMAN (Color and Lighting) spatial first 44.1 19.2 10.1 6.7 25.3 27.0 6.0
AMAN (Color and Lighting) 48.7 25.0 14.4 7.3 13.2 27.9 6.5
CNN-LSTM (Composition) 47.5 24.5 14.1 7.0 12.7 28.2 6.4
SCA-Model (Composition) 48.0 24.6 14.3 7.2 12.8 28.6 6.5
AMAN (Composition) without CSAN 47.4 24.5 13.5 6.1 10.6 28.1 6.4
AMAN (Composition) spatial first 46.5 21.5 11.6 6.8 10.6 27.5 6.1
AMAN (Composition) 49.2 24.9 14.6 7.5 13.6 28.9 6.8
CNN-LSTM (Depth and Focus) 46.2 23.1 13.2 6.4 12.2 26.8 6.0
SCA-Model (Depth and Focus) 46.3 23.3 13.4 6.5 12.3 26.9 6.0
AMAN (Depth and Focus) without CSAN 46.0 22.5 12.8 5.7 10.4 26.8 5.9
AMAN (Depth and Focus) spatial first 36.4 14.9 4.2 2.3 6.6 19.4 3.3
AMAN (Depth and Focus) 47.1 24.0 13.7 6.8 12.7 27.7 6.3
CNN-LSTM (Impression and Subject) 46.1 23.0 13.5 6.9 12.6 27.2 6.1
SCA-Model (Impression and Subject) 46.2 23.3 13.5 7.0 12.6 27.3 6.2
AMAN (Impression and Subject) without CSAN 45.7 22.9 12.8 6.9 12.6 27.2 6.0
AMAN (Impression and Subject) spatial first 43.2 20.7 12.2 6.4 11.5 26.9 5.5
AMAN (Impression and Subject) 46.8 23.6 13.9 7.4 13.0 27.6 6.7
CNN-LSTM (Use of Camera) 45.2 22.8 12.7 6.4 11.9 25.8 5.6
SCA-Model (Use of Camera) 45.3 22.9 12.9 6.4 12.1 25.9 5.7
AMAN (Use of Camera) without CSAN 44.9 22.8 12.7 6.4 12.0 25.8 5.7
AMAN (Use of Camera) spatial first 34.4 13.0 4.5 2.4 6.7 17.0 2.0
AMAN (Use of Camera) 46.2 23.4 13.2 6.7 12.8 27.2 6.5
Table 3. Performance of the proposed models on the DPC-Captions dataset. We report RLEU-1,2,3,4, METEOR, ROUGE, and CIDEr. All values refer to percentage (). The method ”without CSAN” is our AMAN without using CSAN part. The method ”spatial first” is our AMAN using CSAN with spatial attention before channel attention.
Method SPICE Precision Recall
CNN-LSTM-WD (Chang et al., 2017) 0.136 0.181 0.156
AO Approach (Chang et al., 2017) 0.127 0.201 0.121
AF Approach (Chang et al., 2017) 0.150 0.212 0.157
CNN-LSTM (Color and Lighting) 0.166 0.179 0.154
SCA-Model (Color and Lighting) 0.174 0.194 0.158
AMAN (Color and Lighting) without CSAN 0.165 0.177 0.154
AMAN (Color and Lighting) spatial first 0.161 0.188 0.146
AMAN (Color and Lighting) 0.196 0.231 0.170
CNN-LSTM (Composition) 0.167 0.184 0.153
SCA-Model (Composition) 0.178 0.203 0.159
AMAN (Composition) without CSAN 0.165 0.183 0.154
AMAN (Composition) spatial first 0.165 0.198 0.148
AMAN (Composition) 0.197 0.228 0.174
CNN-LSTM (Depth and Focus) 0.163 0.174 0.153
SCA-Model (Depth and Focus) 0.167 0.182 0.154
AMAN (Depth and Focus) without CSAN 0.162 0.175 0.152
AMAN (Depth and Focus) spatial first 0.095 0.107 0.082
AMAN (Depth and Focus) 0.187 0.215 0.165
CNN-LSTM (Impression and Subject) 0.158 0.169 0.149
SCA-Model (Impression and Subject) 0.162 0.175 0.150
AMAN (Impression and Subject) without CSAN 0.157 0.170 0.151
AMAN (Impression and Subject) spatial first 0.145 0.16 0.141
AMAN (Impression and Subject) 0.181 0.213 0.158
CNN-LSTM (Use of Camera) 0.141 0.153 0.131
SCA-Model (Use of Camera) 0.154 0.167 0.143
AMAN (Use of Camera) without CSAN 0.142 0.155 0.131
AMAN (Use of Camera) spatial first 0.041 0.098 0.084
AMAN (Use of Camera) 0.176 0.209 0.156
Table 4. Performance of the proposed models on the PCCD test set. Results are compared through SPICE criterion (Anderson et al., 2016). The method ”without CSAN” is our AMAN without using CSAN part. The method ”spatial first” is our AMAN using CSAN with spatial attention before channel attention.
Attributes regression multi-task AFN
Color and Lighting 0.087 0.080 0.076
Composition 0.140 0.139 0.125
Depth and Focus 0.110 0.106 0.076
Impression and Subject 0.159 0.147 0.109
Use of Camera 0.223 0.193 0.128
Table 5. The Mean Square Errors (MSE) of AFN and other methods on PCCD (described in the last paragraph of Section 5.4).

4.3. Language Generation Network (LGN)

Long Short Term Memory (LSTM) is a special type of RNN that learns long-term dependency information. In many problems, LSTM has achieved considerable success and has been widely used. By feeding information of multiple attributes into the LSTM units, the prediction of the next word can be performed based on the image features and timing information. Specifically, if the two subtasks of the aesthetics assessment and the generated comment are unified, the training process can be described as this form: for a picture of the training set, the corresponding description is a sequence (where represents the sentence). For language generation model and attribute , given the input picture , the probability of generating a sequence for each attribute as follow.

(7)

The model utilizes the channel and spatial attention model to enhance the use of the effective area of the image. Thus, the features of the specific area of the image can be utilized more effectively in the decoder stage. The loss of the language generation network can be expressed by Eq. 8, which controls the probability of the generated word vector by calculating the loss of each LSTM generating sequence.

(8)

The model uses the semantic information of the image to guide the generation of the word sequence in the decoder stage, avoiding the problem of using the image information only at the beginning of the decoder, which leads to the problem that the image information is gradually lost with time. In order to better obtain the high-level semantic information of the image, the model improves the original convolutional neural networks, including the method of multi-task learning, which can extract the high-level semantic information of the image and enhance the extraction of image features in the encoder stage.

5. Experiments

5.1. Baseline

CNN-LSTM. This model is based on Goolge’s NIC model (Vinyals et al., 2015). The Resnet-152 (He et al., 2016) extracts features for different attributes and LSTM for encoding. The differences between this baseline and our method include: (1) no attention mechanism is introduced to enhance the feature extraction process; (2) the multi-tasking network is not used to extract features of different attributes. Instead, each attribute trains a network separately. It is not taking full advantage of the aesthetic features, we will carry out a simple knowledge transfer when extracting the characteristics of CNNs.

SCA-Model. This model is based on the SCA-CNN model (Chen et al., 2017). The ResNet-152 extracts features for different attributes. LSTM performs spatial and channel attention enhancement features after extracting features. The differences between this baseline and ours include: (1) SCA-Model does not use multi-task networks to extract features of different attributes. Each attribute trains a network separately; (2) SCA-Model does not make full use of aesthetic features. A simple knowledge migration occurs when extracting features of CNNs.

5.2. Implementation details

Our experiments are based on Theano framework. The length of LSTM units is 1000. The features sent to the LSTM unit include 512-dimensional attribute features. The two stage training of AMAN is our contribution of using weakly supervised information. Except the two stage training, our AMAN, the baseline methods CNN-LSTM and SCA-Model use the same training parameters as follows: The word vector dimensionality is set to 50. The underlying learning rate is 0.01. The dimension of the force module and channel attention module is 512. The dropout is used in training to prevent overfitting. The network is optimized using a stochastic gradient descent optimization strategy. The batch size is set to 64 for DPC-Captions and 16 for PCCD.

5.3. Attribute Captioning Results

We train and test our methods on the DPC-Captions and PCCD datasets. Some test results on the DPC-Captions dataset are shown in Figure 4. It is worth noting that the results we produce are not only rich in sentence structure, but also very accurate in grasping features. The relevance of comments and attributes are high. In terms of scoring, our average attribute score is very close to the ground truth score. Through the scores and comments, the evaluation of the image is vivid. The captioning and scoring results on PCCD dataset are shown in the supplementary materials due to the page limitation. Our results can produce a variety of attribute results. The PCCD author’s method (Chang et al., 2017) can only produce one sentence. In addition, our results tend to be objectively evaluated, and the PCCD author’s approach favors subjective evaluation.

5.4. Comparisons

Comparison with baseline. The evaluation criteria to compare the performance of our model and the baseline models include RLEU-1,2,3,4, METEOR, ROUGE, and CIDEr, which are commonly used in nature language processing community. The comparison results shown in Table 3 reveal that our model outperforms the baseline models in all criteria. The Use of Camera and Impression and Subject attributes are not as good as the first three attributes. The number of comments of these two attributes is relatively small.

Comparison with other methods. We use SPICE (Anderson et al., 2016) to compare the performance between the methods (Chang et al., 2017) and our model. SPICE is a criteria for the automatic evaluation of generated image captions. It resolves the similarity between the result and the generated captions by parsing the sentence into a graph. The calculation formula is as follows.

(9)

As shown in Table 4, our model is superior to the method proposed by the PCCD (Chang et al., 2017) in various attributes. The PCCD method (Chang et al., 2017) uses the attribute fusion training method, which combines the three attributes of Composition, Color and Lighting, Subject of Photo. However, by contrast it can be found that the comments we generate in these three properties have better comments than the previous ones.

Attributes scoring. To compare the performance of aesthetic attributes scoring, we compare AFN (Attribute Feature Network) with other methods on PCCD, as shown in Table 5. The regression method uses DenseNet161 (Huang et al., 2017) to perform simple regression on scores without adding a multi-attribute structure. The multi-task method uses a multi-attribute combination method but does not use a branch structure of global scores. Obviously, our approach has a big advantage in predicting the scores of individual attributes.

6. Conclusion and Discussion

In this paper, we propose a new task of IAQA: aesthetic attributes assessment. A new dataset called DPC-Captions is built through knowledge transfer for this task. We propose a novel network AMAN for two-stage learning processes on both full annotated small-scale dataset and weakly annotated large-scale dataset. Our AMAN can generate captions and scores of individual aesthetic attributes.

In the future, we will explore to caption from sentences to paragraphs. The knowledge transfer methods can be used to build larger dataset for weakly supervised learning. The relations among attributes can not only be used for scoring learning but also for caption learning. Reinforcement learning can also be leveraged for captions generation.

7. Acknowledgments

We thank all the ACs and reviewers. This work is partially supported by the National Natural Science Foundation of China (Grant Nos. 61772047, 61772513), the Open Project Program of State Key Laboratory of Virtual Reality Technology and Systems, Beihang University (No. VRLAB2019C03), the Open Funds of CETC Big Data Research Institute Co.,Ltd., (Grant No. W-2018022), and the Fundamental Research Funds for the Central Universities (Grant Nos.328201907).

References

  • (1)
  • Anderson et al. (2016) Peter Anderson, Basura Fernando, Mark Johnson, and Stephen Gould. 2016. SPICE: Semantic Propositional Image Caption Evaluation. In Computer Vision - ECCV 2016 - 14th European Conference, Amsterdam, The Netherlands, October 11-14, 2016, Proceedings, Part V (Lecture Notes in Computer Science), Bastian Leibe, Jiri Matas, Nicu Sebe, and Max Welling (Eds.), Vol. 9909. Springer, 382–398. https://doi.org/10.1007/978-3-319-46454-1_24
  • Anderson et al. (2018) Peter Anderson, Xiaodong He, Chris Buehler, Damien Teney, Mark Johnson, Stephen Gould, and Lei Zhang. 2018. Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR).
  • Aneja et al. (2018) Jyoti Aneja, Aditya Deshpande, and Alexander G. Schwing. 2018. Convolutional Image Captioning. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR).
  • Chang et al. (2017) Kuang-Yu Chang, Kung-Hung Lu, and Chu-Song Chen. 2017. Aesthetic Critiques Generation for Photos. In IEEE International Conference on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017. IEEE Computer Society, 3534–3543. https://doi.org/10.1109/ICCV.2017.380
  • Chen et al. (2018) Fuhai Chen, Rongrong Ji, Xiaoshuai Sun, Yongjian Wu, and Jinsong Su. 2018. GroupCap: Group-Based Image Captioning With Structured Relevance and Diversity Constraints. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR).
  • Chen et al. (2017) Long Chen, Hanwang Zhang, Jun Xiao, Liqiang Nie, Jian Shao, Wei Liu, and Tat-Seng Chua. 2017. SCA-CNN: Spatial and Channel-Wise Attention in Convolutional Networks for Image Captioning. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017. 6298–6306. https://doi.org/10.1109/CVPR.2017.667
  • Chen et al. (2015) Xiaowu Chen, Xin Jin, Hongyu Wu, and Qinping Zhao. 2015. Learning Templates for Artistic Portrait Lighting Analysis. IEEE Trans. Image Processing 24, 2 (2015), 608–618.
  • Cui et al. (2018) C. Cui, H. Liu, T. Lian, L. Nie, L. Zhu, and Y. Yin. 2018. Distribution-oriented Aesthetics Assessment with Semantic-Aware Hybrid Network. IEEE Transactions on Multimedia (2018), 1–1. https://doi.org/10.1109/TMM.2018.2875357
  • Deng et al. (2017) Yubin Deng, Chen Change Loy, and Xiaoou Tang. 2017. Image Aesthetic Assessment: An experimental survey. IEEE Signal Process. Mag. 34, 4 (2017), 80–106. https://doi.org/10.1109/MSP.2017.2696576
  • Donahue et al. (2017) Jeff Donahue, Lisa Anne Hendricks, Marcus Rohrbach, Subhashini Venugopalan, Sergio Guadarrama, Kate Saenko, and Trevor Darrell. 2017. Long-Term Recurrent Convolutional Networks for Visual Recognition and Description. IEEE Trans. Pattern Anal. Mach. Intell. 39, 4 (2017), 677–691. https://doi.org/10.1109/TPAMI.2016.2599174
  • Dong and Tian (2015) Zhe Dong and Xinmei Tian. 2015. Multi-level photo quality assessment with multi-view features. Neurocomputing 168 (2015), 308–319.
  • He et al. (2016) Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep Residual Learning for Image Recognition. In CVPR. IEEE Computer Society, 770–778.
  • Huang et al. (2017) Gao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q. Weinberger. 2017. Densely Connected Convolutional Networks. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017. 2261–2269. https://doi.org/10.1109/CVPR.2017.243
  • Jin et al. (2016) X. Jin, J. Chi, S. Peng, Y. Tian, C. Ye, and X. Li. 2016. Deep Image Aesthetics Classification using Inception Modules and Fine-tuning Connected Layer. In The 8th International Conference on Wireless Communications and Signal Processing (WCSP). 1–6.
  • Jin et al. (2018) Xin Jin, Le Wu, Xiaodong Li, Siyu Chen, Siwei Peng, Jingying Chi, Shiming Ge, Chenggen Song, and Geng Zhao. 2018. Predicting Aesthetic Score Distribution Through Cumulative Jensen-Shannon Divergence. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, New Orleans, Louisiana, USA, February 2-7, 2018. https://www.aaai.org/ocs/index.php/AAAI/AAAI18/paper/view/16074
  • Jin et al. (2010) Xin Jin, Mingtian Zhao, Xiaowu Chen, Qinping Zhao, and Song Chun Zhu. 2010. Learning Artistic Lighting Template from Portrait Photographs. In Computer Vision - ECCV 2010, 11th European Conference on Computer Vision, Heraklion, Crete, Greece, September 5-11, 2010, Proceedings, Part IV. 101–114.
  • Kao et al. (2017) Yueying Kao, Ran He, and Kaiqi Huang. 2017. Deep Aesthetic Quality Assessment With Semantic Information. IEEE Trans. Image Processing 26, 3 (2017), 1482–1495. https://doi.org/10.1109/TIP.2017.2651399
  • Kao et al. (2016) Yueying Kao, Kaiqi Huang, and Steve J. Maybank. 2016. Hierarchical aesthetic quality assessment using deep convolutional neural networks. Sig. Proc.: Image Comm. 47 (2016), 500–510. https://doi.org/10.1016/j.image.2016.05.004
  • Karpathy and Fei-Fei (2017) Andrej Karpathy and Li Fei-Fei. 2017. Deep Visual-Semantic Alignments for Generating Image Descriptions. IEEE Trans. Pattern Anal. Mach. Intell. 39, 4 (2017), 664–676. https://doi.org/10.1109/TPAMI.2016.2598339
  • Kong et al. (2016) Shu Kong, Xiaohui Shen, Zhe Lin, Radomir Mech, and Charless Fowlkes. 2016. Photo Aesthetics Ranking Network with Attributes and Content Adaptation. In European Conference on Computer Vision (ECCV).
  • Lu et al. (2014) Xin Lu, Zhe Lin, Hailin Jin, Jianchao Yang, and James Zijun Wang. 2014. RAPID: Rating Pictorial Aesthetics using Deep Learning. In Proceedings of the ACM International Conference on Multimedia, MM’14, Orlando, FL, USA, November 03 - 07, 2014. 457–466.
  • Luo et al. (2018) Ruotian Luo, Brian Price, Scott Cohen, and Gregory Shakhnarovich. 2018. Discriminability Objective for Training Descriptive Captions. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR).
  • Ma et al. (2017) Shuang Ma, Jing Liu, and Chang Wen Chen. 2017. A-Lamp: Adaptive Layout-Aware Multi-patch Deep Convolutional Neural Network for Photo Aesthetic Assessment. In CVPR. IEEE Computer Society, 722–731.
  • Mai et al. (2016) Long Mai, Hailin Jin, and Feng Liu. 2016. Composition-Preserving Deep Photo Aesthetics Assessment. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR).
  • Mao et al. (2016) Junhua Mao, Jonathan Huang, Alexander Toshev, Oana Camburu, Alan L. Yuille, and Kevin Murphy. 2016. Generation and Comprehension of Unambiguous Object Descriptions. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016. 11–20. https://doi.org/10.1109/CVPR.2016.9
  • Mathews et al. (2018) Alexander Mathews, Lexing Xie, and Xuming He. 2018. SemStyle: Learning to Generate Stylised Image Captions Using Unaligned Text. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR).
  • Murray et al. (2012) Naila Murray, Luca Marchesotti, and Florent Perronnin. 2012. AVA: A large-scale database for aesthetic visual analysis. In IEEE Conference on Computer Vision and Pattern Recognition, Providence, RI, USA, June 16-21, 2012. 2408–2415.
  • Talebi and Milanfar (2018) Hossein Talebi and Peyman Milanfar. 2018. NIMA: Neural Image Assessment. IEEE Trans. Image Processing 27, 8 (2018), 3998–4011. https://doi.org/10.1109/TIP.2018.2831899
  • Vinyals et al. (2015) Oriol Vinyals, Alexander Toshev, Samy Bengio, and Dumitru Erhan. 2015. Show and tell: A neural image caption generator. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2015, Boston, MA, USA, June 7-12, 2015. 3156–3164. https://doi.org/10.1109/CVPR.2015.7298935
  • Wang et al. (2018) Wenshan Wang, Su Yang, Weishan Zhang, and Jiulong Zhang. 2018. Neural Aesthetic Image Reviewer. CoRR abs/1802.10240 (2018). arXiv:1802.10240 http://arxiv.org/abs/1802.10240
  • Wang et al. (2016) Weining Wang, Mingquan Zhao, Li Wang, Jiexiong Huang, Chengjia Cai, and Xiangmin Xu. 2016. A multi-scene deep learning model for image aesthetic evaluation. Sig. Proc.: Image Comm. 47 (2016), 511–518.
  • Zhou et al. (2016) Ye Zhou, Xin Lu, Junping Zhang, and James Z. Wang. 2016. Joint Image and Text Representation for Aesthetics Analysis. In Proceedings of the 2016 ACM Conference on Multimedia Conference, MM 2016, Amsterdam, The Netherlands, October 15-19, 2016, Alan Hanjalic, Cees Snoek, Marcel Worring, Dick C. A. Bulterman, Benoit Huet, Aisling Kelliher, Yiannis Kompatsiaris, and Jin Li (Eds.). ACM, 262–266. https://doi.org/10.1145/2964284.2967223
Comments 0
Request Comment
You are adding the first comment!
How to quickly get a good reply:
  • Give credit where it’s due by listing out the positive aspects of a paper before getting into which changes should be made.
  • Be specific in your critique, and provide supporting evidence with appropriate references to substantiate general statements.
  • Your comment should inspire ideas to flow and help the author improves the paper.

The better we are at sharing our knowledge with each other, the faster we move forward.
""
The feedback must be of minimum 40 characters and the title a minimum of 5 characters
   
Add comment
Cancel
Loading ...
384125
This is a comment super asjknd jkasnjk adsnkj
Upvote
Downvote
""
The feedback must be of minumum 40 characters
The feedback must be of minumum 40 characters
Submit
Cancel

You are asking your first question!
How to quickly get a good answer:
  • Keep your question short and to the point
  • Check for grammar or spelling errors.
  • Phrase it like a question
Test
Test description