Temporal transition regularization method and system for video scene graph generation

By creating a temporal transformation matrix and frame relationship regularization based on image categories and context, the performance degradation problem of scene graph generation algorithms in video dynamic visual relationship processing in the existing technology is solved, achieving more powerful temporal regularization and accurate Dynamic image prediction.

CN118015522BActive Publication Date: 2024-09-24GUANGDONG UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410336432.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-22
Publication Date
2024-09-24
Estimated Expiration
2044-03-22

AI Technical Summary

Technical Problem

The performance of existing scene graph generation algorithms decreases significantly when reasoning about dynamic visual relationships in videos, mainly due to ignoring the interaction structural patterns in the semantic space and the temporal transformation differences between different granularities, resulting in insufficient regularization accuracy.

Method used

By creating a temporal transformation matrix based on image categories and context, combining the VidSGG algorithm to predict the subject-object relationship of video frames, and regularizing the temporal transformation matrix and frame relationships, capturing the transition probability from one frame to the next, providing a powerful and Accurate temporal regularization.

Benefits of technology

It improves the performance of scene graph generation in processing dynamic visual relationships, provides stronger and finer-grained temporal regularization, and improves the accuracy of prediction results for the next frame of dynamic images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

The present invention relates to the fields of computer image processing and machine learning, and more specifically, to a temporal transition regularization method and system for video scene graph generation. The present invention creates a transformation matrix conditioned on the category and context of an image to capture statistical correlations based on each category and fine-grained correlations based on each context image, and explicitly incorporates these correlations into the current VidSGG algorithm to provide stronger and more fine-grained regularization. The present invention focuses on modeling and utilizing temporal correlations in videos to improve the performance of artificial intelligence in semantic analysis of video content. In high-risk areas, such as autonomous driving and medical diagnosis, the present invention can provide more accurate scene graph generation, which helps to improve the credibility of decision-making.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of video scene graph generation, and more particularly, to a temporal transition regularization method and system for video scene graph generation. Background Art

[0002] With the continuous advancement of science and technology, video imaging has become an indispensable part of modern society. Computer vision has also gradually made great contributions to the imaging industry, including object recognition and detection in the fields of autonomous driving, intelligent monitoring and industrial inspection. For example, users can use semantic tags to accurately search for images and videos.

[0003] In the field of computer vision, scene graph generation technology has made significant progress and made important contributions to accurately representing the semantics of the visual content of the overall scene. The contributions of scene graph generation include improving semantic analysis performance and enhancing multimedia retrieval. Scene graph generation technology allows computers to better understand the semantic content in images. By representing objects and relationships in images as structured data, computers can more accurately infer events and semantic information occurring in images, which is crucial for improving the performance of tasks such as image classification, object detection, and scene segmentation; Enhanced multimedia retrieval: Scene graph generation technology can improve multimedia retrieval tasks and make them more intelligent. For example, when searching for specific scenes or objects in an image database, scene graph generation can provide more accurate matching results, thereby improving the accuracy of retrieval. Despite significant progress in static images, the current leading scene graph generation algorithm has significantly reduced performance when reasoning about dynamic visual relationships in videos, because it also requires in-depth exploration of the temporal consistency and transition correlation between different images to solve the task of generating a scene graph for a given video.

[0004] Existing algorithms mainly use implicit learning in feature space to capture these correlations, and ignore the structural patterns of interactions in semantic space, so they can only provide weak regularization for training. Moreover, they only combine the statistical distribution of temporal correlations in the entire dataset, but ignore the obvious differences in temporal transformations between different granularities. Therefore, these methods may provide inaccurate regularization for tail relations, resulting in suboptimal performance. Summary of the invention

[0005] In order to overcome the problem that the current scene graph generation algorithm described in the above-mentioned prior art has significantly reduced performance when reasoning about dynamic visual relationships in a video, the present invention provides a temporal transition regularization method and system for video scene graph generation.

[0006] The present invention aims to solve the above technical problems at least to a certain extent.

[0007] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0008] The temporal transition regularization method for video scene graph generation includes the following steps:

[0009] S1: Get video;

[0010] S2: Creating a temporal transformation matrix based on specific images and specific categories in the video;

