Preprint
Article

This version is not peer-reviewed.

A Dual-Module System for Copyright-Free Image Recommendation and Infringement Detection in Educational Materials

A peer-reviewed version of this preprint was published in:
Journal of Imaging 2024, 10(11), 277. https://doi.org/10.3390/jimaging10110277

Submitted:

27 September 2024

Posted:

30 September 2024

You are already at the latest version

Abstract
Images are widely used in educational materials due to their ability to effectively convey complex concepts. However, unauthorized image use often leads to legal issues related to copyright infringement. To address this issue, we introduce a dual-module system designed specifically for educators. The first module, a copyright infringement detection system, leverages deep learning techniques to verify the copyright status of images. It employs a Convolutional Variational Autoencoder (CVAE) model to extract meaningful features from copyrighted images and compares them against user-provided images. If infringement is suspected, the second module, an image retrieval system, recommends alternative copyright-free images using a Vision Transformer (ViT)-based hashing model. Evaluation on benchmark datasets demonstrates the system's effectiveness, achieving a mean Average Precision (mAP) of 0.812 on the Flickr25k dataset. Furthermore, a user study with 65 teachers indicates high satisfaction levels, particularly in addressing copyright concerns and ease of use. Our system significantly aids educators in creating educational materials compliant with copyright regulations.
Keywords: 
;  ;  ;  

1. Introduction

In today’s internet environment, images serve as a core means of communication, information dissemination, and expression. Their ability to convey complex information in a concise and clear manner makes them frequently utilized not only in simple online contexts but also as educational materials for teaching purposes. However, using such images without the permission of the copyright holder or using images with unverified copyright status can lead to legal issues related to copyright infringement.
In South Korea, according to copyright law, educational institutions are supported in publishing copyrighted works in textbooks necessary for educational purposes. Additionally, according to Article 25, Paragraph 7 of the Copyright Act, the Korea Literary and Artistic Copyright Association (KOLAA), a body designated by the Minister of Culture, Sports, and Tourism of Korea, receives an annual “Statement of Use of Copyrighted Works” and royalties for the use of copyrighted materials from institutions that use works for instructional purposes. KOLAA then distributes the royalties (compensation) to the respective copyright holders, thereby protecting the rights of the copyright owners and ensuring they receive fair compensation. Consequently, teachers can freely use published copyrighted images in their teaching materials without worrying about copyright issues, which greatly aids in improving students’ understanding, maximizing learning outcomes, and enhancing the quality of lessons.
However, the internet contains countless images beyond those registered with KOLAA, many of which have unverified copyright status. Therefore, educators who create instructional materials for educational purposes must carefully consider potential legal issues related to copyright, especially if the unverified images are distributed beyond the school.
This paper proposes a copyright-free image recommendation system designed to alleviate these concerns. The system helps educators determine whether the images they choose for educational materials may result in copyright infringement. Furthermore, it retrieval similar images from a database of verified copyright-free images when there is a risk of copyright issues with the selected images.
The system is composed of two modules. The copyright infringement detection module determines whether the image provided by the user is a published copyrighted work registered with KOLAA. Using a deep learning-based model, the Convolutional Variational Auto-Encoder (CVAE) [1], meaningful feature vectors are extracted from the copyrighted images, which are then converted into two types of keys (1st, 2nd Key) for faster searching within the database and stored in the database. Subsequently, the image provided by the user is compared with the feature information in the database to determine whether it is a verified copyrighted image that exists in the copyright database.
If the inspected image is likely to result in copyright infringement, the image retrieval module suggests similar images from the copyright-free image database using an image hashing model. By extracting a hash code from the user-provided image and comparing it with vectors in the database, the system effectively recommends similar images. Through this process, users can easily find and actively utilize copyright-free images from the copyright database for educational material creation.
The main contributions of the proposed system are as follows:
  • The system integrates copyright infringement detection and similar image retrieval functionalities to help educators create educational materials without infringing on copyrights. This approach prevents copyright issues in advance and enhances the efficiency and safety of educational material creation by recommending copyright-verified images.
  • The network structure of the image retrieval model was improved by using the Vision Transformer (ViT) [2] as the backbone network, enhancing the system’s ability to capture global feature information from images. Additionally, a new loss function was introduced to improve the model’s training efficiency and the quality of retrieved images.
  • The system’s utility was verified through user satisfaction surveys and performance evaluations of the model. The image hashing model outperformed other hashing models on the Flickr25k [3], CIFAR10 [4] and NUS-WIDE [5] benchmark datasets. Surveys conducted among educators showed high satisfaction with the system and alleviated concerns about copyright infringement.
