arXiv:2610.17098cs.CVOct 2026

Manuscript Offprint

arXiv:2610.17098

Contrastive learning for video reuse detection

Tristan J. B. Cann, Arjun Biswas

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The incorporation of footage from other sources has long been a concern from a copyright perspective, as such usage can harm the interests of rights holders. Recent trends in the “remixing” of social media content and the development of bespoke stock libraries for specialist causes mean that methods to identify content reuse will have a range of applications. In this paper, we develop a framework based on a Siamese network fine tuned using contrastive learning to identify potential sources for key frames in a given video. This framework makes two contributions to analysis of large video datasets. Firstly, we demonstrate its utility at reducing complex video data to a set of key visuals typically less than 10% of the size of the full set. Secondly, we show that these reduced sets allow for efficient and effective identification of component footage. We test this method over a set of videos compiled from a stock footage library and demonstrate its effectiveness for constituent video identification with average accuracy greater than 0.95.

1 Introduction

As access to technology and the quality of internet coverage have increased, so too has the importance of video as a key pillar of social interaction. This ubiquity of cameras and the affordances of new social media platforms mean that more photos and videos are created, shared and reach ever larger sections of society than ever before (e.g. 90% of US teenagers reported using YouTube in 2024 [1]). In this space of explosive content growth it is becoming close to impossible to track distribution and trends related to specific footage - YouTube reports on average 20 million videos are uploaded to their platform every day 1^{1}.

Republishing and reuse of video content is a growing trend, with the potential for wider societal impact [2]. There are a number of legitimate and illegitimate reasons a content producer may choose to include externally-sourced footage in their videos. Illegitimate uses include attempts to share (and potentially profit from) the copyrighted works of others, which does not always include presenting themself as the original creator of the given work. This is a significant concern to many of the largest video hosting platforms who deploy bespoke systems of varying quality to monitor uploaded footage (e.g. the YouTube Content ID system 2^{2}). Some of the many legitimate reasons for content reuse reflect shifts in the culture of social media users. Remixing and reaction content have become increasingly popular genres across many platforms, and are even facilitated by platform features (e.g. TikTok “stitching” of public videos 3^{3}, with implications for how content resonates with audiences [3]). In these cases, the inclusion of memes and tropes in novel videos can have significant impacts on the viral success of posts and typically fall within “fair use” protections under copyright legislation (although may be contested in certain ways [4]). The use cases highlighted above are distinctly focused on the interests of the organisational players in this space - for the rights holders to protect their interests and for the platforms to ensure compliance with legal frameworks. As a result, they are not always able to support the interests of the those beyond these organisations and therefore there is a space for models that can support automated detection of content reuse at intermediate scales.

There is a long history of efforts to measure content similarity. These methods developed alongside the rise in online video sharing platforms such as YouTube in the early 2000s, and considered a wide range of potential techniques for measuring the alignment between two pieces of content. A comparison of the state-of-the-art at this time in [5] demonstrates this divergence. The work of Chen et al. [6] is of particular relevance in the context of content repetition and remixing given their consideration of spliced image retrieval, i.e. recognising parts of images in addition to the whole. Patch-based approaches such as theirs are a key component of recognition of picture-in-picture and other overlay methods for editing videos. More recently, trends in research have moved away from the more general copy detection problem and towards solutions to more specific societal challenges such as deepfake detection [7, 8]

1^{1}https://blog.youtube/press/, accessed 2025-05-12

2^{2}https://support.google.com/youtube/answer/2797370?hl=en-GB, accessed 2026-07-24

3^{3}https://support.tiktok.com/en/using-tiktok/creating-videos/stitch-settings, accessed 2026-07-24

One of the major challenges of working with videos in computer vision is the frequency of redundant visual information. Specifically, if we consider each video as a sequence of frames, then many of the frames will necessarily be minor variations of one another. Many methods for extracting key frames in videos have been employed in the past from those as simple as uniform sampling of frames to those based on scene boundaries [9] or frame-to-frame variance [10]. Incorporating such steps has clear benefits for model efficiency, and has also been shown to have limited impact on model performance [10].

Past applications of video downsampling are often aligned with the concept of video fingerprinting, that is the process of extracting some unique representation of a video. A recent literature review in this area by Allouche and Mitrea [11] presents a comprehensive view of how the methods for this task have evolved in recent years. They recognise a split into two camps based on whether a neural network is used, but many common strategies appear in the methods they compare. Other approaches consider a range of temporal features (e.g. the sequence of scene transitions), or local features (e.g. points of interest in key frames) to summarise a given video for subsequent comparison [12, 13]. These are only a small sample of the vast range of possible features for video fingerprinting.

The alignment of meaning in videos is one area that can be overlooked by computer vision methods that seek to only detect matches between (near) identical content. In some applications however, this distinction is not necessary, for example the automated detection of videos conveying similar messages. This consideration has been discussed in the past, primarily in the context of text-to-image retrieval. One such example from Wray et al. [14] refers to the semantic alignment in this case and shows how it is an effective tool for identifying image-caption pairs. But this consideration of semantic alignment does not cover all of the features of visual meaning captured by semiotic alignment (e.g. emotional framing). As a result, applications of these computer vision methods should be conscious of whether they seek repetition of specific visuals or the meaning imparted to inform their choice of approach.

Contrastive learning is an important tool in the case of video copy detection, given its utility as a method for distinguishing between similar and dissimilar items. Chen et al. [15] made a seminal contribution in this area, illustrating the value of self-supervised training and careful data augmentation to provide exemplary performance. Applications of contrastive learning to video data are another challenge however, as noted by Kuang et al. [16]. Their work detailed a means of efficiently generating the positive and negative samples from video data while still capturing the temporal aspects of the video stream. Moreover, they showed state-of-the-art performance on video retrieval over video datasets. Contrastive learning has also shown promise for video highlight detection, that is clips within a video that help distinguish it from others [17].

In this manuscript we present a method based on a Siamese network fine-tuned using contrastive learning to detect reuse of video footage, under the typical conditions of online video sharing. The Siamese network is used in two ways. Firstly, we use the network to produce an analogue of fingerprinting methods by sampling a subset of visually-representative frames that are collectively similar to all frames in a given video. We then use the same Siamese network to compare the representative frames between two or more videos.

We test this approach on a series of videos constructed by concatenating videos taken from the stock footage library Pixabay and find that our framework for representative frame extraction and subsequent matching is highly effective at both reducing the number of frames to be compared and recovering the included stock footage edited together to form a longer video. When applied using a threshold suitable for our test dataset, we found that on average the representative frame set was approximately 10% of the frames in a video. During the matching step, we found that our method demonstrates a preference for recall over precision while still achieving an average balanced accuracy of over 0.95.

This paper proceeds as follows. In Section 2 we describe the contrastive learning process for our Siamese network, the training data used and outline the process for identifying repeated visuals in new videos, including our creation of a synthetic dataset. In Section 3 we apply our new method to the synthetic dataset and report the accuracy we observed in identifying the repeated content. Finally, we conclude in Section 4, and review the implications of our work for further applications of contrastive learning in this space.

References (28)