[0011] S3: Use the VidSGG algorithm to predict the subject-object relationship of frames in the video;

[0012] S4: Regularizing the subject-object relationship of the time transformation matrix of the specific image and the specific category and the frame in the video to obtain a regularization term, and the regularization term is used to generate a video scene graph.

[0013] In step S2, the creating of the time transformation matrix based on the video includes creating a time transformation matrix of a specific category and creating a time transformation matrix of a specific image.

[0014] The step of creating a time conversion matrix for a specific category includes the following steps:

[0015] S2.1: Compute contextual embeddings for specific categories:

[0016]

[0017] In the formula, is the context embedding corresponding to the kth subject and object in the tth frame of the video, φ() is the first fully connected layer, s(k,t) and o(k,t) are the subject category and object category corresponding to the kth subject and object in the tth frame of the video, the subject and object include subject and object, the subject is the implementer, the object is the implemented object, and the specific category is a specific subject and object type;

[0018] S2.2: Create a category-specific temporal transition matrix based on the category-specific contextual embeddings:

[0019]

[0020] In the formula, is the time transformation matrix of a specific category of the kth subject and object in the tth frame of the video, f is the fully connected layer implementation function, is the relational feature of the context embedding corresponding to the kth subject and object in the tth frame in the video.

[0021] It also includes the L2 loss function for calculating the temporal transformation matrix of a specific class:

[0022]

[0023] Where, T s(k,t),o(k,t)is the a priori specific category time transformation matrix of the kth subject and object in the tth frame in the video, is the L2 loss function of the time transformation matrix of a specific category, K(t) is all the subjects and objects in the tth frame of the video, and T is the number of all frames of the video.

[0024] The step of creating a time conversion matrix for a specific image includes:

[0025] S2.11: Generate image-specific contextual embeddings:

[0026]

[0027] In the formula, is the context embedding of a specific image in the tth frame in the video, ψ() is the second fully connected layer, and v t is the global visual representation in the tth frame, and a specific image is a specific image frame;

[0028] S2.12: Construct an image-specific temporal transformation matrix based on its contextual embedding:

[0029]

[0030] In the formula, is the time transformation matrix of the specific image of the kth subject and object in the tth frame in the video.

[0031] It also includes the L2 loss function for calculating the temporal transformation matrix of a specific image:

[0032]

[0033] Where, T t k is the prior time transformation matrix of the kth subject and object of a specific image in the tth frame in the video.

[0034] Step S4, regularizing the subject-object relationship of the time transformation matrix and the frames in the video, and the obtained regularization term includes regularizing the relationship between the kth subject and the object in the tth frame in the video with the time transformation matrix of the specific image and the time transformation matrix of the specific category respectively.

[0035] The relationship between the kth subject and the object in the tth frame in the video is regularized with a time transformation matrix of a specific category, including:

[0036]

[0037] In the formula, is the relationship between the kth subject and object in the tth frame in the video, is the loss function of the regularization method.

[0038] The relationship between the kth subject and the object in the tth frame in the video and the time conversion matrix of the specific image are regularized, including:

[0039]

[0040] A temporal transition regularization system for video scene graph generation, applied to a temporal transition regularization method for video scene graph generation, comprising:

[0041] A video acquisition module, used to acquire videos;

[0042] A time conversion matrix creation module is used to create a time conversion matrix based on a specific image and a specific category in the video;

[0043] VidSGG algorithm prediction module, used to predict the subject-object relationship of video frames using VidSGG algorithm;

[0044] The regularization module is used to regularize the time transformation matrix of a specific image and a specific category and the subject-object relationship of the frame in the video to obtain a regularization term, and the regularization term is used to generate a video scene graph.

[0045] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:

[0046] The present invention creates a temporal transition matrix conditioned on the category and context of the image. The temporal transition matrix captures the transition probabilities between different states (or nodes in the scene graph) from one frame to the next, reflects temporal consistency and transition correlation, improves the performance of scene graph generation in processing dynamic visual relationships, and regularizes the prediction results in the next frame of the dynamic image to provide powerful and accurate temporal regularization. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A flow chart of the time transition regularization method for generating a video scene graph according to the present invention;

