Murals are important resources for carrying cultural heritage, historical evidence and artistic memory. The sentiment of a mural is the transmission of its inner thoughts, closely related to the region and dynasty to which the mural belongs. To explore the sentiment evolution patterns of temple murals, we construct a spatio-temporal evolution analysis framework based on sentiment recognition. This framework mainly includes feature extraction, sentiment recognition and sentiment evolution analysis. First, we extract the colour features, local features, global semantic features, patch features and structure relations to represent the visual features of temple murals. Second, the semantics of spatio-temporal attributes and titles of murals are extracted through the fine-tuned BERT (Bidirectional Encoder Representations from Transformers) to enhance the feature discrimination for sentiment recognition. Third, we introduce the SMOTE (Synthetic Minority Oversampling Technique) to reduce the influence of imbalanced data and select RF (random forest) as the optimal classifier. The F1 score of the fine-grained sentiment recognition model is up to 81.37%. Finally, we collect the temple murals and reveal the characteristics and patterns of sentiment evolution from the spatial, temporal and spatio-temporal perspectives.
Read full abstract