The structure of this paper is as follows: In Section 2, related work, we review studies related to copyright systems and image retrieval. Section 3, Copyright-free Image Recommendation System, provides an overview of the system, describing the infringement detection module and the image retrieval module. Section 4 analyzes the experimental results of the image retrieval model and the service satisfaction results. In Section 5, discussion, the research findings are discussed in-depth, and the final conclusion summarizes the main findings and implications of the study.

4. Experiments

4.1. Implementation Details

The proposed system was implemented using different deep learning frameworks for each module. The CVAE model in the infringement detection module was implemented with TensorFlow 2.8.0, and the TBH model for image retrieval was implemented with PyTorch 2.0.1. The entire system runs on an Ubuntu 20.04 environment equipped with an NVIDIA RTX A6000. For training the copyright infringement detection model, the batch size was set to 512, and a cosine scheduler was applied with a learning rate of 0.0001 for 1000 epochs. Each epoch took approximately 9 minutes and 26 seconds. The search thresholds for the infringement detection module were set to T 1 s t and T 2 n d , with values of 12 and 0.9, respectively. The image retrieval model utilized the TBH architecture, with a batch size of 128 set during the training process. The network was optimized using the Adam optimizer with a learning rate of 0.0001, and the learning rate was decreased using a cosine decay scheduler. The dimensionality of the feature size input to the model was set to 768, and training was conducted for up to 500 epochs, with early stopping applied to prevent overfitting.

4.2. Datasets

Flickr25k is a dataset consisting of 25,000 images, each with an average of 8.94 tags, and is one of the mainstream benchmarks used in image retrieval. For training the image retrieval model, we used 5,000 images for training, 2,000 images for testing, and the remaining images as the database dataset.
CIFAR10 consists of 60,000 images across 10 classes, with a relatively small resolution of 32x32. From the total of 60,000 images, we first split off 10,000 images as the test data for the image retrieval model and then evaluated the model using two different methods. In CIFAR10-I, the remaining 50,000 images, excluding the test data, were used for both training and the database. In CIFAR10-II, 5,000 images were allocated for training, and the remainder were used as the database.
NUS-WIDE is a dataset containing 269,648 images, with 81 concepts and 5,018 tags. We used 195,834 images belonging to 20 concepts for training the image retrieval model, and the remaining images, excluding 2,100 test data, were used for both training and the database.
KOLAA Copyright Image [16] is a private image dataset provided by the Korea Literary and Artistic Copyright Association, consisting of approximately 380,000 images with about 7 to 11 labels per image. We used 370,000 images for training and 1,000 images for testing the copyright infringement detection model. For the image retrieval model, 5,000 images were randomly selected for training, 2,000 images for testing, and 10,000 images as the database dataset.

4.3. Evaluation of Hashing Model

The performance of the proposed method was compared with that of existing hashing models on various benchmark sets (Flickr25k, CIFAR10, NUS-WIDE) and the KOLAA copyright image dataset. Performance evaluation was conducted using the mean Average Precision (mAP) metric. The mAP was calculated for the top k results with the highest similarity. The values of k were set to 5000 for Flickr25k and NUSWIDE, 1000 for CIFAR10, and 500 for KOLAA, with all datasets evaluated by generating hash codes of 16, 32, and 64-bit lengths. We compared the performance of Bi-halfNet [17], CIBHash [18], DSH [19], the existing TBH model, and the proposed model.
As shown in Table 1, the improved image retrieval model outperformed the existing TBH model across all datasets and achieved relatively higher results compared to other hashing models. On the CIFAR10-1 dataset, the proposed model demonstrated exceptional performance with a difference of up to 26%. Additionally, in the average model performance across all benchmarks, the proposed model achieved the highest mAP result of 78.9%, followed by CIBHash (70.8%), Bi-HalfNet (66.5%), TBH (65.8%), and DSH (64.1%). The experimental results demonstrate that the proposed model can generate unique hash codes that effectively represent images by leveraging the self-attention mechanism of the ViT backbone, which accurately identifies key features within images.
Figure 5 illustrates the training process of the improved image retrieval model, showing the learning trends for 16, 32, and 64 bits on the Flickr25k, CIFAR10, and NUS-WIDE datasets. The best mAP, current mAP, actor loss, and critic loss are represented by red, green, blue, and purple lines, respectively. The graph shows that the current mAP curve closely aligns with the best mAP curve, indicating that the model is being trained appropriately. Notably, all graphs exhibit a sharp increase in performance during the early stages of training, suggesting that the model is effectively optimizing learning and accelerating convergence by leveraging diverse feature information. However, compared to the CIFAR10 learning trend, the loss curves for Flickr25k and NUS-WIDE show relatively slow and unstable declines. This could indicate that the model requires more time to learn diverse features or that the complexity of these datasets is relatively higher.
Figure 6 presents the experimental retrieval results of the image retrieval module, visualized using T-SNE. The dataset used in the experiment is the two CIFAR10 datasets mentioned in Section 4.2, representing the distribution of 10 classes. In the 16-bit results, the clusters appear somewhat regionally localized, but as the bit length increases to 32 and 64, the distances between clusters decrease, leading to more cohesive groupings. Larger bit lengths reduce the likelihood of overlapping Hamming distances due to the longer vector length, thus improving accuracy. However, there is a trade-off with increased memory usage and computational costs. Additionally, when comparing the two datasets, CIFAR10 II, which was trained with fewer training data and with no overlap between the training and database sets, shows more compact clustering of each class compared to CIFAR10 I. This can be interpreted as an indication that the model improves performance by effectively handling diverse data without overfitting to specific data. Particularly, the good performance on untrained data suggests the potential for zero-shot learning. Additionally, the Appendix provides practical examples of the proposed approach through Figure A1, Figure A2, Figure A3, Figure A4 and Figure A5.

