AI Painting Effect Evaluation of Artistic Improvement with Cross-Entropy and Attention
Abstract
:1. Introduction
- (1)
- By collecting information from real-life AI painting users, this paper creates a multidimensional Art Creation Ability Assessment Dataset (ACAAD), which provides a basis for the subsequent identification and prediction of factors behind the enhancement of artistic creativity of ordinary users;
- (2)
- A Multi-Classification Attention Support Vector Machine (MCASVM) with a cross-entropy loss function is proposed. It innovatively introduces multiple SVMs to deal with multiclassification problems directly and combines the attention mechanism of deep learning with the traditional SVM, utilizing the neural network structure to realize the “one vs. rest” strategy of SVM;
- (3)
- The novel dual-branch attention module (DBAM) aims to fully integrate features of different dimensions. It consists of two branches: the Channel Attention Module and the Spatial Attention Module. DBAM is able to capture the important features in the input data more comprehensively and, thus, improve the model’s classification performance on the multi-factors affecting artistic creativity.
2. Related Work
2.1. Support Vector Machine
2.2. Attention Mechanisms
2.3. Factors Affecting Artistic Creativity
3. Method
3.1. Overall Structure of MCASVM
3.2. Probabilistic Calibration Network
3.3. Double-Branch Attention Module
3.4. Algorithm Implementation
Algorithm 1: Pseudocode of DBAM-MCASVM-PCN Model. |
Input: Input features |
Output: Classified result |
Residual = ; counter = |
layers = [MLP Feature Extraction, DBAM Module, MCASVM Classifier, Probabilistic Calibration Network] |
1: While counter < len(layers) ∗ 2 + 1: |
2: If counter < len(layers): |
3: If counter == ∅: |
4: layer = MLP Feature Extraction |
5: ElseIf counter == 1: |
6: |
7: |
8: |
9: |
10: |
11: |
12: |
13: |
14: |
15: |
16: ElseIf counter == 2: |
17: = [] |
18: For each class k in {1, 2, …, K}: |
19: ∗ |
20: Append to |
21: ElseIf counter == 3: |
22: p = Softmax(d) |
23: y = argmax(p) |
24: EndIf |
25: x = layer(x) |
26: Else: |
27: If counter == len(layers): |
28: layer = MCASVM Classifier |
29: ElseIf counter == len(layers) + 1: |
30: layer = Probabilistic Calibration Network |
31: EndIf |
32: x = layer(x) |
33: counter = counter + 1 |
34: y = Output Layer(x) |
35: Return y |
4. Experiment and Analysis
4.1. Dataset Introduction
4.2. Comparison of Experimental Results
4.3. Visualization of the Model
4.4. Probabilistically Calibrated Elimination Experiments
5. Conclusions
Author Contributions
Funding
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Chen, Z. Graph Adaptive Attention Network with Cross-Entropy. Entropy 2024, 26, 576. [Google Scholar] [CrossRef]
- Chen, Z. (HTBNet) Arbitrary Shape Scene Text Detection with Binarization of Hyperbolic Tangent and Cross-Entropy. Entropy 2024, 26, 560. [Google Scholar] [CrossRef]
- Li, J.; Zhong, J.; Liu, S.; Fan, X. Opportunities and Challenges in AI Painting: The Game between Artificial Intelligence and Humanity. J. Big Data Comput. 2024, 2, 44–49. [Google Scholar] [CrossRef]
- Li, J.; Zhang, B. The Application of Artificial Intelligence Technology in Art Teaching Taking Architectural Painting as an Example. Comput. Intell. Neurosci. 2022, 2022, 8803957. [Google Scholar] [CrossRef]
- Li, L. The Impact of Artificial Intelligence Painting on Contemporary Art from Disco Diffusion’s Painting Creation Experiment. In Proceedings of the 2022 International Conference on Frontiers of Artificial Intelligence and Machine Learning (FAIML), Hangzhou, China, 19–21 June 2022. [Google Scholar] [CrossRef]
- Liu, X. Artistic Reflection on Artificial Intelligence Digital Painting. J. Phys. Conf. Ser. 2020, 1648, 032125. [Google Scholar] [CrossRef]
- Rani, S.; Jining, D.; Shah, D.; Xaba, S.; Singh, P.R. The Role of Artificial Intelligence in Art: A Comprehensive Review of a Generative Adversarial Network Portrait Painting. In Proceedings of the International Conference on Intelligent Computing & Optimization, Phnom Penh, Cambodia, 26–27 October 2023; Lecture Notes in Networks and Systems. pp. 126–135. [Google Scholar] [CrossRef]
- Wang, J.; Yuan, X.; Hu, S.; Lu, Z. AI Paintings vs. Human Paintings? Deciphering Public Interactions and Perceptions towards AI-Generated Paintings on TikTok. arXiv 2024, arXiv:2409.11911. [Google Scholar]
- Xu, J.; Zhang, X.; Li, H.; Yoo, C.; Pan, Y. Is Everyone an Artist? A Study on User Experience of AI-Based Painting System. Appl. Sci. 2023, 13, 6496. [Google Scholar] [CrossRef]
- Xu, X. A Fuzzy Control Algorithm Based on Artificial Intelligence for the Fusion of Traditional Chinese Painting and AI Painting. Sci. Rep. 2024, 14, 17846. [Google Scholar] [CrossRef]
- Tian, Y.; Shi, Y.; Liu, X. Recent advances on support vector machines research. Technol. Econ. Dev. Econ. 2012, 18, 5–33. [Google Scholar] [CrossRef]
- Sebald, D.J.; Bucklew, J.A. Support vector machine techniques for nonlinear equalization. IEEE Trans. Signal Process. 2000, 48, 3217–3226. [Google Scholar]
- Tang, Y. Deep learning using support vector machines. CoRR 2013, 2, abs/1306.0239. [Google Scholar]
- Zhang, L.; Zhou, W.; Jiao, L. Wavelet support vector machine. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 2004, 34, 34–39. [Google Scholar]
- Bennett, K.P.; Blue, J.A. A support vector machine approach to decision trees. In Proceedings of the 1998 IEEE International Joint Conference on Neural Networks Proceedings. IEEE World Congress on Computational Intelligence (Cat. No. 98CH36227), Anchorage, AK, USA, 4–9 May 1998; IEEE: Piscataway, NJ, USA, 1998; Volume 3. [Google Scholar]
- Lin, K.M.; Lin, C.J. A study on reduced support vector machines. IEEE Trans. Neural Netw. 2003, 14, 1449–1459. [Google Scholar]
- Mangasarian, O.L.; Musicant, D.R. Successive overrelaxation for support vector machines. IEEE Trans. Neural Netw. 1999, 10, 1032–1037. [Google Scholar] [PubMed]
- Osuna, E.; Freund, R.; Girosi, F. An improved training algorithm for support vector machines. Neural networks for signal processing VII. In Proceedings of the 1997 IEEE Signal Processing Society Workshop, Princeton, NJ, USA, 23–25 June 1997; IEEE: Piscataway, NJ, USA, 1997. [Google Scholar]
- Suthaharan, S.; Suthaharan, S. Support vector machine. In Machine Learning Models and Algorithms for Big Data Classification: Thinking with Examples for Effective Learning; Springer: Boston, MA, USA, 2016; pp. 207–235. [Google Scholar]
- Hafiz, A.M.; Parah, S.A.; Bhat, R.U.A. Attention mechanisms and deep learning for machine vision: A survey of the state of the art. arXiv 2021, arXiv:2106.07550. [Google Scholar]
- Niu, Z.; Zhong, G.; Yu, H. A review on the attention mechanism of deep learning. Neurocomputing 2021, 452, 48–62. [Google Scholar] [CrossRef]
- Brauwers, G.; Frasincar, F. A general survey on attention mechanisms in deep learning. IEEE Trans. Knowl. Data Eng. 2021, 35, 3279–3298. [Google Scholar]
- Rodriguez, P.; Velazquez, D.; Cucurull, G.; Gonfaus, J.M.; Roca, F.X.; Gonzalez, J. Pay attention to the activations: A modular attention mechanism for fine-grained image recognition. IEEE Trans. Multimed. 2019, 22, 502–514. [Google Scholar] [CrossRef]
- Liu, Y.; Shao, Z.; Hoffmann, N. Global attention mechanism: Retain information to enhance channel-spatial interactions. arXiv 2021, arXiv:2112.05561. [Google Scholar]
- Cai, W.; Wei, Z. Remote sensing image classification based on a cross-attention mechanism and graph convolution. IEEE Geosci. Remote Sens. Lett. 2020, 19, 1–5. [Google Scholar]
- Liu, S.; Lin, T.; He, D.; Li, F.; Wang, M.; Li, X.; Sun, Z.; Li, Q.; Ding, E. Adaattn: Revisit attention mechanism in arbitrary neural style transfer. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada, 11–17 October 2021. [Google Scholar]
- Li, Y.; Zeng, J.; Shan, S.; Chen, X. Occlusion aware facial expression recognition using CNN with attention mechanism. IEEE Trans. Image Process. 2018, 28, 2439–2450. [Google Scholar]
- Huang, W.; Zhou, F. DA-CapsNet: Dual attention mechanism capsule network. Sci. Rep. 2020, 10, 11383. [Google Scholar]
- Zhu, X.; Cheng, D.; Zhang, Z.; Lin, S.; Dai, J. An empirical study of spatial attention mechanisms in deep networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019. [Google Scholar]
- DeRose, J.F.; Wang, J.; Berger, M. Attention flows: Analyzing and comparing attention mechanisms in language models. IEEE Trans. Vis. Comput. Graph. 2020, 27, 1160–1170. [Google Scholar]
- Zhao, Q.; Liu, J.; Li, Y.; Zhang, H. Semantic segmentation with attention mechanism for remote sensing images. IEEE Trans. Geosci. Remote Sens. 2021, 60, 1–13. [Google Scholar] [CrossRef]
- Niu, W.; Sternberg, R.J. Sternberg. Cultural influences on artistic creativity and its evaluation. Int. J. Psychol. 2001, 36, 225–241. [Google Scholar]
- Kaufman, S.B.; Quilty, L.C.; Grazioplene, R.G.; Hirsh, J.B.; Gray, J.R.; Peterson, J.B.; DeYoung, C.G. Openness to experience and intellect differentially predict creative achievement in the arts and sciences. J. Personal. 2016, 84, 248–258. [Google Scholar]
- Joy, S.P. Innovation motivation and artistic creativity. J. Creat. Behav. 2005, 39, 35–56. [Google Scholar]
- Asquith, S.L.; Wang, X.; Quintana, D.S.; Abraham, A. Predictors of Change in Creative Thinking Abilities in Young People: A Longitudinal Study. J. Creat. Behav. 2024, 58, 262–278. [Google Scholar]
- Anderson, R.C.; Haney, M.; Pitts, C.; Porter, L.; Bousselot, T. “Mistakes can be beautiful”: Creative engagement in arts integration for early adolescent learners. J. Creat. Behav. 2020, 54, 662–675. [Google Scholar]
- Mace, M.A.; Ward, T. Modeling the creative process: A grounded theory analysis of creativity in the domain of art making. Creat. Res. J. 2002, 14, 179–192. [Google Scholar]
- Amabile, T.M. Effects of external evaluation on artistic creativity. J. Personal. Soc. Psychol. 1979, 37, 221. [Google Scholar] [CrossRef]
- Hu, W.; Wang, X.; Yi, L.Y.X.; Runco, M.A. Creative self-efficacy as moderator of the influence of evaluation on artistic creativity. Int. J. Creat. Probl. Solving 2018, 28, 39–55. [Google Scholar]
- Xue, Y.; Gu, C.; Wu, J.; Dai, D.Y.; Mu, X.; Zhou, Z. The effects of extrinsic motivation on scientific and artistic creativity among middle school students. J. Creat. Behav. 2020, 54, 37–50. [Google Scholar] [CrossRef]
- Rostan, S.M. A study of young artists: The development of artistic talent and creativity. Creat. Res. J. 1997, 10, 175–192. [Google Scholar] [PubMed]
- Ershadi, M.; Winner, E. Children’s creativity. Encycl. Creat. 2020, 1, 144–147. [Google Scholar]
- Jakkula, V. Tutorial on Support Vector Machine (svm); School of EECS, Washington State University: Pullman, WA, USA, 2006; Volume 37, p. 3. [Google Scholar]
- Stanley, R.P. An introduction to hyperplane arrangements. Geom. Comb. 2007, 13, 389–496. [Google Scholar]
- Bassano, C.; De Matteis, G.M.; Nardi, P.; Buratta, M.M.; Zeitani, J.; De Paulis, R.; Chiariello, L. Mid-term follow-up of aortic root remodelling compared to Bentall operation. Eur. J. Cardio-Thorac. Surg. 2001, 19, 601–605. [Google Scholar] [CrossRef]
- Mao, A.; Mohri, M.; Zhong, Y. Cross-entropy loss functions: Theoretical analysis and applications. In Proceedings of the International conference on Machine Learning, PMLR, Honolulu, HI, USA, 23–29 July 2023. [Google Scholar]
- Platt, J. Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods. Adv. Large Margin Classif. 1999, 10, 61–74. [Google Scholar]
- Guo, C.; Pleiss, G.; Sun, Y.; Weinberger, K.Q. On calibration of modern neural networks. In Proceedings of the International Conference on Machine Learning, PMLR, Sydney, Australia, 6–11 August 2017. [Google Scholar]
- Yi, R.; Tian, H.; Gu, Z.; Lai, Y.K.; Rosin, P.L. Towards artistic image aesthetics assessment: A large-scale dataset and a new method. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada, 18–22 June 2023. [Google Scholar]
- Sze, V.; Chen, Y.H.; Yang, T.J.; Emer, J.S. Efficient processing of deep neural networks: A tutorial and survey. Proc. IEEE 2017, 105, 2295–2329. [Google Scholar] [CrossRef]
- He, S.; Zhang, Y.; Xie, R.; Jiang, D.; Ming, A. Rethinking Image Aesthetics Assessment: Models, Datasets and Benchmarks. In Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI, Vienna, Austria, 23–29 July 2022. [Google Scholar]
- Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
Characteristic | Classification | Training Set | Test Set | Total Sample | |
---|---|---|---|---|---|
Basic | Gender | Male | 4985 | 998 | 5983 |
Female | 5015 | 1002 | 6017 | ||
Age | <18 | 2105 | 407 | 2512 | |
18~30 | 4993 | 1235 | 6228 | ||
30~45 | 1367 | 186 | 1553 | ||
45~60 | 1177 | 101 | 1278 | ||
>60 | 358 | 71 | 429 | ||
Degree | Specialist and below | 2285 | 457 | 2742 | |
Bachelor | 4632 | 1068 | 5700 | ||
master | 2375 | 415 | 2790 | ||
doctor | 708 | 60 | 768 | ||
Super | Artistic motivations | Strong | 2765 | 552 | 3317 |
Medium | 4955 | 1093 | 6048 | ||
Weak | 2280 | 355 | 2635 | ||
Interest level | Strong | 1895 | 375 | 2270 | |
Medium | 5567 | 1345 | 6912 | ||
Weak | 2538 | 280 | 2818 | ||
Social support | Strong | 2105 | 405 | 2510 | |
Medium | 5789 | 1135 | 6924 | ||
Weak | 2106 | 460 | 2566 |
SVM | DNN | MCASVM(Ours) | |||
---|---|---|---|---|---|
One-Hidden-Layer | Two-Hidden-Layer | One-Hidden-Layer | Two-Hidden-Layer | ||
ACAAD | 0.9872 ± 0.0057 | 0.9849 ± 0.0038 | 0.9849 ± 0.0036 | 0.9924 ± 0.0011 | 0.9916 ± 0.0009 |
MCASVM | L1 | Cross-Entropy | ||
---|---|---|---|---|
One-Hidden-Layer | Two-Hidden-Layer | One-Hidden-Layer | Two-Hidden-Layer | |
ACAAD | 0.9825 ± 0.0038 | 0.9821 ± 0.0036 | 0.9924 ± 0.0011 | 0.9916 ± 0.0009 |
Dataset | No Difference (%) | Reduce (%) | Rise (%) |
---|---|---|---|
Gender | 91.7 | 3.6 | 4.7 |
Age | 92.5 | 3.8 | 3.7 |
Degree | 63.6 | 19.4 | 17 |
Artistic motivations | 60.9 | 16.9 | 22.2 |
Interest level | 45.1 | 7.7 | 47.2 |
Social support | 42.6 | 16.1 | 41.3 |
SAAN | TANet | SVM | DNN | MCASVM(Ours) | ||
---|---|---|---|---|---|---|
One-Hidden-Layer | Two-Hidden-Layer | One-Hidden-Layer | Two-Hidden-Layer | |||
0.7680 | 0.7545 | 0.7249 | 0.7216 | 0.7223 | 0.7596 | 0.7588 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Tian, Y.; Lai, S.; Cheng, Z.; Yu, T. AI Painting Effect Evaluation of Artistic Improvement with Cross-Entropy and Attention. Entropy 2025, 27, 348. https://doi.org/10.3390/e27040348
Tian Y, Lai S, Cheng Z, Yu T. AI Painting Effect Evaluation of Artistic Improvement with Cross-Entropy and Attention. Entropy. 2025; 27(4):348. https://doi.org/10.3390/e27040348
Chicago/Turabian StyleTian, Yihuan, Shiwen Lai, Zuling Cheng, and Tao Yu. 2025. "AI Painting Effect Evaluation of Artistic Improvement with Cross-Entropy and Attention" Entropy 27, no. 4: 348. https://doi.org/10.3390/e27040348
APA StyleTian, Y., Lai, S., Cheng, Z., & Yu, T. (2025). AI Painting Effect Evaluation of Artistic Improvement with Cross-Entropy and Attention. Entropy, 27(4), 348. https://doi.org/10.3390/e27040348