[0048] Figure 2 This is a flow chart of the time transition regularization method for generating a video scene graph described in this embodiment;

[0049] Figure 3 Visualizing the predicate time matrix described in this embodiment;

[0050] Figure 4 Schematic diagram of a temporal transition regularization system for video scene graph generation according to the present invention. DETAILED DESCRIPTION

[0051] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;

[0052] In order to better illustrate the present embodiment, some parts in the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product;

[0053] It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.

[0054] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0055] Example 1

[0056] Temporal transition regularization methods for video scene graph generation, such as Figure 1 As shown, the following steps are included:

[0057] S1: Get video;

[0058] S2: Creating a temporal transformation matrix based on specific images and specific categories in the video;

[0059] S3: Use the VidSGG algorithm to predict the subject-object relationship of frames in the video;

[0060] S4: Regularizing the subject-object relationship of the time transformation matrix of the specific image and the specific category and the frame in the video to obtain a regularization term, and the regularization term is used to generate a video scene graph.

[0061] In the specific implementation process, Figure 2 As shown, the largest video scene graph is selected to generate a dataset, including specific images and specific categories, and then a category-specific and image-specific temporal transformation matrix is ​​created, and the subject-object relationship of the temporal transformation matrix and the frames in the video is regularized to obtain a regularization term, and the obtained regularization term is merged into the current VidSGG algorithm. The present invention creates category-specific and image-specific temporal transformation matrices to capture statistical correlations based on each category and fine-grained correlations based on each context image, and merges these fine-grained correlations into the current VidSGG algorithm to provide stronger and more fine-grained regularization.

[0062] Example 2

[0063] This embodiment further discloses the following contents based on the embodiment 1:

[0064] like Figure 3As shown in the figure, the present invention visualizes the time transfer matrix of all predicates. The high values ​​on the main diagonal verify the consistent time correlation. For example, a person holding food is often eating, and the time conversion varies with different predicates. Therefore, it is difficult to provide accurate regularization for learning time correlation using only the statistical distribution of predicates. It is proposed to learn multi-granularity time correlations and incorporate these correlations into the current VidSGG algorithm in an explicit way to provide stronger and finer-grained regularization.

[0065] In step S2, the creating of the time transformation matrix based on the video includes creating a time transformation matrix of a specific category and creating a time transformation matrix of a specific image.

[0066] In order to learn the temporal correlations between pairs of different object categories, a category-specific temporal transition matrix is ​​created and the transition probability is predicted based on the category-specific context and relation representation, including the following steps:

[0067] S2.1: Given the predicted subject and object labels, generate a category-specific contextual embedding for the kth subject-object pair in the tth frame. Compute the category-specific contextual embedding:

[0068]

[0069] In the formula, is the context embedding corresponding to the kth subject and object in the tth frame of the video, φ() is the first fully connected layer, s(k,t) and o(k,t) are the subject category and object category corresponding to the kth subject and object in the tth frame of the video, the subject and object include subject and object, the subject is the implementer, the object is the implemented object, and the specific category is a specific subject and object type;

[0070] S2.2: Create a category-specific temporal transformation matrix based on the category-specific context embeddings and the corresponding relation features:

[0071]

[0072] In the formula, is the time transformation matrix of a specific category of the kth subject and object in the tth frame of the video, f is the fully connected layer implementation function, is the contextual embedding relational feature corresponding to the kth subject and object in the tth frame of the video, φ(·) and f s (k,t), o(k,t)(·) are implemented by fully connected layers respectively.

[0073] Take the relationship between "man" and "cup" as an example (assuming the indices are i and j respectively), if their relationship contains holding in the current frame (assuming the index is x), then the corresponding count number N xIncrease by 1. If the relationship between this pair in the next frame contains drinking (assuming the index is y), then T[x, y] will increase by 1. Finally, between person and cup, the temporal transfer probability of the predicate is calculated as

[0074] T i,j [x,y]=T i,j [x,y] / N x ,x,y∈{1,...,C}

[0075] Construct the prior time transfer matrix T i,j , so that the temporal transfer probability of the predicate is averaged.

