Video Retrieval Using Reinforcement Learning for Clip Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing deep learning methods for video retrieval are inefficient in processing large video streams, as they often require analyzing the entire video to localize relevant activities, which is computationally costly and time-consuming, especially when labeled data is scarce.

Innovation Solution

The TripNet system employs a novel end-to-end reinforcement learning framework that uses a gated attention architecture and policy learning module with a deep learning network, including a fully connected linear layer and LSTM, to selectively extract features and efficiently localize relevant clips in videos based on natural language queries, thereby improving cache utilization and mini-batching performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the entire video stream is analyzed to localize relevant activities, then the accuracy of video retrieval is improved, but the computational cost and processing time increase significantly

Engineering Contradiction:
Improveaccuracy of video retrievalVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The video stream is divided into multiple clips, and the analysis is segmented into different processing stages. The system processes only relevant segments (clips containing the queried activity) rather than the entire video, thereby maintaining accuracy while reducing computational burden and improving processing speed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs partial action by analyzing only the necessary portion of the video (less than 50% in many cases) to achieve the retrieval task. Instead of processing the complete video stream, it selectively processes clips that are most likely to contain the target activity, thus improving efficiency without sacrificing accuracy.

Inventive Principle:
Principle #16Partial or excessive action

2Loss of information

If deep learning networks process all video frames, then comprehensive feature extraction is achieved, but the computational resources and time consumption increase

Engineering Contradiction:
Improvecompleteness of feature extractionVSAvoidprocessing time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The system performs preliminary action by first identifying and selecting relevant clips before conducting comprehensive feature extraction. This preliminary selection step filters out irrelevant video portions, so that subsequent deep learning processing is applied only to necessary clips, reducing overall processing time while maintaining feature extraction completeness.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system extracts and processes only the essential features from selected clips rather than analyzing all video frames. By taking out and focusing on relevant clips containing the queried activity, the system achieves comprehensive feature extraction for those clips while avoiding unnecessary processing of irrelevant portions, thus reducing time consumption.

Inventive Principle:
Principle #2Taking out (Extraction)

3Measurement precision

If the system analyzes more video content to ensure accurate retrieval, then the retrieval accuracy improves, but the cache utilization and processing efficiency decrease

Engineering Contradiction:
Improveretrieval accuracyVSAvoidprocessing efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system applies local quality by processing different portions of the video with different levels of detail. Relevant clips are processed with comprehensive analysis to ensure accuracy, while irrelevant portions are either skipped or processed with minimal computation. This localized approach to quality processing maintains retrieval accuracy for important segments while improving overall processing efficiency.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11568247B2Efficient and fine-grained video retrieval
Publication Date: 2023.01.31 NEC CORP
  • US11568247B2 patent drawing
  • US11568247B2 patent drawing
  • US11568247B2 patent drawing

AI summary

A computer-implemented method executed by at least one processor for performing mini-batching in deep learning by improving cache utilization is presented. The method includes temporally localizing a candidate clip in a video stream based on a natural language query, encoding a state, via a state processing module, into a joint visual and linguistic representation, feeding the joint visual and linguistic representation into a policy learning module, wherein the policy learning module employs a deep learning network to selectively extract features for select frames for video-text analysis and includes a fully connected linear layer and a long short-term memory (LSTM), outputting a value function from the LSTM, generating an action policy based on the encoded state, wherein the action policy is a probabilistic distribution over a plurality of possible actions given the encoded state, and rewarding policy actions that return clips matching the natural language query.