IP Library Granted Patent US 11,533,495
Granted Patent B2
US 11,533,495 · App. 17/162,150 · Granted Dec 20, 2022

Hierarchical video encoders

Inventors: Vihan Jain (San Francisco, CA); Joonseok Lee (Fremont, CA); Ming Zhao (Sunnyvale, CA); Sheide Chammas (San Francisco, CA); Hexiang Hu (Los Angeles, CA); Bowen Zhang (Los Angeles, CA); Fei Sha (Los Angeles, CA); Tze Way Eugene Ie (Los Altos, CA)
Assignee: GOOGLE LLC
H04N19/30G06N20/00H04N19/172
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,533,495
App. No.
17/162,150
Granted
Dec 20, 2022
Kind
B2
Abstract

A computer-implemented method for generating video representations utilizing a hierarchical video encoder includes obtaining a video, wherein the video includes a plurality of frames, processing each of the plurality of frames with a machine-learned frame-level encoder model to respectively generate a plurality of frame representations for the plurality of frames, the plurality of frame representations respective to the plurality of frames determining a plurality of segment representations representative of a plurality of video segments including one or more of the plurality of frames, the plurality of segment representations based at least in part on the plurality of frame representations, processing the plurality of segment representations with a machine-learned segment-level encoder model to generate a plurality of contextualized segment representations, determining a video representation based at least in part on the plurality of contextualized segment representations, and providing the video representation as an output.

Claims (48)

1. A computer-implemented method for generating video representations utilizing a hierarchical video encoder, the method comprising:

obtaining, by a computing system comprising one or more computing devices, a video, wherein the video comprises a plurality of frames;

processing, by the computing system, each of the plurality of frames with a machine- learned frame-level encoder model to respectively generate a plurality of frame representations for the plurality of frames, the plurality of frame representations respective to the plurality of frames;

determining, by the computing system, a plurality of segment representations representative of a plurality of video segments, wherein each of the plurality of video segments comprise a subset of the plurality of frames that comprise a temporally linear sequence of frames, the plurality of segment representations based at least in part on the plurality of frame representations;

processing, by the computing system, the plurality of segment representations with a machine-learned segment-level encoder model to generate a plurality of contextualized segment representations, wherein each contextualized segment representation of the plurality of contextualized segment representations comprise segment-level semantic information for a respective video segment;

determining, by the computing system, a video representation based at least in part on the plurality of contextualized segment representations; and

providing, by the computing system, the video representation and one or more of the plurality of contextualized segment representations as an output.

2. The computer-implemented method of claim 1 , wherein at least one of the frame-level encoder model or the segment-level encoder model is a multimodal encoder configured to produce a plurality of representations based at least in part on associated text; and

wherein the method further comprises:

processing, by the computing system, the associated text with the machine-learned frame-level encoder model to produce the plurality of frame representations, wherein the plurality of frame representations are based at least in part on the associated text; and

processing, by the computing system, the associated text with the machine-learned segment-level encoder model to produce the plurality of contextualized segment representations, wherein the plurality of contextualized segment representations are based at least in part on the associated text.

3. The computer-implemented method of claim 2 , wherein the associated text comprises a user query.

4. The computer-implemented method of claim 2 , wherein the associated text comprises captioning for the video.

5. The computer-implemented method of claim 2 , wherein the associated text is encoded.

6. The computer-implemented method of claim 1 , wherein the machine- learned frame-level encoder model and the machine-learned segment-level encoder model comprise one or more shared parameters.

7. The computer-implemented method of claim 1 , wherein the plurality of segment representations comprise a context token.

8. The computer-implemented method of claim 1 , wherein the plurality of video segments are nonoverlapping.

9. The computer-implemented method of claim 1 , wherein the plurality of video segments have about equal length.

10. A computing system, the computing system comprising:

one or more processors; and

one or more non-transitory computer-readable media that collectively store instructions that, when executed by the one or more processors, cause the computing system to perform operations, the operations comprising:

obtaining text data, wherein the text data is descriptive of a search query;

obtaining a video, wherein the video comprises a plurality of frames;

processing the text data and each of the plurality of frames with a machine-learned frame-level encoder model to respectively generate a plurality of frame representations for the plurality of frames, the plurality of frame representations respective to the plurality of frames;

determining a plurality of segment representations representative of a plurality of video segments, wherein each of the plurality of video segments comprise a subset of the plurality of frames that comprise a temporally linear sequence of frames, the plurality of segment representations based at least in part on the plurality of frame representations;

processing the text data and the plurality of segment representations with a machine-learned segment-level encoder model to generate a plurality of contextualized segment representations;

determining a video representation based at least in part on the plurality of contextualized segment representations; and

providing the video representation and one or more of the plurality of contextualized segment representations as an output.

11. The computing system of claim 10 , wherein each of the plurality of frame representations comprise frame-level semantic information for a respective frame.

12. The computing system of claim 10 , wherein each of the plurality of contextualized segment representations comprise segment-level semantic information for a respective video segment.

13. The computing system of claim 10 , wherein the video representation comprises video-level semantic information.

14. The computing system of claim 10 , wherein one or more of the plurality of contextualized segment representations comprise coarse-grained semantic information and fine- grained semantic information descriptive of a respective video segment.

15. The computing system of claim 10 , wherein the operations further comprise:

determining a starting frame of a video segment based on the plurality of frame representations.

16. The computing system of claim 15 , wherein the operations further comprise:

determining an ending frame of the video segment based on the plurality of frame representations.

17. The computing system of claim 16 , wherein one or more of the plurality of segment representations are generated based in part on the starting frame and the ending frame.

18. The computing system of claim 16 , wherein the operations further comprise:

providing the starting frame and the ending frame with the video representation and the one or more of the plurality of contextualized segment representations.

19. One or more non-transitory computer-readable media that collectively store instructions that, when executed by one or more computing devices, cause the one or more computing devices to perform operations, the operations comprising:

obtaining text data, wherein the text data is descriptive of a search query;

obtaining a video based on the text data, wherein the video comprises a plurality of frames;

processing the text data and each of the plurality of frames with a machine-learned frame-level encoder model to respectively generate a plurality of frame representations for the plurality of frames, the plurality of frame representations respective to the plurality of frames;

determining a plurality of segment representations representative of a plurality of video segments, wherein each of the plurality of video segments comprise a subset of the plurality of frames that comprise a temporally linear sequence of frames, the plurality of segment representations based at least in part on the plurality of frame representations;

processing the text data and the plurality of segment representations with a machine-learned segment-level encoder model to generate a plurality of contextualized segment representations;

determining a video representation based at least in part on the plurality of contextualized segment representations; and

providing the video representation and one or more of the plurality of contextualized segment representations as an output.

20. The one or more non-transitory computer-readable media of claim 19 , wherein the video is obtained based at least in part on a video title of the video being associated with the search query.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 12, 2021
From: JAIN, VIHAN; LEE, JOONSEOK; ZHAO, MING; CHAMMAS, SHEIDE; HU, HEXIANG; ZHANG, BOWEN; SHA, FEI; IE, TZE WAY EUGENE
To: GOOGLE LLC
Reel/Frame 056218/0617 →
Continuity (1)
Related Publication 20220256175A1 · Aug 11, 2022
Cited By (4)
US 12,242,491 US 12,314,347 US 12,326,867 US 12,705,888