Video Domain Adaptation Using Contrastive Learning
The video analysis model uses contrastive learning with cross-domain and cross-modality regularizers to enhance feature representation, addressing domain differences and improving performance across different video domains without extensive re-annotation.
Patent Information
- Application Number
- JP2023526672
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-11-08
- Filing Date
- 2021-11-09
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-11-09
AI Technical Summary
Machine learning systems trained on labeled data in one video domain struggle to perform effectively when applied to unlabeled data in a different domain due to differences in domain and modality, leading to deteriorated performance.
A video analysis model is trained using contrastive learning on features extracted from labeled data in a first domain and unlabeled data in a second domain, employing a loss function with cross-domain and cross-modality regularizers to bridge the gap between domains and modalities.
This approach enables effective information transfer across domains without labor-intensive annotation, allowing the use of existing training data to enhance feature representation and improve video analysis performance in new domains.
Smart Images

Figure 0007571296000055 
Figure 0007571296000056 
Figure 0007571296000057
Abstract
Description
[Technical field]
[0001] This application claims priority to U.S. Provisional Patent Application No. 17 / 521,057, filed November 8, 2021, U.S. Provisional Patent Application No. 63 / 111,766, filed November 10, 2020, U.S. Provisional Patent Application No. 63 / 113,464, filed November 13, 2020, and U.S. Provisional Patent Application No. 63 / 114,120, filed November 16, 2020, the disclosures of each of which are incorporated herein in their entireties.
[0002] The present invention relates to video data analysis, and more particularly to information transfer between video domains. [Background technology]
[0003] Videos may be labeled using a machine learning system trained on labeled training data, where the training data is labeled according to a first domain, but when such a trained model is applied to a different, unlabeled domain, performance may degrade due to domain differences. Summary of the Invention
[0004] The video method includes extracting features of a first modality and a second modality from a first labeled training data set in a first domain and a second unlabeled training data set in a second domain, and a video analytics model is trained using contrastive learning on the extracted features including optimizing a loss function that includes a cross-domain regularizer and a cross-modality regularizer.
[0005] The video method includes extracting features of a first modality and a second modality from a first labeled training data set in a first domain associated with videos taken from a first viewpoint and a second unlabeled training data set in a second domain associated with videos taken from a second, different viewpoint. A video analytics model is trained using contrastive learning on the extracted features. Training the video analytics model includes using the video analytics model to generate pseudo labels for the unlabeled training data set and optimize a loss function including a cross-domain regularizer and a cross-modality regularizer that compare features of different cue types in the same domain.
[0006] The video system includes a hardware processor and a memory that stores a computer program, which when executed by the hardware processor, causes the hardware processor to extract features of a first modality and a second modality from a first labeled training data set in a first domain and a second unlabeled training data set in a second domain, and to train a video analytics model using contrastive learning on the extracted features, including optimizing a loss function that includes a cross-domain regularizer and a cross-modality regularizer.
[0007] These and other features and advantages will become apparent from the following detailed description of exemplary embodiments, which is to be read in conjunction with the accompanying drawings.
[0008] In the present disclosure, preferred embodiments are described in detail with reference to the following drawings, as described below. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram comparing videos of scenes obtained in different domains according to one embodiment of the present invention.
[0010] [Diagram 2] FIG. 2 is a block / flow diagram of a method for training a video analytics model using a combination of labeled and unlabeled training data according to one embodiment of the present invention.
[0011] [Diagram 3] FIG. 3 is a block / flow diagram of a method for analyzing and responding to video information using a model trained using a combination of labeled and unlabeled training data, according to one embodiment of the present invention.
[0012] [Figure 4] FIG. 4 is a block diagram of a computing device capable of training a video analytics model and performing video analytics using the trained model, according to one embodiment of the present invention.
[0013] [Diagram 5] FIG. 5 is a block diagram of a computer program for training a video analytics model using a combination of labeled and unlabeled training data, according to one embodiment of the present invention.
[0014] [Figure 6] FIG. 6 is a diagram illustrating the architecture of a neural network according to one embodiment of the present invention.
[0015] [Figure 7] FIG. 7 is a diagram illustrating a deep neural network architecture according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Information from labeled source training data in a first domain can be transferred to unlabeled training data in a second domain. Downstream video analysis can be performed in both domains without laborious annotation in the second domain. In this way, an existing corpus of training domain (e.g., third-person perspective videos) in the first domain can be used to train video analysis systems in domains such as first-person perspective videos, unmanned aerial videos, and unmanned ground vehicles, where training data is not easily acquired and annotated. This information transfer can be performed using unsupervised contrastive learning.
[0017] Video analytics deals with complex background information when continuously and dynamically acquiring video frames. For example, camera motion, body motion, and diverse backgrounds can complicate video analytics. As a result, it is difficult to learn effective feature representations for video analytics. When changing from one domain to another, the behavior and appearance of the background changes significantly, making it difficult for trained machine learning systems to handle the new domain. However, multiple cues can be extracted from the video to enhance the feature representation for information transfer in domain adaptation.
[0018] Referring now to Figure 1, a comparative example of different visual domains is shown. A single scene 102 is viewed from three different locations. In the first-person perspective 106, a person 104 collects video information from his or her own perspective. This can be done, for example, using a wearable video camera or a handheld electronic device. The first-person perspective 106 is affected by the movement of the person 104, whether by intentional movement around the scene 102 or by unconscious movements of the person's body.
[0019] In the third person perspective 110, a fixed video camera 108 (e.g., a security camera) may capture video data from an elevated position. This allows the third person perspective 110 to be given a perspective view of the scene 102, providing views from above and from the side. Furthermore, because the video camera 108 is fixed in place, the third person perspective 110 may not include movement relative to the scene 102.
[0020] A top-down perspective 114 may involve an aerial camera mounted on a manned or unmanned aircraft 112, providing an overhead view of the scene 102. The aircraft 112 may be far away from the scene 102 and may be moving relative to the scene 102.
[0021] In each of these cases, the manner in which the video data is captured, as well as the position and orientation of the video camera, yields substantially different information about the captured scene 102. As such, a machine learning system trained on data captured in one domain may not recognize video data captured in a second domain, even if the second domain data was captured from the exact same scene.
[0022] The captured video content is annotated using appearance and motion cues extracted, for example, from raw images and optical flow, respectively. These cues can be used to extract information about the video, such as recognizing actions by objects in the scene 102. Multiple cues may be bridged using unsupervised control learning, so that cues are first learned from video data in a first domain and then correlated with each other to improve the overall performance of the video analysis task.
[0023] In a given video, either appearance cues or motion cues can lead to the same output from a video analysis task. That is, for example, action recognition can be based on appearance or motion. The features extracted from these two cues are similar when projecting the features into a joint latent space. For example, if the action in the video is "running", then the appearance cues should also map to "running" features. For example, if the appearance cues show a person putting one foot on a basketball court, then the motion cues will recognize the person's movement. In contrast, when comparing this video with another different video, with different content or action classes, the features extracted from the appearance cues or motion cues will also be different. So, in a given video, the appearance cues and motion cues should map to similar features in a shared latent space, but these features may be significantly different from the features seen in another video. This property can be used as an unsupervised objective for contrastive learning.
[0024] Contrastive learning allows for the selection of positive and negative samples within a mini-batch and contrasting features across domains or cue types.
number
number
number
number
[0025] Two types of contrastive loss functions can be used. The first involves a cross-type loss, which considers each type as one viewpoint. Video features from both the source and target domains are contrasted based on whether the features are extracted from the same video or not. So, for a given video, one positive pair is F a and F m become.
[0026] The second contrastive loss function is the cross-domain loss, which contrasts each type of feature from different domains. Since action labels are not available in the target domain, pseudo-labels are generated to determine positive and negative samples for the target video. The labels are generated by the model during training. For example, given the predictions of appearance and motion classifiers, those predictions can be averaged to provide the final prediction. In some cases, several training epochs can be run before starting the pseudo-labeling process, and the classifier can undergo some training before being used.
[0027] Therefore, the source video V s and action label Y s Given a source dataset containing V, the action recognition model s The target video V is a domain different from the domain of t For example, a two-stream machine learning model implemented using a neural network architecture can be used. The model takes as input the appearance and flow information of the images in the video and generates appearance features F a and motion feature F m output four different feature spaces
number
[0028] Two contrastive loss functions can be used to regularize the features. First, we treat each type of video as a viewpoint and extract appearance and flow features from the source or target video. Multiple viewpoints are contrasted based on whether the features come from the same video or not, making cross-type features of the same video closer to each other in the embedding space than features extracted from different videos. Second, we treat features of the same type but in different domains as a contrastive loss function.
number
[0029] Each cue type maintains its own feature characteristics and can complement each other, especially for video analysis tasks such as action recognition.
number
number
number
number
number
number
[0030] To learn cross-type correspondences, we use a similar loss function
number
number
number
[0031] In each of the source and target domains,
number
[0032] In addition to cross-type regularization, the interactions among the four feature spaces are further exploited using cross-domain sample contrastive learning objectives. Take appearance cues as an example, features
number
[0033] Given source and target features that combine both types, the loss function is defined as:
number
number
number
number
[0034] Regarding cross-domain feature regularization, the additional projection heads have no impact on the model's performance and can be omitted. The objective function moves features with the same label closer to each other in the embedding space.
[0035] The loss function above can be incorporated as follows:
number
number
number
number
number
[0036] For each training iteration, a video set V s and V t Instead of computing all features from the memory, we use
number
number
number
number
[0037]
[0023] Referring now to Figure 2, a method for training a video analytics model using contrastive training is shown. Block 202 receives an input video and generates motion information from the video. For example, block 202 identifies an object in a video frame and compares the location of the detected object to a similar object in a previous or subsequent frame. In some cases, this motion information is provided as part of a video set. The videos include labeled source videos and unlabeled target videos.
[0038] Block 204 extracts appearance features from the source and target videos, for example using an appearance feature extraction model. Block 206 extracts motion features from the source and target videos, for example using a motion feature extraction model. Although appearance and motion features are specifically shown, it should be understood that any suitable feature set may be used instead.
[0039] Block 208 generates pseudo labels for the target video, which provides labels that can be used to compare with videos of different domains with similar labels. Block 210 determines a motion loss for the source video, and block 212 determines a motion loss for the target video. Block 214 determines a cross-domain loss to contrast similar features of videos of different domains. Block 216 determines a cross-entropy loss. Block 218 updates the model parameters of the appearance convolutional neural network (CNN) and the motion CNN with a combination of the source motion loss, the target motion loss, the domain loss, and the cross-entropy loss.
[0040] Now referring to FIG. 3, there is shown a method for performing video analysis. Block 302 trains a model using a set of training data. The set of training data includes labeled data from a first domain and unlabeled data from a second domain. As described in detail above, the training uses contrastive learning to train the model to embed videos into a latent space, where similarly labeled videos from different domains are placed near each other, and a given viewpoint and a different viewpoint are placed near each other. In this way, training data from an unlabeled domain can be used without the time-consuming process of labeling the data.
[0041] During runtime, block 304 analyzes new data using the trained model. For example, new video data is provided and the video data is labeled. Block 306 performs a responsive action based on the determined label. For example, motion recognition can be used in surveillance and security applications to recognize anomalous activity, such as when a person goes somewhere they are not allowed to go or touches something they are not authorized to touch. Motion recognition can also be used in smart home applications where gestures can be used to control smart home devices. Motion recognition can also be used in healthcare applications where patient interactions with treatment equipment and medication usage can be monitored. Motion recognition can also be used in sports analytics applications where player actions can be recognized and automatically analyzed.
[0042] 4 is a block diagram illustrating an exemplary computing device 400 in accordance with one embodiment of the present invention, configured to identify a top-down parametric representation of an indoor scene and provide navigation through the scene.
[0043] Computing device 400 may be embodied in any type of computing or computer device capable of performing the functions described herein, including, but not limited to, a computer, a server, a rack-based server, a blade server, a workstation, a desktop computer, a laptop computer, a notebook computer, a tablet computer, a mobile computing device, a wearable computing device, a network appliance, a web appliance, a distributed computing system, a processor-based system, and / or a consumer electronics device. Additionally or alternatively, computing device 400 may be embodied in one or more computational sleds, memory sleds or other racks, sleds, computational chassis, or other components of a physically distributed computing device.
[0044] 4, computing device 400 illustratively includes a processor 410, an input / output subsystem 420, a memory 430, a data storage device 440, a communication subsystem 450, and / or other components and devices typically found in a server or similar computing device. Computing device 400 may, in other embodiments, include other or additional components, such as components typically found in a server computer (e.g., various input / output devices). Furthermore, in some embodiments, one or more of the illustrative components may be incorporated in or form part of another component. For example, memory 430, or portions thereof, may be incorporated in processor 410 in some embodiments.
[0045] Processor 410 may be embodied with any type of processor capable of performing the functions described herein, including a single processor, multiple processors, a central processing unit (CPU), a graphics processing unit (GPU), a single or multi-core processor, a digital signal processor, a microcontroller or other processor or processing / control circuitry.
[0046] Memory 430 may be embodied with any type of volatile or non-volatile memory or data storage device capable of performing the functions described herein. In operation, memory 430 may store various data and software used during operation of computing device 400, such as an operating system, applications, programs, libraries, and drivers. Memory 430 is communicatively coupled to processor 410 via I / O subsystem 420, which is embodied with circuits and / or components that facilitate input / output operations with processor 410, memory 430, and other components of computing device 400. For example, I / O subsystem 420 may be embodied with or include a memory controller hub, an input / output control hub, a platform controller hub, an integrated control circuit, a firmware device, communication links (e.g., point-to-point links, bus links, wires, cables, light guides, printed circuit board traces, etc.), and / or other components and subsystems that facilitate input / output operations. In some embodiments, the I / O subsystem 420 may form part of a system on a chip (SOC) and may be integrated with the processor 410, memory 430, and other components of the computing device 400 on a single integrated circuit chip.
[0047] The data storage device 440 may be embodied with any type of device or devices configured for short-term or long-term storage of data, such as, for example, memory devices and circuits, memory cards, hard disk drives, solid state drives, or other data storage devices. The data storage device 440 may store, for example, program code 440A for training a video analytics model using labeled and unlabeled training data, and program code 440B for performing video analytics using the trained model. The communications subsystem 450 of the computing device 400 may be embodied with any network interface controller or other communications circuitry, device, or collection thereof that enables communications between the computing device 400 and other remote devices over a network. The communications subsystem 450 may be configured to perform such communications using any one or more communications technologies (e.g., wired or wireless communications) and associated protocols (e.g., Ethernet, InfiniBand, Bluetooth, Wi-Fi, WiMAX, etc.).
[0048] As shown, computing device 400 may include one or more peripheral devices 460. Peripheral devices 460 may include any number of additional input / output devices, interface devices, and / or other peripheral devices. For example, in some embodiments, peripheral devices 460 may include a display, a touch screen, graphics circuitry, a keyboard, a mouse, a speaker system, a microphone, a network interface, and / or other input / output devices, interface devices, video capture devices, and / or peripherals.
[0049] Of course, computing device 400 may include other elements (not shown) or omit certain elements, as would readily occur to one of ordinary skill in the art. For example, computing device 400 may include various other sensors, input devices, and / or output devices, depending on the particular implementation, as would be readily understood by one of ordinary skill in the art. For example, various types of wireless and / or wired input and / or output devices may be utilized. Additionally, various configurations of additional processors, controllers, memory, and the like may be utilized. These and other variations of processing system 400 will be readily apparent to those of ordinary skill in the art in view of the teachings of the invention provided herein.
[0050] These and other variations of the hardware processor subsystem are contemplated by embodiments of the present invention.
[0051]
[0033] Referring now to Figure 5, additional details regarding model training 440A are shown. The model includes an appearance CNN 502 that processes appearance features of an input video, and a motion CNN 504 that processes motion features of the input video. Contrastive learning 510 trains the appearance CNN 502 and the motion CNN 504 using labeled training data 506 in a first domain and unlabeled training data 508 in a second domain.
[0052] The model is implemented using an artificial neural network architecture. A CNN processes information using a sliding "window" over the input. Each neuron in the CNN layer has a respective "filter" that is applied to each window position. Each filter is trained, for example, to process a respective pattern in the input. CNNs are particularly useful for processing images where local relationships between individual pixels are captured by the filter as it passes through various regions of the image. The output of the neurons in the CNN layer includes a set of values that represent whether or not the respective filter matched each set of values in the sliding window.
[0053] Referring now to FIG. 6, an exemplary neural network architecture is shown. In a hierarchical neural network, multiple nodes are arranged in layers. A simple neural network has an input layer 620 of source nodes 622 and a single computational layer 630 with one or more computational nodes 632 that also function as output nodes. The computational layer 630 has one node 632 for each category into which an input example may be classified. The input layer 620 has a number of source nodes 622 equal to the number of data values 612 in the input data 610. The data values 612 of the input data 610 may be represented as a column vector. Each computational node 630 in the computational layer generates a linear combination of weight values from the input data 610 provided to the input node 620 and applies a differentiable nonlinear activation function to the sum. A simple neural network can perform classification of linearly separable examples (such as patterns).
[0054] Now referring to FIG. 7, the architecture of a deep neural network is shown. A deep neural network, also called a multi-layer perceptron, has an input layer 620 of source nodes 622, one or more computational layers 630 containing one or more computational nodes 632, and an output layer 640. The output layer 640 has one output node 642 for each category into which an input example can be classified. The input layer 620 has a number of source nodes 622 equal to the number of data values 612 in the input data 610. The computational nodes 632 of the computational layer 630 are between the source nodes 622 and the output nodes 642, and are also referred to as hidden layers because they are not directly observed. Each node 632, 642 of the computational layer generates a linear combination of weight values from the values output by the nodes of the previous layer and applies a differentiable nonlinear activation function to the sum. The weights applied to the values from each node of the previous layer can be, for example, w1, w2, w n-1 , w nThe output layer provides the response of the entire network to the input data. Deep neural networks may be fully connected, with each node in a computational layer connecting to every other node in the previous layer. If a link between nodes is missing, the network is considered to be partially connected.
[0055] Training a deep neural network involves two phases: a forward phase, during which the weights of each node are fixed and inputs are propagated through the network, and a backward phase, during which error values are propagated backwards through the network.
[0056] Computational nodes 632 in one or more computational (hidden) layers 630 perform nonlinear transformations on the input data 612 that generate a feature space. The feature space of classes or categories is more easily separable than the original data space.
[0057] The neural network architectures of Figures 6 and 7 may be used, for example, to implement any of the models shown in Figure 5. To train the neural network, training data may be divided into a training set and a test set. The training data includes pairs of inputs and known outputs. During training, the inputs of the training set are fed to the neural network using feed-forward propagation. After each input, the output of the neural network is compared to the respective known output. The discrepancy between the output of the neural network and the known output associated with that particular input is used to generate an error value. The error value is back-propagated through the neural network, after which the weight values of the neural network are updated. This process continues until there are no more pairs in the training set.
[0058] The embodiments described herein may be implemented entirely in hardware, entirely in software, or contain both hardware and software elements, in a preferred embodiment, the invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
[0059] An embodiment may include a computer program product accessible from a computer usable or computer readable medium that provides program code for use by or in connection with a computer or any instruction execution system. A computer usable or computer readable medium may include any device that stores, conveys, propagates, or transfers a program for use by or in connection with an instruction execution system, device, or apparatus. The medium may be a magnetic, optical, electronic, electromagnetic, infrared, or semiconductor system (or device or apparatus), or a propagation medium. The medium may include computer readable media such as semiconductor or solid state memory, magnetic tape, removable computer diskettes, random access memory (RAM), read-only memory (ROM), rigid magnetic disk, and optical disk.
[0060] Each computer program is stored in a machine-readable storage medium or device (e.g., a program memory or a magnetic disk) that can be read by a general-purpose or special-purpose programmable computer. The computer program is read from the storage medium or device by a computer that executes the procedures described herein for configuring and controlling operations of the computer. The system of the present invention also contemplates a computer-readable storage medium containing a computer program configured to cause a computer to operate in a specific and predefined manner to perform the functions described herein.
[0061] A data processing system suitable for storing and / or executing program code may include at least one processor coupled directly or indirectly to memory elements via a system bus. The memory elements may include local memory, bulk memory devices, and cache memories for temporarily storing at least some program code used during the actual execution of the program code to reduce the number of times code is retrieved from bulk memory devices during execution of a process. Input / output or I / O devices (including but not limited to keyboards, displays, pointing devices, etc.) may be connected to the system either directly or through I / O controllers.
[0062] Network adapters may be coupled with the data processing system to enable the system to be coupled to other data processing systems or remote printers or memory devices through private or public networks. Modems, cable modems and Ethernet cards are just a few of the currently available types of network adapters.
[0063] As used herein, the term "hardware processor subsystem" or "hardware processor" may refer to a processor, memory, software, or combination thereof that cooperate to perform one or more specific tasks. In useful embodiments, the hardware processor subsystem may include one or more data processing elements (e.g., logic circuits, processing circuits, instruction execution units, etc.). The one or more data processing elements may include a central processing unit, a graphics processing unit, and / or individual processors or computing element-based controllers (e.g., logic gates, etc.). The hardware processor subsystem may include one or more on-board memories (e.g., caches, dedicated memory arrays, read-only memories, etc.). In any embodiment, the hardware processor subsystem may include one or more memories that may be on-board or off-board, or may be dedicated for use with the hardware processor subsystem (e.g., ROM, RAM, Basic Input / Output System (BIOS), etc.).
[0064] In any embodiment, the hardware processor subsystem may include and execute one or more software elements, which may include an operating system and / or one or more applications and / or specific code to achieve a particular result.
[0065] In other embodiments, the hardware processor subsystem may include dedicated circuitry to perform one or more electronic processing functions to achieve a specified result. Such circuitry may include one or more application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), and / or programmable logic arrays (PLAs).
[0066] These and other variations of the hardware processor subsystem are also contemplated by embodiments of the present invention.
[0067] References herein to "one embodiment" or "one embodiment," as well as other variations, mean that a particular feature, configuration, characteristic, etc. described in connection with an embodiment is included in at least one embodiment of the invention. Thus, appearances of the phrases "in one embodiment" or "in one embodiment," as well as any other variations appearing in various places throughout this specification, are not necessarily all referring to the same embodiment. However, it should be understood that features of one or more embodiments may be combined, given the teachings of the invention provided herein.
[0068] For example, the use of any of "A / B," "A and / or B," and "at least one of A and B" should be understood to be intended to include the selection of only the first listed option (A), the selection of only the second listed option (B), or the selection of both options (A and B). By way of further example, in the case of "A, B, and / or C" and "at least one of A, B, and C," such language is intended to include the selection of only the first listed option (A), the selection of only the second listed option (B), the selection of only the third listed option (C), the selection of only the first and second listed options (A and B), the selection of only the first and third listed options (A and C), the selection of only the second and third listed options (B and C), or the selection of all three options (A, B, and C). The above examples may be expanded depending on the number of items listed, as would be readily apparent to one of ordinary skill in the art.
[0069] The foregoing should be understood in all respects as illustrative and exemplary, and not restrictive, and the scope of the invention disclosed herein should be determined not from the detailed description, but from the claims which are to be interpreted in accordance with the broadest possible interpretation permitted by the Patent Law. It should be understood that the embodiments shown and described herein are merely illustrative of the principles of the invention, and that various modifications may be made by those skilled in the art without departing from the scope and spirit of the invention. Various other feature combinations may be implemented by those skilled in the art without departing from the scope and spirit of the invention. Although aspects of the invention have been described above with the fine detail and particularity required by the Patent Law, the scope of the claims which are sought to be protected by Letters Patent are set forth in the appended claims.
Claims
1. 1. A computer-implemented video method comprising: Extracting features of a first modality and a second modality from a first labeled training data set in a first domain and a second unlabeled training data set in a second domain (204 / 206); training (218) a video analytics model using contrastive learning on the extracted features, including optimizing a loss function including a cross-domain regularizer and a cross-modality regularizer; having training the video analytics model includes generating pseudo-labels for the unlabeled training data set; the cross-domain regularizer compares first training data from the first training data set and second training data from the second training data set, the second training data having pseudo-labels that match labels of the first training data; A computer-implemented method, wherein the cross-modality regularizer compares features of different cue types in the same domain.
2. The computer-implemented method of claim 1 , wherein the pseudo labels are generated by the video analytics model.
3. The computer-implemented method of claim 1 , wherein the different cue types include appearance features and motion features.
4. 2. The computer-implemented method of claim 1, wherein the first domain relates to video obtained from a first viewpoint and the second domain relates to video obtained from a second, different viewpoint.
5. V s Let V be the set of videos in the source domain, and V t Let Y be the set of videos in the target domain, s Let be the label of the source video, [0010] Let be the pseudo label of the target video, [0025] Let be the cross-entropy loss of the source video, [0030] Let be the cross-modality loss term of the source video, [0045] Let be the cross-modality loss term of the target video, [0050] is the cross-domain loss term and λ is the balance parameter. The loss function is [006] 2. The computer-implemented method of claim 1, wherein:
6. The cross-domain loss term is [0070] It is expressed as [0080] is the similarity between features of the same modality and different domains for positive samples, [0097] 6. The computer-implemented method of claim 5, wherein: x is the similarity between features of the same modality and different domains for negative samples.
7. The cross-modality loss term for the source video is [0089] It is expressed as ##EQU00011## is the similarity between features of different modalities and the same domain for positive samples, ##EQU00012## 6. The computer-implemented method of claim 5, wherein: σ is a similarity between features of different modalities and the same domain for negative samples.
8. 1. A computer-implemented video method comprising: Extracting first and second modality features from a first labeled training data set in a first domain, related to videos taken from a first viewpoint, and a second unlabeled training data set in a second domain, related to videos taken from a second, different viewpoint (204 / 206); training (218) a video analytics model using contrastive learning on the extracted features; generating (208) pseudo-labels for the unlabeled training data set using the video analytics model; optimizing 218 a loss function that compares features of different cue types in the same domain, including a cross-domain regularizer and a cross-modality regularizer; having training the video analytics model includes generating pseudo-labels for the unlabeled training data set; the cross-domain regularizer compares first training data from the first training data set and second training data from the second training data set, the second training data having pseudo-labels that match labels of the first training data; A computer-implemented method, wherein the cross-modality regularizer compares features of different cue types in the same domain.
9. A hardware processor (410); When executed by the hardware processor, the hardware processor Extracting features of a first modality and a second modality from a first labeled training data set in a first domain and a second unlabeled training data set in a second domain (204 / 206); training (218) a video analytics model using contrastive learning on the extracted features, including optimizing a loss function including a cross-domain regularizer and a cross-modality regularizer; A memory (430) for storing a computer program for executing having The computer program further causes the hardware processor to generate pseudo labels for the unlabeled training data set; the cross-domain regularizer compares first training data from the first training data set and second training data from the second training data set, the second training data having pseudo-labels that match labels of the first training data; The cross-modality regularizer compares features of different cue types in the same domain.
10. The system of claim 9 , wherein the pseudo labels are generated by a video analytics model.
11. The system of claim 9 , wherein the different cue types include appearance features and motion features.
12. V s Let V be the set of videos in the source domain, and V t Let Y be the set of videos in the target domain, s Let be the label of the source video, ##EQU00013## Let be the pseudo label of the target video, ##EQU14## Let be the cross-entropy loss of the source video, ##EQU00015## Let be the cross-modality loss term of the source video, ##EQU00016## Let be the cross-modality loss term of the target video, ##EQU00017## is the cross-domain loss term and λ is the balance parameter. The loss function is [0018] The system of claim 9 , wherein:
13. The cross-domain loss term is [0019] It is expressed as [0020] is the similarity between features of the same modality and different domains for positive samples, ##EQU00021## The system of claim 12 , wherein x is a similarity between features of the same modality and different domains for negative samples.
14. The cross-modality loss term for the source video is [0022] It is expressed as [0023] is the similarity between features of different modalities and the same domain for positive samples, ##EQU00024## The system of claim 12 , wherein x is a similarity between features of different modalities and the same domain for negative samples.
Citation Information
Patent Citations
Image processing method and device, processor, electronic equipment and storage medium
CN111598124A
Systems and methods for domain adaptation in neural networks using cross-domain batch normalization
WO2020091856A1
