Recurrent-CNN Encoder for Real-Time Video Instance Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video instance segmentation methods face challenges in efficiently capturing multi-scale spatio-temporal features and operate at suboptimal speeds due to computationally expensive attention mechanisms, leading to overfitting and reduced mask prediction performance.

Innovation Solution

A light-weight recurrent-CNN encoder is trained through knowledge distillation from a transformer encoder to capture temporal relationships between video frames, replacing the attention-based encoder for faster and more accurate video instance segmentation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If attention-based transformer encoder is used for video instance segmentation, then mask prediction performance is improved, but inference speed deteriorates due to computational expense

Engineering Contradiction:
Improvemask prediction accuracyVSAvoidinference speed
Core Design Contradiction:
Measurement precisionVSSpeed

Solution Approach 1:

The patent changes the architectural parameters of the encoder from attention-based transformer to recurrent CNN, fundamentally altering how spatio-temporal features are computed. This parameter change reduces computational complexity from quadratic to linear in sequence length, improving inference speed while maintaining feature extraction capability through recurrent temporal modeling

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent substitutes the attention mechanism (mechanical system for feature interaction) with a recurrent neural network mechanism. Instead of computing pairwise attention scores between all tokens, the recurrent encoder processes sequences step-by-step, replacing the computationally intensive attention mechanics with a more efficient recurrent processing mechanism that achieves similar feature representation

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Manufacturing precision

If multi-scale spatio-temporal features are captured through attention computation, then segmentation quality is improved, but computational complexity increases

Engineering Contradiction:
Improvesegmentation qualityVSAvoidcomputational complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent segments the feature extraction process into distinct spatial and temporal components handled by separate network stages. The recurrent encoder first processes temporal relationships across frames, then spatial features are refined in subsequent processing stages. This segmentation of the computational task reduces overall complexity while maintaining multi-scale feature capture capability

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamic recurrent processing that adapts to varying temporal dependencies in video data. The recurrent encoder dynamically adjusts its processing based on the temporal relationships it detects, allowing the model to capture multi-scale spatio-temporal features with variable computational effort rather than fixed expensive attention computation

Inventive Principle:
Principle #15Dynamics

3Reliability

If larger set of input frames is processed, then temporal context is improved, but memory overhead increases

Engineering Contradiction:
Improvetemporal context accuracyVSAvoidmemory overhead
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent implements continuous recurrent processing that maintains temporal context across frames through hidden state propagation. Instead of processing all frames simultaneously in memory, the recurrent encoder processes frames sequentially while maintaining a compressed temporal representation in its hidden state, enabling long-term temporal context with constant memory footprint regardless of sequence length

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS20250252740A1System and method for video instance segmentation via recurrent encoder-based transformers
Publication Date: 2025.08.07 YEDA RES & DEV CO LTD
  • US20250252740A1 patent drawing
  • US20250252740A1 patent drawing
  • US20250252740A1 patent drawing

AI summary

A method and system for video instance segmentation includes a recurrent encoder-based network trained by knowledge distillation from a transformer encoder. Real time performance is achieved by replacing the transformer encoder with the trained recurrent encoder for inference. The system includes a video camera to capture a sequence of video frames, a machine learning processing engine for video instance segmentation, and a video output for outputting a sequence of mask instances. The machine learning processing engine is configured with an interchangeable encoder module. During inference, the encoder module is configured with a recurrent encoder having a combination of convolutional and recurrent layers, The recurrent layers capture temporal relationships between the video frames. During training, the encoder module is configured with a teacher transformer encoder for training the recurrent encoder as a student through knowledge distillation. A transformer decoder outputs video instance mask predictions.