IP Library Granted Patent US 11,967,134
Granted Patent B2
US 11,967,134 · App. 17/611,673 · Granted Apr 23, 2024

Method and device for identifying video

Inventors: Ting Yao (Beijing, CN); Tao Mei (Beijing, CN)
Assignees: Beijing Jingdong Shangke Information Technology Co., Ltd.; Beijing Jingdong Century Trading Co., Ltd.
G06V10/764G06V10/40G06V10/82
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,967,134
App. No.
17/611,673
Granted
Apr 23, 2024
Kind
B2
Abstract

Disclosed are a method and device for recognizing a video. One specific embodiment of the method comprises: obtaining a video to be identified; inputting said video to a pre-trained local and global representation propagation LGD model to obtain the category of said video, wherein the LGD model learns a spatial-temporal representation in said video based on diffusion between local and global representations. According to this embodiment, the spatial-temporal representation in the video is learned based on diffusion between the local and global representations.

Claims (43)

1. A method for recognizing a video, comprising:

acquiring a to-be-recognized video; and

inputting the to-be-recognized video into a pre-trained local and global diffusion (LGD) model to obtain a category of the to-be-recognized video, the LGD model learning a spatio-temporal representation in the to-be-recognized video based on diffusion between a local representation and a global representation.

2. The method according to claim 1 , wherein the LGD model comprises a plurality of cascaded LGD modules, a local and global combination classifier and a fully connected layer.

3. The method according to claim 2 , wherein each LGD module comprises a local path and a global path interacting with each other, respectively describing local variation and holistic appearance at each spatio-temporal location.

4. The method according to claim 3 , wherein diffusion directions in the each LGD module comprise a global-to-local diffusion direction and a local-to-global diffusion direction, wherein, in the global-to-local diffusion direction, a local feature map at a current LGD module is learned based on a local feature map at a preceding LGD module and a global feature vector at the preceding LGD module, and in the local-to-global diffusion direction, a global feature vector at the current LGD module is learned based on the local feature map at the current LGD module and the global feature vector at the preceding LGD module.

5. The method according to claim 4 , wherein learning the local feature map at the current LGD module based on the local feature map at the preceding LGD module and the global feature vector at the preceding LGD module comprises:

attaching a residual value of a global path at the preceding LGD module to the local feature map at the preceding LGD module, to generate the local feature map at the current LGD module,

wherein learning the global feature vector at the current LGD module based on the local feature map at the current LGD module and the global feature vector at the preceding LGD module comprises:

embedding linearly the global feature vector at the preceding LGD module and global average pooling of the local feature map at the current LGD module, to generate the global feature vector at the current LGD module.

6. The method according to claim 5 , wherein the each LGD module generates a local feature map and a global feature vector through at least three projection matrices, and uses a low-rank approximation of each projection matrix to reduce a number of additional parameters of the LGD module.

7. The method according to claim 2 , wherein the inputting the to-be-recognized video into the pre-trained local and global diffusion (LGD) model to obtain the category of the to-be-recognized video comprises:

learning the local representation and the global representation of the to-be-recognized video in parallel based on the to-be-recognized video and the plurality of cascaded LGD modules;

inputting the local representation and the global representation of the to-be-recognized video into the local and global combination classifier, to synthesize a combined representation of the to-be-recognized video; and

inputting the combined representation of the to-be-recognized video into the fully connected layer, to obtain the category of the to-be-recognized video.

8. The method according to claim 7 , wherein the each LGD module is a two-dimensional LGD (LGD-2D) module or a three-dimensional LGD (LGD-3D) module.

9. The method according to claim 8 , wherein the learning the local representation and the global representation of the to-be-recognized video in parallel based on the to-be-recognized video and the plurality of cascaded LGD modules comprises:

segmenting the to-be-recognized video into a plurality of to-be-recognized video segments;

selecting a plurality of to-be-recognized video frames from the plurality of to-be-recognized video segments; and

inputting the plurality of to-be-recognized video frames into a plurality of cascaded LGD-2D modules to learn a local representation and a global representation of the plurality of to-be-recognized video frames in parallel, and using the learned local representation and global representation as the local representation and the global representation of the to-be-recognized video.

10. The method according to claim 9 , wherein selecting at least one to-be-recognized video frame from each to-be-recognized video segment in the plurality of to-be-recognized video segments.

11. The method according to claim 8 , wherein the learning the local representation and the global representation of the to-be-recognized video in parallel based on the to-be-recognized video and the plurality of cascaded LGD modules comprises:

segmenting the to-be-recognized video into a plurality of to-be-recognized video segments; and

inputting the plurality of to-be-recognized video segments into a plurality of cascaded LGD-3D modules to learn a local representation and a global representation of the plurality of to-be-recognized video segments in parallel, and using the learned local representation and global representation as the local representation and the global representation of the to-be-recognized video.

12. The method according to claim 11 , wherein

the plurality of cascaded LGD-3D modules decompose three-dimensional learning into two-dimensional convolutions in a spatial space and one-dimensional operations in a temporal dimension.

13. The method according to claim 2 , wherein the local and global combination classifier is a kernel-based classifier.

14. A server, comprising:

one or more processors; and

a storage apparatus, configured to store one or more programs,

wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement operations, the operations comprising:

acquiring a to-be-recognized video; and

inputting the to-be-recognized video into a pre-trained local and global diffusion (LGD) model to obtain a category of the to-be-recognized video, the LGD model learning a spatio-temporal representation in the to-be-recognized video based on diffusion between a local representation and a global representation.

15. A computer readable medium, storing a computer program thereon, wherein the computer program, when executed by a processor, cause the processor to implement operations, the operations comprising:

acquiring a to-be-recognized video; and

inputting the to-be-recognized video into a pre-trained local and global diffusion (LGD) model to obtain a category of the to-be-recognized video, the LGD model learning a spatio-temporal representation in the to-be-recognized video based on diffusion between a local representation and a global representation.

16. The server according to claim 14 , wherein the LGD model comprises a plurality of cascaded LGD modules, a local and global combination classifier and a fully connected layer.

17. The server according to claim 16 , wherein each LGD module comprises a local path and a global path interacting with each other, respectively describing local variation and holistic appearance at each spatio-temporal location.

18. The server according to claim 17 , wherein diffusion directions in the each LGD module comprise a global-to-local diffusion direction and a local-to-global diffusion direction, wherein, in the global-to-local diffusion direction, a local feature map at a current LGD module is learned based on a local feature map at a preceding LGD module and a global feature vector at the preceding LGD module, and in the local-to-global diffusion direction, a global feature vector at the current LGD module is learned based on the local feature map at the current LGD module and the global feature vector at the preceding LGD module.

19. The server according to claim 18 , wherein learning the local feature map at the current LGD module based on the local feature map at the preceding LGD module and the global feature vector at the preceding LGD module comprises:

attaching a residual value of a global path at the preceding LGD module to the local feature map at the preceding LGD module, to generate the local feature map at the current LGD module,

wherein learning the global feature vector at the current LGD module based on the local feature map at the current LGD module and the global feature vector at the preceding LGD module comprises:

embedding linearly the global feature vector at the preceding LGD module and global average pooling of the local feature map at the current LGD module, to generate the global feature vector at the current LGD module.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 16, 2021
From: YAO, TING; MEI, TAO
To: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY CO., LTD.; BEIJING JINGDONG CENTURY TRADING CO., LTD.
Reel/Frame 058126/0439 →
Priority Claims (1)
CN 201910485621.6 · Jun 5, 2019 · national
Continuity (1)
Related Publication 20220215649A1 · Jul 7, 2022
Cited By (1)
US 12,536,713