[0076] It also includes calculating the L2 loss function of the class-specific temporal transformation matrix to ensure the robustness of the learned class-specific knowledge:

[0077]

[0078] Where, T s(k,t),o(k,t) is the a priori specific category time transformation matrix of the kth subject and object in the tth frame in the video, is the L2 loss function of the time transformation matrix of a specific category, K(t) is all the subjects and objects in the tth frame of the video, and T is the number of all frames of the video.

[0079] Example 3

[0080] This embodiment further discloses the following contents based on Embodiments 1 and 2:

[0081] Compared with category-specific temporal knowledge, image-specific temporal knowledge provides more fine-grained temporal cues for inferring dynamic visual relations.

[0082] The method of creating a temporal transition matrix for a specific image and predicting transition probabilities based on image context and relationship representation includes:

[0083] S2.11: The model generates a corresponding image-specific context embedding based on the global visual representation in the tth frame in the video:

[0084]

[0085] In the formula, is the context embedding of a specific image in the tth frame in the video, ψ() is the second fully connected layer, which is implemented by a fully connected layer, and v t is the global visual representation in the tth frame generated by the detector;

[0086] S2.12: Construct the temporal transformation matrix of a specific image based on the context embedding of the specific image and the relational representation of the kth subject and object:

[0087]

[0088] In the formula, is the time transformation matrix of the specific image of the kth subject and object in the tth frame in the video, f(·) is implemented by a fully connected layer, and the specific image is a specific image frame.

[0089] Unlike category-specific temporal transformations, image-specific temporal transformations vary between different image frames. Therefore, this temporal transformation cannot be captured statistically. In order to provide stable and explicit guidance for learning these correlations, a temporal transfer matrix is ​​constructed for the kth subject-object pair in the tth frame of the video. The transition probability of each relation label is equally divided to construct the corresponding frame-specific temporal transfer matrix.

[0090]

[0091] where |r t k | indicates frame I t The total number of relationships of the kth subject-object pair in , assuming that the contribution of its own relationship and other relationships is equal, so the coefficients in the second and third terms are 0.5.

[0092] It also includes calculating the L2 loss function of the temporal transformation matrix of a specific image to ensure the robustness of the learned temporal knowledge of the specific image:

[0093]

[0094] Where, T t k is the prior time transformation matrix of the kth subject and object of a specific image in the tth frame in the video.

[0095] Step S4, the subject-object relationship of the temporal transformation matrix and the frames in the video is regularized, and the obtained regularization term includes the relationship between the kth subject and the object in the tth frame in the video, which is regularized with the temporal transformation matrix of the specific image and the temporal transformation matrix of the specific category respectively. Through this regularization, the model explicitly learns the temporal transformation correlation of the specific category and the specific image, and incorporates the temporal transformation correlation into the current VidSGG algorithm to provide powerful and accurate temporal regularization.

[0096] Different from the existing implicit exploration of temporal correlation, the present invention sets a category-specific regularization term to explicitly guide the learning of temporal transformation correlation conditioned on each category. The relationship between the kth subject and object in the tth frame of the video is regularized with the temporal transformation matrix of a specific category. Through this regularization, the model explicitly learns category-specific temporal transformation correlation, including:

[0097]

[0098] In the formula, is the relationship between the kth subject and object in the tth frame in the video, is the loss function of the regularization method.

[0099] Similar to category-specific temporal correlations, temporal correlations based on each context image are also crucial for identifying dynamic visual relationships in videos. Videos can provide more fine-grained temporal contexts. Therefore, image-specific regularization terms are set to explicitly guide the model to learn temporal transformation correlations conditioned on each context image. The relationship between the kth subject and object in the tth frame of the video is regularized with the temporal transformation matrix of a specific image. Through this regularization, the model explicitly learns image-specific temporal transformation correlations, including:

[0100]

[0101] In a specific implementation process, the temporal transition regularization method for video scene graph generation includes the following steps:

[0102] Step 1: Data preparation

[0103] This paper selects the largest video scene graph generation dataset, Action Genome (Ji et al. 2020), which contains 234, 253 annotated frames, covering 35 object classes (excluding people) and 26 relationship classes. These relationships are subdivided into three different types: attention, space, and connection, with 3, 6, and 17 categories respectively.