4.4. User Satisfaction Analysis

To validate the effectiveness and practicality of the proposed copyright-free image recommendation system, a user satisfaction analysis was conducted. The focus was particularly on verifying whether teachers who create educational content could effectively prevent copyright infringement and receive efficient image retrieval. Among the 65 participating teachers, 47% were elementary school teachers, 31\% were middle school teachers, and 22% were high school teachers. Out of the 380,000 copyrighted images owned by KOLAA, 180,000 images were used to build the infringement detection DB and retrieval DB through the system's modules.
Teachers used the system to search for images related to their teaching materials and to verify copyright inspection results. During this process, a total of 1,757 retrieval results were generated, and reviews were written for each retrieval. Teachers evaluated their overall experience and satisfaction with the system using 13 evaluation items. The main evaluation metrics included Validity, Convenience, Accuracy, Speed, Completeness, retrieval Satisfaction, and Copyright Concern Relief, which are graphically represented in Figure 7.
The analysis of the data collected using the Likert scale revealed that the overall satisfaction with the system was an average of 3.88 points (standard deviation of 0.55), indicating that users generally evaluated the system positively. The evaluation score for solving copyright image issues was particularly high, with an average of 4.26 points (standard deviation of 0.42). Notably, the Convenience (average of 4.35 points) and Speed (average of 4.40 points) metrics showed very high satisfaction, indicating that teachers experienced a high level of satisfaction when using the system.

5. Discussion

Considering the results of user satisfaction, the positive aspects of the system proposed in this study can be examined as follows. Teachers highly evaluated the system as a tool that effectively addresses copyright issues. In particular, the high score for alleviating concerns about copyright images indicates that the system greatly contributed to reducing legal issues in the process of creating educational materials. This allows teachers to use images with confidence when creating educational materials, enabling them to provide students with more diverse visual resources, thereby enhancing the quality of education. These results demonstrate that the proposed system exhibited significant performance in detecting copyright infringement and retrieving images. Additionally, the high evaluation of speed is attributed to the efficient design of the hash code within the system. The efficiently designed hash code improves data search and processing speed, optimizing system performance and enabling high evaluations of accuracy and speed. However, the large standard deviation in the accuracy and speed metrics suggests that further optimization is needed to provide consistent performance across diverse user environments and considering the flexibility and scalability of the hash code design, there is ample room for future improvement.

6. Conclusion

This study designed a copyright-free image recommendation system for educators, which checks copyright images and recommends similar images. The proposed system provides users with image infringement detection and image retrieval functions using two modules. Notably, the system's performance was improved over existing retrieval models by modifying the backbone network of the image retrieval model and introducing a new loss function, while also enhancing processing speed through group code matching. The performance evaluation of the proposed model and user satisfaction analysis of the overall system showed that the system can effectively solve copyright issues in educational settings and contribute to improving the quality of educational materials. In particular, as the potential of zero-shot learning was partially observed in image hashing model research, further studies are needed to examine its effectiveness in more diverse and practical datasets. Based on this, future research will move towards applying various deep learning models to further enhance system performance.

