An art style classification network integrating contrastive learning and counterfactual attention

M Meng Wang F Fan Xia T Ting Yang (Key Laboratory for Soft Chemistry and Functional Materials of Ministry Education, School of Chemistry and Chemical Engineering) Y Yi Zou (College of Pharmaceutical Sciences) Y Yang Zhou

Abstract

Art style classification is a fundamental task for digital art analysis and intelligent cultural heritage management. However, existing methods often fail to deliver stable and interpretable results due to dispersed style cues, complex local textures, strong interference from background and subject content, and the difficulty of identifying regions that are causally relevant to style recognition. To address these issues, we propose a Multi Source Collaborative Style Network, termed MCS-Net, which jointly models global composition and local brushstroke textures within a unified framework. MCS-Net consists of four modules, namely a basic style feature encoding module, an attention generation module, a style contrastive learning module, and a counterfactual attention module. The attention generation module discovers multiple complementary discriminative regions. The contrastive learning module constructs a more discriminative embedding space to improve the separability of fine-grained styles. The counterfactual attention module builds counterfactual attention samples to explicitly estimate the true contribution of regions to predictions, thereby suppressing spurious activations, improving robustness, and providing counterfactual-supported evidence for model interpretation. Experiments on three public datasets, WikiArt, MultitaskPainting100k, and Pandora18k, demonstrate that MCS-Net outperforms representative baselines across standard evaluation metrics.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 21, Issue 6
Published June 26, 2026
Pages e0343954
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (5)

M

Meng Wang

F

Fan Xia

T

Ting Yang

Key Laboratory for Soft Chemistry and Functional Materials of Ministry Education, School of Chemistry and Chemical Engineering

Y

Yi Zou

College of Pharmaceutical Sciences

Y

Yang Zhou