Video Detection Decoder Training With Relational Attention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The DETR model's decoder lacks consideration for semantic relations between video segments, leading to interference from invalid query features and inaccurate prediction results due to redundant detections.

Innovation Solution

A training method for a decoder that constructs a salient query feature set based on relational attention and cross-attention modules, incorporating segment quality and relation loss functions to refine query features and reduce interference.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the DETR model uses standard self-attention mechanism in the decoder, then the model structure is simple and easy to implement, but invalid query features cause interference and lead to inaccurate prediction results

Engineering Contradiction:
Improveprediction accuracyVSAvoiddecoder structure complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The self-attention mechanism is segmented into two distinct modules: relational attention module for capturing semantic relations between video segments, and cross-attention module for interacting with encoder features. This segmentation allows each module to specialize in specific tasks, improving prediction accuracy while maintaining manageable structural complexity through modular design.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A salient query feature set is introduced as an intermediary component between the query features and the encoder features. This intermediary selectively aggregates relevant information from video segments based on relational attention, filtering out invalid query features before they interfere with the cross-attention processing, thus improving prediction accuracy without requiring complete structural redesign.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Manufacturing precision

If the decoder processes all query features uniformly, then the processing is simple and efficient, but redundant detections occur due to lack of semantic relation consideration

Engineering Contradiction:
Improvedetection precisionVSAvoidprocessing efficiency
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The relational attention module applies different processing weights to different query features based on their semantic relevance. Instead of uniform processing, the model dynamically adjusts attention weights to emphasize query features with strong semantic relations to actual video segments and suppress redundant ones, improving detection precision while maintaining efficiency through selective processing.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The relational attention module performs preliminary processing to identify and select salient query features before they enter the cross-attention module. This preliminary action filters out potentially redundant detections in advance, reducing the computational burden on subsequent processing stages while ensuring high detection precision for the most relevant features.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If the model does not consider segment relations, then the computation is faster and simpler, but redundant predictions are generated due to interference from invalid query features

Engineering Contradiction:
Improveprediction accuracyVSAvoidcomputational energy
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The relational attention module extracts and isolates the semantic relation information from the query features, separating it from the main processing stream. By taking out the relation aggregation function into a dedicated module, the model can process only the essential relational information rather than all query features uniformly, improving prediction accuracy while reducing unnecessary computational energy expenditure on redundant features.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS20250322651A1Decoder training method and apparatus, target detection method and apparatus, and storage medium
Publication Date: 2025.10.16 JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
  • US20250322651A1 patent drawing
  • US20250322651A1 patent drawing
  • US20250322651A1 patent drawing

AI summary

A training method includes generating, by using a relational attention module and on the basis of query features, a salient query feature set corresponding to the query features for performing updating processing; acquiring, by using a cross-attention module and on the basis of updated query features, predicted segment quality information corresponding to the updated query features, and constructing a segment quality loss function; acquiring segment relation features between predicted video segments corresponding to the query features, and constructing a segment relation loss function; and performing adjustment processing according to the segment quality loss function and the segment relation loss function.