Author Contributions

Conceptualization, Yeongha Kim; methodology, Yeongha Kim; software, Yeongha Kim; validation, Yeongha Kim; investigation, Yeongha Kim, Soyeon Kim; writing—original draft preparation, Yeongha Kim, Soyeon Kim; writing—review and editing, Soyeon Kim, Seonghyun Min, Youngung Han, Wongyum Kim; visualization, Soyeon Kim; supervision, Wongyum Kim; project administration, Wongyum Kim, Seonghyun Min; resources, Ohyoung Lee; funding acquisition, Wongyum Kim. All authors have read and agreed to the published version of the manuscript.

Funding

This research is supported by Ministry of Culture, Sports and Tourism and Korea Creative Content Agency (Project Number: 2021-EC-9500).

Institutional Review Board Statement

Not applicable.

Acknowledgments

This research is supported by Ministry of Culture, Sports and Tourism and Korea Creative Content Agency (Project Number: 2021-EC-9500).

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

This section provides additional visual results from the copyright-free image recommendation system discussed in the main paper. The leftmost large image is the input query image, while the smaller images on the right represent the search results. The similarity decreases from left to right in the first row, and from left to right in the second row. The first image of the second row follows the last image of the first row in terms of similarity ranking. Images that share the same tag as the query image are highlighted with a green border, while those that do not share the tag are outlined in red.
Figure A1. Detailed image retrieval results for Flickr25k.
Figure A1. Detailed image retrieval results for Flickr25k.
Preprints 119531 g0a1
Figure A2. Detailed image retrieval results for NUS-WIDE.
Figure A2. Detailed image retrieval results for NUS-WIDE.
Preprints 119531 g0a2
Figure A3. Detailed image retrieval results for CIFAR10 I.
Figure A3. Detailed image retrieval results for CIFAR10 I.
Preprints 119531 g0a3
Figure A4. Detailed image retrieval results for CIFAR10 II.
Figure A4. Detailed image retrieval results for CIFAR10 II.
Preprints 119531 g0a4
Figure A5. Detailed image retrieval results for KOLAA Image.
Figure A5. Detailed image retrieval results for KOLAA Image.
Preprints 119531 g0a5

References

  1. Sohn, K.; Yan, X.; Lee, H. Learning structured output representation using deep conditional generative models. Advances in Neural Information Processing Systems 2015, 28, 3483–3491.
  2. Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; Uszkoreit, J.; Houlsby, N. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2021. https://arxiv.org/abs/2010.11929.
  3. Huiskes, M.J.; Lew, M.S. The MIR Flickr retrieval evaluation. In Proceedings of the 1st ACM International Conference on Multimedia Information Retrieval, British Columbia, Vancouver, Canada, 30-31 October 2008; pp. 39-43. [CrossRef]
  4. Krizhevsky, A.; Hinton, G. Learning multiple layers of features from tiny images. figshare, 2009. https://www.cs.toronto.edu/~kriz/learning-features-2009.html.
  5. Chua, T.S.; Tang, J.; Hong, R.; Li, H.; Luo, Z.; Zheng, Y. NUS-WIDE: A real-world web image database from National University of Singapore. In Proceedings of the ACM International Conference on Image and Video Retrieval, Santorini, Fira, Greece, 8-10 July 2009; pp. 1-9. [CrossRef]
  6. Zhang, Y.; Zhang, Y. Research and implementation on digital image copyright protection system. In Proceedings of the 2012 International Conference on Computer Science and Electronics Engineering, Hangzhou, China, 23-25 March 2012; Volume 2, pp. 48-51. IEEE. [CrossRef]
  7. Khare, A.; Singh, U. K.; Kathuria, S.; Akram, S. V.; Gupta, M.; Rathor, N. Artificial intelligence and blockchain for copyright infringement detection. In 2023 2nd International Conference on Edge Computing and Applications (ICECAA), Namakkal, India, 19-21 July 2023; pp. 492-496. IEEE. [CrossRef]
  8. Sun, X.; Zhou, J. Deep perceptual hash based on hash center for image copyright protection. IEEE Access 2022, 10, pp. 120551-120562. [CrossRef]
  9. Kim, D.; Heo, S.; Kang, J.; Kang, H.; Lee, S. A photo identification framework to prevent copyright infringement with manipulations. Applied Sciences 2021, 11(19), 9194. [CrossRef]
  10. Yang, J.; Kim, S.; Lee, S.; Kim, W.; Kim, D.; Hwang, D. Robust authentication analysis of copyright images through deep hashing models with self-supervision. Journal of Universal Computer Science 2023, 29(8), pp. 938-958. [CrossRef]
  11. Zajić, G.; Kojić, N.; Reljin, B. Searching image database based on content. In Proceedings of the 2011 19th Telecommunications Forum (TELFOR), Belgrade, Serbia, 22-24 November 2011; pp. 1203-1206. IEEE. [CrossRef]
  12. Shen, Y.; Qin, J.; Chen, J.; Yu, M.; Liu, L.; Zhu, F.; Shen, F.; Shao, L. Auto-encoding twin-bottleneck hashing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13-19 June 2020; pp. 2818-2827. [CrossRef]
  13. Kipf, T. N.; Welling, M. Semi-supervised classification with graph convolutional networks. In Proceedings of the International Conference on Learning Representations, 2020. https://openreview.net/forum?id=SJU4ayYgl.
  14. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A. N.; Kaiser, L.; Polosukhin, I. Attention is all you need. In Advances in Neural Information Processing Systems, Long Beach, California, USA; https://dl.acm.org/doi/10.5555/3295222.3295349.
  15. Charikar, M. S. Similarity estimation techniques from rounding algorithms. Proceedings of the 34th Annual ACM Symposium on Theory of Computing, Quebec, Montreal, Canada, 19-22 May 2002; pp. 380-388. [CrossRef]
  16. Korean Literature, Academic Works and Art Copyright Association. KOLAA Image Database. KOLAA, 2023. http://www.kolaa.kr.
  17. Li, Y.; van Gemert, J. Deep Unsupervised Image Hashing by Maximizing Bit Entropy. AAAI Conference on Artificial Intelligence 2021, 35, pp. 2002-2010. [CrossRef]
  18. Qiu, Z.; Su, Q.; Ou, Z.; Yu, J.; Chen, C. Unsupervised Hashing with Contrastive Information Bottleneck. arXiv preprint 2021, arXiv:2105.06138. https://arxiv.org/abs/2105.06138.
  19. Liu, H.; Wang, R.; Shan, S.; Chen, X. Deep Supervised Hashing for Fast Image Retrieval. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27-30 June 2016; pp. 2064-2072. [CrossRef]