[0104] Step 2: Learning the time transition matrix

[0105] Based on the preprocessed data, category-specific and image-specific temporal transformation matrices are learned respectively. The category-specific matrices capture the temporal correlations between different objects in the same category, while the image-specific matrices consider the temporal dynamics between different objects in the same image. These matrices are obtained through supervised learning, and the cross-entropy loss function is used to optimize the model parameters.

[0106] Step 3: Model training

[0107] A neural network model is used as the basic architecture to integrate the learned time transformation matrix. Model training includes four main stages: forward propagation, loss calculation, back propagation, and parameter update. The time transformation matrix obtained in step 2 is added to the loss function as a regular term to enhance the temporal consistency of the model.

[0108] Step 4: Performance Evaluation,In order to evaluate the effectiveness of the temporal transition regularization method,,it is applied to the current leading VidSGG algorithms, including,STTran (Cong et al. 2021), TPI (Wang et al. 2022b), and APT (Li, Yang, and Xu 2022).,The temporal transition regularization method improves the R@10 of the leading,algorithm APT from 78.5% to 81.2%, 55.1% to 57.0%, and 25.7% to 27.1% on the three tasks,,an improvement of 2.7%, 1.9%, and 1.4%, respectively.

[0109] The proposed temporal transition regularization method improves the performance of APT on mR@50 from 25.6% to 30.5%, 14.6% to 18.6%, and 10.1% to 12.1% on the three tasks, with improvements of 4.9%, 4.0%, and 2.0%, respectively. Improvements are also achieved on the mR@10 and mR@20 indicators.

[0110] The temporal transition regularization method for video scene graph generation of the present invention can be applied to a variety of video content analysis tasks. The following are several specific application examples:

[0111] The present invention can be used for automatic generation of video summaries

[0112] The model trained using the temporal transition regularization method for video scene graph generation is able to identify key actions and events in the video and generate video summaries based on temporal correlations. This process helps users quickly understand the video content by identifying key nodes and edges in the video scene graph and converting them into summary text.

[0113] The present invention can be used for action recognition

[0114] Able to handle subtle transitions between actions.

[0115] The present invention can be used in video question answering system

[0116] The temporal transition regularization method for video scene graph generation can be integrated into a video question-answering system to provide accurate answers to complex questions by leveraging its deep understanding of the dynamic relationships between objects in the video. For example, the system can answer questions about events or interactions between objects that occurred at a specific time point in the video.

[0117] The present invention can be used for intelligent monitoring

[0118] In the field of security monitoring, the temporal transition regularization method for video scene graph generation can help identify abnormal behaviors or important events. The model analyzes temporal coherence and identifies behaviors that do not conform to normal patterns, thereby issuing timely alarms.

[0119] The present invention can be used for interactive video editing

[0120] The temporal transition regularization method for video scene graph generation can also be applied to interactive video editing software to assist users in quickly finding specific scenes or editing points in the video based on the statistical information of temporal transitions, thereby improving video editing efficiency.

[0121] Example 4

[0122] This embodiment further discloses the following contents based on Embodiments 1, 2 and 3:

[0123] like Figure 4 As shown, a temporal transition regularization system for video scene graph generation is applied to a temporal transition regularization method for video scene graph generation, comprising:

[0124] A video acquisition module, used to acquire videos;

[0125] A time conversion matrix creation module is used to create a time conversion matrix based on a specific image and a specific category in the video;

[0126] VidSGG algorithm prediction module, used to predict the subject-object relationship of video frames using VidSGG algorithm;

[0127] The regularization module is used to regularize the time transformation matrix of a specific image and a specific category and the subject-object relationship of the frame in the video to obtain a regularization term, and the regularization term is used to generate a video scene graph.

[0128] The same or similar reference numerals correspond to the same or similar parts;

[0129] The terms used in the drawings to describe positional relationships are only used for illustrative purposes and should not be construed as limiting this patent;

