Measuring Similarity between Artistic and AI Generated Images using Siamese Neural Networks
Organizations: UPIIT, Instituto Politécnico Nacional Guillermo Valle 11, Centro, C.P. 90000 Tlaxcala de Xicohténcatl, Tlaxcala, Mexico.
Abstract
AI-generated art has sparked debates around potential plagiarism, as these images may closely resemble existing artworks. This research quantifies the similarity between original pieces and AI-generated counterparts, particularly those produced by the Stable Diffusion XL Refiner 1.0. We use Siamese Networks with frozen CLIP encoders and cosine similarity optimized through triplet loss. A dataset of paired original and generated images was built using image-to-image generation and custom prompts, enriched with semantic descriptors and BLIP-2 captions. Prior studies report up to 81% style replication and 90% visual similarity. Our results show high discriminative performance: training accuracy reached 99.9%, and the best model configuration achieved 99.4% test accuracy with strong inter-class separation ( = 0.677), demonstrating the effectiveness of our semantic-visual embeddings.
Figures & tables
| Configuration | Triplet Accuracy | |
|---|---|---|
| 70-15-15 | 0.994 | 0.677 |
| 80-10-10 | 0.985 | 0.463 |
AI-Generated Image Detection
AI-generated image detection identifies synthetic or AI-edited images and develops methods that generalize across generators, domains, and image transformations.
See all 194 papers