Figure 1. System architecture of the Copyright-free image recommendation system.
Figure 1. System architecture of the Copyright-free image recommendation system.
Preprints 119531 g001
Figure 2. Copyright infringement detection process using CVAE.
Figure 2. Copyright infringement detection process using CVAE.
Preprints 119531 g002
Figure 3. Image retrieval process.
Figure 3. Image retrieval process.
Preprints 119531 g003
Figure 4. Code group-based image search process.
Figure 4. Code group-based image search process.
Preprints 119531 g004
Figure 5. Training curves and mAP scores for different datasets.
Figure 5. Training curves and mAP scores for different datasets.
Preprints 119531 g005
Figure 6. T-SNE visualization results for CIFAR10 I and CIFAR10 II.
Figure 6. T-SNE visualization results for CIFAR10 I and CIFAR10 II.
Preprints 119531 g006
Figure 7. User satisfaction results of Copyright-free image recommendation system.
Figure 7. User satisfaction results of Copyright-free image recommendation system.
Preprints 119531 g007
Table 1. Comparison with other hashing models.
Table 1. Comparison with other hashing models.
Dataset bits Hashing Model
TBH [12] Bi-halfNet [17] CIBHash [18] DSH [19] Ours
Flickr25k [3]
mAP@5000
16 0.743 0.760 0.772 0.677 0.802
32 0.761 0.779 0.784 0.679 0.809
64 0.778 0.786 0.795 0.712 0.812
CIFAR10 I [4]
mAP@1000
16 0.546 0.561 0.593 0.651 0.760
32 0.586 0.576 0.636 0.661 0.774
64 0.624 0.595 0.651 0.676 0.789
CIFAR10 II [4]
mAP@1000
16 0.532 0.499 0.590 0.640 0.759
32 0.573 0.520 0.622 0.652 0.766
64 0.578 0.553 0.641 0.669 0.794
NUS-WIDE [5]
mAP@5000
16 0.717 0.768 0.790 0.552 0.794
32 0.725 0.783 0.807 0.558 0.804
64 0.735 0.799 0.815 0.562 0.810
KOLAA Copyright [16]
mAP@500
16 0.544 0.614 0.633 0.598 0.650
32 0.619 0.644 0.657 0.601 0.711
64 0.629 0.667 0.673 0.623 0.715
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.