[0130] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A temporal transition regularization method for video scene graph generation, characterized in that: The following steps are involved: S1: Get video; S2: Creating a time conversion matrix based on a specific image and a specific category in the video, creating the time conversion matrix of the specific category, including the following steps: S2.1: Compute contextual embeddings for specific categories: In the formula, For the video The context embedding corresponding to the kth subject and object in the frame, is the first fully connected layer, and For the video The subject category and object category corresponding to the kth subject and object in the frame. The subject and object include subject and object. The subject is the implementer and the object is the implemented object. The specific category is a specific subject and object type. S2.2: Create a category-specific temporal transition matrix based on the category-specific contextual embeddings: In the formula, For the video The class-specific temporal transformation matrix of the kth subject and object in the frame, Implement the function for the fully connected layer, For the video The relational features of the contextual embedding corresponding to the k-th subject and object in the frame; S3: Use the VidSGG algorithm to predict the subject-object relationship of frames in the video; S4: Regularizing the subject-object relationship of the time transformation matrix of a specific image and a specific category and the frame in the video, including: The relationship between the kth subject and object in the frame is regularized with the temporal transformation matrix of a specific image and the temporal transformation matrix of a specific category, respectively, including: In the formula, For the video The relationship between the kth subject and object in the frame, For the video The relationship between the kth subject and object in the frame, is the regularized loss function, For the video All subjects and objects in the frame, T is the number of all frames in the video.

2. The temporal transition regularization method for video scene graph generation according to claim 1, characterized in that: It also includes the L2 loss function for calculating the temporal transformation matrix of a specific class: In the formula, For the video The a priori class-specific temporal transformation matrix of the kth subject and object in the frame, is the L2 loss function of the temporal transformation matrix for a specific category, For the video All subjects and objects in the frame, T is the number of all frames in the video.

3. The temporal transition regularization method for video scene graph generation according to claim 1, characterized in that: Create a temporal transformation matrix for a specific image, including: S2.11: Generate contextual embeddings for a specific image: In the formula, For the video contextual embeddings for specific images in a frame, is the second fully connected layer, For the The global visual representation in the frame, a specific image is a specific image frame; S2.12: Construct an image-specific temporal transformation matrix based on its contextual embedding: In the formula, For the video The temporal transformation matrix of a particular image of the kth subject or object in the frame.

4. The temporal transition regularization method for video scene graph generation according to claim 3, characterized in that: It also includes the L2 loss function for calculating the temporal transformation matrix of a specific image: In the formula, For the video The a priori temporal transformation matrix of the kth subject and object in a particular image in the frame.

5. The temporal transition regularization method for video scene graph generation according to claim 4, characterized in that: The video The relationship between the kth subject and object in the frame is regularized with the temporal transformation matrix of a specific image, including: 。 6. A temporal transition regularization system for video scene graph generation, characterized in that A temporal transition regularization method for video scene graph generation as claimed in any one of claims 1 to 5, comprising: A video acquisition module, used to acquire videos; A time conversion matrix creation module is used to create a time conversion matrix based on a specific image and a specific category in the video, and the time conversion matrix of the specific category is created, including the following steps: Compute contextual embeddings for a specific category: In the formula, For the video The context embedding corresponding to the kth subject and object in the frame, is the first fully connected layer, and For the video The subject category and object category corresponding to the kth subject and object in the frame. The subject and object include subject and object. The subject is the implementer and the object is the implemented object. The specific category is a specific subject and object type. Create a category-specific temporal transition matrix based on the category-specific context embeddings: In the formula, For the video The class-specific temporal transformation matrix of the kth subject and object in the frame, Implement the function for the fully connected layer, For the video The relational features of the contextual embedding corresponding to the k-th subject and object in the frame; VidSGG algorithm prediction module, used to predict the subject-object relationship of video frames using VidSGG algorithm; A regularization module is used to regularize the subject-object relationship of the time conversion matrix of a specific image and a specific category and the frame in the video, including: The relationship between the kth subject and object in the frame is regularized with the temporal transformation matrix of a specific image and the temporal transformation matrix of a specific category, respectively, including: In the formula, For the video The relationship between the kth subject and object in the frame, For the video The relationship between the kth subject and object in the frame, is the regularized loss function, For the video All subjects and objects in the frame, T is the number of all frames in the video.