Deepfake detection system and deepfake detection method
The deepfake detection system employs federated learning with lightweight models optimized through quantization to address resource constraints in CCTV systems, ensuring real-time detection and privacy protection.
Patent Information
- Application Number
- US19/675939
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-21
- Filing Date
- 2026-05-13
- Publication Date
- 2026-11-26
AI Technical Summary
Conventional deepfake detection solutions require extensive computational resources and are unsuitable for resource-constrained environments like CCTV systems, lacking real-time capabilities and privacy protection.
A deepfake detection system utilizing federated learning with a lightweight local model optimized through quantization techniques, deployed on edge devices for real-time detection, and a global model updated via weighted averaging.
Enables efficient, real-time deepfake detection in resource-constrained environments while protecting privacy by reducing computational and memory requirements, maintaining high accuracy and scalability.
Smart Images

Figure US20260378197A1-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATION
[0001] This application claims priority to and the benefit of Korean Patent Application No. 10-2025-0066272, filed on May 21, 2025, the present disclosure of which is incorporated herein by reference in its entirety.BACKGROUND1. Field of the Disclosure
[0002] The present invention relates to a deepfake detection system and a deepfake detection method, and more particularly, to a deepfake detection system and a deepfake detection method capable of detecting a deepfake based on federated learning.2. Description of the Related Art
[0003] The proliferation of Closed-Circuit Television (CCTV) systems has become an essential element in terms of crime prevention, evidence collection, and public safety assurance by providing continuous monitoring in various areas including urban areas, public transportation, and private enterprises.
[0004] In particular, in recent years, the integration of advanced technology has improved functions of CCTV, enabling functions such as real-time monitoring, facial recognition, and predictive analysis; however, the construction of extensive CCTV systems further highlights the need for a balance between security benefits and privacy protection.
[0005] Specifically, video information such as images or videos collected through CCTV systems often includes sensitive data such as facial features, behavioral patterns, and other personal information that can identify individuals.
[0006] In a situation where the need for such video information to be protected from cyber threats is gradually increasing, the emergence of deepfake technology is posing an unprecedented level of risk to CCTV system security.
[0007] Deepfake is a technique for generating highly realistic but manipulated video and audio content by utilizing sophisticated machine learning models such as Generative Adversarial Networks (GANs).
[0008] In a CCTV environment, deepfakes can pose a serious threat to authenticity of evidence and privacy protection in ways such as hiding evidence, manipulating incidents, or falsely prosecuting individuals by manipulating surveillance footage.
[0009] To mitigate such risks due to deepfakes, various AI-based detection solutions aiming to identify and filter manipulated content are being proposed. For example, machine learning algorithms can be utilized to detect subtle anomalies in synthetic videos such as lighting inconsistencies, facial landmarks, and motion dynamics.
[0010] However, conventional solutions using these state-of-the-art models require extensive computational resources and thus are often unsuitable for resource-constrained environments such as edge devices integrated into CCTV cameras or lack real-time capabilities, which results in limitations in application to actual CCTV systems.
[0011] Therefore, a technical solution is required to ensure that a system can operate effectively within computational and memory constraints of CCTV hardware in resource-constrained secure CCTV systems.SUMMARY
[0012] The present invention has been devised to solve the problems as described above, and an object of the present invention is to provide a deepfake detection system and a deepfake detection method capable of detecting a deepfake based on federated learning while efficiently detecting the deepfake in a resource-constrained CCTV environment through a model made lightweight.
[0013] A deepfake detection system for achieving the object according to an embodiment of the present invention comprises: a device layer including at least one device configured to collect video information; an edge layer including at least one edge device configured to detect a deepfake by inputting the video information into a previously prepared local deepfake detection model; and a cloud layer including a server configured to generate and update a global deepfake detection model by aggregating parameters of the local deepfake detection model and to transmit parameters of the global deepfake detection model to the edge layer, wherein the local deepfake detection model is a model made lightweight according to a predetermined technique and updated based on the parameters of the global deepfake detection model.
[0014] And the local deepfake detection model is a model that predicts a probability that a frame included in the video information is a deepfake and classifies the frame as a deepfake when the probability of being a deepfake is greater than a previously prepared threshold, and may be a model made lightweight according to a quantization technique.
[0015] Also, the quantization technique may be a technique of converting at least one of an activation function and a weight of the local deepfake detection model into an integer format or a floating point format of a certain size.
[0016] And the server is configured to calculate a weighted average of the local deepfake detection model based on a degree to which the edge device contributes to the global deepfake detection model and update the global deepfake detection model based on the calculated weighted average.
[0017] Meanwhile, a deepfake detection method for achieving the object according to an embodiment of the present invention is a deepfake detection method in a deepfake detection system, the method comprising: collecting video information; detecting a deepfake by inputting the video information into a previously prepared local deepfake detection model; and generating and updating a global deepfake detection model by aggregating parameters of the local deepfake detection model and transmitting parameters of the global deepfake detection model, wherein the local deepfake detection model is a model made lightweight according to a predetermined technique and updated based on the parameters of the global deepfake detection model.
[0018] According to one aspect of the present invention as described above, by providing a deepfake detection system and a deepfake detection method, it is possible to detect a deepfake based on federated learning while efficiently detecting the deepfake in a resource-constrained CCTV environment through a model made lightweight.BRIEF DESCRIPTION OF THE FIGURES
[0019] FIG. 1 is a schematic diagram for explaining a deepfake detection system according to an embodiment of the present invention,
[0020] FIGS. 2 and 3 are algorithms for explaining a local deepfake detection model according to an embodiment of the present invention,
[0021] FIG. 4 is for explaining a quantization technique according to a state of an edge device 210,
[0022] FIG. 5 is an algorithm for explaining a global deepfake detection model according to an embodiment of the present invention,
[0023] FIG. 6 is a flowchart for explaining a deepfake detection method according to an embodiment of the present invention, and,
[0024] FIGS. 7 to 14 are drawings for explaining effects of a deepfake detection method according to an embodiment of the present invention.DETAILED DESCRIPTION
[0025] In the following detailed description of the present invention, reference is made to the accompanying drawings which show, by way of illustration, specific embodiments in which the present invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the present invention. It should be understood that the various embodiments of the present invention are different but need not be mutually exclusive. For example, certain shapes, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the present invention in relation to one embodiment. In addition, it should be understood that the location or arrangement of individual components within each disclosed embodiment may be changed without departing from the spirit and scope of the present invention. Therefore, the following detailed description is not to be taken in a limiting sense, and the scope of the present invention, if properly described, is limited only by the appended claims, along with the full range of equivalents to which such claims are entitled. Similar reference numerals in the drawings refer to the same or similar functions throughout several aspects.
[0026] Components according to the present invention are components defined by functional division rather than physical division and may be defined by the functions they each perform. Each component may be implemented as hardware or as program code and a processing unit that perform each function, and functions of two or more components may be integrated and implemented in one component. Therefore, it should be noted that names given to components in the following embodiments are not for physically dividing each component but for implying a representative function performed by each component, and technical spirit of the present invention is not limited by the names of the components.
[0027] Hereinafter, preferred embodiments of the present invention will be described in more detail with reference to drawings.
[0028] FIG. 1 is a schematic diagram for explaining a deepfake detection system 10 according to an embodiment of the present invention.
[0029] The deepfake detection system 10 according to the present embodiment is provided to detect and mitigate network anomalies in a CCTV environment, and more specifically, is provided to efficiently detect a deepfake in a resource-constrained CCTV environment through a model made lightweight.
[0030] To this end, the system 10 according to the present embodiment may include a device layer 100, an edge layer 200, and a cloud layer 300.
[0031] The device layer 100 according to the present embodiment may include at least one device 110, the edge layer 200 may include at least one edge device 210, and the cloud layer 300 may include a server 310.
[0032] The device 110, the edge device 210, and the server 310 constituting the device layer 100, the edge layer 200, and the cloud layer 300 may have software (application) for performing a deepfake detection method installed and executed therein, and the device 110, the edge device 210, and the server 310 may be controlled by the software (application) for performing the deepfake detection method.
[0033] At this time, the device 110, the edge device 210, and the server 310 may be separate terminals or may be some modules of a terminal.
[0034] In addition, the device 110, the edge device 210, and the server 310 may have mobility or be fixed. Such device 110, edge device 210, and server 310 may be in a form of a server or engine, and may be called by other terms such as a device, an apparatus, a terminal, a user equipment (UE), a mobile station (MS), a wireless device, or a handheld device. And the device 110, the edge device 210, and the server 310 may execute or produce various software based on an operating system (OS), that is, a system. Here, the operating system is a system program for allowing software to use hardware of the device, and may include all of mobile computer operating systems such as Android OS, iOS, Windows Mobile OS, Bada OS, Symbian OS, and BlackBerry OS, and computer operating systems such as Windows series, Linux series, Unix series, MAC, AIX, and HP-UX.
[0035] First, at least one device 110 constituting the device layer 100 according to the present embodiment may be provided to collect video information.
[0036] And the device layer 100 is a layer that facilitates collection of video information through CCTV systems disposed in various environments, where the environments may include public places such as transportation hubs, shopping centers, and streets, to private spaces such as offices and residential complexes.
[0037] And in such environments, at least one device 110 such as a CCTV camera, for example, can collect continuous video streams under various conditions such as various lighting, motion patterns, and environmental noise.
[0038] Accordingly, the device layer 100 can efficiently collect raw video data, that is, video information, and transmit it to the edge layer 200 for processing of the collected video information.
[0039] Meanwhile, the edge layer 200 according to the present embodiment may be provided including at least one edge device 210.
[0040] And the edge device 210 can detect a deepfake by inputting the video information received from the device layer 100 into a previously prepared local deepfake detection model.
[0041] Specifically, video information, that is, video frames, received by the edge layer 200 can be processed in real time to analyze subtle inconsistencies that are characteristics of deepfakes, such as lighting irregularities, motion artifacts, and unnatural expressions.
[0042] And since the system 10 according to the present embodiment is provided such that each edge device 210 constituting the edge layer 200 performs deepfake detection in order to enable omission of centralized resources, it is possible to detect the deepfake in real time and reduce latency. In addition, since original data is stored in the device 110, privacy protection regulations can be complied with.
[0043] And the local deepfake detection model previously prepared to detect a deepfake is a model made lightweight according to a predetermined technique and can be updated based on parameters of a global deepfake detection model.
[0044] To this end, the local deepfake detection model may be a model trained to predict a probability that a frame included in the video information is a deepfake, and to classify the frame as a deepfake when the probability of being a deepfake exceeds a previously prepared threshold.
[0045] In particular, the local deepfake detection model according to the present embodiment may be a model made lightweight through lightweight machine learning optimization such as a quantization technique in order to perform accurate and efficient inference with limited computational resources, and such a local deepfake detection model made lightweight may be previously received from the server 310.
[0046] The local deepfake detection model according to the present embodiment is a model for detecting a deepfake with high accuracy while solving constraints of a resource-constrained environment, and may be a model optimized to be deployed to the edge device 210 that is resource-constrained.
[0047] Specifically, the local deepfake detection model according to the present embodiment may be a lightweight version of the EfficientNet convolutional neural network (CNN) series, and may be provided to enable real-time inference by reducing size and computational overhead through quantization and pruning techniques.
[0048] FIG. 2 is a drawing showing Algorithm 1 of a local deepfake detection model within a local environment of the edge device 210 according to the present embodiment.
[0049] As shown in FIG. 2, the edge device 210 may start by initializing a TinyML inference engine and preparing to load a pre-trained local deepfake detection model optimized with a quantization technique.
[0050] And the algorithm of the local deepfake detection model can operate continuously by capturing video frames in real time from a CCTV stream, that is, video information.
[0051] Specifically, in the edge device 210, Frame, which is real-time image frames sequentially captured from video information is a snapshot in time and is a three-dimensional tensor Framet∈R(H×W×3), where H and W may mean the original size of the frame. These frames can be processed sequentially to maintain real-time performance.
[0052] And the edge device 210 can perform preprocessing to input each frame into the local deepfake detection model.
[0053] Preprocessing in the edge device 210 may include resizing, normalization, and tensor transformation.
[0054] For resizing, the edge device 210 can adjust a size of the original frame Framet to 260×260 pixels. Such resizing can be performed to ensure uniformity and compatibility while maintaining important visual details required for deepfake detection, and can be expressed as in Equation 1 below.PreprocessFrame=Resize(Framet,(260,260)) [Equation 1]
[0055] And the edge device 210 can normalize pixel values of a frame resized to a [0, 1] range by dividing each pixel intensity by 255, which can be expressed as in Equation 2 below.PreprocessFrame=PreprocessFrame255.0[Equation 2]
[0056] In addition, the edge device 210 can convert the normalized frame into a tensor format by adding a batch dimension for compatibility with the local deepfake detection model. As a result of conversion, the tensor may have a size of 1×260×260×3.
[0057] And the edge device 210 can input preprocessed frames into the local deepfake detection model for deepfake detection.
[0058] The local deepfake detection model according to the present embodiment is a model optimized for making it lightweight through a quantization technique, and predicts a probability PReal that an input frame is real and a probability PFake that an input frame is a deepfake, respectively, and an output through the local deepfake detection model can satisfy a PReal+PFake=1 condition. This can be expressed as in Equation 3 below.Modeloutfut=[PReal,PFake] [Equation 3]
[0059] And the local deepfake detection model can compare a probability PFake of being a deepfake with a predefined threshold Detection_Threshold to classify a frame as shown in FIG. 2. Accordingly, if PFake is greater than Detection_Threshold, the local deepfake detection model classifies a corresponding frame as a deepfake, and the edge device 210 can transmit an alert to a previously prepared monitoring organization. If not PFake>Detection_Threshold, a corresponding frame is classified as real, and the edge device 210 may not perform additional measures. And the edge device 210 can set a flag on only frames that have a high probability of being a deepfake by exceeding the threshold for additional investigation.
[0060] Meanwhile, the cloud layer 300 according to the present embodiment may be provided including the server 310.
[0061] The server 310 constituting such cloud layer 300 can deploy a pre-trained local deepfake detection model to each edge layer 200, and generate and update a global deepfake detection model by aggregating parameters of the local deepfake detection model from the edge layer 200. Through this, the local deepfake detection model trained at the edge device 210 can contribute to the global deepfake detection model without transmitting video information sensitive to personal information to the central server 310.
[0062] FIG. 3 is an algorithm for explaining an optimization process for the server 310 of the present invention to deploy a local deepfake detection model made lightweight to the resource-constrained edge device 210.
[0063] Specifically, the pre-trained local deepfake detection model deployed by the server 310 to the edge device 210 according to the present embodiment is a model made lightweight by reducing size, computation, complexity, and memory requirements of the local deepfake detection model while maintaining accuracy required for deepfake detection, and can be optimized based on Algorithm 2 shown in FIG. 3.
[0064] Such a pre-trained local deepfake detection model may be a model trained to predict a probability that an input frame is a real frame and a probability that an input frame is a deepfake frame by capturing subtle artifacts and patterns associated with manipulated frames when a frame is input using a dataset optimized for deepfake detection.
[0065] And the pre-trained local deepfake detection model deployed from the server 310 may include a task of storing the model in a format compatible with TensorFlow tools while maintaining all learned parameters such as weights, biases, and architecture configurations. The pre-trained local deepfake detection model transmitted to the edge device 210 in this way has high accuracy, but since it is expressed in 32-bit floating point (FP32), it has a disadvantage that computational cost is high at the edge device 210.
[0066] Accordingly, the server 310 can convert a pre-trained local model in a 32-bit floating point format into a TensorFlow Lite (TFLite) format using a TensorFlow Lite Converter. Such a conversion step may be very important for adjusting the local deepfake detection model to requirements of an environment of the edge device 210 where a lightweight inference engine such as a TFLite interpreter is used.
[0067] And converting the local deepfake detection model includes a task of reconfiguring the pre-trained local deepfake detection model to satisfy hardware and software constraints, and in the step of converting such a model, a quantization technique may be used.
[0068] Specifically, Algorithm 2 shown in FIG. 3 is for applying a quantization technique to the local deepfake detection model converted to TFLite, and such a quantization technique may be a technique for saving memory and increasing inference speed by lowering numerical precision of activation functions and weights of the local deepfake detection model.
[0069] The quantization technique used in such a local deepfake detection model may include a technique of converting at least one of an activation function and a weight of a local deepfake model into an integer format or a floating point format of a certain size.
[0070] Specifically, the quantization technique according to the present embodiment may be selected from among dynamic range quantization, full integer quantization, and float16 quantization according to a state of the edge device 210.
[0071] FIG. 4 is a table for explaining a quantization technique according to a state of the edge device 210.
[0072] As shown in FIG. 4, the dynamic range quantization technique among quantization techniques according to the present embodiment may be a technique of maintaining an activation function of the local deepfake detection model as a 32-bit floating point (FP32) but converting and compressing weights of the local deepfake detection model into an 8-bit integer (INT8).
[0073] Such a dynamic range quantization technique does not require calibration data and has a lower compression rate compared to other techniques, but has an advantage of being able to provide a balance between model size reduction and detection accuracy. In a case of an environment where simplicity and rapid deployment are essential, such as a CPU or an old edge device 210 that does not support native INT8, the local deepfake detection model can be made lightweight and optimized based on the dynamic range quantization technique. And since the dynamic range quantization technique uses an activation function in a 32-bit floating point (FP32) form, there may be a limit to reduction in latency.
[0074] Such a dynamic range quantization technique can be expressed as in Equation 4 below.WINT8=Round (WFP32Scale)+Zero_point[Equation 4]
[0075] Here, WINT8 is a quantized weight, WFP32 is an initial weight, and Scale and Zero_point may mean correction coefficients determined during the conversion process.
[0076] Meanwhile, among quantization techniques according to the present embodiment, full integer quantization may be a technique of converting and compressing both weights and activation functions of the local deepfake detection model into 8-bit integers (INT8).
[0077] Such a full integer quantization technique can maximize reduction in latency and power efficiency by quantizing an entire inference pipeline including activation functions. Therefore, the full integer quantization technique can be suitable for real-time applications in the resource-constrained edge device 210.
[0078] And such a full integer quantization technique may be ideal for scenarios where low latency and power efficiency are important, such as real-time deepfake detection in devices such as Raspberry Pi 4 or other ARM-based processors that support native INT8. Also, as shown in FIG. 4, the use of calibration data is required in a quantization process in order for the quantized local deepfake detection model to maintain accuracy close to an original 32-bit floating point (FP32). Such a full integer quantization technique can be expressed as in Equation 5 below.AINT8=Quantize(AFP32) [Equation 5]
[0079] Here, AINT8 and AFP32 may mean a quantized activation function and an initial activation function, respectively.
[0080] And among quantization techniques according to the present embodiment, a float16 quantization technique may be a technique of converting and compressing weights of the local deepfake detection model into 16-bit floating points. Such a float16 quantization technique can achieve a moderate level of compression rate while maintaining higher numerical precision than the integer quantization technique described above.
[0081] The float16 quantization technique according to the present embodiment provides a balance between memory usage reduction and accuracy maintenance, and thus may be ideal for the edge device 210 with slightly higher computational ability.
[0082] In particular, the float16 quantization technique according to the present embodiment may be most effective in an environment where higher numerical precision is required, such as the edge device 210 equipped with a GPU or special hardware such as NVIDIA Jetson that natively supports FP16 operation. Also, although the float16 quantization technique has a limited effect on reduction in latency compared to the full integer quantization technique, it has an advantage of being able to minimize model accuracy degradation. Such a float16 quantization technique according to the present embodiment can be expressed as in Equation 6 below.WFP16=Cast(WFP32→FP_16) [Equation 6]
[0083] Here, WFP16 means compressed weights, and WFP32 may mean initial weights.
[0084] A local deepfake detection model optimized and made lightweight according to a quantization technique through the process above can be deployed to the edge device 210 through the server 310. In such a deployment step, the server 310 transmits the local deepfake detection model to storage of the edge device 210, and as in Algorithm 1 of FIG. 2, the edge device 210 initializes a TinyML inference engine to execute the local deepfake detection model optimized with a quantization technique. The local deepfake detection model optimized according to such a quantization technique can shorten inference latency, reduce usage of memory, and reduce power consumption.
[0085] And the server 310 according to the present embodiment can update the global deepfake detection model by receiving and aggregating parameters from the local deepfake detection model based on a federated learning technique.
[0086] In addition, the server 310 can transmit parameters of the updated global deepfake detection model to the edge device 210 in order to synchronize the local deepfake detection model of the edge device 210 with the updated global deepfake detection model.
[0087] FIG. 5 is a drawing showing an algorithm for explaining a global deepfake detection model according to an embodiment of the present invention.
[0088] The global deepfake detection model according to the present embodiment enables federated learning at distributed edge devices 210 so that the global deepfake detection model can utilize advantages of various local datasets without transmitting sensitive data.
[0089] As shown in FIG. 5, the global deepfake detection model according to the present embodiment can initialize the global deepfake detection model using an initial parameter w0. Such an initial parameter may be pre-trained model weights or randomly initialized values.
[0090] And the global deepfake detection model may be a starting point for learning and aggregation in at least one edge device 210. For this, the server 310 can store an initial global deepfake detection model and adjust an update process.
[0091] And each edge device 210 learns a local deepfake detection model using its own dataset based on federated learning, and the server 310 can receive parameters of the updated local deepfake detection model after learning.
[0092] Accordingly, the server 310 can aggregate parameters of the local deepfake detection model, update the global deepfake detection model based on federated averaging, and transmit parameters of the updated global deepfake detection model to all edge devices 210 for additional local deepfake detection model learning in a next round.
[0093] The server 310 can perform federated averaging of calculating a weighted average of the local deepfake detection model based on a degree to which each edge device 210 contributes to the global deepfake detection model for update of the global deepfake detection model, and updating the global deepfake detection model based on the calculated weighted average.
[0094] As shown in FIG. 5, a parameter wt+1 of an updated global deepfake detection model may be expressed as Equation 7 below.wt+1←1N∑i=1Nwi(t)[Equation 7]
[0095] Here, N is the total number of edge devices 210 constituting the edge layer 200, andWINT8=Round (WFP32Scale)+Zero_point[Equation 4]may mean a parameter of a local deepfake detection model learned in the i-th edge device 210. In addition, a degree to which the edge device 210 contributes to the global deepfake detection model may be proportional to an amount of data held by the corresponding edge device 210.Further, the server 310 updates the global deepfake detection model based on a weighted average calculated through execution of federated averaging, and then distributes the parameter wt+1 of the updated global deepfake detection model to the edge layer 200 side. Through this, each edge device 210 can start learning the local deepfake detection model by using the updated global deepfake detection model as a starting point for the next round of local learning.
[0097] Also, the server 310 may repeat the above-described process over multiple federated learning rounds. In each round, the local deepfake detection model is additionally learned, and by aggregating and refining it, the server 310 can generate an increasingly precise global deepfake detection model. This process may be repeated until a predefined number of rounds T is reached or the performance of the global deepfake detection model is stabilized so that an effect of further updates becomes insignificant.
[0098] And when a federated learning process is terminated after all rounds are completed, the server 310 can generate a final global deepfake detection model wT, and the corresponding global deepfake detection model reflects the federated learning of all edge devices 210 and can detect a deepfake with high accuracy even in various environments.
[0099] Accordingly, the system 10 according to the present embodiment has an advantage of not only being able to efficiently detect a deepfake in a CCTV video stream in an environment where resources are limited but also protecting personal information.
[0100] FIG. 6 is a flowchart for explaining a deepfake detection method according to an embodiment of the present invention. Since the deepfake detection method according to an embodiment of the present invention is performed on substantially the same configuration as the system 10 shown in FIG. 1, the same reference numerals are given to the same components as the system 10 of FIG. 1, and repeated descriptions will be omitted.
[0101] A deepfake detection method according to the present embodiment includes: collecting video information (S110); detecting a deepfake by inputting the video information into a local deepfake detection model (S130); and generating and updating a global deepfake detection model by aggregating parameters of the local deepfake detection model (S150).
[0102] The step of collecting video information (S110) is a step of collecting video information in the device layer 100 including at least one device 110.
[0103] The step of detecting a deepfake by inputting the video information into a local deepfake detection model (S130) is a step in which the edge layer 200 including at least one edge device 210 detects a deepfake by inputting the video information into a previously prepared local deepfake detection model.
[0104] Here, the local deepfake detection model is a model made lightweight according to a predetermined technique and may be updated based on parameters of the global deepfake detection model.
[0105] Meanwhile, in the step of generating and updating a global deepfake detection model by aggregating parameters of the local deepfake detection model (S150), the cloud layer 300 including the server 310 may generate and update the global deepfake detection model by aggregating parameters of local deepfake detection models for which learning has been completed in the edge layer 200.
[0106] Also, in the step of generating and updating the global deepfake detection model (S150), parameters of the updated global deepfake detection model may be transmitted to the edge layer 200.
[0107] The deepfake detection method of the present invention as described above may be implemented in the form of program instructions that can be performed through various computer components and recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, and the like, alone or in combination.
[0108] The program instructions recorded on the computer-readable recording medium may be those specially designed and configured for the present invention, or may be those known and available to those skilled in the computer software field.
[0109] Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like.
[0110] Examples of program instructions include not only machine language code such as that produced by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform processing according to the present invention, and vice versa.
[0111] FIGS. 7 to 14 are diagrams for explaining effects of a deepfake detection method according to an embodiment of the present invention, and hereinafter, experimental processes and results for verifying the effects of the deepfake detection method according to the present embodiment will be described.
[0112] An environment for an experiment was designed to emulate constraints of resource-limited edge computing in a CCTV network, and the experiment was performed using data collected from its own CCTV devices. However, since self-collected CCTV data has limitations such as low resolution, a limited number of samples, and an absence of various deepfake generation techniques, the FaceForensics++ (hereinafter, FF++) dataset was used in parallel. FF++ is a benchmark dataset widely used in deepfake detection research, providing various deepfake generation techniques and various compression levels (original, low compression, high compression). By combining these datasets, performance of a federated learning model according to the present embodiment can be more comprehensively verified in various scenarios.
[0113] The FF++ dataset, which includes various real and manipulated video frames at various deepfake techniques and compression levels, was divided into training, validation, and test sets (70:15:15). And hardware for the experiment consisted of a Raspberry Pi 4 Model B board (4 GB RAM, quad-core Cortex-A72 CPU) of an edge layer for real-time inference and an NVIDIA Tesla V100 GPU (32 GB VRAM) of a cloud layer for global deepfake detection model aggregation. TensorFlow Lite optimized a Tiny EfficientNetB4-Lite model for edge deployment through quantization and pruning, and TensorFlow Federated 2.17.0 managed privacy-preserving learning through encrypted updates.
[0114] Preprocessing included a task of adjusting a size of a video frame to 260×260 pixels and normalizing it to simulate real-time CCTV video and accommodate environmental variability. Tools such as PowerStat and TensorFlow Lite benchmarks verified whether the present invention can achieve efficiency and accurately detect deepfakes while maintaining data privacy by measuring energy consumption, latency, and memory usage.
[0115] FIG. 7 is a table summarizing such an experimental environment. As shown in FIG. 7, the experimental environment effectively reproduced an actual situation and proved scalability and robustness of the deepfake detection method (hereinafter, FL-TENB4) of the present invention in a distributed surveillance system.
[0116] As a result of the experiment, the FL-TENB4 model of the present invention for deepfake detection in a resource-limited environment achieved efficiency and robustness. Using the FF++ dataset containing video frames manipulated through various methods and real video frames, the model of the present invention achieved excellent performance in major metrics and verified suitability for a real environment.
[0117] FIG. 8 is a graph showing main simulation results including accuracy, latency, model size, and energy consumption of the FL-TENB4 model, which is the present invention.
[0118] As shown in FIG. 8, the FL-TENB4 model of the present invention provided detection accuracy of 94.2% and an F1-Score of 93.5%, demonstrating an ability to stably distinguish real frames from fake frames. Further, the model of the present invention achieved a ROC-AUC score of 0.96, showing excellent discriminative power. These results were achieved with a low inference latency of 12 ms per frame, which is a result showing real-time processing performance suitable for edge-based surveillance systems.
[0119] And the FL-TENB4 model of the present invention, optimized using quantization and pruning techniques, achieved a compact size of 4.2 MB and could be deployed in resource-constrained edge devices. Further, energy consumption during inference was measured as 150 mW, proving energy efficiency and compatibility with IOT and edge hardware. The light weight and optimized performance of this model make it an ideal solution for distributed surveillance networks that require privacy protection and real-time deepfake detection.
[0120] Meanwhile, FIG. 9 is a table summarizing performance of FL-TENB4, which is the present invention, in a limited resource environment and various compression levels (C0, C23, C40).
[0121] Specifically, this FL-TENB4 model was evaluated in three versions of the FF++ dataset (C0 (raw), C23 (slightly compressed), C40 (strongly compressed)) to evaluate robustness at various compression levels.
[0122] Compression level C0 represents uncompressed high-quality frames including detailed visual information, while C23 includes standard compression artifacts simulating typical video quality, and C40 includes severe compression artifacts mimicking low-quality CCTV video. The FL-TENB4 model of the present invention achieved the highest performance in the C0 dataset with accuracy of 96.5%, demonstrating an ability to detect manipulations in high-quality videos.
[0123] In the C23 dataset, which is most similar to real CCTV conditions, the FL-TENB4 model of the present invention maintained strong performance with accuracy of 94.2%.
[0124] Meanwhile, in the case of the C40 dataset, the accuracy decreased to 89.8% due to significant loss of visual detail caused by high compression.
[0125] Considering that C23 is substantially suitable for a real CCTV environment, additional comparative analysis was performed using the same dataset to verify whether the FL-TENB4 model of the present invention is applicable to realistic surveillance scenarios.
[0126] In the analysis, the FL-TENB4 model of the present invention was compared with state-of-the-art models such as Multi-View Inconsistency, CNN-SVM, Xception-Net, and Self-Consistency Learning using both performance and efficiency metrics, and FIGS. 10 to 12 are graphs and tables showing comparison results.
[0127] As can be seen through FIGS. 10 to 12, performance, efficiency, bandwidth utilization, and latency variability were confirmed by comparing the FL-TENB4 model of the present invention with existing four approaches. Through this analysis, it was confirmed that FL-TENB4 of the present invention has excellent advantages in providing high detection accuracy, latency reduction, optimized bandwidth utilization, and scalability in a resource-limited CCTV environment.
[0128] Specifically, in terms of performance indicators, the FL-TENB4 model of the present invention showed a high level of accuracy, reaching 94.2% in detection of manipulated video frames. This result was superior to several other approaches including Multi-View Inconsistency (91.8%) and CNN-SVM (90.2%), and showed performance similar to XceptionNet (93.5%).
[0129] Similarly, the FL-TENB4 model of the present invention achieved a strong F1-Score of 93.5%, showing balanced performance in precision and recall. A ROC-AUC value of 0.96 further verifies an ability of the system to distinguish real frames from deepfake frames, representing strong generalization to various conditions and manipulation techniques. These results prove effects of model weight reduction and optimization of the present invention even under strict hardware limitations.
[0130] Meanwhile, efficiency indicators are results demonstrating feasibility of FL-TENB4 for actual deployment in a resource-limited environment. The present invention significantly reduced latency and processed each frame within an average of 12 milliseconds, which is a much faster result than Multi-View Inconsistency (18 ms), Self-Consistency Learning (15 ms), and XceptionNet (25 ms) models. Further, the model of the present invention showed a compact size of 4.2 MB, which is a reduction of more than 85% compared to a reference XceptionNet model (60 MB). This lightweight nature means that the FL-TENB4 of the present invention is ideal for edge devices where memory and storage are inherently limited. Further, energy efficiency of the present invention stood out, and average power consumption during inference was 150 mW, which was significantly lower than CNN-SVM (400 mW) and XceptionNet (500 mW). These results mean that it is practical to deploy the FL-TENB4 of the present invention in battery-powered or low-power devices commonly used in CCTV surveillance systems.
[0131] Meanwhile, FIGS. 13 and 14 are diagrams showing bandwidth utilization.
[0132] The bandwidth utilization graph shown in FIG. 13 shows how total communication overhead increases as the number of edge devices increases, as shown in FIG. 14, in a federated learning framework. An optimized approach using the FL-TENB4 of the present invention shows a significant reduction in bandwidth requirements due to techniques such as model quantization (e.g., INT8), sparsification, and selective aggregation. Through these optimizations, even with 100 edge devices, total bandwidth utilization remained practical when deployed in a resource-limited environment such as a CCTV network. This result signifies an ability to reduce a model update size without sacrificing detection accuracy, which is one of the key strengths of the FL-TENB4 of the present invention. Since the present invention has a lightweight characteristic and uses advanced compression techniques, it was confirmed that it is suitable for systems with limited network bandwidth and scalability is guaranteed even for large-scale deployment.
[0133] Although various embodiments of the present invention have been illustrated and described above, the present invention is not limited to the specific embodiments described above, and various modifications can be made by those of ordinary skill in the art to which the invention pertains without departing from the gist of the present invention claimed in the claims, and these modifications should not be understood individually from the technical idea or prospect of the present invention.
Claims
1. A deepfake detection system, comprising:a device layer including at least one device configured to collect video information;an edge layer including at least one edge device configured to detect a deepfake by inputting the video information into a previously prepared local deepfake detection model;and a cloud layer including a server configured to generate and update a global deepfake detection model by aggregating parameters of the local deepfake detection model and to transmit parameters of the global deepfake detection model to the edge layer,wherein the local deepfake detection model is a model made lightweight according to a predetermined technique and updated based on the parameters of the global deepfake detection model.
2. The deepfake detection system according to claim 1, wherein the local deepfake detection model is a model that predicts a probability that a frame included in the video information is a deepfake and classifies the frame as a deepfake when the probability of being a deepfake is greater than a previously prepared threshold, and is a model made lightweight according to a quantization technique.
3. The deepfake detection system according to claim 2, wherein the quantization technique is a technique of converting at least one of an activation function and a weight of the local deepfake detection model into an integer format or a floating point format of a certain size.
4. The deepfake detection system according to claim 1, wherein the server is configured to,calculate a weighted average of the local deepfake detection model based on a degree to which the edge device contributes to the global deepfake detection model and update the global deepfake detection model based on the calculated weighted average.
5. A deepfake detection method in a deepfake detection system, the method comprising:collecting video information;detecting a deepfake by inputting the video information into a previously prepared local deepfake detection model; andgenerating and updating a global deepfake detection model by aggregating parameters of the local deepfake detection model and transmitting parameters of the global deepfake detection model,wherein the local deepfake detection model is a model made lightweight according to a predetermined technique and updated based on the parameters of the global deepfake detection model.
